├── src
├── html
│ ├── _modules
│ │ └── .keep
│ ├── _layout
│ │ ├── _global.pug
│ │ ├── _page.pug
│ │ └── _head.pug
│ ├── _var
│ │ └── _common.pug
│ ├── _mixin
│ │ ├── _common.pug
│ │ └── _svg.pug
│ └── index.pug
├── js
│ ├── vendor
│ │ └── .keep
│ ├── modules
│ │ ├── common
│ │ │ └── .keep
│ │ └── fullscreen_slider
│ │ │ └── index.js
│ ├── init
│ │ ├── common.js
│ │ └── index.js
│ └── main.js
├── css
│ ├── object
│ │ ├── utility
│ │ │ └── .keep
│ │ ├── vendor
│ │ │ └── .keep
│ │ ├── component
│ │ │ └── .keep
│ │ └── project
│ │ │ ├── common
│ │ │ ├── _sections-wrap.scss
│ │ │ ├── _background.scss
│ │ │ ├── _pager.scss
│ │ │ └── _section.scss
│ │ │ └── global
│ │ │ ├── _global-title.scss
│ │ │ ├── _global-header.scss
│ │ │ └── _global-links.scss
│ ├── foundation
│ │ ├── _keyframes.scss
│ │ ├── _variables.scss
│ │ ├── _global.scss
│ │ ├── _variables-easings.scss
│ │ ├── _mixin-utils.scss
│ │ └── _normalize.scss
│ ├── layout
│ │ ├── _contents.scss
│ │ └── _page.scss
│ └── main.scss
├── img
│ └── ogp.png
└── data.json
├── gulp
├── plugins.js
├── tasks
│ ├── venderScripts.js
│ ├── sitemap.js
│ ├── cleanCSS.js
│ ├── clean.js
│ ├── copy.js
│ ├── sass.js
│ ├── replace.js
│ ├── imagemin.js
│ ├── pug.js
│ ├── scripts.js
│ ├── watch.js
│ └── serve.js
└── conf.js
├── screenshot.gif
├── docs
├── img
│ └── ogp.png
├── index.html
├── css
│ └── main.min.css
└── js
│ └── main.min.js
├── .gitignore
├── .editorconfig
├── gulpfile.js
├── README.md
└── package.json
/src/html/_modules/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/js/vendor/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/css/object/utility/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/css/object/vendor/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/js/modules/common/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/css/object/component/.keep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/css/foundation/_keyframes.scss:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/gulp/plugins.js:
--------------------------------------------------------------------------------
1 | module.exports = require('gulp-load-plugins')();
2 |
--------------------------------------------------------------------------------
/screenshot.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ykob/fullscreen-slider/HEAD/screenshot.gif
--------------------------------------------------------------------------------
/src/img/ogp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ykob/fullscreen-slider/HEAD/src/img/ogp.png
--------------------------------------------------------------------------------
/docs/img/ogp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ykob/fullscreen-slider/HEAD/docs/img/ogp.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | ignore
4 | dst/**/*
5 | build/**/*
6 | .sass-cache
7 | npm-debug.log
8 |
--------------------------------------------------------------------------------
/src/css/object/project/common/_sections-wrap.scss:
--------------------------------------------------------------------------------
1 | .p-sections-wrap {
2 | position: absolute;
3 | top: 0;
4 | left: 0;
5 | }
6 |
--------------------------------------------------------------------------------
/src/css/layout/_contents.scss:
--------------------------------------------------------------------------------
1 | .l-contents {
2 | line-height: 2;
3 | color: $color-text;
4 | @include fontSizeAll(14, 14, 12);
5 | letter-spacing: 0.08em;
6 | }
7 |
--------------------------------------------------------------------------------
/src/css/layout/_page.scss:
--------------------------------------------------------------------------------
1 | .l-page {
2 | overflow: hidden;
3 | visibility: visible;
4 | @include l-more-than-mobile {
5 | min-width: $break-point-tablet-l;
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/src/css/object/project/global/_global-title.scss:
--------------------------------------------------------------------------------
1 | .p-global-title {
2 | line-height: 1;
3 | margin: 0;
4 | @include fontSizeAll(28, 28, 21);
5 | font-weight: 400;
6 | letter-spacing: 0.04em;
7 |
8 | }
9 |
--------------------------------------------------------------------------------
/src/html/_layout/_global.pug:
--------------------------------------------------------------------------------
1 | .p-global-header
2 | h1.p-global-title
3 | |FullScreen Slider
4 | .p-global-links
5 | a(href="https://github.com/ykob/fullscreen-slider")
6 | |View Source on GitHub
7 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | end_of_line = lf
6 | indent_size = 2
7 | indent_style = space
8 | trim_trailing_whitespace = true
9 |
10 | [*.{md,pug}]
11 | trim_trailing_whitespace = false
12 |
--------------------------------------------------------------------------------
/src/js/init/common.js:
--------------------------------------------------------------------------------
1 | import Hover from 'js-util/Hover';
2 |
3 | export default function() {
4 | const elmHover = document.querySelectorAll('.js-hover');
5 |
6 | elmHover.forEach(elm => {
7 | new Hover(elm);
8 | })
9 | };
10 |
--------------------------------------------------------------------------------
/src/css/object/project/common/_background.scss:
--------------------------------------------------------------------------------
1 | .p-background {
2 | width: 100%;
3 | height: 100%;
4 | position: absolute;
5 | top: 0;
6 | left: 0;
7 | &.has-animate {
8 | transition-duration: 1s;
9 | transition-property: background-color;
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/css/object/project/global/_global-header.scss:
--------------------------------------------------------------------------------
1 | .p-global-header {
2 | position: absolute;
3 | z-index: 100;
4 | @include l-more-than-mobile {
5 | top: 30px;
6 | left: 30px;
7 | }
8 | @include l-mobile {
9 | top: 20px;
10 | left: 20px;
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/gulp/tasks/venderScripts.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 |
3 | const $ = require('../plugins');
4 | const conf = require('../conf').vendorScripts;
5 |
6 | gulp.task('vendorScripts', () => {
7 | return gulp.src(conf.src)
8 | .pipe($.concat(conf.concat))
9 | .pipe(gulp.dest(conf.dest));
10 | });
11 |
--------------------------------------------------------------------------------
/src/css/object/project/global/_global-links.scss:
--------------------------------------------------------------------------------
1 | .p-global-links {
2 | @include fontSizeAll(14, 14, 12);
3 | letter-spacing: 0.08em;
4 | a {
5 | color: $color-text;
6 | }
7 | @include l-more-than-mobile {
8 | margin-top: 15px;
9 | }
10 | @include l-mobile {
11 | margin-top: 8px;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/gulp/tasks/sitemap.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 |
3 | const $ = require('../plugins');
4 | const conf = require('../conf').sitemap;
5 |
6 | gulp.task('sitemap', function () {
7 | return gulp.src(conf.src, {
8 | read: false
9 | })
10 | .pipe($.sitemap(conf.opts))
11 | .pipe(gulp.dest(conf.dest));
12 | });
13 |
--------------------------------------------------------------------------------
/src/css/foundation/_variables.scss:
--------------------------------------------------------------------------------
1 | $color-facebook: #305097;
2 | $color-twitter: #00aced;
3 |
4 | $color-text: #222;
5 | $color-key: #c22;
6 | $color-strong: #c22;
7 | $color-link: #c22;
8 |
9 | $break-point-pc-s: 1366px;
10 | $break-point-tablet-l: 1024px;
11 | $break-point-tablet-p: 768px;
12 | $break-point-mobile-p: 414px;
13 |
--------------------------------------------------------------------------------
/src/html/_var/_common.pug:
--------------------------------------------------------------------------------
1 | -
2 | var path = data.meta.path;
3 |
4 | var zeroPadding = function(num, digit = 2) {
5 | var zeros = Array(digit + 1).join('0');
6 | return (zeros + num).slice(-digit);
7 | };
8 |
9 | var ucfirst = function(str) {
10 | return str.charAt(0).toUpperCase() + str.slice(1);
11 | };
12 |
--------------------------------------------------------------------------------
/gulp/tasks/cleanCSS.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 |
3 | const $ = require('../plugins');
4 | const conf = require('../conf').cleanCss;
5 |
6 | gulp.task('cleanCss', () => {
7 | return gulp.src(conf.src)
8 | .pipe($.cleanCss())
9 | .pipe($.rename({ suffix: '.min' }))
10 | .pipe(gulp.dest(conf.dest));
11 | });
12 |
--------------------------------------------------------------------------------
/gulp/tasks/clean.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 | const del = require('del');
3 |
4 | const conf = require('../conf').clean;
5 |
6 | gulp.task('cleanDest', cb => {
7 | del(conf.dest.path).then(() => {
8 | cb();
9 | });
10 | });
11 |
12 | gulp.task('cleanBuild', cb => {
13 | del(conf.build.path).then(() => {
14 | cb();
15 | });
16 | });
17 |
--------------------------------------------------------------------------------
/gulp/tasks/copy.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 |
3 | const conf = require('../conf').copy;
4 |
5 | gulp.task('copyToDest', () => {
6 | return gulp.src(conf.dest.src, conf.dest.opts)
7 | .pipe(gulp.dest(conf.dest.dest));
8 | });
9 |
10 | gulp.task('copyToBuild', () => {
11 | return gulp.src(conf.build.src, conf.build.opts)
12 | .pipe(gulp.dest(conf.build.dest));
13 | });
14 |
--------------------------------------------------------------------------------
/src/html/_layout/_page.pug:
--------------------------------------------------------------------------------
1 | include ../_var/_common.pug
2 |
3 | block vars
4 |
5 | include ../_mixin/_common.pug
6 | include ../_mixin/_svg.pug
7 |
8 | doctype html
9 | html(lang="ja")
10 | head
11 | include ./_head.pug
12 | body
13 | .l-page(data-page-id=page.id)
14 | include ./_global.pug
15 | .l-contents
16 | block content
17 | block script
18 | script(src=`${data.meta.path}/js/main.js` async)
19 |
--------------------------------------------------------------------------------
/gulp/tasks/sass.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 |
3 | const $ = require('../plugins');
4 | const conf = require('../conf').sass;
5 |
6 | gulp.task('sass', () => {
7 | return gulp.src(conf.src)
8 | .pipe($.sass().on('error', $.sass.logError))
9 | .pipe($.autoprefixer({
10 | cascade: false
11 | }))
12 | .pipe($.rename(path => {
13 | path.dirname = path.dirname.replace('css', '.');
14 | }))
15 | .pipe(gulp.dest(conf.dest));
16 | });
17 |
--------------------------------------------------------------------------------
/src/data.json:
--------------------------------------------------------------------------------
1 | {
2 | "meta": {
3 | "websiteName": "FullScreen Slider",
4 | "keywords": "",
5 | "themeColor": "#ffffff"
6 | },
7 | "pages": {
8 | "index": {
9 | "id": "index",
10 | "title": "",
11 | "keywords": "",
12 | "description": "This asset controls sections in a page. It resizes sections to fullscreen resolution and moves these individually by wheel/touch events.",
13 | "path": "/",
14 | "ogpImg": "ogp.png"
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/js/init/index.js:
--------------------------------------------------------------------------------
1 | import FullscreenSlider from '../modules/fullscreen_slider/';
2 |
3 | export default function() {
4 | const fsSlider = new FullscreenSlider(
5 | document,
6 | {
7 | x: window.innerWidth,
8 | y: window.innerHeight
9 | }
10 | );
11 |
12 | window.addEventListener('resize', () => {
13 | fsSlider.reset();
14 | fsSlider.resize(
15 | {
16 | x: window.innerWidth,
17 | y: window.innerHeight
18 | }
19 | );
20 | });
21 |
22 | fsSlider.start();
23 | };
24 |
--------------------------------------------------------------------------------
/gulp/tasks/replace.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 |
3 | const $ = require('../plugins');
4 | const DIR = require('../conf').DIR;
5 | const conf = require('../conf').replace;
6 |
7 | gulp.task('replaceHtml', () => {
8 | const regJs = new RegExp(`(src="${DIR.PATH}\/js\/)([a-z0-9_\.\-]*)(\.js")`);
9 | const regCss = new RegExp(`(href="${DIR.PATH}\/css\/)([a-z0-9_\.\-]*)(\.css")`);
10 | return gulp.src(conf.html.src)
11 | .pipe($.replace(regJs, '$1$2.min$3'))
12 | .pipe($.replace(regCss, '$1$2.min$3'))
13 | .pipe(gulp.dest(conf.html.dest));
14 | });
15 |
--------------------------------------------------------------------------------
/gulp/tasks/imagemin.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 | const pngquant = require('imagemin-pngquant');
3 | const mozjpeg = require('imagemin-mozjpeg');
4 |
5 | const $ = require('../plugins');
6 | const conf = require('../conf').imagemin;
7 |
8 | gulp.task('imagemin', () => {
9 | return gulp.src(conf.src)
10 | .pipe($.imagemin(
11 | [
12 | pngquant(conf.opts.pngquant),
13 | mozjpeg(conf.opts.mozjpeg),
14 | $.imagemin.svgo(conf.opts.svgo),
15 | ]
16 | ))
17 | .pipe($.rename(path => {
18 | path.dirname = path.dirname.replace('img', '.');
19 | }))
20 | .pipe(gulp.dest(conf.dest));
21 | });
22 |
--------------------------------------------------------------------------------
/gulpfile.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 | const requireDir = require('require-dir');
3 |
4 | const $ = require('./gulp/plugins');
5 |
6 | requireDir('./gulp/tasks');
7 |
8 | gulp.task('default', gulp.series(
9 | 'cleanDest',
10 | gulp.parallel('pug', 'sass', 'scripts', 'copyToDest'),
11 | gulp.parallel('serve', 'watch'),
12 | ));
13 |
14 | gulp.task('build', gulp.series(
15 | 'cleanDest',
16 | gulp.parallel('pug', 'sass', 'copyToDest'),
17 | 'cleanBuild',
18 | gulp.parallel('replaceHtml', 'cleanCss', 'scripts', 'imagemin'),
19 | 'copyToBuild',
20 | ));
21 |
22 | gulp.task('buildHtml', gulp.series(
23 | 'pug',
24 | 'replaceHtml',
25 | ));
26 |
27 | gulp.task('buildCss', gulp.series(
28 | 'sass',
29 | 'cleanCss',
30 | ));
31 |
--------------------------------------------------------------------------------
/gulp/tasks/pug.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 |
3 | const $ = require('../plugins');
4 | const DOMAIN = require('../conf').DOMAIN;
5 | const DIR = require('../conf').DIR;
6 | const conf = require('../conf').pug;
7 |
8 | gulp.task('pug', () => {
9 | const data = require(`../../${conf.json}`);
10 | data.meta.domain = DOMAIN;
11 | data.meta.path = DIR.PATH;
12 | return gulp.src(conf.src)
13 | .pipe($.plumber({
14 | errorHandler: $.notify.onError('<%= error.message %>')
15 | }))
16 | .pipe($.data((file) => {
17 | return { data: data }
18 | }))
19 | .pipe($.pug(conf.opts))
20 | .pipe($.rename(path => {
21 | path.dirname = path.dirname.replace('html', '.');
22 | }))
23 | .pipe(gulp.dest(conf.dest));
24 | });
25 |
--------------------------------------------------------------------------------
/src/html/_mixin/_common.pug:
--------------------------------------------------------------------------------
1 | mixin picture(srcArray)
2 | picture(
3 | class != attributes.class
4 | )
5 | if (srcArray[2])
6 | source(
7 | media = '(min-width: 569px) and (max-width: 1024px)',
8 | srcset = srcArray[2]
9 | )
10 | if (srcArray[1])
11 | source(
12 | media = '(max-width: 568px)',
13 | srcset = srcArray[1]
14 | )
15 | img(
16 | src = srcArray[0],
17 | alt = (attributes.alt) ? attributes.alt : ''
18 | )
19 |
20 | mixin splitStr(str)
21 | - var strArr = str.split('');
22 | - for (var i = 0; i < strArr.length; i++) {
23 | - var typo = (strArr[i] == ' ') ? ' ' : strArr[i];
24 | span(class='c-split-str')&attributes(attributes)
25 | |!{typo}
26 | - }
27 |
--------------------------------------------------------------------------------
/gulp/tasks/scripts.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 | const webpackStream = require("webpack-stream");
3 | const webpack = require("webpack");
4 |
5 | const $ = require('../plugins');
6 | const DIR = require('../conf').DIR;
7 | const conf = require('../conf').scripts;
8 |
9 | const webpackError = function() {
10 | this.emit('end');
11 | };
12 |
13 | gulp.task('scripts', () => {
14 | conf.webpack.mode = process.env.NODE_ENV;
15 | if (conf.webpack.mode == 'development') {
16 | return gulp.src(conf.src)
17 | .pipe(webpackStream(conf.webpack, webpack))
18 | .on('error', webpackError)
19 | .pipe(gulp.dest(conf.dest.development));
20 | } else {
21 | return webpackStream(conf.webpack, webpack)
22 | .pipe($.rename({suffix: '.min'}))
23 | .pipe(gulp.dest(conf.dest.production));
24 | }
25 | });
26 |
--------------------------------------------------------------------------------
/src/js/main.js:
--------------------------------------------------------------------------------
1 | import "@babel/polyfill";
2 |
3 | import UaParser from 'ua-parser-js';
4 | import sleep from 'js-util/sleep';
5 |
6 | const pageId = document.querySelector('.l-page').getAttribute('data-page-id');
7 | const uaParser = new UaParser();
8 | const link = document.querySelector('link[as=style]');
9 |
10 | const init = async () => {
11 | // Preload the stylesheet in browsers that are enabled an attribute link.preload.
12 | const browser = uaParser.getBrowser().name;
13 | if (browser !== 'Chrome' && browser !== 'Edge') link.rel = 'stylesheet';
14 |
15 | await sleep(100);
16 |
17 | // run initialize function.
18 | require ('./init/common.js').default();
19 | switch (pageId) {
20 | case 'index':
21 | require ('./init/index.js').default();
22 | break;
23 | default:
24 | }
25 | }
26 | init();
27 |
--------------------------------------------------------------------------------
/gulp/tasks/watch.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 | const browserSync = require('browser-sync');
3 |
4 | const $ = require('../plugins');
5 | const DIR = require('../conf').DIR;
6 |
7 | const reload = (done) => {
8 | browserSync.reload();
9 | done();
10 | };
11 |
12 | gulp.task('watch', () => {
13 | gulp.watch(
14 | [
15 | `./${DIR.SRC}/**/*.{scss,sass}`
16 | ],
17 | gulp.series('sass', reload)
18 | );
19 |
20 | gulp.watch(
21 | [
22 | `./${DIR.SRC}/**/*.pug`
23 | ],
24 | gulp.series(reload)
25 | );
26 |
27 | gulp.watch(
28 | [
29 | `./${DIR.SRC}/**/*.{js,vs,fs,glsl}`,
30 | ],
31 | gulp.series('scripts', reload)
32 | );
33 |
34 | gulp.watch(
35 | [
36 | `./${DIR.SRC}/img/**/*.*`,
37 | `./${DIR.SRC}/font/**/*.*`,
38 | `./${DIR.SRC}/json/**/*.*`,
39 | ],
40 | gulp.series('copyToDest', reload)
41 | );
42 | });
43 |
--------------------------------------------------------------------------------
/src/html/_layout/_head.pug:
--------------------------------------------------------------------------------
1 | -
2 | var titleMerge = (page.title != '') ? page.title + ' | ' + data.meta.websiteName : data.meta.websiteName;
3 | var keywordsMerge = (page.keywords != '') ? page.keywords + ', ' + data.meta.keywords : data.meta.keywords;
4 |
5 | meta(charset="utf-8")
6 | meta(http-equiv="X-UA-Compatible", content="IE=edge")
7 | title #{titleMerge}
8 | meta(name="viewport", content="width=device-width")
9 | meta(name="description", content=page.description)
10 | meta(name="keywords", content=keywordsMerge)
11 |
12 | style.
13 | .l-page { visibility: hidden; }
14 | link(rel="preload" as="style" href=`${data.meta.path}/css/main.css` onload="this.onload=null;this.rel='stylesheet'")
15 |
16 | meta(name="theme-color", content=data.meta.themeColor)
17 |
18 | meta(property="og:title", content=titleMerge)
19 | meta(property="og:site_name", content=data.meta.websiteName)
20 | meta(property="og:type", content="website")
21 | meta(property="og:description", content=page.description)
22 | meta(property="og:url", content=data.meta.domain + data.meta.path + page.path)
23 | meta(property="og:image", content=`${data.meta.domain + data.meta.path}/img/${page.ogpImg}`)
24 |
25 | meta(name="twitter:card", content="summary_large_image")
26 | meta(name="twitter:title", content=titleMerge)
27 | meta(name="twitter:description", content=page.description)
28 | meta(name="twitter:image", content=`${data.meta.domain + data.meta.path}/img/${page.ogpImg}`)
29 |
--------------------------------------------------------------------------------
/src/css/foundation/_global.scss:
--------------------------------------------------------------------------------
1 | html {
2 | height: 100%;
3 | }
4 | body {
5 | min-height: 100%;
6 | font-family: 'Ubuntu', sans-serif;
7 | -webkit-font-smoothing: antialiased;
8 | -moz-osx-font-smoothing: grayscale;
9 | // font-feature-settings: 'palt';
10 | }
11 | a {
12 | &:hover {
13 | text-decoration: none;
14 | }
15 | }
16 | p, ul, ol, dl {
17 | &:first-child {
18 | margin-top: 0;
19 | }
20 | &:last-child {
21 | margin-bottom: 0;
22 | }
23 | }
24 | ul, ol {
25 | padding-left: 2em;
26 | }
27 | img {
28 | vertical-align: top;
29 | }
30 | input[type=text], input[type=password], input[type=email],
31 | input[type=tel], input[type=search], input[type=url], input[type=number],
32 | input[type=submit], button, select, textarea {
33 | appearance: none;
34 | border-radius: 0;
35 | }
36 | input[type=submit], button {
37 | border: 0;
38 | }
39 | input[type=text], input[type=password], input[type=email],
40 | input[type=tel], input[type=search], input[type=url], input[type=number],
41 | select, textarea {
42 | background-color: #fff;
43 | }
44 | select::-ms-expand {
45 | display: none;
46 | }
47 | ::selection {
48 | color: #fff;
49 | background-color: rgba(#000, 0.8);
50 | }
51 | input::selection,
52 | textarea::selection {
53 | color: $color-text;
54 | background-color: rgba(#000, 0.2);
55 | }
56 | ::-webkit-input-placeholder {
57 | color: #666;
58 | }
59 | ::-moz-placeholder {
60 | color: #666;
61 | }
62 | :-ms-input-placeholder {
63 | color: #666;
64 | }
65 |
--------------------------------------------------------------------------------
/gulp/tasks/serve.js:
--------------------------------------------------------------------------------
1 | const gulp = require('gulp');
2 | const browserSync = require('browser-sync');
3 | const path = require("path");
4 | const slash = require('slash');
5 | const fs = require('fs');
6 | const url = require("url");
7 | const pug = require('pug');
8 |
9 | const DOMAIN = require('../conf').DOMAIN;
10 | const DIR = require('../conf').DIR;
11 | const conf = require('../conf').serve;
12 | const confPug = require('../conf').pug;
13 |
14 | const getPugTemplatePath = (baseDir, req)=>{
15 | const requestPath = url.parse(req.url).pathname;
16 | const suffix = path.parse(requestPath).ext ? '' : 'index.html';
17 | return path.join(baseDir, "src/html", requestPath, suffix);
18 | }
19 |
20 | const pugMiddleWare = (req, res, next) => {
21 | const requestPath = getPugTemplatePath(process.cwd(), req);
22 | const data = JSON.parse(fs.readFileSync(confPug.json));
23 | data.meta.domain = DOMAIN;
24 | data.meta.path = DIR.PATH;
25 | if (path.parse(requestPath).ext !== '.html') {
26 | return next();
27 | }
28 | let pugPath = slash(requestPath.replace('.html', '.pug'));
29 | if (DIR.PATH.length > 0) {
30 | pugPath = pugPath.replace(`/src/html${DIR.PATH}/`, '/src/html/');
31 | }
32 | console.log(`[BS] try to file ${pugPath}`);
33 | const content = pug.renderFile(pugPath, {
34 | data: data,
35 | pretty: true,
36 | });
37 | res.end(Buffer.from(content));
38 | }
39 |
40 | gulp.task('serve',()=> {
41 | if (process.env.NODE_ENV == 'production') {
42 | browserSync(conf.build);
43 | } else {
44 | conf.dest.server.middleware = [pugMiddleWare];
45 | browserSync(conf.dest);
46 | }
47 | });
48 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # fullscreen-slider
2 |
3 | 
4 |
5 | This asset controls sections in a page.
6 | It resizes sections to fullscreen resolution and moves these individually by wheel/touch events.
7 | https://ykob.github.io/fullscreen-slider/
8 |
9 | ## Usage
10 |
11 | 1. You must install the necessary npm modules.
12 | This class depends on below modules.
13 | https://www.npmjs.com/package/normalize-wheel
14 |
15 | ```
16 | npm i normalize-wheel --save
17 | ```
18 |
19 | 2. Import FullscreenSlider class.
20 | https://github.com/ykob/fullscreen-slider/blob/master/src/js/modules/fullscreen_slider/index.js
21 | Like as below.
22 |
23 | ```
24 | import FullscreenSlider from '../modules/fullscreen_slider/';
25 | ```
26 |
27 | 3. Create an instance and set wrapper element (ex: document) and 2D resolution object to arguments as below.
28 |
29 | ```
30 | const fsSlider = new FullscreenSlider(
31 | document,
32 | {
33 | x: window.innerWidth,
34 | y: window.innerHeight
35 | }
36 | );
37 | ```
38 |
39 | 4. Bind the `resize` event. You should run the `reset` method before running the `resize` method to set the resolution to the section elements correctly. Also, you should set an object that has window resolution to an argument of the "resize" method to resize the sections to full-screen size.
40 |
41 | ```
42 | window.addEventListener('resize', () => {
43 | fsSlider.reset();
44 | fsSlider.resize(
45 | {
46 | x: window.innerWidth,
47 | y: window.innerHeight
48 | }
49 | );
50 | });
51 | ```
52 |
53 | 5. Run the `start` method when you want to start the animation.
54 |
55 | ```
56 | fsSlider.start();
57 | ```
58 |
--------------------------------------------------------------------------------
/src/css/foundation/_variables-easings.scss:
--------------------------------------------------------------------------------
1 | //
2 | // Ceaser/developer/ceaser-easings.scss
3 | // https://github.com/matthewlein/Ceaser/blob/master/developer/ceaser-easings.scss
4 | //
5 |
6 | // Cubic
7 | $easeInCubic : cubic-bezier(0.550, 0.055, 0.675, 0.190);
8 | $easeOutCubic : cubic-bezier(0.215, 0.610, 0.355, 1.000);
9 | $easeInOutCubic : cubic-bezier(0.645, 0.045, 0.355, 1.000);
10 |
11 | // Circular
12 | $easeInCirc : cubic-bezier(0.600, 0.040, 0.980, 0.335);
13 | $easeOutCirc : cubic-bezier(0.075, 0.820, 0.165, 1.000);
14 | $easeInOutCirc : cubic-bezier(0.785, 0.135, 0.150, 0.860);
15 |
16 | // Exponential
17 | $easeInExpo : cubic-bezier(0.950, 0.050, 0.795, 0.035);
18 | $easeOutExpo : cubic-bezier(0.190, 1.000, 0.220, 1.000);
19 | $easeInOutExpo : cubic-bezier(1.000, 0.000, 0.000, 1.000);
20 |
21 | // Quadratic
22 | $easeInQuad : cubic-bezier(0.550, 0.085, 0.680, 0.530);
23 | $easeOutQuad : cubic-bezier(0.250, 0.460, 0.450, 0.940);
24 | $easeInOutQuad : cubic-bezier(0.455, 0.030, 0.515, 0.955);
25 |
26 | // Quartic
27 | $easeInQuart : cubic-bezier(0.895, 0.030, 0.685, 0.220);
28 | $easeOutQuart : cubic-bezier(0.165, 0.840, 0.440, 1.000);
29 | $easeInOutQuart : cubic-bezier(0.770, 0.000, 0.175, 1.000);
30 |
31 | // Quintic
32 | $easeInQuint : cubic-bezier(0.755, 0.050, 0.855, 0.060);
33 | $easeOutQuint : cubic-bezier(0.230, 1.000, 0.320, 1.000);
34 | $easeInOutQuint : cubic-bezier(0.860, 0.000, 0.070, 1.000);
35 |
36 | // Sine
37 | $easeInSine : cubic-bezier(0.470, 0.000, 0.745, 0.715);
38 | $easeOutSine : cubic-bezier(0.390, 0.575, 0.565, 1.000);
39 | $easeInOutSine : cubic-bezier(0.445, 0.050, 0.550, 0.950);
40 |
41 | // Back
42 | $easeInBack : cubic-bezier(0.600, -0.280, 0.735, 0.045);
43 | $easeOutBack : cubic-bezier(0.175, 0.885, 0.320, 1.275);
44 | $easeInOutBack : cubic-bezier(0.680, -0.550, 0.265, 1.550);
45 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "fullscreen-slider",
3 | "description": "",
4 | "repository": {
5 | "type": "git",
6 | "url": "https://github.com/ykob/fullscreen-slider.git"
7 | },
8 | "private": false,
9 | "scripts": {
10 | "start": "npm run dev",
11 | "dev": "cross-env NODE_ENV=development gulp",
12 | "build": "cross-env NODE_ENV=production gulp build --format=static"
13 | },
14 | "engines": {
15 | "node": "10.13.0"
16 | },
17 | "browserslist": [
18 | "last 2 version",
19 | "IE 11"
20 | ],
21 | "devDependencies": {
22 | "@babel/core": "^7.0.1",
23 | "@babel/preset-env": "^7.0.0",
24 | "babel-loader": "^8.0.4",
25 | "browser-sync": "^2.23.5",
26 | "cross-env": "^5.1.5",
27 | "del": "^4.0.0",
28 | "gulp": "^4.0.0",
29 | "gulp-autoprefixer": "^6.0.0",
30 | "gulp-clean-css": "^4.0.0",
31 | "gulp-concat": "^2.6.1",
32 | "gulp-data": "^1.3.1",
33 | "gulp-imagemin": "^5.0.3",
34 | "gulp-load-plugins": "^1.5.0",
35 | "gulp-notify": "^3.2.0",
36 | "gulp-plumber": "^1.2.0",
37 | "gulp-pug": "^4.0.1",
38 | "gulp-rename": "^1.2.2",
39 | "gulp-replace": "^1.0.0",
40 | "gulp-sass": "^4.0.0",
41 | "imagemin-mozjpeg": "^8.0.0",
42 | "imagemin-pngquant": "^7.0.0",
43 | "merge-stream": "^1.0.1",
44 | "node-sass": "^4.9.4",
45 | "pump": "^3.0.0",
46 | "require-dir": "^1.0.0",
47 | "slash": "^3.0.0",
48 | "vinyl-source-stream": "^2.0.0",
49 | "webpack": "^4.20.2",
50 | "webpack-stream": "^5.1.1",
51 | "yargs": "^13.2.1"
52 | },
53 | "dependencies": {
54 | "@babel/polyfill": "^7.0.0",
55 | "easing-js": "git://github.com/danro/easing-js.git",
56 | "js-util": "git://github.com/ykob/js-util.git",
57 | "jstransformer-markdown-it": "^2.0.0",
58 | "normalize-wheel": "^1.0.1",
59 | "ua-parser-js": "^0.7.19"
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/src/css/main.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /*!
4 | Theme Name: www.xxx.com
5 | Author: tsumikiinc.com
6 | Description:
7 | Version: 1.0.0
8 | */
9 |
10 | @import url('https://fonts.googleapis.com/css?family=Ubuntu');
11 |
12 | // ==========================================================================
13 | // Foundation
14 | // ==========================================================================
15 | @import "foundation/_variables";
16 | @import "foundation/_variables-easings";
17 | @import "foundation/_keyframes";
18 |
19 | // Mixins
20 | @import "foundation/_mixin-utils";
21 |
22 | // Base
23 | @import "foundation/_normalize";
24 | @import "foundation/_global";
25 |
26 | // ==========================================================================
27 | // Layout
28 | // ==========================================================================
29 | @import "layout/_contents";
30 | @import "layout/_page";
31 |
32 | // ==========================================================================
33 | // Object
34 | // ==========================================================================
35 | // -----------------------------------------------------------------
36 | // Component
37 | // -----------------------------------------------------------------
38 | // @import "object/project/_xxx";
39 |
40 | // -----------------------------------------------------------------
41 | // Project
42 | // -----------------------------------------------------------------
43 | @import "object/project/global/_global-header";
44 | @import "object/project/global/_global-links";
45 | @import "object/project/global/_global-title";
46 |
47 | @import "object/project/common/_background";
48 | @import "object/project/common/_pager";
49 | @import "object/project/common/_section";
50 | @import "object/project/common/_sections-wrap";
51 |
52 | // -----------------------------------------------------------------
53 | // Utility
54 | // -----------------------------------------------------------------
55 | // @import "object/utility/_animdel";
56 |
57 | // -----------------------------------------------------------------
58 | // Vendor
59 | // -----------------------------------------------------------------
60 | // @import "object/vendor/_xxx";
61 |
--------------------------------------------------------------------------------
/src/html/index.pug:
--------------------------------------------------------------------------------
1 | extends ./_layout/_page.pug
2 |
3 | block vars
4 | -
5 | var page = data.pages.index;
6 |
7 | block content
8 | .p-sections-wrap.js-fullscreen-wrap
9 | .p-section.p-section--01.js-fullscreen-section
10 | .p-section__in
11 | h2.p-section__header
12 | |Section1
13 | p.p-section__text
14 | |Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
15 | br
16 | |Aenean commodo ligula eget dolor. Aenean massa.
17 | .p-section.p-section--02.js-fullscreen-section
18 | .p-section__in
19 | h2.p-section__header
20 | |Section2
21 | p.p-section__text
22 | |Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
23 | br
24 | |Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
25 | br
26 | |Nulla consequat massa quis enim.
27 | .p-section.p-section--03.js-fullscreen-section
28 | .p-section__in
29 | h2.p-section__header
30 | |Section3
31 | p.p-section__text
32 | |Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
33 | br
34 | |In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.
35 | br
36 | |Nullam dictum felis eu pede mollis pretium.
37 | .p-section.p-section--04.js-fullscreen-section
38 | .p-section__in
39 | h2.p-section__header
40 | |Section4
41 | p.p-section__text
42 | |Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi.
43 | br
44 | |Aenean vulputate eleifend tellus.
45 | br
46 | |Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim.
47 | .p-section.p-section--05.js-fullscreen-section
48 | .p-section__in
49 | h2.p-section__header
50 | |Section5
51 | p.p-section__text
52 | |Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus.
53 | br
54 | |Phasellus viverra nulla ut metus varius laoreet.
55 | br
56 | |Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue.
57 | .p-pager.js-fullscreen-pager
58 | .p-pager__in
59 | .p-pager__pointer.js-fullscreen-pager-pointer.js-hover
60 | .p-pager__pointer.js-fullscreen-pager-pointer.js-hover
61 | .p-pager__pointer.js-fullscreen-pager-pointer.js-hover
62 | .p-pager__pointer.js-fullscreen-pager-pointer.js-hover
63 | .p-pager__pointer.js-fullscreen-pager-pointer.js-hover
64 | .p-pager__bar
65 | .p-background.js-fullscreen-bg
66 |
--------------------------------------------------------------------------------
/src/css/object/project/common/_pager.scss:
--------------------------------------------------------------------------------
1 | .p-pager {
2 | display: flex;
3 | position: absolute;
4 | z-index: 100;
5 | pointer-events: none;
6 | @include l-more-than-mobile {
7 | top: 0;
8 | bottom: 0;
9 | right: 15px;
10 | align-items: center;
11 | }
12 | @include l-mobile {
13 | bottom: 10px;
14 | right: 0;
15 | left: 0;
16 | justify-content: center;
17 | }
18 | &__in {
19 | position: relative;
20 | @include l-mobile {
21 | display: flex;
22 | justify-content: center;
23 | align-items: center;
24 | }
25 | }
26 | &__bar {
27 | position: absolute;
28 | background-color: $color-text;
29 | @include l-more-than-mobile {
30 | width: 2px;
31 | top: 21px;
32 | bottom: 21px;
33 | left: 21px;
34 | }
35 | @include l-mobile {
36 | height: 2px;
37 | bottom: 21px;
38 | right: 21px;
39 | left: 21px;
40 | }
41 | }
42 | &__pointer {
43 | width: 44px;
44 | height: 44px;
45 | cursor: pointer;
46 | display: flex;
47 | justify-content: center;
48 | align-items: center;
49 | position: relative;
50 | z-index: 10;
51 | &:before {
52 | width: 8px;
53 | height: 8px;
54 | box-sizing: border-box;
55 | content: '';
56 | display: block;
57 | border-radius: 50%;
58 | border: 2px solid $color-text;
59 | background-color: $color-text;
60 | }
61 | }
62 | //
63 | // Interaction
64 | //
65 | &__bar {
66 | @include l-more-than-mobile {
67 | transform: scaleY(0);
68 | }
69 | @include l-mobile {
70 | transform: scaleX(0);
71 | }
72 | .has-animate & {
73 | transition-duration: 1s;
74 | transition-delay: .5s;
75 | transition-property: transform;
76 | transition-timing-function: $easeOutCirc;
77 | @include l-more-than-mobile {
78 | transform: scaleY(1);
79 | }
80 | @include l-mobile {
81 | transform: scaleX(1);
82 | }
83 | }
84 | }
85 | &__pointer {
86 | transform: scale(0);
87 | .has-animate & {
88 | pointer-events: auto;
89 | transform: scale(1);
90 | transition-duration: 1s;
91 | transition-delay: .9s;
92 | transition-property: transform;
93 | transition-timing-function: $easeOutCirc;
94 | &:before {
95 | transition-duration: .2s;
96 | transition-property: width, height, background-color;
97 | }
98 | &.is-over:before,
99 | &.is-current:before {
100 | width: 14px;
101 | height: 14px;
102 | background-color: #fff;
103 | }
104 | }
105 | }
106 | }
107 |
--------------------------------------------------------------------------------
/src/css/object/project/common/_section.scss:
--------------------------------------------------------------------------------
1 | .p-section {
2 | width: 100%;
3 | height: 100%;
4 | box-sizing: border-box;
5 | display: flex;
6 | justify-content: center;
7 | align-items: center;
8 | position: absolute;
9 | top: 0;
10 | left: 0;
11 | z-index: 10;
12 | @include l-more-than-mobile {
13 | padding: 30px;
14 | }
15 | @include l-mobile {
16 | padding: 20px;
17 | }
18 | &__in {
19 | text-align: center;
20 | }
21 | &__header {
22 | line-height: 1;
23 | margin-top: 0;
24 | @include fontSizeAll(48, 48, 32);
25 | font-weight: 400;
26 | letter-spacing: 0.04em;
27 | @include l-more-than-mobile {
28 | margin-bottom: 25px;
29 | }
30 | @include l-mobile {
31 | margin-bottom: 15px;
32 | }
33 | }
34 | &__text {
35 | br {
36 | @include l-mobile {
37 | display: none;
38 | }
39 | }
40 | }
41 |
42 | //
43 | // Interaction
44 | //
45 | pointer-events: none;
46 | &.is-shown {
47 | pointer-events: auto;
48 | }
49 | @keyframes showAsc {
50 | 0% {
51 | opacity: 0;
52 | transform: translate3d(0, 40px, 0);
53 | }
54 | 100% {
55 | opacity: 1;
56 | transform: translate3d(0, 0, 0);
57 | }
58 | }
59 | @keyframes showDesc {
60 | 0% {
61 | opacity: 0;
62 | transform: translate3d(0, -40px, 0);
63 | }
64 | 100% {
65 | opacity: 1;
66 | transform: translate3d(0, 0, 0);
67 | }
68 | }
69 | @keyframes hideAsc {
70 | 0% {
71 | opacity: 1;
72 | transform: translate3d(0, 0, 0);
73 | }
74 | 100% {
75 | opacity: 0;
76 | transform: translate3d(0, -30px, 0);
77 | }
78 | }
79 | @keyframes hideDesc {
80 | 0% {
81 | opacity: 1;
82 | transform: translate3d(0, 0, 0);
83 | }
84 | 100% {
85 | opacity: 0;
86 | transform: translate3d(0, 30px, 0);
87 | }
88 | }
89 | &__header {
90 | opacity: 0;
91 | .is-shown &, .is-hidden & {
92 | animation-fill-mode: both;
93 | animation-timing-function: $easeOutCubic;
94 | }
95 | .is-shown & {
96 | animation-duration: 1.4s;
97 | animation-delay: .4s;
98 | }
99 | .is-shown-asc & {
100 | animation-name: showAsc;
101 | }
102 | .is-shown-desc & {
103 | animation-name: showDesc;
104 | }
105 | .is-hidden & {
106 | animation-duration: .8s;
107 | }
108 | .is-hidden-asc & {
109 | animation-name: hideAsc;
110 | }
111 | .is-hidden-desc & {
112 | animation-name: hideDesc;
113 | animation-delay: .05s;
114 | }
115 | }
116 | &__text {
117 | opacity: 0;
118 | .is-shown &, .is-hidden & {
119 | animation-fill-mode: both;
120 | animation-timing-function: $easeOutCubic;
121 | }
122 | .is-shown & {
123 | animation-duration: 1.4s;
124 | animation-delay: .5s;
125 | }
126 | .is-shown-asc & {
127 | animation-name: showAsc;
128 | }
129 | .is-shown-desc & {
130 | animation-name: showDesc;
131 | }
132 | .is-hidden & {
133 | animation-duration: .8s;
134 | }
135 | .is-hidden-asc & {
136 | animation-name: hideAsc;
137 | animation-delay: .05s;
138 | }
139 | .is-hidden-desc & {
140 | animation-name: hideDesc;
141 | }
142 | }
143 | }
144 |
--------------------------------------------------------------------------------
/src/css/foundation/_mixin-utils.scss:
--------------------------------------------------------------------------------
1 | @mixin fontSize($size: 14) {
2 | font-size: $size + px;
3 | font-size: $size / 16 * 1rem;
4 | }
5 | @mixin fontSizeMobile($size: 14) {
6 | @media all and (min-width: $break-point-mobile-p + 1) and (max-width: $break-point-tablet-p - 1px) {
7 | font-size: round($size / 375 * 414px);
8 | }
9 | @media all and (max-width: $break-point-mobile-p) {
10 | font-size: $size / 375 * 100vw;
11 | }
12 | }
13 | @mixin fontSizeAll($sizePc, $sizeTab, $sizeSp) {
14 | @include l-pc {
15 | @include fontSize($sizePc);
16 | }
17 | @include l-tablet {
18 | @include fontSize($sizeTab);
19 | }
20 | @include fontSizeMobile($sizeSp);
21 | }
22 | @mixin flexFontSize($vw) {
23 | @include l-pc-l {
24 | font-size: $break-point-pc-s / 100 * $vw;
25 | }
26 | @include l-pc-s {
27 | font-size: $vw * 1vw;
28 | }
29 | @include l-tablet {
30 | font-size: $vw * 1vw;
31 | }
32 | @include l-mobile {
33 | font-size: $break-point-tablet-p / 100 * $vw;
34 | }
35 | }
36 | @mixin clearfix {
37 | &:before,
38 | &:after {
39 | content: "";
40 | display: table;
41 | }
42 | &:after {
43 | clear: both;
44 | }
45 | }
46 | @mixin iterateTransitionDelay($size, $step, $base) {
47 | @for $i from 1 through $size {
48 | &:nth-of-type(#{$i}) {
49 | transition-delay: (($i - 1) * $step + $base) * 1s;
50 | }
51 | }
52 | }
53 | @mixin iterateAnimationDelay($size, $step, $base) {
54 | @for $i from 1 through $size {
55 | &:nth-of-type(#{$i}) {
56 | animation-delay: (($i - 1) * $step + $base) * 1s;
57 | }
58 | }
59 | }
60 |
61 | //
62 | // rwd break points
63 | // pc-l | pc-s | tablet | mobile
64 | //
65 | // ○ | - | - | -
66 | @mixin l-pc-l {
67 | @media all and (min-width: $break-point-pc-s + 1px) {
68 | @content;
69 | }
70 | }
71 | // - | ○ | - | -
72 | @mixin l-pc-s {
73 | @media all and (min-width: $break-point-tablet-l + 1px) and (max-width: $break-point-pc-s) {
74 | @content;
75 | }
76 | }
77 | // - | - | ○ | -
78 | @mixin l-tablet {
79 | @media all and (min-width: $break-point-tablet-p) and (max-width: $break-point-tablet-l) {
80 | @content;
81 | }
82 | }
83 | @mixin l-tablet-l {
84 | @media all and (min-width: $break-point-tablet-p) and (max-width: $break-point-tablet-l) and (orientation: landscape) {
85 | @content;
86 | }
87 | }
88 | @mixin l-tablet-p {
89 | @media all and (min-width: $break-point-tablet-p) and (max-width: $break-point-tablet-l) and (orientation: portrait) {
90 | @content;
91 | }
92 | }
93 | // - | - | - | ○
94 | @mixin l-mobile {
95 | @media all and (max-width: $break-point-tablet-p - 1px) {
96 | @content;
97 | }
98 | }
99 | @mixin l-mobile-l {
100 | @media all and (max-width: $break-point-tablet-p - 1px) and (orientation: landscape) {
101 | @content;
102 | }
103 | }
104 | @mixin l-mobile-p {
105 | @media all and (max-width: $break-point-tablet-p - 1px) and (orientation: portrait) {
106 | @content;
107 | }
108 | }
109 | // ○ | ○ | - | -
110 | @mixin l-pc {
111 | @media all and (min-width: $break-point-tablet-l + 1px) {
112 | @content;
113 | }
114 | }
115 | // - | - | ○ | ○
116 | @mixin l-tablet-and-mobile {
117 | @media all and (max-width: $break-point-tablet-l) {
118 | @content;
119 | }
120 | }
121 | // ○ | ○ | ○ | -
122 | @mixin l-more-than-mobile {
123 | @media all and (min-width: $break-point-tablet-p) {
124 | @content;
125 | }
126 | }
127 | // - | ○ | ○ | ○
128 | @mixin l-less-than-pc-s {
129 | @media all and (max-width: $break-point-pc-s) {
130 | @content;
131 | }
132 | }
133 |
--------------------------------------------------------------------------------
/gulp/conf.js:
--------------------------------------------------------------------------------
1 | 1// 設定ファイル
2 | // 対象パスやオプションを指定
3 |
4 | const DOMAIN = module.exports.DOMAIN = 'https://ykob.github.io';
5 | const DIR = module.exports.DIR = {
6 | // 語尾にスラッシュはつけない
7 | PATH: '/fullscreen-slider',
8 | SRC: 'src',
9 | DEST: 'dst',
10 | BUILD: 'docs'
11 | };
12 |
13 | module.exports.serve = {
14 | dest: {
15 | notify: false,
16 | startPath: `${DIR.PATH}/`,
17 | ghostMode: false,
18 | server: {
19 | baseDir: DIR.DEST,
20 | index: 'index.html',
21 | routes: {
22 | [DIR.PATH]: `${DIR.DEST}${DIR.PATH}/`
23 | }
24 | }
25 | },
26 | build: {
27 | notify: false,
28 | startPath: DIR.PATH,
29 | ghostMode: false,
30 | server: {
31 | baseDir: DIR.BUILD,
32 | index: 'index.html',
33 | routes: {
34 | [DIR.PATH]: `${DIR.BUILD}/`
35 | }
36 | }
37 | }
38 | };
39 |
40 | module.exports.scripts = {
41 | src: [
42 | `./${DIR.SRC}/**/*.js`,
43 | ],
44 | dest: {
45 | development: `./${DIR.DEST}${DIR.PATH}/js`,
46 | production: `./${DIR.BUILD}/js`,
47 | },
48 | webpack: {
49 | entry: `./${DIR.SRC}/js/main.js`,
50 | output: {
51 | filename: `main.js`
52 | },
53 | module: {
54 | rules: [
55 | {
56 | test: /\.js$/,
57 | exclude: /node_modules/,
58 | use: {
59 | loader: 'babel-loader',
60 | options: {
61 | presets: ['@babel/preset-env']
62 | }
63 | },
64 | }
65 | ]
66 | }
67 | },
68 | };
69 |
70 | module.exports.pug = {
71 | src: [
72 | `${DIR.SRC}/**/*.pug`,
73 | `!${DIR.SRC}/**/_**/*.pug`,
74 | `!${DIR.SRC}/**/_*.pug`
75 | ],
76 | dest: `${DIR.DEST}${DIR.PATH}`,
77 | opts: {
78 | pretty: true
79 | },
80 | json: `${DIR.SRC}/data.json`,
81 | };
82 |
83 | module.exports.sass = {
84 | src: [
85 | `${DIR.SRC}/**/*.{sass,scss}`,
86 | `!${DIR.SRC}/**/_**/*.{sass,scss}`,
87 | `!${DIR.SRC}/**/_*.{sass,scss}`
88 | ],
89 | dest: `${DIR.DEST}${DIR.PATH}/css`,
90 | };
91 |
92 | module.exports.replace = {
93 | html: {
94 | src: [
95 | `${DIR.DEST}${DIR.PATH}/**/*.html`
96 | ],
97 | dest: `${DIR.BUILD}`,
98 | }
99 | };
100 |
101 | module.exports.cleanCss = {
102 | src: `${DIR.DEST}${DIR.PATH}/css/main.css`,
103 | dest: `${DIR.BUILD}/css`,
104 | };
105 |
106 | module.exports.copy = {
107 | dest: {
108 | src: [
109 | `${DIR.SRC}/img/**/*.*`,
110 | `${DIR.SRC}/font/**/*.*`,
111 | `${DIR.SRC}/json/**/*.*`,
112 | ],
113 | dest: `${DIR.DEST}${DIR.PATH}`,
114 | opts: {
115 | base: `${DIR.SRC}`
116 | }
117 | },
118 | build: {
119 | src: [
120 | `${DIR.DEST}${DIR.PATH}/img/**/*.ico`,
121 | `${DIR.DEST}${DIR.PATH}/img/**/no_compress/*.*`,
122 | `${DIR.DEST}${DIR.PATH}/font/**/*.*`,
123 | `${DIR.DEST}${DIR.PATH}/json/**/*.*`,
124 | ],
125 | dest: `${DIR.BUILD}`,
126 | opts: {
127 | base: `${DIR.DEST}${DIR.PATH}`
128 | }
129 | },
130 | php: {
131 | src: [
132 | `${DIR.SRC}/html/**/*.php`,
133 | ],
134 | dest: `${DIR.BUILD}`,
135 | opts: {
136 | base: `${DIR.SRC}/html/`
137 | }
138 | },
139 | };
140 |
141 | module.exports.imagemin = {
142 | src: [
143 | `${DIR.DEST}${DIR.PATH}/**/*.{jpg,jpeg,png,gif,svg}`,
144 | `!${DIR.DEST}${DIR.PATH}/img/**/no_compress/*.*`,
145 | ],
146 | dest: `${DIR.BUILD}/img`,
147 | opts: {
148 | pngquant: {
149 | quality: [0.6, 0.8],
150 | speed: 1,
151 | },
152 | mozjpeg: {
153 | quality: 80,
154 | progressive: true,
155 | },
156 | svgo: {
157 | plugins: [
158 | { removeViewBox: false },
159 | { cleanupIDs: true },
160 | ]
161 | },
162 | }
163 | };
164 |
165 | module.exports.clean = {
166 | dest: {
167 | path: [`${DIR.DEST}`]
168 | },
169 | build: {
170 | path: [`${DIR.BUILD}`]
171 | }
172 | };
173 |
--------------------------------------------------------------------------------
/docs/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | FullScreen Slider
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
30 |
31 |
32 |
33 |
34 |
35 |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.
36 |
37 |
38 |
39 |
40 |
41 |
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim.
42 |
43 |
44 |
45 |
46 |
47 |
Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.
48 |
49 |
50 |
51 |
52 |
53 |
Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim.
54 |
55 |
56 |
57 |
58 |
59 |
Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue.
60 |
61 |
62 |
63 |
73 |
74 |
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/src/js/modules/fullscreen_slider/index.js:
--------------------------------------------------------------------------------
1 | import normalizeWheel from 'normalize-wheel';
2 |
3 | const CLASSNAME_WRAP = 'js-fullscreen-wrap';
4 | const CLASSNAME_SECTION = 'js-fullscreen-section';
5 | const CLASSNAME_PAGER = 'js-fullscreen-pager';
6 | const CLASSNAME_POINTER = 'js-fullscreen-pager-pointer';
7 | const CLASSNAME_BG = 'js-fullscreen-bg';
8 | const CLASSNAME_SHOW = 'is-shown';
9 | const CLASSNAME_SHOW_ASC = 'is-shown-asc';
10 | const CLASSNAME_SHOW_DESC = 'is-shown-desc';
11 | const CLASSNAME_HIDE = 'is-hidden';
12 | const CLASSNAME_HIDE_ASC = 'is-hidden-asc';
13 | const CLASSNAME_HIDE_DESC = 'is-hidden-desc';
14 | const CLASSNAME_CURRENT = 'is-current';
15 | const CLASSNAME_ANIMATE = 'has-animate';
16 |
17 | const INTERVAL_TO_FIRE_WHEEL = 1000;
18 | const BG_COLORS = [
19 | '#0fb4ae',
20 | '#7bc8bc',
21 | '#868eaf',
22 | '#ec6867',
23 | '#f8bb0e',
24 | ];
25 |
26 | export default class FullscreenSlider {
27 | constructor(contents, resolution) {
28 | this.elmWrap = contents.querySelector(`.${CLASSNAME_WRAP}`);
29 | this.elmSection = contents.querySelectorAll(`.${CLASSNAME_SECTION}`);
30 | this.elmPager = contents.querySelector(`.${CLASSNAME_PAGER}`);
31 | this.elmPagerPointers = contents.querySelectorAll(`.${CLASSNAME_POINTER}`);
32 | this.elmBg = contents.querySelector(`.${CLASSNAME_BG}`);
33 |
34 | this.currentId = 0;
35 | this.previousId = 0;
36 | this.maxId = this.elmSection.length - 1;
37 | this.isAscend = true;
38 | this.wheelTimer = null;
39 | this.isWheeling = false;
40 | this.touchStartX = 0;
41 | this.touchStartY = 0;
42 | this.isTouchMoved = false;
43 |
44 | this.resize(resolution);
45 | this.on();
46 | }
47 | start() {
48 | // Start the first animation.
49 | document.body.style.overscrollBehavior = 'none';
50 | this.elmSection[this.currentId].classList.add(CLASSNAME_SHOW);
51 | this.elmSection[this.currentId].classList.add(CLASSNAME_SHOW_ASC);
52 | this.elmPager.classList.add(CLASSNAME_ANIMATE);
53 | this.elmPagerPointers[this.currentId].classList.add(CLASSNAME_CURRENT);
54 | this.elmBg.classList.add(CLASSNAME_ANIMATE);
55 | this.elmBg.style.backgroundColor = BG_COLORS[this.currentId];
56 | }
57 | goToPrev() {
58 | if (this.currentId === 0) return;
59 | this.previousId = this.currentId;
60 | this.currentId--;
61 | this.isAscend = false;
62 | this.changeSection();
63 | }
64 | goToNext() {
65 | if (this.currentId >= this.maxId) return;
66 | this.previousId = this.currentId;
67 | this.currentId++;
68 | this.isAscend = true;
69 | this.changeSection();
70 | }
71 | goToTarget(id) {
72 | if (this.currentId === id) return;
73 | this.isAscend = id > this.currentId;
74 | this.previousId = this.currentId;
75 | this.currentId = id;
76 | this.changeSection();
77 | }
78 | changeSection() {
79 | // Add/Remove the ClassName for change the current section and run the animation.
80 | // It judges which direction going the next section from the previous section Ascend or Descend.
81 | for (var i = 0; i < this.elmSection.length; i++) {
82 | this.elmSection[i].classList.remove(CLASSNAME_SHOW);
83 | this.elmSection[i].classList.remove(CLASSNAME_SHOW_ASC);
84 | this.elmSection[i].classList.remove(CLASSNAME_SHOW_DESC);
85 | this.elmSection[i].classList.remove(CLASSNAME_HIDE);
86 | this.elmSection[i].classList.remove(CLASSNAME_HIDE_ASC);
87 | this.elmSection[i].classList.remove(CLASSNAME_HIDE_DESC);
88 | }
89 | if (this.isAscend) {
90 | this.elmSection[this.previousId].classList.add(CLASSNAME_HIDE);
91 | this.elmSection[this.previousId].classList.add(CLASSNAME_HIDE_ASC);
92 | this.elmSection[this.currentId].classList.add(CLASSNAME_SHOW);
93 | this.elmSection[this.currentId].classList.add(CLASSNAME_SHOW_ASC);
94 | } else {
95 | this.elmSection[this.previousId].classList.add(CLASSNAME_HIDE);
96 | this.elmSection[this.previousId].classList.add(CLASSNAME_HIDE_DESC);
97 | this.elmSection[this.currentId].classList.add(CLASSNAME_SHOW);
98 | this.elmSection[this.currentId].classList.add(CLASSNAME_SHOW_DESC);
99 | }
100 | this.elmPagerPointers[this.previousId].classList.remove(CLASSNAME_CURRENT);
101 | this.elmPagerPointers[this.currentId].classList.add(CLASSNAME_CURRENT);
102 | this.elmBg.style.backgroundColor = BG_COLORS[this.currentId];
103 | }
104 | reset() {
105 | // Remove styles of the wrapper element temporarily.
106 | this.elmWrap.style.width = 0;
107 | this.elmWrap.style.height = 0;
108 | }
109 | resize(resolution) {
110 | // Resize the wrapper element to the argument resolution.
111 | this.elmWrap.style.width = `${resolution.x}px`
112 | this.elmWrap.style.height = `${resolution.y}px`
113 | }
114 | on() {
115 | // Binding each events.
116 |
117 | // For wheel events
118 | // =====
119 | const wheel = (e) => {
120 | e.preventDefault();
121 |
122 | const n = normalizeWheel(e);
123 |
124 | // Run at the first wheel event only.
125 | if (this.isWheeling === false) {
126 | if (Math.abs(n.pixelY) < 10) return;
127 |
128 | if (n.pixelY < 0) {
129 | this.goToPrev();
130 | } else {
131 | this.goToNext();
132 | }
133 |
134 | // Prevent repeated wheel events fire with a timer.
135 | this.isWheeling = true;
136 | this.wheelTimer = setTimeout(() => {
137 | this.isWheeling = false;
138 | }, INTERVAL_TO_FIRE_WHEEL);
139 | }
140 | };
141 | this.elmWrap.addEventListener('wheel', wheel, { capture: true });
142 | this.elmWrap.addEventListener('DOMMouseScroll', wheel, { capture: true });
143 |
144 | // For touch events
145 | // =====
146 | this.elmWrap.addEventListener('touchstart', (e) => {
147 | this.touchStartX = e.touches[0].clientX;
148 | this.touchStartY = e.touches[0].clientY;
149 | }, false);
150 |
151 | this.elmWrap.addEventListener('touchmove', (e) => {
152 | if (this.isTouchMoved === true) return;
153 |
154 | const diffX = this.touchStartX - e.touches[0].clientX;
155 | const diffY = this.touchStartY - e.touches[0].clientY;
156 |
157 | if (Math.abs(diffX) > 20) {
158 | return;
159 | } else if (diffY < -20) {
160 | e.preventDefault();
161 | this.goToPrev();
162 | } else if (diffY > 20) {
163 | e.preventDefault();
164 | this.goToNext();
165 | }
166 |
167 | if (Math.abs(diffY) > 20) {
168 | this.isTouchMoved = true;
169 | }
170 | }, false);
171 |
172 | this.elmWrap.addEventListener('touchend', (e) => {
173 | this.isTouchMoved = false;
174 | }, false);
175 |
176 | // For pager
177 | // ======
178 | for (var i = 0; i < this.elmPagerPointers.length; i++) {
179 | const id = i;
180 | this.elmPagerPointers[i].addEventListener('click', (e) => {
181 | e.preventDefault();
182 | this.goToTarget(id);
183 | });
184 | }
185 | }
186 | }
187 |
--------------------------------------------------------------------------------
/src/html/_mixin/_svg.pug:
--------------------------------------------------------------------------------
1 | mixin svg(width, widthBase, heightBase)
2 | svg(
3 | xmlns = "http://www.w3.org/2000/svg",
4 | role = (attributes.role) ? attributes.role : 'img',
5 | aria-labelledby != `${attributes.id}-title`,
6 | width = width,
7 | height = Math.ceil(width * heightBase / widthBase),
8 | viewBox = `0 0 ${widthBase} ${heightBase}`,
9 | id != attributes.id,
10 | class != attributes.class,
11 | )
12 | if (attributes.title)
13 | title(
14 | id = `${attributes.id}-title`
15 | )
16 | |#{attributes.title}
17 | block
18 |
19 | mixin iconFacebook(width)
20 | +svg(width, 117.7, 226.6)(
21 | title = (attributes.title) ? attributes.title : 'Facebook',
22 | role != attributes.role,
23 | id = (attributes.id) ? attributes.id : 'icon-facebook',
24 | class = 'c-icon-facebook'
25 | )
26 | path(d="M76.4 226.6V123.2h34.7l5.2-40.3H76.4V57.2c0-11.7 3.2-19.6 20-19.6h21.3v-36C114 1.1 101.3 0 86.6 0 55.8 0 34.8 18.8 34.8 53.2v29.7H0v40.3h34.8v103.4h41.6z")
27 |
28 | mixin iconFacebookSquare(width)
29 | +svg(width, 266.9, 266.9)(
30 | title = (attributes.title) ? attributes.title : 'Facebook',
31 | role != attributes.role,
32 | id = (attributes.id) ? attributes.id : 'icon-facebook',
33 | class = 'c-icon-facebook'
34 | )
35 | path(d="M252.2 0H14.7C6.6 0 0 6.6 0 14.7v237.4c0 8.1 6.6 14.7 14.7 14.7h127.8V163.5h-34.8v-40.3h34.8V93.6c0-34.5 21.1-53.2 51.8-53.2 14.7 0 27.4 1.1 31.1 1.6v36h-21.3c-16.7 0-20 7.9-20 19.6v25.7H224l-5.2 40.3h-34.7V267h68c8.1 0 14.7-6.6 14.7-14.7V14.7c.1-8.1-6.5-14.7-14.6-14.7z")
36 |
37 | mixin iconTwitter(width)
38 | +svg(width, 273.4, 222.2)(
39 | title = (attributes.title) ? attributes.title : 'Twitter',
40 | role != attributes.role,
41 | id = (attributes.id) ? attributes.id : 'icon-twitter',
42 | class = 'c-icon-twitter'
43 | )
44 | path(d="M273.4 26.3c-10.1 4.5-20.9 7.5-32.2 8.8 11.6-6.9 20.5-17.9 24.7-31-10.9 6.4-22.9 11.1-35.7 13.6C220 6.8 205.4 0 189.3 0c-31 0-56.1 25.1-56.1 56.1 0 4.4.5 8.7 1.5 12.8C88 66.5 46.7 44.2 19 10.3c-4.8 8.3-7.6 17.9-7.6 28.2 0 19.5 9.9 36.6 25 46.7-9.2-.3-17.8-2.8-25.4-7v.7c0 27.2 19.3 49.8 45 55-4.7 1.3-9.7 2-14.8 2-3.6 0-7.1-.4-10.6-1 7.1 22.3 27.9 38.5 52.4 39-19.2 15-43.4 24-69.7 24-4.5 0-9-.3-13.4-.8 24.8 15.9 54.3 25.2 86 25.2 103.2 0 159.6-85.5 159.6-159.6 0-2.4-.1-4.9-.2-7.3 11.1-8 20.6-17.9 28.1-29.1z")
45 |
46 | mixin iconInstagram(width)
47 | +svg(width, 24, 24)(
48 | title = (attributes.title) ? attributes.title : 'Instagram',
49 | role != attributes.role,
50 | id = (attributes.id) ? attributes.id : 'icon-instagram',
51 | class = 'c-icon-instagram'
52 | )
53 | path(d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z")
54 |
55 | mixin iconInstagram2(width)
56 | +svg(width, 14, 14)(
57 | title = (attributes.title) ? attributes.title : 'Instagram2',
58 | role != attributes.role,
59 | id = (attributes.id) ? attributes.id : 'icon-instagram',
60 | class = 'c-icon-instagram2'
61 | )
62 | path(d="M1.9 13.5c-.8 0-1.5-.7-1.5-1.5V2c0-.8.7-1.5 1.5-1.5h10c.8 0 1.5.7 1.5 1.5v10c0 .8-.7 1.5-1.5 1.5h-10zM1.5 6v5.7c0 .4.4.8.8.8h9.4c.4 0 .8-.4.8-.8V6l-.3-.3H11l-.2.3c.1.4.2.7.2 1.1 0 2.1-1.8 3.8-3.9 3.8S3 9.2 3 7.1c0-.3.1-.7.2-1.1L3 5.7H1.7l-.2.3zM7 4.1C5.3 4.1 4 5.4 4 7s1.3 2.9 3 2.9 3-1.3 3-2.9-1.4-2.9-3-2.9zm3.1-2.6c-.5 0-.9.4-.9.9v1.5c0 .5.4.9.9.9h1.5c.5 0 .9-.4.9-.9V2.4c0-.5-.4-.9-.9-.9h-1.5z" fill-rule="evenodd" clip-rule="evenodd")
63 |
64 | mixin iconYoutube(width)
65 | +svg(width, 24, 24)(
66 | title = (attributes.title) ? attributes.title : 'Youtube',
67 | role != attributes.role,
68 | id = (attributes.id) ? attributes.id : 'icon-youtube',
69 | class = 'c-icon-youtube'
70 | )
71 | path(d="M4.652 0h1.44l.988 3.702.916-3.702h1.454l-1.665 5.505v3.757h-1.431v-3.757l-1.702-5.505zm6.594 2.373c-1.119 0-1.861.74-1.861 1.835v3.349c0 1.204.629 1.831 1.861 1.831 1.022 0 1.826-.683 1.826-1.831v-3.349c0-1.069-.797-1.835-1.826-1.835zm.531 5.127c0 .372-.19.646-.532.646-.351 0-.554-.287-.554-.646v-3.179c0-.374.172-.651.529-.651.39 0 .557.269.557.651v3.179zm4.729-5.07v5.186c-.155.194-.5.512-.747.512-.271 0-.338-.186-.338-.46v-5.238h-1.27v5.71c0 .675.206 1.22.887 1.22.384 0 .918-.2 1.468-.853v.754h1.27v-6.831h-1.27zm2.203 13.858c-.448 0-.541.315-.541.763v.659h1.069v-.66c.001-.44-.092-.762-.528-.762zm-4.703.04c-.084.043-.167.109-.25.198v4.055c.099.106.194.182.287.229.197.1.485.107.619-.067.07-.092.105-.241.105-.449v-3.359c0-.22-.043-.386-.129-.5-.147-.193-.42-.214-.632-.107zm4.827-5.195c-2.604-.177-11.066-.177-13.666 0-2.814.192-3.146 1.892-3.167 6.367.021 4.467.35 6.175 3.167 6.367 2.6.177 11.062.177 13.666 0 2.814-.192 3.146-1.893 3.167-6.367-.021-4.467-.35-6.175-3.167-6.367zm-12.324 10.686h-1.363v-7.54h-1.41v-1.28h4.182v1.28h-1.41v7.54zm4.846 0h-1.21v-.718c-.223.265-.455.467-.696.605-.652.374-1.547.365-1.547-.955v-5.438h1.209v4.988c0 .262.063.438.322.438.236 0 .564-.303.711-.487v-4.939h1.21v6.506zm4.657-1.348c0 .805-.301 1.431-1.106 1.431-.443 0-.812-.162-1.149-.583v.5h-1.221v-8.82h1.221v2.84c.273-.333.644-.608 1.076-.608.886 0 1.18.749 1.18 1.631v3.609zm4.471-1.752h-2.314v1.228c0 .488.042.91.528.91.511 0 .541-.344.541-.91v-.452h1.245v.489c0 1.253-.538 2.013-1.813 2.013-1.155 0-1.746-.842-1.746-2.013v-2.921c0-1.129.746-1.914 1.837-1.914 1.161 0 1.721.738 1.721 1.914v1.656z")
72 |
73 | mixin iconHatenaBookmark(width)
74 | +svg(width, 272.8, 227.3)(
75 | title = (attributes.title) ? attributes.title : 'はてなブックマーク',
76 | role != attributes.role,
77 | id = (attributes.id) ? attributes.id : 'icon-hatena-bookmark',
78 | class = 'c-icon-hatena'
79 | )
80 | path(d="M164.6 121.7q-13.6-15.2-37.8-17c14.4-3.9 24.8-9.6 31.4-17.3s9.8-17.8 9.8-30.7a55 55 0 0 0-6.6-27.1A48.8 48.8 0 0 0 142.2 11 82.37 82.37 0 0 0 116 2.4C105.8.7 87.9 0 62.3 0H0v227.2h64.2q38.7 0 55.8-2.6c11.4-1.8 20.9-4.8 28.6-8.9a52.5 52.5 0 0 0 21.9-21.4c5.1-9.2 7.7-19.9 7.7-32.1 0-16.9-4.5-30.4-13.6-40.5zm-107-71.4h13.3q23.1 0 31 5.2c5.3 3.5 7.9 9.5 7.9 18s-2.9 14-8.5 17.4-16.1 5-31.4 5H57.6V50.3zm52.8 130.3c-6.1 3.7-16.5 5.5-31.1 5.5H57.6v-49.5h22.6c15 0 25.4 1.9 30.9 5.7s8.4 10.4 8.4 20-3 14.7-9.2 18.4zM244 169.7a28.8 28.8 0 1 0 28.8 28.8 28.8 28.8 0 0 0-28.8-28.8zM219 0h50v151.52h-50z")
81 |
82 | mixin iconPocket(width)
83 | +svg(width, 68.8, 58.9)(
84 | title = (attributes.title) ? attributes.title : 'Pocket',
85 | role != attributes.role,
86 | id = (attributes.id) ? attributes.id : 'icon-pocket',
87 | class = 'c-icon-pocket'
88 | )
89 | path(d="M68.8 5.6v18.9c0 19.2-15 34.3-33.5 34.3h-.8c-.3 0-.5.1-.8.1C15.2 58.9.2 44 .2 24.8H0V5.6C0 2.3 2.9 0 6.1 0h56.7c3.3 0 6 2.3 6 5.6zM54.3 18.2c-1.7-1.8-4.6-1.9-6.4-.1L34.4 30.9 21 18c-1.8-1.7-4.7-1.7-6.4.1-1.7 1.8-1.7 4.7.1 6.4l16.6 15.9c.9.8 2 1.3 3.2 1.3s2.3-.4 3.2-1.3l16.6-15.9c1.6-1.6 1.7-4.5 0-6.3z")
90 |
91 | mixin iconLineAt(width)
92 | +svg(width, 14, 14)(
93 | title = (attributes.title) ? attributes.title : 'Line@',
94 | role != attributes.role,
95 | id = (attributes.id) ? attributes.id : 'icon-line-at',
96 | class = 'c-icon-line-at'
97 | )
98 | path(d="M7 .1C3.2.1.1 3.2.1 7s3.1 6.9 6.9 6.9c.7 0 1.4-.1 2.1-.3l.4-.1c.1 0 .2-.2.2-.3L9.3 12c0-.1-.2-.2-.3-.2l-.4.1c-.5.2-1 .2-1.6.2-2.8 0-5.1-2.3-5.1-5.1S4.2 1.9 7 1.9s5.1 2.3 5.1 5.1c0 .6-.1 1.2-.3 1.8-.2.4-.5.8-.8.8-.4 0-.7-.3-.7-.7V4c0-.2-.1-.3-.3-.3H8.7c-.2 0-.3.1-.3.3v.1L8.3 4c-.5-.3-1-.4-1.6-.4-1.8 0-3.3 1.5-3.3 3.4s1.5 3.4 3.4 3.4c.6 0 1.3-.2 1.8-.5h.1v.1c.4.9 1.3 1.5 2.3 1.5 1.1 0 2.1-.8 2.5-2 .3-.8.4-1.6.4-2.4 0-3.9-3.1-7-6.9-7zM8.4 7c0 .9-.7 1.7-1.7 1.7S5.1 7.9 5.1 7s.7-1.7 1.7-1.7 1.6.8 1.6 1.7z")
99 |
--------------------------------------------------------------------------------
/src/css/foundation/_normalize.scss:
--------------------------------------------------------------------------------
1 | /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
2 |
3 | /**
4 | * 1. Set default font family to sans-serif.
5 | * 2. Prevent iOS text size adjust after orientation change, without disabling
6 | * user zoom.
7 | */
8 |
9 | html {
10 | font-family: sans-serif; /* 1 */
11 | -ms-text-size-adjust: 100%; /* 2 */
12 | -webkit-text-size-adjust: 100%; /* 2 */
13 | }
14 |
15 | /**
16 | * Remove default margin.
17 | */
18 |
19 | body {
20 | margin: 0;
21 | }
22 |
23 | /* HTML5 display definitions
24 | ========================================================================== */
25 |
26 | /**
27 | * Correct `block` display not defined for any HTML5 element in IE 8/9.
28 | * Correct `block` display not defined for `details` or `summary` in IE 10/11
29 | * and Firefox.
30 | * Correct `block` display not defined for `main` in IE 11.
31 | */
32 |
33 | article,
34 | aside,
35 | details,
36 | figcaption,
37 | figure,
38 | footer,
39 | header,
40 | hgroup,
41 | main,
42 | menu,
43 | nav,
44 | section,
45 | summary {
46 | display: block;
47 | }
48 |
49 | /**
50 | * 1. Correct `inline-block` display not defined in IE 8/9.
51 | * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
52 | */
53 |
54 | audio,
55 | canvas,
56 | progress,
57 | video {
58 | display: inline-block; /* 1 */
59 | vertical-align: baseline; /* 2 */
60 | }
61 |
62 | /**
63 | * Prevent modern browsers from displaying `audio` without controls.
64 | * Remove excess height in iOS 5 devices.
65 | */
66 |
67 | audio:not([controls]) {
68 | display: none;
69 | height: 0;
70 | }
71 |
72 | /**
73 | * Address `[hidden]` styling not present in IE 8/9/10.
74 | * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
75 | */
76 |
77 | [hidden],
78 | template {
79 | display: none;
80 | }
81 |
82 | /* Links
83 | ========================================================================== */
84 |
85 | /**
86 | * Remove the gray background color from active links in IE 10.
87 | */
88 |
89 | a {
90 | background-color: transparent;
91 | }
92 |
93 | /**
94 | * Improve readability when focused and also mouse hovered in all browsers.
95 | */
96 |
97 | a:active,
98 | a:hover {
99 | outline: 0;
100 | }
101 |
102 | /* Text-level semantics
103 | ========================================================================== */
104 |
105 | /**
106 | * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
107 | */
108 |
109 | abbr[title] {
110 | border-bottom: 1px dotted;
111 | }
112 |
113 | /**
114 | * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
115 | */
116 |
117 | b,
118 | strong {
119 | font-weight: bold;
120 | }
121 |
122 | /**
123 | * Address styling not present in Safari and Chrome.
124 | */
125 |
126 | dfn {
127 | font-style: italic;
128 | }
129 |
130 | /**
131 | * Address variable `h1` font-size and margin within `section` and `article`
132 | * contexts in Firefox 4+, Safari, and Chrome.
133 | */
134 |
135 | h1 {
136 | font-size: 2em;
137 | margin: 0.67em 0;
138 | }
139 |
140 | /**
141 | * Address styling not present in IE 8/9.
142 | */
143 |
144 | mark {
145 | background: #ff0;
146 | color: #000;
147 | }
148 |
149 | /**
150 | * Address inconsistent and variable font size in all browsers.
151 | */
152 |
153 | small {
154 | font-size: 80%;
155 | }
156 |
157 | /**
158 | * Prevent `sub` and `sup` affecting `line-height` in all browsers.
159 | */
160 |
161 | sub,
162 | sup {
163 | font-size: 75%;
164 | line-height: 0;
165 | position: relative;
166 | vertical-align: baseline;
167 | }
168 |
169 | sup {
170 | top: -0.5em;
171 | }
172 |
173 | sub {
174 | bottom: -0.25em;
175 | }
176 |
177 | /* Embedded content
178 | ========================================================================== */
179 |
180 | /**
181 | * Remove border when inside `a` element in IE 8/9/10.
182 | */
183 |
184 | img {
185 | border: 0;
186 | }
187 |
188 | /**
189 | * Correct overflow not hidden in IE 9/10/11.
190 | */
191 |
192 | svg:not(:root) {
193 | overflow: hidden;
194 | }
195 |
196 | /* Grouping content
197 | ========================================================================== */
198 |
199 | /**
200 | * Address margin not present in IE 8/9 and Safari.
201 | */
202 |
203 | figure {
204 | margin: 1em 40px;
205 | }
206 |
207 | /**
208 | * Address differences between Firefox and other browsers.
209 | */
210 |
211 | hr {
212 | -moz-box-sizing: content-box;
213 | box-sizing: content-box;
214 | height: 0;
215 | }
216 |
217 | /**
218 | * Contain overflow in all browsers.
219 | */
220 |
221 | pre {
222 | overflow: auto;
223 | }
224 |
225 | /**
226 | * Address odd `em`-unit font size rendering in all browsers.
227 | */
228 |
229 | code,
230 | kbd,
231 | pre,
232 | samp {
233 | font-family: monospace, monospace;
234 | font-size: 1em;
235 | }
236 |
237 | /* Forms
238 | ========================================================================== */
239 |
240 | /**
241 | * Known limitation: by default, Chrome and Safari on OS X allow very limited
242 | * styling of `select`, unless a `border` property is set.
243 | */
244 |
245 | /**
246 | * 1. Correct color not being inherited.
247 | * Known issue: affects color of disabled elements.
248 | * 2. Correct font properties not being inherited.
249 | * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
250 | */
251 |
252 | button,
253 | input,
254 | optgroup,
255 | select,
256 | textarea {
257 | color: inherit; /* 1 */
258 | font: inherit; /* 2 */
259 | margin: 0; /* 3 */
260 | }
261 |
262 | /**
263 | * Address `overflow` set to `hidden` in IE 8/9/10/11.
264 | */
265 |
266 | button {
267 | overflow: visible;
268 | }
269 |
270 | /**
271 | * Address inconsistent `text-transform` inheritance for `button` and `select`.
272 | * All other form control elements do not inherit `text-transform` values.
273 | * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
274 | * Correct `select` style inheritance in Firefox.
275 | */
276 |
277 | button,
278 | select {
279 | text-transform: none;
280 | }
281 |
282 | /**
283 | * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
284 | * and `video` controls.
285 | * 2. Correct inability to style clickable `input` types in iOS.
286 | * 3. Improve usability and consistency of cursor style between image-type
287 | * `input` and others.
288 | */
289 |
290 | button,
291 | html input[type="button"], /* 1 */
292 | input[type="reset"],
293 | input[type="submit"] {
294 | -webkit-appearance: button; /* 2 */
295 | cursor: pointer; /* 3 */
296 | }
297 |
298 | /**
299 | * Re-set default cursor for disabled elements.
300 | */
301 |
302 | button[disabled],
303 | html input[disabled] {
304 | cursor: default;
305 | }
306 |
307 | /**
308 | * Remove inner padding and border in Firefox 4+.
309 | */
310 |
311 | button::-moz-focus-inner,
312 | input::-moz-focus-inner {
313 | border: 0;
314 | padding: 0;
315 | }
316 |
317 | /**
318 | * Address Firefox 4+ setting `line-height` on `input` using `!important` in
319 | * the UA stylesheet.
320 | */
321 |
322 | input {
323 | line-height: normal;
324 | }
325 |
326 | /**
327 | * It's recommended that you don't attempt to style these elements.
328 | * Firefox's implementation doesn't respect box-sizing, padding, or width.
329 | *
330 | * 1. Address box sizing set to `content-box` in IE 8/9/10.
331 | * 2. Remove excess padding in IE 8/9/10.
332 | */
333 |
334 | input[type="checkbox"],
335 | input[type="radio"] {
336 | box-sizing: border-box; /* 1 */
337 | padding: 0; /* 2 */
338 | }
339 |
340 | /**
341 | * Fix the cursor style for Chrome's increment/decrement buttons. For certain
342 | * `font-size` values of the `input`, it causes the cursor style of the
343 | * decrement button to change from `default` to `text`.
344 | */
345 |
346 | input[type="number"]::-webkit-inner-spin-button,
347 | input[type="number"]::-webkit-outer-spin-button {
348 | height: auto;
349 | }
350 |
351 | /**
352 | * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
353 | * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
354 | * (include `-moz` to future-proof).
355 | */
356 |
357 | input[type="search"] {
358 | -webkit-appearance: textfield; /* 1 */
359 | -moz-box-sizing: content-box;
360 | -webkit-box-sizing: content-box; /* 2 */
361 | box-sizing: content-box;
362 | }
363 |
364 | /**
365 | * Remove inner padding and search cancel button in Safari and Chrome on OS X.
366 | * Safari (but not Chrome) clips the cancel button when the search input has
367 | * padding (and `textfield` appearance).
368 | */
369 |
370 | input[type="search"]::-webkit-search-cancel-button,
371 | input[type="search"]::-webkit-search-decoration {
372 | -webkit-appearance: none;
373 | }
374 |
375 | /**
376 | * Define consistent border, margin, and padding.
377 | */
378 |
379 | fieldset {
380 | border: 1px solid #c0c0c0;
381 | margin: 0 2px;
382 | padding: 0.35em 0.625em 0.75em;
383 | }
384 |
385 | /**
386 | * 1. Correct `color` not being inherited in IE 8/9/10/11.
387 | * 2. Remove padding so people aren't caught out if they zero out fieldsets.
388 | */
389 |
390 | legend {
391 | border: 0; /* 1 */
392 | padding: 0; /* 2 */
393 | }
394 |
395 | /**
396 | * Remove default vertical scrollbar in IE 8/9/10/11.
397 | */
398 |
399 | textarea {
400 | overflow: auto;
401 | }
402 |
403 | /**
404 | * Don't inherit the `font-weight` (applied by a rule above).
405 | * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
406 | */
407 |
408 | optgroup {
409 | font-weight: bold;
410 | }
411 |
412 | /* Tables
413 | ========================================================================== */
414 |
415 | /**
416 | * Remove most spacing between table cells.
417 | */
418 |
419 | table {
420 | border-collapse: collapse;
421 | border-spacing: 0;
422 | }
423 |
424 | td,
425 | th {
426 | padding: 0;
427 | }
428 |
--------------------------------------------------------------------------------
/docs/css/main.min.css:
--------------------------------------------------------------------------------
1 | /*!
2 | Theme Name: www.xxx.com
3 | Author: tsumikiinc.com
4 | Description:
5 | Version: 1.0.0
6 | */@import url(https://fonts.googleapis.com/css?family=Ubuntu);/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{height:100%}body{min-height:100%;font-family:Ubuntu,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a:hover{text-decoration:none}dl:first-child,ol:first-child,p:first-child,ul:first-child{margin-top:0}dl:last-child,ol:last-child,p:last-child,ul:last-child{margin-bottom:0}ol,ul{padding-left:2em}img{vertical-align:top}button,input[type=email],input[type=number],input[type=password],input[type=search],input[type=submit],input[type=tel],input[type=text],input[type=url],select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:0}button,input[type=submit]{border:0}input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],select,textarea{background-color:#fff}select::-ms-expand{display:none}::selection{color:#fff;background-color:rgba(0,0,0,.8)}input::selection,textarea::selection{color:#222;background-color:rgba(0,0,0,.2)}::-webkit-input-placeholder{color:#666}::-moz-placeholder{color:#666}:-ms-input-placeholder{color:#666}.l-contents{line-height:2;color:#222;letter-spacing:.08em}@media all and (min-width:1025px){.l-contents{font-size:14px;font-size:.875rem}}@media all and (min-width:768px) and (max-width:1024px){.l-contents{font-size:14px;font-size:.875rem}}@media all and (min-width:415px) and (max-width:767px){.l-contents{font-size:13px}}@media all and (max-width:414px){.l-contents{font-size:3.2vw}}.l-page{overflow:hidden;visibility:visible}@media all and (min-width:768px){.l-page{min-width:1024px}}.p-global-header{position:absolute;z-index:100}@media all and (min-width:768px){.p-global-header{top:30px;left:30px}}@media all and (max-width:767px){.p-global-header{top:20px;left:20px}}.p-global-links{letter-spacing:.08em}@media all and (min-width:1025px){.p-global-links{font-size:14px;font-size:.875rem}}@media all and (min-width:768px) and (max-width:1024px){.p-global-links{font-size:14px;font-size:.875rem}}@media all and (min-width:415px) and (max-width:767px){.p-global-links{font-size:13px}}@media all and (max-width:414px){.p-global-links{font-size:3.2vw}}.p-global-links a{color:#222}@media all and (min-width:768px){.p-global-links{margin-top:15px}}@media all and (max-width:767px){.p-global-links{margin-top:8px}}.p-global-title{line-height:1;margin:0;font-weight:400;letter-spacing:.04em}@media all and (min-width:1025px){.p-global-title{font-size:28px;font-size:1.75rem}}@media all and (min-width:768px) and (max-width:1024px){.p-global-title{font-size:28px;font-size:1.75rem}}@media all and (min-width:415px) and (max-width:767px){.p-global-title{font-size:23px}}@media all and (max-width:414px){.p-global-title{font-size:5.6vw}}.p-background{width:100%;height:100%;position:absolute;top:0;left:0}.p-background.has-animate{-webkit-transition-duration:1s;transition-duration:1s;-webkit-transition-property:background-color;transition-property:background-color}.p-pager{display:-webkit-box;display:-ms-flexbox;display:flex;position:absolute;z-index:100;pointer-events:none}@media all and (min-width:768px){.p-pager{top:0;bottom:0;right:15px;-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media all and (max-width:767px){.p-pager{bottom:10px;right:0;left:0;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}.p-pager__in{position:relative}@media all and (max-width:767px){.p-pager__in{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}}.p-pager__bar{position:absolute;background-color:#222}@media all and (min-width:768px){.p-pager__bar{width:2px;top:21px;bottom:21px;left:21px}}@media all and (max-width:767px){.p-pager__bar{height:2px;bottom:21px;right:21px;left:21px}}.p-pager__pointer{width:44px;height:44px;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;z-index:10}.p-pager__pointer:before{width:8px;height:8px;-webkit-box-sizing:border-box;box-sizing:border-box;content:'';display:block;border-radius:50%;border:2px solid #222;background-color:#222}@media all and (min-width:768px){.p-pager__bar{-webkit-transform:scaleY(0);transform:scaleY(0)}}@media all and (max-width:767px){.p-pager__bar{-webkit-transform:scaleX(0);transform:scaleX(0)}}.has-animate .p-pager__bar{-webkit-transition-duration:1s;transition-duration:1s;-webkit-transition-delay:.5s;transition-delay:.5s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:cubic-bezier(.075,.82,.165,1);transition-timing-function:cubic-bezier(.075,.82,.165,1)}@media all and (min-width:768px){.has-animate .p-pager__bar{-webkit-transform:scaleY(1);transform:scaleY(1)}}@media all and (max-width:767px){.has-animate .p-pager__bar{-webkit-transform:scaleX(1);transform:scaleX(1)}}.p-pager__pointer{-webkit-transform:scale(0);transform:scale(0)}.has-animate .p-pager__pointer{pointer-events:auto;-webkit-transform:scale(1);transform:scale(1);-webkit-transition-duration:1s;transition-duration:1s;-webkit-transition-delay:.9s;transition-delay:.9s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:cubic-bezier(.075,.82,.165,1);transition-timing-function:cubic-bezier(.075,.82,.165,1)}.has-animate .p-pager__pointer:before{-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:width,height,background-color;transition-property:width,height,background-color}.has-animate .p-pager__pointer.is-current:before,.has-animate .p-pager__pointer.is-over:before{width:14px;height:14px;background-color:#fff}.p-section{width:100%;height:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:absolute;top:0;left:0;z-index:10;pointer-events:none}@media all and (min-width:768px){.p-section{padding:30px}}@media all and (max-width:767px){.p-section{padding:20px}}.p-section__in{text-align:center}.p-section__header{line-height:1;margin-top:0;font-weight:400;letter-spacing:.04em}@media all and (min-width:1025px){.p-section__header{font-size:48px;font-size:3rem}}@media all and (min-width:768px) and (max-width:1024px){.p-section__header{font-size:48px;font-size:3rem}}@media all and (min-width:415px) and (max-width:767px){.p-section__header{font-size:35px}}@media all and (max-width:414px){.p-section__header{font-size:8.53333vw}}@media all and (min-width:768px){.p-section__header{margin-bottom:25px}}@media all and (max-width:767px){.p-section__header{margin-bottom:15px}}@media all and (max-width:767px){.p-section__text br{display:none}}.p-section.is-shown{pointer-events:auto}@-webkit-keyframes showAsc{0%{opacity:0;-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0)}100%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes showAsc{0%{opacity:0;-webkit-transform:translate3d(0,40px,0);transform:translate3d(0,40px,0)}100%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes showDesc{0%{opacity:0;-webkit-transform:translate3d(0,-40px,0);transform:translate3d(0,-40px,0)}100%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes showDesc{0%{opacity:0;-webkit-transform:translate3d(0,-40px,0);transform:translate3d(0,-40px,0)}100%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@-webkit-keyframes hideAsc{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}100%{opacity:0;-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}}@keyframes hideAsc{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}100%{opacity:0;-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}}@-webkit-keyframes hideDesc{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}100%{opacity:0;-webkit-transform:translate3d(0,30px,0);transform:translate3d(0,30px,0)}}@keyframes hideDesc{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}100%{opacity:0;-webkit-transform:translate3d(0,30px,0);transform:translate3d(0,30px,0)}}.p-section__header{opacity:0}.is-hidden .p-section__header,.is-shown .p-section__header{-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}.is-shown .p-section__header{-webkit-animation-duration:1.4s;animation-duration:1.4s;-webkit-animation-delay:.4s;animation-delay:.4s}.is-shown-asc .p-section__header{-webkit-animation-name:showAsc;animation-name:showAsc}.is-shown-desc .p-section__header{-webkit-animation-name:showDesc;animation-name:showDesc}.is-hidden .p-section__header{-webkit-animation-duration:.8s;animation-duration:.8s}.is-hidden-asc .p-section__header{-webkit-animation-name:hideAsc;animation-name:hideAsc}.is-hidden-desc .p-section__header{-webkit-animation-name:hideDesc;animation-name:hideDesc;-webkit-animation-delay:.05s;animation-delay:.05s}.p-section__text{opacity:0}.is-hidden .p-section__text,.is-shown .p-section__text{-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}.is-shown .p-section__text{-webkit-animation-duration:1.4s;animation-duration:1.4s;-webkit-animation-delay:.5s;animation-delay:.5s}.is-shown-asc .p-section__text{-webkit-animation-name:showAsc;animation-name:showAsc}.is-shown-desc .p-section__text{-webkit-animation-name:showDesc;animation-name:showDesc}.is-hidden .p-section__text{-webkit-animation-duration:.8s;animation-duration:.8s}.is-hidden-asc .p-section__text{-webkit-animation-name:hideAsc;animation-name:hideAsc;-webkit-animation-delay:.05s;animation-delay:.05s}.is-hidden-desc .p-section__text{-webkit-animation-name:hideDesc;animation-name:hideDesc}.p-sections-wrap{position:absolute;top:0;left:0}
--------------------------------------------------------------------------------
/docs/js/main.min.js:
--------------------------------------------------------------------------------
1 | !function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=125)}([function(t,n,e){var r=e(1),i=e(7),o=e(14),u=e(11),s=e(17),c=function(t,n,e){var a,f,l,h,d=t&c.F,p=t&c.G,v=t&c.S,g=t&c.P,y=t&c.B,w=p?r:v?r[n]||(r[n]={}):(r[n]||{}).prototype,m=p?i:i[n]||(i[n]={}),b=m.prototype||(m.prototype={});for(a in p&&(e=n),e)l=((f=!d&&w&&void 0!==w[a])?w:e)[a],h=y&&f?s(l,r):g&&"function"==typeof l?s(Function.call,l):l,w&&u(w,a,l,t&c.U),m[a]!=l&&o(m,a,h),g&&b[a]!=l&&(b[a]=l)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(48)("wks"),i=e(29),o=e(1).Symbol,u="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=r},function(t,n,e){var r=e(19),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n){var e=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(3),i=e(88),o=e(26),u=Object.defineProperty;n.f=e(9)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){t.exports=!e(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(24);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(1),i=e(14),o=e(13),u=e(29)("src"),s=e(130),c=(""+s).split("toString");e(7).inspectSource=function(t){return s.call(t)},(t.exports=function(t,n,e,s){var a="function"==typeof e;a&&(o(e,"name")||i(e,"name",n)),t[n]!==e&&(a&&(o(e,u)||i(e,u,t[n]?""+t[n]:c.join(String(n)))),t===r?t[n]=e:s?t[n]?t[n]=e:i(t,n,e):(delete t[n],i(t,n,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[u]||s.call(this)})},function(t,n,e){var r=e(0),i=e(2),o=e(24),u=/"/g,s=function(t,n,e,r){var i=String(o(t)),s="<"+n;return""!==e&&(s+=" "+e+'="'+String(r).replace(u,""")+'"'),s+">"+i+""+n+">"};t.exports=function(t,n){var e={};e[t]=n(s),r(r.P+r.F*i(function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}),"String",e)}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(8),i=e(28);t.exports=e(9)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(44),i=e(24);t.exports=function(t){return r(i(t))}},function(t,n,e){"use strict";var r=e(2);t.exports=function(t,n){return!!t&&r(function(){n?t.call(null,function(){},1):t.call(null)})}},function(t,n,e){var r=e(18);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(45),i=e(28),o=e(15),u=e(26),s=e(13),c=e(88),a=Object.getOwnPropertyDescriptor;n.f=e(9)?a:function(t,n){if(t=o(t),n=u(n,!0),c)try{return a(t,n)}catch(t){}if(s(t,n))return i(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(0),i=e(7),o=e(2);t.exports=function(t,n){var e=(i.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*o(function(){e(1)}),"Object",u)}},function(t,n,e){var r=e(17),i=e(44),o=e(10),u=e(6),s=e(104);t.exports=function(t,n){var e=1==t,c=2==t,a=3==t,f=4==t,l=6==t,h=5==t||l,d=n||s;return function(n,s,p){for(var v,g,y=o(n),w=i(y),m=r(s,p,3),b=u(w.length),x=0,S=e?d(n,b):c?d(n,0):void 0;b>x;x++)if((h||x in w)&&(g=m(v=w[x],x,y),t))if(e)S[x]=g;else if(g)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:S.push(v)}else if(f)return!1;return l?-1:a||f?f:S}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){"use strict";if(e(9)){var r=e(30),i=e(1),o=e(2),u=e(0),s=e(59),c=e(84),a=e(17),f=e(42),l=e(28),h=e(14),d=e(43),p=e(19),v=e(6),g=e(115),y=e(32),w=e(26),m=e(13),b=e(46),x=e(4),S=e(10),_=e(76),E=e(33),O=e(35),M=e(34).f,P=e(78),A=e(29),F=e(5),T=e(22),I=e(49),N=e(47),k=e(80),L=e(40),j=e(52),R=e(41),D=e(79),C=e(106),W=e(8),B=e(20),U=W.f,V=B.f,G=i.RangeError,z=i.TypeError,Y=i.Uint8Array,q=Array.prototype,X=c.ArrayBuffer,H=c.DataView,$=T(0),K=T(2),J=T(3),Z=T(4),Q=T(5),tt=T(6),nt=I(!0),et=I(!1),rt=k.values,it=k.keys,ot=k.entries,ut=q.lastIndexOf,st=q.reduce,ct=q.reduceRight,at=q.join,ft=q.sort,lt=q.slice,ht=q.toString,dt=q.toLocaleString,pt=F("iterator"),vt=F("toStringTag"),gt=A("typed_constructor"),yt=A("def_constructor"),wt=s.CONSTR,mt=s.TYPED,bt=s.VIEW,xt=T(1,function(t,n){return Mt(N(t,t[yt]),n)}),St=o(function(){return 1===new Y(new Uint16Array([1]).buffer)[0]}),_t=!!Y&&!!Y.prototype.set&&o(function(){new Y(1).set({})}),Et=function(t,n){var e=p(t);if(e<0||e%n)throw G("Wrong offset!");return e},Ot=function(t){if(x(t)&&mt in t)return t;throw z(t+" is not a typed array!")},Mt=function(t,n){if(!(x(t)&> in t))throw z("It is not a typed array constructor!");return new t(n)},Pt=function(t,n){return At(N(t,t[yt]),n)},At=function(t,n){for(var e=0,r=n.length,i=Mt(t,r);r>e;)i[e]=n[e++];return i},Ft=function(t,n,e){U(t,n,{get:function(){return this._d[e]}})},Tt=function(t){var n,e,r,i,o,u,s=S(t),c=arguments.length,f=c>1?arguments[1]:void 0,l=void 0!==f,h=P(s);if(null!=h&&!_(h)){for(u=h.call(s),r=[],n=0;!(o=u.next()).done;n++)r.push(o.value);s=r}for(l&&c>2&&(f=a(f,arguments[2],2)),n=0,e=v(s.length),i=Mt(this,e);e>n;n++)i[n]=l?f(s[n],n):s[n];return i},It=function(){for(var t=0,n=arguments.length,e=Mt(this,n);n>t;)e[t]=arguments[t++];return e},Nt=!!Y&&o(function(){dt.call(new Y(1))}),kt=function(){return dt.apply(Nt?lt.call(Ot(this)):Ot(this),arguments)},Lt={copyWithin:function(t,n){return C.call(Ot(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return D.apply(Ot(this),arguments)},filter:function(t){return Pt(this,K(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){$(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return et(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return at.apply(Ot(this),arguments)},lastIndexOf:function(t){return ut.apply(Ot(this),arguments)},map:function(t){return xt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(Ot(this),arguments)},reduceRight:function(t){return ct.apply(Ot(this),arguments)},reverse:function(){for(var t,n=Ot(this).length,e=Math.floor(n/2),r=0;r1?arguments[1]:void 0)},sort:function(t){return ft.call(Ot(this),t)},subarray:function(t,n){var e=Ot(this),r=e.length,i=y(t,r);return new(N(e,e[yt]))(e.buffer,e.byteOffset+i*e.BYTES_PER_ELEMENT,v((void 0===n?r:y(n,r))-i))}},jt=function(t,n){return Pt(this,lt.call(Ot(this),t,n))},Rt=function(t){Ot(this);var n=Et(arguments[1],1),e=this.length,r=S(t),i=v(r.length),o=0;if(i+n>e)throw G("Wrong length!");for(;o255?255:255&r),i.v[d](e*n+i.o,r,St)}(this,e,t)},enumerable:!0})};m?(p=e(function(t,e,r,i){f(t,p,a,"_d");var o,u,s,c,l=0,d=0;if(x(e)){if(!(e instanceof X||"ArrayBuffer"==(c=b(e))||"SharedArrayBuffer"==c))return mt in e?At(p,e):Tt.call(p,e);o=e,d=Et(r,n);var y=e.byteLength;if(void 0===i){if(y%n)throw G("Wrong length!");if((u=y-d)<0)throw G("Wrong length!")}else if((u=v(i)*n)+d>y)throw G("Wrong length!");s=u/n}else s=g(e),o=new X(u=s*n);for(h(t,"_d",{b:o,o:d,l:u,e:s,v:new H(o)});ldocument.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,n){var e;return null!==t?(s.prototype=r(t),e=new s,s.prototype=null,e[u]=t):e=c(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(90),i=e(63).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n,e){var r=e(13),i=e(10),o=e(62)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,e){var r=e(5)("unscopables"),i=Array.prototype;null==i[r]&&e(14)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n,e){var r=e(8).f,i=e(13),o=e(5)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n,e){var r=e(0),i=e(24),o=e(2),u=e(66),s="["+u+"]",c=RegExp("^"+s+s+"*"),a=RegExp(s+s+"*$"),f=function(t,n,e){var i={},s=o(function(){return!!u[t]()||"
"!="
"[t]()}),c=i[t]=s?n(l):u[t];e&&(i[e]=c),r(r.P+r.F*s,"String",i)},l=f.trim=function(t,n){return t=String(i(t)),1&n&&(t=t.replace(c,"")),2&n&&(t=t.replace(a,"")),t};t.exports=f},function(t,n){t.exports={}},function(t,n,e){"use strict";var r=e(1),i=e(8),o=e(9),u=e(5)("species");t.exports=function(t){var n=r[t];o&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){var r=e(11);t.exports=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}},function(t,n,e){var r=e(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){var r=e(23),i=e(5)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var n,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?e:o?r(n):"Object"==(u=r(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,e){var r=e(3),i=e(18),o=e(5)("species");t.exports=function(t,n){var e,u=r(t).constructor;return void 0===u||null==(e=r(u)[o])?n:i(e)}},function(t,n,e){var r=e(7),i=e(1),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(30)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(15),i=e(6),o=e(32);t.exports=function(t){return function(n,e,u){var s,c=r(n),a=i(c.length),f=o(u,a);if(t&&e!=e){for(;a>f;)if((s=c[f++])!=s)return!0}else for(;a>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(23);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(5)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o=[7],u=o[r]();u.next=function(){return{done:e=!0}},o[r]=function(){return u},t(o)}catch(t){}return e}},function(t,n,e){"use strict";var r=e(3);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){"use strict";var r=e(46),i=RegExp.prototype.exec;t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var o=e.call(t,n);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,n)}},function(t,n,e){"use strict";e(108);var r=e(11),i=e(14),o=e(2),u=e(24),s=e(5),c=e(81),a=s("species"),f=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")}),l=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2===e.length&&"a"===e[0]&&"b"===e[1]}();t.exports=function(t,n,e){var h=s(t),d=!o(function(){var n={};return n[h]=function(){return 7},7!=""[t](n)}),p=d?!o(function(){var n=!1,e=/a/;return e.exec=function(){return n=!0,null},"split"===t&&(e.constructor={},e.constructor[a]=function(){return e}),e[h](""),!n}):void 0;if(!d||!p||"replace"===t&&!f||"split"===t&&!l){var v=/./[h],g=e(u,h,""[t],function(t,n,e,r,i){return n.exec===c?d&&!i?{done:!0,value:v.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}}),y=g[0],w=g[1];r(String.prototype,t,y),i(RegExp.prototype,h,2==n?function(t,n){return w.call(t,this,n)}:function(t){return w.call(t,this)})}}},function(t,n,e){var r=e(17),i=e(103),o=e(76),u=e(3),s=e(6),c=e(78),a={},f={};(n=t.exports=function(t,n,e,l,h){var d,p,v,g,y=h?function(){return t}:c(t),w=r(e,l,n?2:1),m=0;if("function"!=typeof y)throw TypeError(t+" is not iterable!");if(o(y)){for(d=s(t.length);d>m;m++)if((g=n?w(u(p=t[m])[0],p[1]):w(t[m]))===a||g===f)return g}else for(v=y.call(t);!(p=v.next()).done;)if((g=i(v,w,p.value,n))===a||g===f)return g}).BREAK=a,n.RETURN=f},function(t,n,e){var r=e(1).navigator;t.exports=r&&r.userAgent||""},function(t,n,e){"use strict";var r=e(1),i=e(0),o=e(11),u=e(43),s=e(27),c=e(56),a=e(42),f=e(4),l=e(2),h=e(52),d=e(38),p=e(67);t.exports=function(t,n,e,v,g,y){var w=r[t],m=w,b=g?"set":"add",x=m&&m.prototype,S={},_=function(t){var n=x[t];o(x,t,"delete"==t?function(t){return!(y&&!f(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!f(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})};if("function"==typeof m&&(y||x.forEach&&!l(function(){(new m).entries().next()}))){var E=new m,O=E[b](y?{}:-0,1)!=E,M=l(function(){E.has(1)}),P=h(function(t){new m(t)}),A=!y&&l(function(){for(var t=new m,n=5;n--;)t[b](n,n);return!t.has(-0)});P||((m=n(function(n,e){a(n,m,t);var r=p(new w,n,m);return null!=e&&c(e,g,r[b],r),r})).prototype=x,x.constructor=m),(M||A)&&(_("delete"),_("has"),g&&_("get")),(A||O)&&_(b),y&&x.clear&&delete x.clear}else m=v.getConstructor(n,t,g,b),u(m.prototype,e),s.NEED=!0;return d(m,t),S[t]=m,i(i.G+i.W+i.F*(m!=w),S),y||v.setStrong(m,t,g),m}},function(t,n,e){for(var r,i=e(1),o=e(14),u=e(29),s=u("typed_array"),c=u("view"),a=!(!i.ArrayBuffer||!i.DataView),f=a,l=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=i[h[l++]])?(o(r.prototype,s,!0),o(r.prototype,c,!0)):f=!1;t.exports={ABV:a,CONSTR:f,TYPED:s,VIEW:c}},function(t,n,e){var r=e(4),i=e(1).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,e){n.f=e(5)},function(t,n,e){var r=e(48)("keys"),i=e(29);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(1).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(4),i=e(3),o=function(t,n){if(i(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{(r=e(17)(Function.call,e(20).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:o}},function(t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,n,e){var r=e(4),i=e(65).set;t.exports=function(t,n,e){var o,u=n.constructor;return u!==e&&"function"==typeof u&&(o=u.prototype)!==e.prototype&&r(o)&&i&&i(t,o),t}},function(t,n,e){"use strict";var r=e(19),i=e(24);t.exports=function(t){var n=String(i(this)),e="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(e+=n);return e}},function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,n){var e=Math.expm1;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:e},function(t,n,e){var r=e(19),i=e(24);t.exports=function(t){return function(n,e){var o,u,s=String(i(n)),c=r(e),a=s.length;return c<0||c>=a?t?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===a||(u=s.charCodeAt(c+1))<56320||u>57343?t?s.charAt(c):o:t?s.slice(c,c+2):u-56320+(o-55296<<10)+65536}}},function(t,n,e){"use strict";var r=e(30),i=e(0),o=e(11),u=e(14),s=e(40),c=e(102),a=e(38),f=e(35),l=e(5)("iterator"),h=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,n,e,p,v,g,y){c(e,n,p);var w,m,b,x=function(t){if(!h&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},S=n+" Iterator",_="values"==v,E=!1,O=t.prototype,M=O[l]||O["@@iterator"]||v&&O[v],P=M||x(v),A=v?_?x("entries"):P:void 0,F="Array"==n&&O.entries||M;if(F&&(b=f(F.call(new t)))!==Object.prototype&&b.next&&(a(b,S,!0),r||"function"==typeof b[l]||u(b,l,d)),_&&M&&"values"!==M.name&&(E=!0,P=function(){return M.call(this)}),r&&!y||!h&&!E&&O[l]||u(O,l,P),s[n]=P,s[S]=d,v)if(w={values:_?P:x("values"),keys:g?P:x("keys"),entries:A},y)for(m in w)m in O||o(O,m,w[m]);else i(i.P+i.F*(h||E),n,w);return w}},function(t,n,e){var r=e(74),i=e(24);t.exports=function(t,n,e){if(r(n))throw TypeError("String#"+e+" doesn't accept regex!");return String(i(t))}},function(t,n,e){var r=e(4),i=e(23),o=e(5)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},function(t,n,e){var r=e(5)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,!"/./"[t](n)}catch(t){}}return!0}},function(t,n,e){var r=e(40),i=e(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,n,e){"use strict";var r=e(8),i=e(28);t.exports=function(t,n,e){n in t?r.f(t,n,i(0,e)):t[n]=e}},function(t,n,e){var r=e(46),i=e(5)("iterator"),o=e(40);t.exports=e(7).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){"use strict";var r=e(10),i=e(32),o=e(6);t.exports=function(t){for(var n=r(this),e=o(n.length),u=arguments.length,s=i(u>1?arguments[1]:void 0,e),c=u>2?arguments[2]:void 0,a=void 0===c?e:i(c,e);a>s;)n[s++]=t;return n}},function(t,n,e){"use strict";var r=e(36),i=e(107),o=e(40),u=e(15);t.exports=e(72)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,i(1)):i(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,n,e){"use strict";var r,i,o=e(53),u=RegExp.prototype.exec,s=String.prototype.replace,c=u,a=(r=/a/,i=/b*/g,u.call(r,"a"),u.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),f=void 0!==/()??/.exec("")[1];(a||f)&&(c=function(t){var n,e,r,i,c=this;return f&&(e=new RegExp("^"+c.source+"$(?!\\s)",o.call(c))),a&&(n=c.lastIndex),r=u.call(c,t),a&&r&&(c.lastIndex=c.global?r.index+r[0].length:n),f&&r&&r.length>1&&s.call(r[0],e,function(){for(i=1;ie;)n.push(arguments[e++]);return y[++g]=function(){s("function"==typeof t?t:Function(t),n)},r(g),g},d=function(t){delete y[t]},"process"==e(23)(l)?r=function(t){l.nextTick(u(w,t,1))}:v&&v.now?r=function(t){v.now(u(w,t,1))}:p?(o=(i=new p).port2,i.port1.onmessage=m,r=u(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",m,!1)):r="onreadystatechange"in a("script")?function(t){c.appendChild(a("script")).onreadystatechange=function(){c.removeChild(this),w.call(t)}}:function(t){setTimeout(u(w,t,1),0)}),t.exports={set:h,clear:d}},function(t,n,e){"use strict";var r=e(1),i=e(9),o=e(30),u=e(59),s=e(14),c=e(43),a=e(2),f=e(42),l=e(19),h=e(6),d=e(115),p=e(34).f,v=e(8).f,g=e(79),y=e(38),w="prototype",m="Wrong index!",b=r.ArrayBuffer,x=r.DataView,S=r.Math,_=r.RangeError,E=r.Infinity,O=b,M=S.abs,P=S.pow,A=S.floor,F=S.log,T=S.LN2,I=i?"_b":"buffer",N=i?"_l":"byteLength",k=i?"_o":"byteOffset";function L(t,n,e){var r,i,o,u=new Array(e),s=8*e-n-1,c=(1<>1,f=23===n?P(2,-24)-P(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for((t=M(t))!=t||t===E?(i=t!=t?1:0,r=c):(r=A(F(t)/T),t*(o=P(2,-r))<1&&(r--,o*=2),(t+=r+a>=1?f/o:f*P(2,1-a))*o>=2&&(r++,o/=2),r+a>=c?(i=0,r=c):r+a>=1?(i=(t*o-1)*P(2,n),r+=a):(i=t*P(2,a-1)*P(2,n),r=0));n>=8;u[l++]=255&i,i/=256,n-=8);for(r=r<0;u[l++]=255&r,r/=256,s-=8);return u[--l]|=128*h,u}function j(t,n,e){var r,i=8*e-n-1,o=(1<>1,s=i-7,c=e-1,a=t[c--],f=127&a;for(a>>=7;s>0;f=256*f+t[c],c--,s-=8);for(r=f&(1<<-s)-1,f>>=-s,s+=n;s>0;r=256*r+t[c],c--,s-=8);if(0===f)f=1-u;else{if(f===o)return r?NaN:a?-E:E;r+=P(2,n),f-=u}return(a?-1:1)*r*P(2,f-n)}function R(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function D(t){return[255&t]}function C(t){return[255&t,t>>8&255]}function W(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function B(t){return L(t,52,8)}function U(t){return L(t,23,4)}function V(t,n,e){v(t[w],n,{get:function(){return this[e]}})}function G(t,n,e,r){var i=d(+e);if(i+n>t[N])throw _(m);var o=t[I]._b,u=i+t[k],s=o.slice(u,u+n);return r?s:s.reverse()}function z(t,n,e,r,i,o){var u=d(+e);if(u+n>t[N])throw _(m);for(var s=t[I]._b,c=u+t[k],a=r(+i),f=0;fH;)(Y=X[H++])in b||s(b,Y,O[Y]);o||(q.constructor=b)}var $=new x(new b(2)),K=x[w].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||c(x[w],{setInt8:function(t,n){K.call(this,t,n<<24>>24)},setUint8:function(t,n){K.call(this,t,n<<24>>24)}},!0)}else b=function(t){f(this,b,"ArrayBuffer");var n=d(t);this._b=g.call(new Array(n),0),this[N]=n},x=function(t,n,e){f(this,x,"DataView"),f(t,b,"DataView");var r=t[N],i=l(n);if(i<0||i>r)throw _("Wrong offset!");if(i+(e=void 0===e?r-i:h(e))>r)throw _("Wrong length!");this[I]=t,this[k]=i,this[N]=e},i&&(V(b,"byteLength","_l"),V(x,"buffer","_b"),V(x,"byteLength","_l"),V(x,"byteOffset","_o")),c(x[w],{getInt8:function(t){return G(this,1,t)[0]<<24>>24},getUint8:function(t){return G(this,1,t)[0]},getInt16:function(t){var n=G(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=G(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return R(G(this,4,t,arguments[1]))},getUint32:function(t){return R(G(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return j(G(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return j(G(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){z(this,1,t,D,n)},setUint8:function(t,n){z(this,1,t,D,n)},setInt16:function(t,n){z(this,2,t,C,n,arguments[2])},setUint16:function(t,n){z(this,2,t,C,n,arguments[2])},setInt32:function(t,n){z(this,4,t,W,n,arguments[2])},setUint32:function(t,n){z(this,4,t,W,n,arguments[2])},setFloat32:function(t,n){z(this,4,t,U,n,arguments[2])},setFloat64:function(t,n){z(this,8,t,B,n,arguments[2])}});y(b,"ArrayBuffer"),y(x,"DataView"),s(x[w],u.VIEW,!0),n.ArrayBuffer=b,n.DataView=x},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){t.exports=!e(120)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){t.exports=!e(9)&&!e(2)(function(){return 7!=Object.defineProperty(e(60)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(1),i=e(7),o=e(30),u=e(61),s=e(8).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||s(n,t,{value:u.f(t)})}},function(t,n,e){var r=e(13),i=e(15),o=e(49)(!1),u=e(62)("IE_PROTO");t.exports=function(t,n){var e,s=i(t),c=0,a=[];for(e in s)e!=u&&r(s,e)&&a.push(e);for(;n.length>c;)r(s,e=n[c++])&&(~o(a,e)||a.push(e));return a}},function(t,n,e){var r=e(8),i=e(3),o=e(31);t.exports=e(9)?Object.defineProperties:function(t,n){i(t);for(var e,u=o(n),s=u.length,c=0;s>c;)r.f(t,e=u[c++],n[e]);return t}},function(t,n,e){var r=e(15),i=e(34).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return u.slice()}}(t):i(r(t))}},function(t,n,e){"use strict";var r=e(31),i=e(50),o=e(45),u=e(10),s=e(44),c=Object.assign;t.exports=!c||e(2)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=c({},t)[e]||Object.keys(c({},n)).join("")!=r})?function(t,n){for(var e=u(t),c=arguments.length,a=1,f=i.f,l=o.f;c>a;)for(var h,d=s(arguments[a++]),p=f?r(d).concat(f(d)):r(d),v=p.length,g=0;v>g;)l.call(d,h=p[g++])&&(e[h]=d[h]);return e}:c},function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},function(t,n,e){"use strict";var r=e(18),i=e(4),o=e(96),u=[].slice,s={};t.exports=Function.bind||function(t){var n=r(this),e=u.call(arguments,1),c=function(){var r=e.concat(u.call(arguments));return this instanceof c?function(t,n,e){if(!(n in s)){for(var r=[],i=0;i>>0||(u.test(e)?16:10))}:r},function(t,n,e){var r=e(1).parseFloat,i=e(39).trim;t.exports=1/r(e(66)+"-0")!=-1/0?function(t){var n=i(String(t),3),e=r(n);return 0===e&&"-"==n.charAt(0)?-0:e}:r},function(t,n,e){var r=e(23);t.exports=function(t,n){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(n);return+t}},function(t,n,e){var r=e(4),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,n){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,n,e){"use strict";var r=e(33),i=e(28),o=e(38),u={};e(14)(u,e(5)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(u,{next:i(1,e)}),o(t,n+" Iterator")}},function(t,n,e){var r=e(3);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){var r=e(220);t.exports=function(t,n){return new(r(t))(n)}},function(t,n,e){var r=e(18),i=e(10),o=e(44),u=e(6);t.exports=function(t,n,e,s,c){r(n);var a=i(t),f=o(a),l=u(a.length),h=c?l-1:0,d=c?-1:1;if(e<2)for(;;){if(h in f){s=f[h],h+=d;break}if(h+=d,c?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;c?h>=0:l>h;h+=d)h in f&&(s=n(s,f[h],h,a));return s}},function(t,n,e){"use strict";var r=e(10),i=e(32),o=e(6);t.exports=[].copyWithin||function(t,n){var e=r(this),u=o(e.length),s=i(t,u),c=i(n,u),a=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===a?u:i(a,u))-c,u-s),l=1;for(c0;)c in e?e[s]=e[c]:delete e[s],s+=l,c+=l;return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){"use strict";var r=e(81);e(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,n,e){e(9)&&"g"!=/./g.flags&&e(8).f(RegExp.prototype,"flags",{configurable:!0,get:e(53)})},function(t,n,e){"use strict";var r,i,o,u,s=e(30),c=e(1),a=e(17),f=e(46),l=e(0),h=e(4),d=e(18),p=e(42),v=e(56),g=e(47),y=e(83).set,w=e(240)(),m=e(111),b=e(241),x=e(57),S=e(112),_=c.TypeError,E=c.process,O=E&&E.versions,M=O&&O.v8||"",P=c.Promise,A="process"==f(E),F=function(){},T=i=m.f,I=!!function(){try{var t=P.resolve(1),n=(t.constructor={})[e(5)("species")]=function(t){t(F,F)};return(A||"function"==typeof PromiseRejectionEvent)&&t.then(F)instanceof n&&0!==M.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),N=function(t){var n;return!(!h(t)||"function"!=typeof(n=t.then))&&n},k=function(t,n){if(!t._n){t._n=!0;var e=t._c;w(function(){for(var r=t._v,i=1==t._s,o=0,u=function(n){var e,o,u,s=i?n.ok:n.fail,c=n.resolve,a=n.reject,f=n.domain;try{s?(i||(2==t._h&&R(t),t._h=1),!0===s?e=r:(f&&f.enter(),e=s(r),f&&(f.exit(),u=!0)),e===n.promise?a(_("Promise-chain cycle")):(o=N(e))?o.call(e,c,a):c(e)):a(r)}catch(t){f&&!u&&f.exit(),a(t)}};e.length>o;)u(e[o++]);t._c=[],t._n=!1,n&&!t._h&&L(t)})}},L=function(t){y.call(c,function(){var n,e,r,i=t._v,o=j(t);if(o&&(n=b(function(){A?E.emit("unhandledRejection",i,t):(e=c.onunhandledrejection)?e({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=A||j(t)?2:1),t._a=void 0,o&&n.e)throw n.v})},j=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){y.call(c,function(){var n;A?E.emit("rejectionHandled",t):(n=c.onrejectionhandled)&&n({promise:t,reason:t._v})})},D=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),k(n,!0))},C=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw _("Promise can't be resolved itself");(n=N(t))?w(function(){var r={_w:e,_d:!1};try{n.call(t,a(C,r,1),a(D,r,1))}catch(t){D.call(r,t)}}):(e._v=t,e._s=1,k(e,!1))}catch(t){D.call({_w:e,_d:!1},t)}}};I||(P=function(t){p(this,P,"Promise","_h"),d(t),r.call(this);try{t(a(C,this,1),a(D,this,1))}catch(t){D.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=e(43)(P.prototype,{then:function(t,n){var e=T(g(this,P));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=A?E.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&k(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=a(C,t,1),this.reject=a(D,t,1)},m.f=T=function(t){return t===P||t===u?new o(t):i(t)}),l(l.G+l.W+l.F*!I,{Promise:P}),e(38)(P,"Promise"),e(41)("Promise"),u=e(7).Promise,l(l.S+l.F*!I,"Promise",{reject:function(t){var n=T(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(s||!I),"Promise",{resolve:function(t){return S(s&&this===u?P:this,t)}}),l(l.S+l.F*!(I&&e(52)(function(t){P.all(t).catch(F)})),"Promise",{all:function(t){var n=this,e=T(n),r=e.resolve,i=e.reject,o=b(function(){var e=[],o=0,u=1;v(t,!1,function(t){var s=o++,c=!1;e.push(void 0),u++,n.resolve(t).then(function(t){c||(c=!0,e[s]=t,--u||r(e))},i)}),--u||r(e)});return o.e&&i(o.v),e.promise},race:function(t){var n=this,e=T(n),r=e.reject,i=b(function(){v(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return i.e&&r(i.v),e.promise}})},function(t,n,e){"use strict";var r=e(18);function i(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=r(n),this.reject=r(e)}t.exports.f=function(t){return new i(t)}},function(t,n,e){var r=e(3),i=e(4),o=e(111);t.exports=function(t,n){if(r(t),i(n)&&n.constructor===t)return n;var e=o.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){"use strict";var r=e(8).f,i=e(33),o=e(43),u=e(17),s=e(42),c=e(56),a=e(72),f=e(107),l=e(41),h=e(9),d=e(27).fastKey,p=e(37),v=h?"_s":"size",g=function(t,n){var e,r=d(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};t.exports={getConstructor:function(t,n,e,a){var f=t(function(t,r){s(t,f,n,"_i"),t._t=n,t._i=i(null),t._f=void 0,t._l=void 0,t[v]=0,null!=r&&c(r,e,t[a],t)});return o(f.prototype,{clear:function(){for(var t=p(this,n),e=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete e[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var e=p(this,n),r=g(e,t);if(r){var i=r.n,o=r.p;delete e._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),e._f==r&&(e._f=i),e._l==r&&(e._l=o),e[v]--}return!!r},forEach:function(t){p(this,n);for(var e,r=u(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(r(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!g(p(this,n),t)}}),h&&r(f.prototype,"size",{get:function(){return p(this,n)[v]}}),f},def:function(t,n,e){var r,i,o=g(t,n);return o?o.v=e:(t._l=o={i:i=d(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[v]++,"F"!==i&&(t._i[i]=o)),t},getEntry:g,setStrong:function(t,n,e){a(t,n,function(t,e){this._t=p(t,n),this._k=e,this._l=void 0},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?f(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,f(1))},e?"entries":"values",!e,!0),l(n)}}},function(t,n,e){"use strict";var r=e(43),i=e(27).getWeak,o=e(3),u=e(4),s=e(42),c=e(56),a=e(22),f=e(13),l=e(37),h=a(5),d=a(6),p=0,v=function(t){return t._l||(t._l=new g)},g=function(){this.a=[]},y=function(t,n){return h(t.a,function(t){return t[0]===n})};g.prototype={get:function(t){var n=y(this,t);if(n)return n[1]},has:function(t){return!!y(this,t)},set:function(t,n){var e=y(this,t);e?e[1]=n:this.a.push([t,n])},delete:function(t){var n=d(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,e,o){var a=t(function(t,r){s(t,a,n,"_i"),t._t=n,t._i=p++,t._l=void 0,null!=r&&c(r,e,t[o],t)});return r(a.prototype,{delete:function(t){if(!u(t))return!1;var e=i(t);return!0===e?v(l(this,n)).delete(t):e&&f(e,this._i)&&delete e[this._i]},has:function(t){if(!u(t))return!1;var e=i(t);return!0===e?v(l(this,n)).has(t):e&&f(e,this._i)}}),a},def:function(t,n,e){var r=i(o(n),!0);return!0===r?v(t).set(n,e):r[t._i]=e,t},ufstore:v}},function(t,n,e){var r=e(19),i=e(6);t.exports=function(t){if(void 0===t)return 0;var n=r(t),e=i(n);if(n!==e)throw RangeError("Wrong length!");return e}},function(t,n,e){var r=e(34),i=e(50),o=e(3),u=e(1).Reflect;t.exports=u&&u.ownKeys||function(t){var n=r.f(o(t)),e=i.f;return e?n.concat(e(t)):n}},function(t,n,e){var r=e(6),i=e(68),o=e(24);t.exports=function(t,n,e,u){var s=String(o(t)),c=s.length,a=void 0===e?" ":String(e),f=r(n);if(f<=c||""==a)return s;var l=f-c,h=i.call(a,Math.ceil(l/a.length));return h.length>l&&(h=h.slice(0,l)),u?h+s:s+h}},function(t,n,e){var r=e(31),i=e(15),o=e(45).f;t.exports=function(t){return function(n){for(var e,u=i(n),s=r(u),c=s.length,a=0,f=[];c>a;)o.call(u,e=s[a++])&&f.push(t?[e,u[e]]:u[e]);return f}}},function(t,n){var e=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=e)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r;
2 | /*!
3 | * UAParser.js v0.7.19
4 | * Lightweight JavaScript-based User-Agent string parser
5 | * https://github.com/faisalman/ua-parser-js
6 | *
7 | * Copyright © 2012-2016 Faisal Salman
8 | * Dual licensed under GPLv2 or MIT
9 | */
10 | /*!
11 | * UAParser.js v0.7.19
12 | * Lightweight JavaScript-based User-Agent string parser
13 | * https://github.com/faisalman/ua-parser-js
14 | *
15 | * Copyright © 2012-2016 Faisal Salman
16 | * Dual licensed under GPLv2 or MIT
17 | */
18 | !function(i,o){"use strict";var u="model",s="name",c="type",a="vendor",f="version",l="mobile",h="tablet",d={extend:function(t,n){var e={};for(var r in t)n[r]&&n[r].length%2==0?e[r]=n[r].concat(t[r]):e[r]=t[r];return e},has:function(t,n){return"string"==typeof t&&-1!==n.toLowerCase().indexOf(t.toLowerCase())},lowerize:function(t){return t.toLowerCase()},major:function(t){return"string"==typeof t?t.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(t){return t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},p={rgx:function(t,n){for(var e,r,i,o,u,s,c=0;c0?2==o.length?"function"==typeof o[1]?this[o[0]]=o[1].call(this,s):this[o[0]]=o[1]:3==o.length?"function"!=typeof o[1]||o[1].exec&&o[1].test?this[o[0]]=s?s.replace(o[1],o[2]):void 0:this[o[0]]=s?o[1].call(this,s,o[2]):void 0:4==o.length&&(this[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):void 0):this[o]=s||void 0;c+=2}},str:function(t,n){for(var e in n)if("object"==typeof n[e]&&n[e].length>0){for(var r=0;ri;)X(t,e=r[i++],n[e]);return t},$=function(t){var n=R.call(this,t=x(t,!0));return!(this===B&&i(C,t)&&!i(W,t))&&(!(n||!i(this,t)||!i(C,t)||i(this,L)&&this[L][t])||n)},K=function(t,n){if(t=b(t),n=x(n,!0),t!==B||!i(C,n)||i(W,n)){var e=A(t,n);return!e||!i(C,n)||i(t,L)&&t[L][n]||(e.enumerable=!0),e}},J=function(t){for(var n,e=T(b(t)),r=[],o=0;e.length>o;)i(C,n=e[o++])||n==L||n==c||r.push(n);return r},Z=function(t){for(var n,e=t===B,r=T(e?W:b(t)),o=[],u=0;r.length>u;)!i(C,n=r[u++])||e&&!i(B,n)||o.push(C[n]);return o};U||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),n=function(e){this===B&&n.call(W,e),i(this,L)&&i(this[L],t)&&(this[L][t]=!1),z(this,t,S(1,e))};return o&&G&&z(B,t,{configurable:!0,set:n}),Y(t)}).prototype,"toString",function(){return this._k}),O.f=K,M.f=X,e(34).f=E.f=J,e(45).f=$,e(50).f=Z,o&&!e(30)&&s(B,"propertyIsEnumerable",$,!0),p.f=function(t){return Y(d(t))}),u(u.G+u.W+u.F*!U,{Symbol:I});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Q.length>tt;)d(Q[tt++]);for(var nt=P(d.store),et=0;nt.length>et;)v(nt[et++]);u(u.S+u.F*!U,"Symbol",{for:function(t){return i(D,t+="")?D[t]:D[t]=I(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var n in D)if(D[n]===t)return n},useSetter:function(){G=!0},useSimple:function(){G=!1}}),u(u.S+u.F*!U,"Object",{create:function(t,n){return void 0===n?_(t):H(_(t),n)},defineProperty:X,defineProperties:H,getOwnPropertyDescriptor:K,getOwnPropertyNames:J,getOwnPropertySymbols:Z}),N&&u(u.S+u.F*(!U||a(function(){var t=I();return"[null]"!=k([t])||"{}"!=k({a:t})||"{}"!=k(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(e=n=r[1],(m(n)||void 0!==t)&&!q(t))return y(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!q(n))return n}),r[1]=n,k.apply(N,r)}}),I.prototype[j]||e(14)(I.prototype,j,I.prototype.valueOf),l(I,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,n,e){t.exports=e(48)("native-function-to-string",Function.toString)},function(t,n,e){var r=e(31),i=e(50),o=e(45);t.exports=function(t){var n=r(t),e=i.f;if(e)for(var u,s=e(t),c=o.f,a=0;s.length>a;)c.call(t,u=s[a++])&&n.push(u);return n}},function(t,n,e){var r=e(0);r(r.S,"Object",{create:e(33)})},function(t,n,e){var r=e(0);r(r.S+r.F*!e(9),"Object",{defineProperty:e(8).f})},function(t,n,e){var r=e(0);r(r.S+r.F*!e(9),"Object",{defineProperties:e(91)})},function(t,n,e){var r=e(15),i=e(20).f;e(21)("getOwnPropertyDescriptor",function(){return function(t,n){return i(r(t),n)}})},function(t,n,e){var r=e(10),i=e(35);e(21)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,n,e){var r=e(10),i=e(31);e(21)("keys",function(){return function(t){return i(r(t))}})},function(t,n,e){e(21)("getOwnPropertyNames",function(){return e(92).f})},function(t,n,e){var r=e(4),i=e(27).onFreeze;e(21)("freeze",function(t){return function(n){return t&&r(n)?t(i(n)):n}})},function(t,n,e){var r=e(4),i=e(27).onFreeze;e(21)("seal",function(t){return function(n){return t&&r(n)?t(i(n)):n}})},function(t,n,e){var r=e(4),i=e(27).onFreeze;e(21)("preventExtensions",function(t){return function(n){return t&&r(n)?t(i(n)):n}})},function(t,n,e){var r=e(4);e(21)("isFrozen",function(t){return function(n){return!r(n)||!!t&&t(n)}})},function(t,n,e){var r=e(4);e(21)("isSealed",function(t){return function(n){return!r(n)||!!t&&t(n)}})},function(t,n,e){var r=e(4);e(21)("isExtensible",function(t){return function(n){return!!r(n)&&(!t||t(n))}})},function(t,n,e){var r=e(0);r(r.S+r.F,"Object",{assign:e(93)})},function(t,n,e){var r=e(0);r(r.S,"Object",{is:e(94)})},function(t,n,e){var r=e(0);r(r.S,"Object",{setPrototypeOf:e(65).set})},function(t,n,e){"use strict";var r=e(46),i={};i[e(5)("toStringTag")]="z",i+""!="[object z]"&&e(11)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,n,e){var r=e(0);r(r.P,"Function",{bind:e(95)})},function(t,n,e){var r=e(8).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||e(9)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,n,e){"use strict";var r=e(4),i=e(35),o=e(5)("hasInstance"),u=Function.prototype;o in u||e(8).f(u,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,n,e){var r=e(0),i=e(97);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,n,e){var r=e(0),i=e(98);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,n,e){"use strict";var r=e(1),i=e(13),o=e(23),u=e(67),s=e(26),c=e(2),a=e(34).f,f=e(20).f,l=e(8).f,h=e(39).trim,d=r.Number,p=d,v=d.prototype,g="Number"==o(e(33)(v)),y="trim"in String.prototype,w=function(t){var n=s(t,!1);if("string"==typeof n&&n.length>2){var e,r,i,o=(n=y?n.trim():h(n,3)).charCodeAt(0);if(43===o||45===o){if(88===(e=n.charCodeAt(2))||120===e)return NaN}else if(48===o){switch(n.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+n}for(var u,c=n.slice(2),a=0,f=c.length;ai)return NaN;return parseInt(c,r)}}return+n};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof d&&(g?c(function(){v.valueOf.call(e)}):"Number"!=o(e))?u(new p(w(n)),e,d):w(n)};for(var m,b=e(9)?a(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;b.length>x;x++)i(p,m=b[x])&&!i(d,m)&&l(d,m,f(p,m));d.prototype=v,v.constructor=d,e(11)(r,"Number",d)}},function(t,n,e){"use strict";var r=e(0),i=e(19),o=e(99),u=e(68),s=1..toFixed,c=Math.floor,a=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",l=function(t,n){for(var e=-1,r=n;++e<6;)r+=t*a[e],a[e]=r%1e7,r=c(r/1e7)},h=function(t){for(var n=6,e=0;--n>=0;)e+=a[n],a[n]=c(e/t),e=e%t*1e7},d=function(){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==a[t]){var e=String(a[t]);n=""===n?e:n+u.call("0",7-e.length)+e}return n},p=function(t,n,e){return 0===n?e:n%2==1?p(t,n-1,e*t):p(t*t,n/2,e)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!e(2)(function(){s.call({})})),"Number",{toFixed:function(t){var n,e,r,s,c=o(this,f),a=i(t),v="",g="0";if(a<0||a>20)throw RangeError(f);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(v="-",c=-c),c>1e-21)if(e=(n=function(t){for(var n=0,e=t;e>=4096;)n+=12,e/=4096;for(;e>=2;)n+=1,e/=2;return n}(c*p(2,69,1))-69)<0?c*p(2,-n,1):c/p(2,n,1),e*=4503599627370496,(n=52-n)>0){for(l(0,e),r=a;r>=7;)l(1e7,0),r-=7;for(l(p(10,r,1),0),r=n-1;r>=23;)h(1<<23),r-=23;h(1<0?v+((s=g.length)<=a?"0."+u.call("0",a-s)+g:g.slice(0,s-a)+"."+g.slice(s-a)):v+g}})},function(t,n,e){"use strict";var r=e(0),i=e(2),o=e(99),u=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==u.call(1,void 0)})||!i(function(){u.call({})})),"Number",{toPrecision:function(t){var n=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?u.call(n):u.call(n,t)}})},function(t,n,e){var r=e(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,n,e){var r=e(0),i=e(1).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,n,e){var r=e(0);r(r.S,"Number",{isInteger:e(100)})},function(t,n,e){var r=e(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,n,e){var r=e(0),i=e(100),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,n,e){var r=e(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,n,e){var r=e(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,n,e){var r=e(0),i=e(98);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,n,e){var r=e(0),i=e(97);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,n,e){var r=e(0),i=e(101),o=Math.sqrt,u=Math.acosh;r(r.S+r.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,n,e){var r=e(0),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function t(n){return isFinite(n=+n)&&0!=n?n<0?-t(-n):Math.log(n+Math.sqrt(n*n+1)):n}})},function(t,n,e){var r=e(0),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,n,e){var r=e(0),i=e(69);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,n,e){var r=e(0),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,n,e){var r=e(0),i=e(70);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,n,e){var r=e(0);r(r.S,"Math",{fround:e(174)})},function(t,n,e){var r=e(69),i=Math.pow,o=i(2,-52),u=i(2,-23),s=i(2,127)*(2-u),c=i(2,-126);t.exports=Math.fround||function(t){var n,e,i=Math.abs(t),a=r(t);return is||e!=e?a*(1/0):a*e}},function(t,n,e){var r=e(0),i=Math.abs;r(r.S,"Math",{hypot:function(t,n){for(var e,r,o=0,u=0,s=arguments.length,c=0;u0?(r=e/c)*r:e;return c===1/0?1/0:c*Math.sqrt(o)}})},function(t,n,e){var r=e(0),i=Math.imul;r(r.S+r.F*e(2)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,n){var e=+t,r=+n,i=65535&e,o=65535&r;return 0|i*o+((65535&e>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,n,e){var r=e(0);r(r.S,"Math",{log1p:e(101)})},function(t,n,e){var r=e(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,n,e){var r=e(0);r(r.S,"Math",{sign:e(69)})},function(t,n,e){var r=e(0),i=e(70),o=Math.exp;r(r.S+r.F*e(2)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,n,e){var r=e(0),i=e(70),o=Math.exp;r(r.S,"Math",{tanh:function(t){var n=i(t=+t),e=i(-t);return n==1/0?1:e==1/0?-1:(n-e)/(o(t)+o(-t))}})},function(t,n,e){var r=e(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,n,e){var r=e(0),i=e(32),o=String.fromCharCode,u=String.fromCodePoint;r(r.S+r.F*(!!u&&1!=u.length),"String",{fromCodePoint:function(t){for(var n,e=[],r=arguments.length,u=0;r>u;){if(n=+arguments[u++],i(n,1114111)!==n)throw RangeError(n+" is not a valid code point");e.push(n<65536?o(n):o(55296+((n-=65536)>>10),n%1024+56320))}return e.join("")}})},function(t,n,e){var r=e(0),i=e(15),o=e(6);r(r.S,"String",{raw:function(t){for(var n=i(t.raw),e=o(n.length),r=arguments.length,u=[],s=0;e>s;)u.push(String(n[s++])),s=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";var r=e(0),i=e(71)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,n,e){"use strict";var r=e(0),i=e(6),o=e(73),u="".endsWith;r(r.P+r.F*e(75)("endsWith"),"String",{endsWith:function(t){var n=o(this,t,"endsWith"),e=arguments.length>1?arguments[1]:void 0,r=i(n.length),s=void 0===e?r:Math.min(i(e),r),c=String(t);return u?u.call(n,c,s):n.slice(s-c.length,s)===c}})},function(t,n,e){"use strict";var r=e(0),i=e(73);r(r.P+r.F*e(75)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,e){var r=e(0);r(r.P,"String",{repeat:e(68)})},function(t,n,e){"use strict";var r=e(0),i=e(6),o=e(73),u="".startsWith;r(r.P+r.F*e(75)("startsWith"),"String",{startsWith:function(t){var n=o(this,t,"startsWith"),e=i(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),r=String(t);return u?u.call(n,r,e):n.slice(e,e+r.length)===r}})},function(t,n,e){"use strict";e(12)("anchor",function(t){return function(n){return t(this,"a","name",n)}})},function(t,n,e){"use strict";e(12)("big",function(t){return function(){return t(this,"big","","")}})},function(t,n,e){"use strict";e(12)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,n,e){"use strict";e(12)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,n,e){"use strict";e(12)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,n,e){"use strict";e(12)("fontcolor",function(t){return function(n){return t(this,"font","color",n)}})},function(t,n,e){"use strict";e(12)("fontsize",function(t){return function(n){return t(this,"font","size",n)}})},function(t,n,e){"use strict";e(12)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,n,e){"use strict";e(12)("link",function(t){return function(n){return t(this,"a","href",n)}})},function(t,n,e){"use strict";e(12)("small",function(t){return function(){return t(this,"small","","")}})},function(t,n,e){"use strict";e(12)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,n,e){"use strict";e(12)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,n,e){"use strict";e(12)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,n,e){var r=e(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,n,e){"use strict";var r=e(0),i=e(10),o=e(26);r(r.P+r.F*e(2)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var n=i(this),e=o(n);return"number"!=typeof e||isFinite(e)?n.toISOString():null}})},function(t,n,e){var r=e(0),i=e(209);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,n,e){"use strict";var r=e(2),i=Date.prototype.getTime,o=Date.prototype.toISOString,u=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),e=t.getUTCMilliseconds(),r=n<0?"-":n>9999?"+":"";return r+("00000"+Math.abs(n)).slice(r?-6:-4)+"-"+u(t.getUTCMonth()+1)+"-"+u(t.getUTCDate())+"T"+u(t.getUTCHours())+":"+u(t.getUTCMinutes())+":"+u(t.getUTCSeconds())+"."+(e>99?e:"0"+u(e))+"Z"}:o},function(t,n,e){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&e(11)(r,"toString",function(){var t=o.call(this);return t==t?i.call(this):"Invalid Date"})},function(t,n,e){var r=e(5)("toPrimitive"),i=Date.prototype;r in i||e(14)(i,r,e(212))},function(t,n,e){"use strict";var r=e(3),i=e(26);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},function(t,n,e){var r=e(0);r(r.S,"Array",{isArray:e(51)})},function(t,n,e){"use strict";var r=e(17),i=e(0),o=e(10),u=e(103),s=e(76),c=e(6),a=e(77),f=e(78);i(i.S+i.F*!e(52)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,i,l,h=o(t),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,y=0,w=f(h);if(g&&(v=r(v,p>2?arguments[2]:void 0,2)),null==w||d==Array&&s(w))for(e=new d(n=c(h.length));n>y;y++)a(e,y,g?v(h[y],y):h[y]);else for(l=w.call(h),e=new d;!(i=l.next()).done;y++)a(e,y,g?u(l,v,[i.value,y],!0):i.value);return e.length=y,e}})},function(t,n,e){"use strict";var r=e(0),i=e(77);r(r.S+r.F*e(2)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,n=arguments.length,e=new("function"==typeof this?this:Array)(n);n>t;)i(e,t,arguments[t++]);return e.length=n,e}})},function(t,n,e){"use strict";var r=e(0),i=e(15),o=[].join;r(r.P+r.F*(e(44)!=Object||!e(16)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,n,e){"use strict";var r=e(0),i=e(64),o=e(23),u=e(32),s=e(6),c=[].slice;r(r.P+r.F*e(2)(function(){i&&c.call(i)}),"Array",{slice:function(t,n){var e=s(this.length),r=o(this);if(n=void 0===n?e:n,"Array"==r)return c.call(this,t,n);for(var i=u(t,e),a=u(n,e),f=s(a-i),l=new Array(f),h=0;h1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=e+r);r>=0;r--)if(r in n&&n[r]===t)return r||0;return-1}})},function(t,n,e){var r=e(0);r(r.P,"Array",{copyWithin:e(106)}),e(36)("copyWithin")},function(t,n,e){var r=e(0);r(r.P,"Array",{fill:e(79)}),e(36)("fill")},function(t,n,e){"use strict";var r=e(0),i=e(22)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),e(36)("find")},function(t,n,e){"use strict";var r=e(0),i=e(22)(6),o="findIndex",u=!0;o in[]&&Array(1)[o](function(){u=!1}),r(r.P+r.F*u,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),e(36)(o)},function(t,n,e){e(41)("Array")},function(t,n,e){var r=e(1),i=e(67),o=e(8).f,u=e(34).f,s=e(74),c=e(53),a=r.RegExp,f=a,l=a.prototype,h=/a/g,d=/a/g,p=new a(h)!==h;if(e(9)&&(!p||e(2)(function(){return d[e(5)("match")]=!1,a(h)!=h||a(d)==d||"/a/i"!=a(h,"i")}))){a=function(t,n){var e=this instanceof a,r=s(t),o=void 0===n;return!e&&r&&t.constructor===a&&o?t:i(p?new f(r&&!o?t.source:t,n):f((r=t instanceof a)?t.source:t,r&&o?c.call(t):n),e?this:l,a)};for(var v=function(t){t in a||o(a,t,{configurable:!0,get:function(){return f[t]},set:function(n){f[t]=n}})},g=u(f),y=0;g.length>y;)v(g[y++]);l.constructor=a,a.prototype=l,e(11)(r,"RegExp",a)}e(41)("RegExp")},function(t,n,e){"use strict";e(109);var r=e(3),i=e(53),o=e(9),u=/./.toString,s=function(t){e(11)(RegExp.prototype,"toString",t,!0)};e(2)(function(){return"/a/b"!=u.call({source:"a",flags:"b"})})?s(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):"toString"!=u.name&&s(function(){return u.call(this)})},function(t,n,e){"use strict";var r=e(3),i=e(6),o=e(82),u=e(54);e(55)("match",1,function(t,n,e,s){return[function(e){var r=t(this),i=null==e?void 0:e[n];return void 0!==i?i.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=s(e,t,this);if(n.done)return n.value;var c=r(t),a=String(this);if(!c.global)return u(c,a);var f=c.unicode;c.lastIndex=0;for(var l,h=[],d=0;null!==(l=u(c,a));){var p=String(l[0]);h[d]=p,""===p&&(c.lastIndex=o(a,i(c.lastIndex),f)),d++}return 0===d?null:h}]})},function(t,n,e){"use strict";var r=e(3),i=e(10),o=e(6),u=e(19),s=e(82),c=e(54),a=Math.max,f=Math.min,l=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;e(55)("replace",2,function(t,n,e,p){return[function(r,i){var o=t(this),u=null==r?void 0:r[n];return void 0!==u?u.call(r,o,i):e.call(String(o),r,i)},function(t,n){var i=p(e,t,this,n);if(i.done)return i.value;var l=r(t),h=String(this),d="function"==typeof n;d||(n=String(n));var g=l.global;if(g){var y=l.unicode;l.lastIndex=0}for(var w=[];;){var m=c(l,h);if(null===m)break;if(w.push(m),!g)break;""===String(m[0])&&(l.lastIndex=s(h,o(l.lastIndex),y))}for(var b,x="",S=0,_=0;_=S&&(x+=h.slice(S,O)+T,S=O+E.length)}return x+h.slice(S)}];function v(t,n,r,o,u,s){var c=r+t.length,a=o.length,f=d;return void 0!==u&&(u=i(u),f=h),e.call(s,f,function(e,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":s=u[i.slice(1,-1)];break;default:var f=+i;if(0===f)return e;if(f>a){var h=l(f/10);return 0===h?e:h<=a?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):e}s=o[f-1]}return void 0===s?"":s})}})},function(t,n,e){"use strict";var r=e(3),i=e(94),o=e(54);e(55)("search",1,function(t,n,e,u){return[function(e){var r=t(this),i=null==e?void 0:e[n];return void 0!==i?i.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=u(e,t,this);if(n.done)return n.value;var s=r(t),c=String(this),a=s.lastIndex;i(a,0)||(s.lastIndex=0);var f=o(s,c);return i(s.lastIndex,a)||(s.lastIndex=a),null===f?-1:f.index}]})},function(t,n,e){"use strict";var r=e(74),i=e(3),o=e(47),u=e(82),s=e(6),c=e(54),a=e(81),f=e(2),l=Math.min,h=[].push,d=!f(function(){RegExp(4294967295,"y")});e(55)("split",2,function(t,n,e,f){var p;return p="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(this);if(void 0===t&&0===n)return[];if(!r(t))return e.call(i,t,n);for(var o,u,s,c=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,d=void 0===n?4294967295:n>>>0,p=new RegExp(t.source,f+"g");(o=a.call(p,i))&&!((u=p.lastIndex)>l&&(c.push(i.slice(l,o.index)),o.length>1&&o.index=d));)p.lastIndex===o.index&&p.lastIndex++;return l===i.length?!s&&p.test("")||c.push(""):c.push(i.slice(l)),c.length>d?c.slice(0,d):c}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,r){var i=t(this),o=null==e?void 0:e[n];return void 0!==o?o.call(e,i,r):p.call(String(i),e,r)},function(t,n){var r=f(p,t,this,n,p!==e);if(r.done)return r.value;var a=i(t),h=String(this),v=o(a,RegExp),g=a.unicode,y=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(d?"y":"g"),w=new v(d?a:"^(?:"+a.source+")",y),m=void 0===n?4294967295:n>>>0;if(0===m)return[];if(0===h.length)return null===c(w,h)?[h]:[];for(var b=0,x=0,S=[];x0?arguments[0]:void 0)}},{get:function(t){var n=r.getEntry(i(this,"Map"),t);return n&&n.v},set:function(t,n){return r.def(i(this,"Map"),0===t?0:t,n)}},r,!0)},function(t,n,e){"use strict";var r=e(113),i=e(37);t.exports=e(58)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},function(t,n,e){"use strict";var r,i=e(1),o=e(22)(0),u=e(11),s=e(27),c=e(93),a=e(114),f=e(4),l=e(37),h=e(37),d=!i.ActiveXObject&&"ActiveXObject"in i,p=s.getWeak,v=Object.isExtensible,g=a.ufstore,y=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},w={get:function(t){if(f(t)){var n=p(t);return!0===n?g(l(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return a.def(l(this,"WeakMap"),t,n)}},m=t.exports=e(58)("WeakMap",y,w,a,!0,!0);h&&d&&(c((r=a.getConstructor(y,"WeakMap")).prototype,w),s.NEED=!0,o(["delete","has","get","set"],function(t){var n=m.prototype,e=n[t];u(n,t,function(n,i){if(f(n)&&!v(n)){this._f||(this._f=new r);var o=this._f[t](n,i);return"set"==t?this:o}return e.call(this,n,i)})}))},function(t,n,e){"use strict";var r=e(114),i=e(37);e(58)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,n,e){"use strict";var r=e(0),i=e(59),o=e(84),u=e(3),s=e(32),c=e(6),a=e(4),f=e(1).ArrayBuffer,l=e(47),h=o.ArrayBuffer,d=o.DataView,p=i.ABV&&f.isView,v=h.prototype.slice,g=i.VIEW;r(r.G+r.W+r.F*(f!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return p&&p(t)||a(t)&&g in t}}),r(r.P+r.U+r.F*e(2)(function(){return!new h(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,n){if(void 0!==v&&void 0===n)return v.call(u(this),t);for(var e=u(this).byteLength,r=s(t,e),i=s(void 0===n?e:n,e),o=new(l(this,h))(c(i-r)),a=new d(this),f=new d(o),p=0;r=n.length)return{value:void 0,done:!0}}while(!((t=n[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,n,e){var r=e(20),i=e(35),o=e(13),u=e(0),s=e(4),c=e(3);u(u.S,"Reflect",{get:function t(n,e){var u,a,f=arguments.length<3?n:arguments[2];return c(n)===f?n[e]:(u=r.f(n,e))?o(u,"value")?u.value:void 0!==u.get?u.get.call(f):void 0:s(a=i(n))?t(a,e,f):void 0}})},function(t,n,e){var r=e(20),i=e(0),o=e(3);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return r.f(o(t),n)}})},function(t,n,e){var r=e(0),i=e(35),o=e(3);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,n,e){var r=e(0);r(r.S,"Reflect",{has:function(t,n){return n in t}})},function(t,n,e){var r=e(0),i=e(3),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,n,e){var r=e(0);r(r.S,"Reflect",{ownKeys:e(116)})},function(t,n,e){var r=e(0),i=e(3),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,n,e){var r=e(8),i=e(20),o=e(35),u=e(13),s=e(0),c=e(28),a=e(3),f=e(4);s(s.S,"Reflect",{set:function t(n,e,s){var l,h,d=arguments.length<4?n:arguments[3],p=i.f(a(n),e);if(!p){if(f(h=o(n)))return t(h,e,s,d);p=c(0)}if(u(p,"value")){if(!1===p.writable||!f(d))return!1;if(l=i.f(d,e)){if(l.get||l.set||!1===l.writable)return!1;l.value=s,r.f(d,e,l)}else r.f(d,e,c(0,s));return!0}return void 0!==p.set&&(p.set.call(d,s),!0)}})},function(t,n,e){var r=e(0),i=e(65);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,n){i.check(t,n);try{return i.set(t,n),!0}catch(t){return!1}}})},function(t,n,e){e(272),t.exports=e(7).Array.includes},function(t,n,e){"use strict";var r=e(0),i=e(49)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),e(36)("includes")},function(t,n,e){e(274),t.exports=e(7).Array.flatMap},function(t,n,e){"use strict";var r=e(0),i=e(275),o=e(10),u=e(6),s=e(18),c=e(104);r(r.P,"Array",{flatMap:function(t){var n,e,r=o(this);return s(t),n=u(r.length),e=c(r,0),i(e,r,r,n,0,1,t,arguments[1]),e}}),e(36)("flatMap")},function(t,n,e){"use strict";var r=e(51),i=e(4),o=e(6),u=e(17),s=e(5)("isConcatSpreadable");t.exports=function t(n,e,c,a,f,l,h,d){for(var p,v,g=f,y=0,w=!!h&&u(h,d,3);y0)g=t(n,e,p,o(p.length),g,l-1)-1;else{if(g>=9007199254740991)throw TypeError();n[g]=p}g++}y++}return g}},function(t,n,e){e(277),t.exports=e(7).String.padStart},function(t,n,e){"use strict";var r=e(0),i=e(117),o=e(57),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*u,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,n,e){e(279),t.exports=e(7).String.padEnd},function(t,n,e){"use strict";var r=e(0),i=e(117),o=e(57),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*u,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,n,e){e(281),t.exports=e(7).String.trimLeft},function(t,n,e){"use strict";e(39)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,n,e){e(283),t.exports=e(7).String.trimRight},function(t,n,e){"use strict";e(39)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,n,e){e(285),t.exports=e(61).f("asyncIterator")},function(t,n,e){e(89)("asyncIterator")},function(t,n,e){e(287),t.exports=e(7).Object.getOwnPropertyDescriptors},function(t,n,e){var r=e(0),i=e(116),o=e(15),u=e(20),s=e(77);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,e,r=o(t),c=u.f,a=i(r),f={},l=0;a.length>l;)void 0!==(e=c(r,n=a[l++]))&&s(f,n,e);return f}})},function(t,n,e){e(289),t.exports=e(7).Object.values},function(t,n,e){var r=e(0),i=e(118)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,n,e){e(291),t.exports=e(7).Object.entries},function(t,n,e){var r=e(0),i=e(118)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,n,e){"use strict";e(110),e(293),t.exports=e(7).Promise.finally},function(t,n,e){"use strict";var r=e(0),i=e(7),o=e(1),u=e(47),s=e(112);r(r.P+r.R,"Promise",{finally:function(t){var n=u(this,i.Promise||o.Promise),e="function"==typeof t;return this.then(e?function(e){return s(n,t()).then(function(){return e})}:t,e?function(e){return s(n,t()).then(function(){throw e})}:t)}})},function(t,n,e){e(295),e(296),e(297),t.exports=e(7)},function(t,n,e){var r=e(1),i=e(0),o=e(57),u=[].slice,s=/MSIE .\./.test(o),c=function(t){return function(n,e){var r=arguments.length>2,i=!!r&&u.call(arguments,2);return t(r?function(){("function"==typeof n?n:Function(n)).apply(this,i)}:n,e)}};i(i.G+i.B+i.F*s,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(t,n,e){var r=e(0),i=e(83);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,n,e){for(var r=e(80),i=e(31),o=e(11),u=e(1),s=e(14),c=e(40),a=e(5),f=a("iterator"),l=a("toStringTag"),h=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(d),v=0;v=0;--o){var u=this.tryEntries[o],s=u.completion;if("root"===u.tryLoc)return i("end");if(u.tryLoc<=this.prev){var c=r.call(u,"catchLoc"),a=r.call(u,"finallyLoc");if(c&&a){if(this.prev=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),M(e),p}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;M(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:A(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),p}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,n,e){e(300),t.exports=e(119).global},function(t,n,e){var r=e(301);r(r.G,{global:e(85)})},function(t,n,e){var r=e(85),i=e(119),o=e(302),u=e(304),s=e(311),c=function(t,n,e){var a,f,l,h=t&c.F,d=t&c.G,p=t&c.S,v=t&c.P,g=t&c.B,y=t&c.W,w=d?i:i[n]||(i[n]={}),m=w.prototype,b=d?r:p?r[n]:(r[n]||{}).prototype;for(a in d&&(e=n),e)(f=!h&&b&&void 0!==b[a])&&s(w,a)||(l=f?b[a]:e[a],w[a]=d&&"function"!=typeof b[a]?e[a]:g&&f?o(l,r):y&&b[a]==l?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(l):v&&"function"==typeof l?o(Function.call,l):l,v&&((w.virtual||(w.virtual={}))[a]=l,t&c.R&&m&&!m[a]&&u(m,a,l)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n,e){var r=e(303);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(305),i=e(310);t.exports=e(87)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(306),i=e(307),o=e(309),u=Object.defineProperty;n.f=e(87)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(86);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){t.exports=!e(87)&&!e(120)(function(){return 7!=Object.defineProperty(e(308)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(86),i=e(85).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,e){var r=e(86);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n){(function(n){t.exports=n}).call(this,{})},function(t,n,e){"use strict";e.r(n);var r=e(123),i=e.n(r);n.default=function(){document.querySelectorAll(".js-hover").forEach(function(t){new i.a(t)})}},function(t,n,e){"use strict";var r=e(315),i=e(316),o=10,u=40,s=800;function c(t){var n=0,e=0,r=0,i=0;return"detail"in t&&(e=t.detail),"wheelDelta"in t&&(e=-t.wheelDelta/120),"wheelDeltaY"in t&&(e=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(n=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(n=e,e=0),r=n*o,i=e*o,"deltaY"in t&&(i=t.deltaY),"deltaX"in t&&(r=t.deltaX),(r||i)&&t.deltaMode&&(1==t.deltaMode?(r*=u,i*=u):(r*=s,i*=s)),r&&!n&&(n=r<1?-1:1),i&&!e&&(e=i<1?-1:1),{spinX:n,spinY:e,pixelX:r,pixelY:i}}c.getEventType=function(){return r.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},t.exports=c},function(t,n){var e,r,i,o,u,s,c,a,f,l,h,d,p,v,g,y=!1;function w(){if(!y){y=!0;var t=navigator.userAgent,n=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(t),w=/(Mac OS X)|(Windows)|(Linux)/.exec(t);if(d=/\b(iPhone|iP[ao]d)/.exec(t),p=/\b(iP[ao]d)/.exec(t),l=/Android/i.exec(t),v=/FBAN\/\w+;/i.exec(t),g=/Mobile/i.exec(t),h=!!/Win64/.exec(t),n){(e=n[1]?parseFloat(n[1]):n[5]?parseFloat(n[5]):NaN)&&document&&document.documentMode&&(e=document.documentMode);var m=/(?:Trident\/(\d+.\d+))/.exec(t);s=m?parseFloat(m[1])+4:e,r=n[2]?parseFloat(n[2]):NaN,i=n[3]?parseFloat(n[3]):NaN,(o=n[4]?parseFloat(n[4]):NaN)?(n=/(?:Chrome\/(\d+\.\d+))/.exec(t),u=n&&n[1]?parseFloat(n[1]):NaN):u=NaN}else e=r=i=u=o=NaN;if(w){if(w[1]){var b=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(t);c=!b||parseFloat(b[1].replace("_","."))}else c=!1;a=!!w[2],f=!!w[3]}else c=a=f=!1}}var m={ie:function(){return w()||e},ieCompatibilityMode:function(){return w()||s>e},ie64:function(){return m.ie()&&h},firefox:function(){return w()||r},opera:function(){return w()||i},webkit:function(){return w()||o},safari:function(){return m.webkit()},chrome:function(){return w()||u},windows:function(){return w()||a},osx:function(){return w()||c},linux:function(){return w()||f},iphone:function(){return w()||d},mobile:function(){return w()||d||p||l||g},nativeApp:function(){return w()||v},android:function(){return w()||l},ipad:function(){return w()||p}};t.exports=m},function(t,n,e){"use strict";var r,i=e(317);i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""))
19 | /**
20 | * Checks if an event is supported in the current execution environment.
21 | *
22 | * NOTE: This will not work correctly for non-generic events such as `change`,
23 | * `reset`, `load`, `error`, and `select`.
24 | *
25 | * Borrows from Modernizr.
26 | *
27 | * @param {string} eventNameSuffix Event name, e.g. "click".
28 | * @param {?boolean} capture Check if the capture phase is supported.
29 | * @return {boolean} True if the event is supported.
30 | * @internal
31 | * @license Modernizr 3.0.0pre (Custom Build) | MIT
32 | */,t.exports=function(t,n){if(!i.canUseDOM||n&&!("addEventListener"in document))return!1;var e="on"+t,o=e in document;if(!o){var u=document.createElement("div");u.setAttribute(e,"return;"),o="function"==typeof u[e]}return!o&&r&&"wheel"===t&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}},function(t,n,e){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=i},function(t,n,e){"use strict";e.r(n);var r=e(124),i=e.n(r);function o(t,n){for(var e=0;e=this.maxId||(this.previousId=this.currentId,this.currentId++,this.isAscend=!0,this.changeSection())}},{key:"goToTarget",value:function(t){this.currentId!==t&&(this.isAscend=t>this.currentId,this.previousId=this.currentId,this.currentId=t,this.changeSection())}},{key:"changeSection",value:function(){for(var t=0;t20&&t.goToNext(),Math.abs(e)>20&&(t.isTouchMoved=!0)}},!1),this.elmWrap.addEventListener("touchend",function(n){t.isTouchMoved=!1},!1);for(var e=function(){var n=r;t.elmPagerPointers[r].addEventListener("click",function(e){e.preventDefault(),t.goToTarget(n)})},r=0;r