Commit cfc40b6a by Yutaka Kobayashi

再UP

1 parent 9f57711a
Showing with 922 additions and 122 deletions

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
.env.production
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
# dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
# Project specific outputs
dist/
.tmp/
.DS_Store
\ No newline at end of file
/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ (function() { // webpackBootstrap
/******/ var __webpack_modules__ = ({
/***/ "./src/assets/js/home.js":
/*!*******************************!*\
!*** ./src/assets/js/home.js ***!
\*******************************/
/***/ (function() {
eval("class Home {\n constructor() {\n this.modal();\n this.fadeIn();\n }\n\n modal() {\n const body = document.getElementsByTagName(\"body\")[0];\n const btn = document.querySelectorAll(\".novelList__button\");\n const modalBack = document.querySelector(\".modalBackground\");\n const modal = document.querySelectorAll(\".modal\");\n const closeBtn = document.querySelector(\".modal__button\");\n\n // モーダルを表示する\n for (let i = 0; i < btn.length; i++) {\n btn[i].addEventListener(\"click\", addOpen);\n function addOpen(e) {\n e.preventDefault();\n body.classList.add(\"open\");\n modalBack.classList.add(\"open\");\n modal[i].classList.add(\"open\");\n }\n }\n\n // モーダルを非表示にする\n closeBtn.addEventListener(\"click\", function () {\n body.classList.remove(\"open\");\n modalBack.classList.remove(\"open\");\n for (let i = 0; i < modal.length; i++) {\n modal[i].classList.remove(\"open\");\n }\n });\n\n function menuClick() {\n const menus = document.getElementsByClassName(\"close\");\n body.classList.remove(\"open\");\n modalBack.classList.remove(\"open\");\n const hogeElements = document.querySelectorAll(\".modal\");\n\n hogeElements.forEach((item) => {\n item.classList.remove(\"open\");\n });\n }\n\n const menus = document.getElementsByClassName(\"close\");\n for (let i = 0; i < menus.length; i++) {\n menus[i].addEventListener(\"click\", menuClick, false);\n }\n }\n\n // フェードイン\n fadeIn() {\n function scroll_effect() {\n var element = document.getElementsByClassName(\"scrollUp\");\n if (!element) return;\n\n var scrollY = window.pageYOffset;\n var windowHeight = window.innerHeight;\n var showTiming = 200;\n for (var i = 0; i < element.length; i++) {\n var elementClientRect = element[i].getBoundingClientRect();\n var elementY = scrollY + elementClientRect.top;\n if (scrollY > elementY - windowHeight + showTiming) {\n element[i].classList.add(\"is-show\");\n }\n }\n }\n window.addEventListener(\"scroll\", scroll_effect);\n }\n}\n\nwindow.addEventListener(\"DOMContentLoaded\", () => {\n new Home();\n});\n\n\n//# sourceURL=webpack://static-boilerplate/./src/assets/js/home.js?");
/***/ })
/******/ });
/************************************************************************/
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module can't be inlined because the eval devtool is used.
/******/ var __webpack_exports__ = {};
/******/ __webpack_modules__["./src/assets/js/home.js"]();
/******/
/******/ })()
;
\ No newline at end of file
.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;background:#0b0b0b;opacity:.8}.mfp-wrap{top:0;left:0;width:100%;height:100%;z-index:1043;position:fixed;outline:none !important;-webkit-backface-visibility:hidden}.mfp-container{text-align:center;position:absolute;width:100%;height:100%;left:0;top:0;padding:0 8px;box-sizing:border-box}.mfp-container:before{content:"";display:inline-block;height:100%;vertical-align:middle}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;display:inline-block;vertical-align:middle;margin:0 auto;text-align:left;z-index:1045}.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content{width:100%;cursor:auto}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none !important}.mfp-preloader{color:#ccc;position:absolute;top:50%;width:auto;text-align:center;margin-top:-0.8em;left:8px;right:8px;z-index:1044}.mfp-preloader a{color:#ccc}.mfp-preloader a:hover{color:#fff}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.mfp-close,button.mfp-arrow{overflow:visible;cursor:pointer;background:transparent;border:0;-webkit-appearance:none;display:block;outline:none;padding:0;z-index:1046;box-shadow:none;touch-action:manipulation}button::-moz-focus-inner{padding:0;border:0}.mfp-close{width:44px;height:44px;line-height:44px;position:absolute;right:0;top:0;text-decoration:none;text-align:center;opacity:.65;padding:0 0 18px 10px;color:#fff;font-style:normal;font-size:28px;font-family:Arial,Baskerville,monospace}.mfp-close:hover,.mfp-close:focus{opacity:1}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close{color:#fff;right:-6px;text-align:right;padding-right:6px;width:100%}.mfp-counter{position:absolute;top:0;right:0;color:#ccc;font-size:12px;line-height:18px;white-space:nowrap}.mfp-arrow{position:absolute;opacity:.65;margin:0;top:50%;margin-top:-55px;padding:0;width:90px;height:110px;-webkit-tap-highlight-color:transparent}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:hover,.mfp-arrow:focus{opacity:1}.mfp-arrow:before,.mfp-arrow:after{content:"";display:block;width:0;height:0;position:absolute;left:0;top:0;margin-top:35px;margin-left:35px;border:medium inset transparent}.mfp-arrow:after{border-top-width:13px;border-bottom-width:13px;top:8px}.mfp-arrow:before{border-top-width:21px;border-bottom-width:21px;opacity:.7}.mfp-arrow-left{left:0}.mfp-arrow-left:after{border-right:17px solid #fff;margin-left:31px}.mfp-arrow-left:before{margin-left:25px;border-right:27px solid #3f3f3f}.mfp-arrow-right{right:0}.mfp-arrow-right:after{border-left:17px solid #fff;margin-left:39px}.mfp-arrow-right:before{border-left:27px solid #3f3f3f}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{line-height:0;width:100%;max-width:900px}.mfp-iframe-holder .mfp-close{top:-40px}.mfp-iframe-scaler{width:100%;height:0;overflow:hidden;padding-top:56.25%}.mfp-iframe-scaler iframe{position:absolute;display:block;top:0;left:0;width:100%;height:100%;box-shadow:0 0 8px rgba(0, 0, 0, 0.6);background:#000}img.mfp-img{width:auto;max-width:100%;height:auto;display:block;line-height:0;box-sizing:border-box;padding:40px 0 40px;margin:0 auto}.mfp-figure{line-height:0}.mfp-figure:after{content:"";position:absolute;left:0;top:40px;bottom:40px;display:block;right:0;width:auto;height:auto;z-index:-1;box-shadow:0 0 8px rgba(0, 0, 0, 0.6);background:#444}.mfp-figure small{color:#bdbdbd;display:block;font-size:12px;line-height:14px}.mfp-figure figure{margin:0}.mfp-bottom-bar{margin-top:-36px;position:absolute;top:100%;left:0;width:100%;cursor:auto}.mfp-title{text-align:left;line-height:18px;color:#f3f3f3;word-wrap:break-word;padding-right:36px}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width: 800px)and (orientation: landscape),screen and (max-height: 300px){.mfp-img-mobile .mfp-image-holder{padding-left:0;padding-right:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}.mfp-img-mobile .mfp-bottom-bar{background:rgba(0, 0, 0, 0.6);bottom:0;margin:0;top:auto;padding:3px 5px;position:fixed;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{right:5px;top:3px}.mfp-img-mobile .mfp-close{top:0;right:0;width:35px;height:35px;line-height:35px;background:rgba(0, 0, 0, 0.6);position:fixed;text-align:center;padding:0}}@media all and (max-width: 900px){.mfp-arrow{-webkit-transform:scale(0.75);transform:scale(0.75)}.mfp-arrow-left{-webkit-transform-origin:0;transform-origin:0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-left:6px;padding-right:6px}}/*# sourceMappingURL=magnific-popup.css.map */
{"version":3,"sourceRoot":"","sources":["../../../../src/assets/styles/dist/magnific-popup.css"],"names":[],"mappings":"AAAA,QACE,MACA,OACA,WACA,YACA,aACA,gBACA,eACA,mBACA,WAEF,UACE,MACA,OACA,WACA,YACA,aACA,eACA,wBACA,mCAEF,eACE,kBACA,kBACA,WACA,YACA,OACA,MACA,cACA,sBAEF,sBACE,WACA,qBACA,YACA,sBAEF,qCACE,aAEF,aACE,kBACA,qBACA,sBACA,cACA,gBACA,aAEF,8DAEE,WACA,YAEF,cACE,gBAEF,iEAEE,qBACA,wBACA,gBAEF,UACE,eACA,uBACA,oBACA,eAEF,8BACE,YAEF,kDAIE,yBACA,sBACA,iBAEF,wBACE,aAEF,UACE,wBAEF,eACE,WACA,kBACA,QACA,WACA,kBACA,kBACA,SACA,UACA,aAEF,iBACE,WAEF,uBACE,WAEF,4BACE,aAEF,0BACE,aAEF,kCAEE,iBACA,eACA,uBACA,SACA,wBACA,cACA,aACA,UACA,aACA,gBACA,0BAEF,yBACE,UACA,SAEF,WACE,WACA,YACA,iBACA,kBACA,QACA,MACA,qBACA,kBACA,YACA,sBACA,WACA,kBACA,eACA,wCAEF,kCAEE,UAEF,kBACE,QAEF,6BACE,WAEF,2DAEE,WACA,WACA,iBACA,kBACA,WAEF,aACE,kBACA,MACA,QACA,WACA,eACA,iBACA,mBAEF,WACE,kBACA,YACA,SACA,QACA,iBACA,UACA,WACA,aACA,wCAEF,kBACE,iBAEF,kCAEE,UAEF,mCAEE,WACA,cACA,QACA,SACA,kBACA,OACA,MACA,gBACA,iBACA,gCAEF,iBACE,sBACA,yBACA,QAEF,kBACE,sBACA,yBACA,WAEF,gBACE,OAEF,sBACE,6BACA,iBAEF,uBACE,iBACA,gCAEF,iBACE,QAEF,uBACE,4BACA,iBAEF,wBACE,+BAEF,mBACE,iBACA,oBAEF,gCACE,cACA,WACA,gBAEF,8BACE,UAEF,mBACE,WACA,SACA,gBACA,mBAEF,0BACE,kBACA,cACA,MACA,OACA,WACA,YACA,sCACA,gBAEF,YACE,WACA,eACA,YACA,cACA,cACA,sBACA,oBACA,cAEF,YACE,cAEF,kBACE,WACA,kBACA,OACA,SACA,YACA,cACA,QACA,WACA,YACA,WACA,sCACA,gBAEF,kBACE,cACA,cACA,eACA,iBAEF,mBACE,SAEF,gBACE,iBACA,kBACA,SACA,OACA,WACA,YAEF,WACE,gBACA,iBACA,cACA,qBACA,mBAEF,+BACE,eAEF,2CACE,eAEF,gGAEE,kCACE,eACA,gBAEF,4BACE,UAEF,kCACE,MACA,SAEF,kCACE,eACA,gBAEF,gCACE,8BACA,SACA,SACA,SACA,gBACA,eACA,sBAEF,sCACE,UAEF,6BACE,UACA,QAEF,2BACE,MACA,QACA,WACA,YACA,iBACA,8BACA,eACA,kBACA,WAGJ,kCACE,WACE,8BACA,sBAEF,gBACE,2BACA,mBAEF,iBACE,8BACA,sBAEF,eACE,iBACA","file":"magnific-popup.css"}
\ No newline at end of file
.mfp-bg{top:0;left:0;width:100%;height:100%;z-index:1042;overflow:hidden;position:fixed;background:#0b0b0b;opacity:.8;filter:alpha(opacity=80)}.mfp-hide{display:none !important}.btn{width:200px;margin-left:20px}.btn__link{display:block;font-size:18px;text-align:center;background-color:#fff;color:#333;text-decoration:none;border:2px solid #333;border-radius:5px}.btn__text{display:block;padding:7px 5px}.modalBackground{width:100%;height:100vh;background-color:rgba(0,0,0,.6);position:fixed;top:0;left:0;opacity:0;visibility:hidden}.modal{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);opacity:0;visibility:hidden;transition:opacity .3s;text-align:center;max-width:700px}.modal.open{opacity:1;visibility:inherit}.modalInner{padding:45px 172px 50px;position:relative}.close{width:25px;height:25px;position:absolute;top:-36px;right:0;cursor:pointer}.close__line{width:4px;height:25px;background-color:#fff;border-radius:2px}.close__line.--type01{display:inline-block;transform:rotate(45deg)}.close__line.--type02{position:absolute;top:0;left:40%;display:inline-block;transform:rotate(-45deg)}body.open{height:100vh;overflow-y:hidden}.modalBackground.open{opacity:1;visibility:inherit}.modal__title{font-size:20px;margin-bottom:30px;font-weight:800;text-align:center}.modal__text{text-align:left;line-height:1.7}.modal__button{background:#f8f8f8;padding:15px 100px;border-radius:50px;display:inline-block;margin-top:35px}/*# sourceMappingURL=modal.min.css.map */
{"version":3,"sourceRoot":"","sources":["../../../../src/assets/styles/dist/modal.min.scss"],"names":[],"mappings":"AACA,QACE,MACA,OACA,WACA,YACA,aACA,gBACA,eACA,mBACA,WACA,yBAGF,UACE,wBAIF,KACE,YACA,iBAGF,WACE,cACA,eACA,kBACA,sBACA,WACA,qBACA,sBACA,kBAGF,WACE,cACA,gBAIF,iBACE,WACA,aACA,gCACA,eACA,MACA,OACA,UACA,kBAGF,OACE,sBACA,kBACA,QACA,SACA,gCACA,UACA,kBACA,uBACA,kBACA,gBAEA,YACE,UACA,mBAIJ,YACE,wBACA,kBAIF,OACE,WACA,YACA,kBACA,UACA,QACA,eAGF,aACE,UACA,YACA,sBACA,kBAEA,sBACE,qBACA,wBAGF,sBACE,kBACA,MACA,SACA,qBACA,yBAKJ,UACE,aACA,kBAGF,sBACE,UACA,mBAGF,cACE,eACA,mBACA,gBACA,kBAGF,aACE,gBACA,gBAGF,eACE,mBACA,mBACA,mBACA,qBACA","file":"modal.min.css"}
\ No newline at end of file
@import"https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700&display=swap";:root{--colorPrimary: #0f68b7;--colorSub: #fff2c4}/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */*,::before,::after{box-sizing:border-box;border-style:solid;border-width:0}html{line-height:1.15;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}body{margin:0}main{display:block}p,table,blockquote,address,pre,iframe,form,figure,dl{margin:0}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;margin:0}ul,ol{margin:0;padding:0;list-style:none}dt{font-weight:bold}dd{margin-left:0}hr{box-sizing:content-box;height:0;overflow:visible;border-top-width:1px;margin:0;clear:both;color:inherit}pre{font-family:monospace,monospace;font-size:inherit}address{font-style:inherit}a{background-color:transparent;text-decoration:none;color:inherit}abbr[title]{-webkit-text-decoration:underline dotted;-moz-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:inherit}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}svg,img,embed,object,iframe{vertical-align:bottom}button,input,optgroup,select,textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;vertical-align:middle;color:inherit;font:inherit;background:transparent;padding:0;margin:0;border-radius:0;text-align:inherit;text-transform:inherit}button,[type=button],[type=reset],[type=submit]{cursor:pointer}button:disabled,[type=button]:disabled,[type=reset]:disabled,[type=submit]:disabled{cursor:default}:-moz-focusring{outline:auto}select:disabled{opacity:inherit}option{padding:0}fieldset{margin:0;padding:0;min-width:0}legend{padding:0}progress{vertical-align:baseline}textarea{overflow:auto}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=number]{-moz-appearance:textfield}label[for]{cursor:pointer}details{display:block}summary{display:list-item}[contenteditable]:focus{outline:auto}table{border-color:inherit;border-collapse:collapse}caption{text-align:left}td,th{vertical-align:top;padding:0}th{text-align:left;font-weight:bold}body{background:#f8f8f8;font-family:"Noto Sans JP",sans-serif}.content{text-align:center;padding-top:110px}.contentWrap{margin-bottom:100px}.contentBox{background:#fff;padding:53px 170px 66px 170px;display:inline-block;margin-right:auto;margin-left:auto}.contentBox.--music{letter-spacing:.1em;line-height:1.4}.novelTitle{font-size:28px;font-weight:800;text-align:center;margin-bottom:50px;letter-spacing:.1em}.novelList{width:700px;font-weight:800;margin:auto;letter-spacing:2.5px}.novelList__content{text-align:left;letter-spacing:.05em}.novelList__item{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;padding:30px 0;border-bottom:1px solid #ededed}.novelList__item:first-child{padding-top:0}.novelList__title{font-size:20px;margin-bottom:10px}.novelList__author{font-size:16px}.novelList__button{font-size:14px;padding:18px 60px;border-radius:39px;border:2.5px solid #232323;letter-spacing:.1em}.musicTitle{font-size:28px;font-weight:800;margin-bottom:40px;padding-bottom:30px;border-bottom:1px solid #ededed}.musicList__item:not(:last-child){margin-bottom:60px}.albumTitle{font-size:28px;font-weight:800;margin-bottom:25px}.albumList{font-size:18px;font-weight:800;counter-reset:number}.albumList__item:before{counter-increment:number;content:counter(number) ". "}.scrollUp{opacity:0;visibility:hidden;-webkit-transform:translateY(50px);transform:translateY(50px);transition:all 1s}.scrollUp.is-show{opacity:1;visibility:visible;-webkit-transform:translateY(0px);transform:translateY(0px)}@media screen and (min-width: 801px){.onlySP{display:none !important}.onlySP{display:none !important}.contentBox{min-width:1040px}}@media screen and (max-width: 800px){.onlyPC{display:none !important}.onlyPC{display:none !important}}
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9hc3NldHMvc3R5bGVzL2hvbWUubWluLnNjc3MiLCIuLi8uLi8uLi9zcmMvYXNzZXRzL3N0eWxlcy91dGlscy9fdmFyaWFibGVzLnNjc3MiLCIuLi8uLi8uLi9zcmMvYXNzZXRzL3N0eWxlcy9iYXNlL19iYXNlLnNjc3MiLCIuLi8uLi8uLi9zcmMvYXNzZXRzL3N0eWxlcy91dGlscy9fbWl4aW5zLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBR1Esd0ZBQUEsQ0NRUixNQUNFLHVCQUFBLENBQ0EsbUJBQUEsQ0NURixxRkFBQSxDQUtBLG1CQUdFLHFCQUFBLENBQ0Esa0JBQUEsQ0FDQSxjQUFBLENBWUYsS0FDRSxnQkFBQSxDQUNBLDZCQUFBLENBQ0EsdUNBQUEsQ0FVRixLQUNFLFFBQUEsQ0FPRixLQUNFLGFBQUEsQ0FNRixxREFTRSxRQUFBLENBTUYsa0JBTUUsaUJBQUEsQ0FDQSxtQkFBQSxDQUNBLFFBQUEsQ0FNRixNQUVFLFFBQUEsQ0FDQSxTQUFBLENBQ0EsZUFBQSxDQU1GLEdBQ0UsZ0JBQUEsQ0FHRixHQUNFLGFBQUEsQ0FXRixHQUNFLHNCQUFBLENBQ0EsUUFBQSxDQUNBLGdCQUFBLENBQ0Esb0JBQUEsQ0FDQSxRQUFBLENBQ0EsVUFBQSxDQUNBLGFBQUEsQ0FRRixJQUNFLCtCQUFBLENBQ0EsaUJBQUEsQ0FHRixRQUNFLGtCQUFBLENBVUYsRUFDRSw0QkFBQSxDQUNBLG9CQUFBLENBQ0EsYUFBQSxDQVFGLFlBQ0Usd0NBQUEsQ0FBQSxxQ0FBQSxDQUFBLGdDQUFBLENBT0YsU0FFRSxrQkFBQSxDQVFGLGNBR0UsK0JBQUEsQ0FDQSxpQkFBQSxDQU9GLE1BQ0UsYUFBQSxDQVFGLFFBRUUsYUFBQSxDQUNBLGFBQUEsQ0FDQSxpQkFBQSxDQUNBLHVCQUFBLENBR0YsSUFDRSxjQUFBLENBR0YsSUFDRSxVQUFBLENBVUYsNEJBS0UscUJBQUEsQ0FZRixzQ0FLRSx1QkFBQSxDQUNBLG9CQUFBLENBQUEsZUFBQSxDQUNBLHFCQUFBLENBQ0EsYUFBQSxDQUNBLFlBQUEsQ0FDQSxzQkFBQSxDQUNBLFNBQUEsQ0FDQSxRQUFBLENBQ0EsZUFBQSxDQUNBLGtCQUFBLENBQ0Esc0JBQUEsQ0FPRixnREFJRSxjQUFBLENBR0Ysb0ZBSUUsY0FBQSxDQU9GLGdCQUNFLFlBQUEsQ0FHRixnQkFDRSxlQUFBLENBT0YsT0FDRSxTQUFBLENBT0YsU0FDRSxRQUFBLENBQ0EsU0FBQSxDQUNBLFdBQUEsQ0FHRixPQUNFLFNBQUEsQ0FPRixTQUNFLHVCQUFBLENBT0YsU0FDRSxhQUFBLENBT0Ysa0ZBRUUsV0FBQSxDQU9GLGNBQ0UsbUJBQUEsQ0FPRix5Q0FDRSx1QkFBQSxDQVFGLDZCQUNFLHlCQUFBLENBQ0EsWUFBQSxDQU1GLGNBQ0UseUJBQUEsQ0FPRixXQUNFLGNBQUEsQ0FVRixRQUNFLGFBQUEsQ0FPRixRQUNFLGlCQUFBLENBT0Ysd0JBQ0UsWUFBQSxDQVVGLE1BQ0Usb0JBQUEsQ0FDQSx3QkFBQSxDQUdGLFFBQ0UsZUFBQSxDQUdGLE1BRUUsa0JBQUEsQ0FDQSxTQUFBLENBR0YsR0FDRSxlQUFBLENBQ0EsZ0JBQUEsQ0YzWkYsS0FDRSxrQkFBQSxDQUNBLHFDQUFBLENBR0YsU0FDRSxpQkFBQSxDQUNBLGlCQUFBLENBR0YsYUFDRSxtQkFBQSxDQUdGLFlBQ0UsZUFBQSxDQUNBLDZCQUFBLENBQ0Esb0JBQUEsQ0FDQSxpQkFBQSxDQUNBLGdCQUFBLENBTUEsb0JBQ0UsbUJBQUEsQ0FDQSxlQUFBLENBSUosWUFDRSxjQUFBLENBQ0EsZUFBQSxDQUNBLGlCQUFBLENBQ0Esa0JBQUEsQ0FDQSxtQkFBQSxDQUdGLFdBQ0UsV0FBQSxDQUNBLGVBQUEsQ0FDQSxXQUFBLENBQ0Esb0JBQUEsQ0FHRixvQkFDRSxlQUFBLENBQ0Esb0JBQUEsQ0FHRixpQkFDRSxvQkFBQSxDQUFBLG1CQUFBLENBQUEsWUFBQSxDQUNBLHFDQUFBLENBQUEscUJBQUEsQ0FBQSw2QkFBQSxDQUNBLGNBQUEsQ0FDQSwrQkFBQSxDQUVBLDZCQUNFLGFBQUEsQ0FJSixrQkFDRSxjQUFBLENBQ0Esa0JBQUEsQ0FHRixtQkFDRSxjQUFBLENBR0YsbUJBQ0UsY0FBQSxDQUNBLGlCQUFBLENBQ0Esa0JBQUEsQ0FDQSwwQkFBQSxDQUNBLG1CQUFBLENBR0YsWUFDRSxjQUFBLENBQ0EsZUFBQSxDQUNBLGtCQUFBLENBQ0EsbUJBQUEsQ0FDQSwrQkFBQSxDQUlBLGtDQUNFLGtCQUFBLENBSUosWUFDRSxjQUFBLENBQ0EsZUFBQSxDQUNBLGtCQUFBLENBR0YsV0FDRSxjQUFBLENBQ0EsZUFBQSxDQUNBLG9CQUFBLENBSUEsd0JBQ0Usd0JBQUEsQ0FDQSw0QkFBQSxDQUlKLFVBQ0UsU0FBQSxDQUNBLGlCQUFBLENBQ0Esa0NBQUEsQ0FBQSwwQkFBQSxDQUNBLGlCQUFBLENBR0Ysa0JBQ0UsU0FBQSxDQUNBLGtCQUFBLENBQ0EsaUNBQUEsQ0FBQSx5QkFBQSxDRzlIRixxQ0FDRSxRQUNFLHVCQUFBLENBREYsUUFDRSx1QkFBQSxDSGdCSixZQVFJLGdCQUFBLENHeEJBLENBSUoscUNBQ0UsUUFDRSx1QkFBQSxDQURGLFFBQ0UsdUJBQUEsQ0FBQSIsImZpbGUiOiJob21lLm1pbi5jc3MifQ== */
\ No newline at end of file
{"version":3,"sourceRoot":"","sources":["../../../src/assets/styles/home.min.scss","../../../src/assets/styles/utils/_mixins.scss","../../../src/assets/styles/utils/_variables.scss","../../../src/assets/styles/base/_base.scss"],"names":[],"mappings":"AAGQ,yFCFR,qCACE,QACE,yBAIJ,qCACE,QACE,yBARJ,qCACE,QACE,yBAIJ,qCACE,QACE,yBCEJ,MACE,wBACA,oBCTF,sFAKA,mBAGE,sBACA,mBACA,eAYF,KACE,iBACA,8BACA,wCAUF,KACE,SAOF,KACE,cAMF,qDASE,SAMF,kBAME,kBACA,oBACA,SAMF,MAEE,SACA,UACA,gBAMF,GACE,iBAGF,GACE,cAWF,GACE,uBACA,SACA,iBACA,qBACA,SACA,WACA,cAQF,IACE,gCACA,kBAGF,QACE,mBAUF,EACE,6BACA,qBACA,cAQF,YACE,iCAOF,SAEE,mBAQF,cAGE,gCACA,kBAOF,MACE,cAQF,QAEE,cACA,cACA,kBACA,wBAGF,IACE,eAGF,IACE,WAUF,4BAKE,sBAYF,sCAKE,wBACA,gBACA,sBACA,cACA,aACA,uBACA,UACA,SACA,gBACA,mBACA,uBAOF,gDAIE,eAGF,oFAIE,eAOF,gBACE,aAGF,gBACE,gBAOF,OACE,UAOF,SACE,SACA,UACA,YAGF,OACE,UAOF,SACE,wBAOF,SACE,cAOF,kFAEE,YAOF,cACE,oBAOF,yCACE,wBAQF,6BACE,0BACA,aAMF,cACE,0BAOF,WACE,eAUF,QACE,cAOF,QACE,kBAOF,wBACE,aAUF,MACE,qBACA,yBAGF,QACE,gBAGF,MAEE,mBACA,UAGF,GACE,gBACA,iBH3ZF,KACE,mBACA,sCAGF,SACE,kBACA,kBAGF,aACE,oBAGF,YACE,gBACA,8BACA,qBACA,kBACA,iBCgBA,qCDrBF,YAQI,kBAGF,oBACE,oBACA,gBAIJ,YACE,eACA,gBACA,kBACA,mBACA,oBAGF,WACE,YACA,gBACA,YACA,qBAGF,oBACE,gBACA,qBAGF,iBACE,aACA,8BACA,eACA,gCAEA,6BACE,cAIJ,kBACE,eACA,mBAGF,mBACE,eAGF,mBACE,eACA,kBACA,mBACA,2BACA,oBAGF,YACE,eACA,gBACA,mBACA,oBACA,gCAIA,kCACE,mBAIJ,YACE,eACA,gBACA,mBAGF,WACE,eACA,gBACA,qBAIA,wBACE,yBACA,6BAIJ,UACE,UACA,kBACA,2BACA,kBAGF,kBACE,UACA,mBACA","file":"home.min.css"}
\ No newline at end of file
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>js勉強</title>
<meta name="description" content="js勉強">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="format-detection" content="telephone=no">
<!-- ページ個別CSS-->
<link rel="stylesheet" href="/assets/styles/home.min.css">
<!-- モーダル用CSS-->
<link rel="stylesheet" href="/assets/styles/dist/modal.min.css">
<!-- ファビコン-->
<link rel="icon" href="/assets/img/share/favicon.ico">
<!-- フォント-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&amp;family=Roboto+Slab:wght@400;500&amp;display=swap" rel="stylesheet">
<!-- throttle-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-throttle-debounce/1.1/jquery.ba-throttle-debounce.js"></script>
</head>
<body>
<!-- Google Tag Manager (noscript)-->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5MVZG2P" height="0" width="0" style="display:none;visibility:hidden"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript)-->
<div class="modalBackground">
<div class="modal">
<div class="modalInner">
<h2 class="modal__title">吾輩は猫である</h2>
<p class="modal__text">吾輩わがはいは猫である。名前はまだ無い。どこで生れたかとんと見当けんとうがつかぬ。何でも薄暗いじめじめした所でニャーニャー泣いていた事だけは記憶している。</p><a class="modal__button" href="">閉じる</a>
<div class="close">
<div class="close__line --type01"></div>
<div class="close__line --type02"></div>
</div>
</div>
</div>
<div class="modal">
<div class="modalInner">
<h2 class="modal__title">銀河鉄道の夜</h2>
<p class="modal__text">「ではみなさんは、そういうふうに川だと云いわれたり、乳の流れたあとだと云われたりしていたこのぼんやりと白いものがほんとうは何かご承知ですか。」先生は、黒板に吊つるした大きな黒い星座の図の、上から下へ白くけぶった銀河帯のようなところを指さしながら、みんなに問といをかけました。</p><a class="modal__button" href="">閉じる</a>
<div class="close">
<div class="close__line --type01"></div>
<div class="close__line --type02"></div>
</div>
</div>
</div>
<div class="modal">
<div class="modalInner">
<h2 class="modal__title">風の歌を聴け</h2>
<p class="modal__text">「完璧な文章などといったものは存在しない。完璧な絶望が存在しないようにね。」僕が大学生のころ偶然に知り合ったある作家は僕に向ってそう言った。僕がその本当の意味を理解できたのはずっと後のことだったが、少くともそれをある種の慰めとしてとることも可能であった。</p><a class="modal__button" href="">閉じる</a>
<div class="close">
<div class="close__line --type01"></div>
<div class="close__line --type02"></div>
</div>
</div>
</div>
</div>
<div class="contentWrap">
<div class="content">
<div class="contentBox">
<h1 class="novelTitle">お気に入りの小説リスト</h1>
<ul class="novelList">
<li class="novelList__item">
<div class="novelList__content">
<h2 class="novelList__title">吾輩は猫である</h2>
<p class="novelList__author">夏目漱石</p>
</div><a class="novelList__button" href="">詳細を見る</a>
</li>
<li class="novelList__item">
<div class="novelList__content">
<h2 class="novelList__title">銀河鉄道の夜</h2>
<p class="novelList__author">宮沢賢治</p>
</div><a class="novelList__button" href="">詳細を見る</a>
</li>
<li class="novelList__item">
<div class="novelList__content">
<h2 class="novelList__title">風の歌を聴け</h2>
<p class="novelList__author">村上春樹</p>
</div><a class="novelList__button" href="">詳細を見る</a>
</li>
</ul>
</div>
</div>
<div class="content">
<div class="contentBox --music">
<h1 class="musicTitle">The Beatles Album List</h1>
<ul class="musicList">
<li class="musicList__item scrollUp">
<h2 class="albumTitle">Please Please Me</h2>
<ul class="albumList">
<li class="albumList__item">I Saw Her Standing There</li>
<li class="albumList__item">Misery</li>
<li class="albumList__item">Anna (Go To Him)</li>
<li class="albumList__item">Chains</li>
<li class="albumList__item">Boys</li>
</ul>
</li>
<li class="musicList__item scrollUp">
<h2 class="albumTitle">With The Beatles</h2>
<ul class="albumList">
<li class="albumList__item">It Won't Be Long</li>
<li class="albumList__item">All I've Got To Do</li>
<li class="albumList__item">All My Loving</li>
<li class="albumList__item">Don't Bother Me</li>
<li class="albumList__item">Little Child</li>
</ul>
</li>
<li class="musicList__item scrollUp">
<h2 class="albumTitle">A Hard Day's Night</h2>
<ul class="albumList">
<li class="albumList__item">A Hard Day's Night</li>
<li class="albumList__item">I Should Have Known Better</li>
<li class="albumList__item">If I Fell</li>
<li class="albumList__item">I'm Happy Just To Dance With You</li>
<li class="albumList__item">And I Love Her</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.js"></script>
<!-- ページ個別JS-->
<script src="/assets/js/home.js"></script>
</body>
</html>
\ No newline at end of file
../acorn/bin/acorn
\ No newline at end of file
../atob/bin/atob.js
\ No newline at end of file
../autoprefixer/bin/autoprefixer
\ No newline at end of file
../babylon/bin/babylon.js
\ No newline at end of file
../browser-sync/dist/bin.js
\ No newline at end of file
../browserslist/cli.js
\ No newline at end of file
../chokidar-cli/index.js
\ No newline at end of file
../cpx/bin/index.js
\ No newline at end of file
../dev-ip/lib/dev-ip.js
\ No newline at end of file
../envinfo/dist/cli.js
\ No newline at end of file
../import-local/fixtures/cli.js
\ No newline at end of file
../localtunnel/bin/lt.js
\ No newline at end of file
../mime/cli.js
\ No newline at end of file
../mkdirp/bin/cmd.js
\ No newline at end of file
../mozjpeg/cli.js
\ No newline at end of file
../nanoid/bin/nanoid.cjs
\ No newline at end of file
../which/bin/node-which
\ No newline at end of file
../npm-run-all/bin/npm-run-all/index.js
\ No newline at end of file
../@babel/parser/bin/babel-parser.js
\ No newline at end of file
../pidtree/bin/pidtree.js
\ No newline at end of file
../pngquant-bin/cli.js
\ No newline at end of file
../postcss-cli/index.js
\ No newline at end of file
../printj/bin/printj.njs
\ No newline at end of file
../pug-cli/index.js
\ No newline at end of file
../pug-cli/index.js
\ No newline at end of file
../renamer/bin/cli.js
\ No newline at end of file
../rimraf/bin.js
\ No newline at end of file
../npm-run-all/bin/run-p/index.js
\ No newline at end of file
../npm-run-all/bin/run-s/index.js
\ No newline at end of file
../sass/sass.js
\ No newline at end of file
../seek-bzip/bin/seek-bunzip
\ No newline at end of file
../seek-bzip/bin/seek-bzip-table
\ No newline at end of file
../semver/bin/semver.js
\ No newline at end of file
../svgo/bin/svgo
\ No newline at end of file
../terser/bin/terser
\ No newline at end of file
../stream-throttle/bin/throttleproxy.js
\ No newline at end of file
../typescript/bin/tsc
\ No newline at end of file
../typescript/bin/tsserver
\ No newline at end of file
../uglify-js/bin/uglifyjs
\ No newline at end of file
../uuid/bin/uuid
\ No newline at end of file
../webpack/bin/webpack.js
\ No newline at end of file
../webpack-cli/bin/cli.js
\ No newline at end of file
../fast-xml-parser/cli.js
\ No newline at end of file
This diff could not be displayed because it is too large.
MIT License
Copyright (c) 2014-present Sebastian McKenzie and other contributors
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# @babel/helper-validator-identifier
> Validate identifier/keywords name
See our website [@babel/helper-validator-identifier](https://babeljs.io/docs/en/babel-helper-validator-identifier) for more information.
## Install
Using npm:
```sh
npm install --save-dev @babel/helper-validator-identifier
```
or using yarn:
```sh
yarn add @babel/helper-validator-identifier --dev
```
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
Object.defineProperty(exports, "isIdentifierName", {
enumerable: true,
get: function () {
return _identifier.isIdentifierName;
}
});
Object.defineProperty(exports, "isIdentifierChar", {
enumerable: true,
get: function () {
return _identifier.isIdentifierChar;
}
});
Object.defineProperty(exports, "isIdentifierStart", {
enumerable: true,
get: function () {
return _identifier.isIdentifierStart;
}
});
Object.defineProperty(exports, "isReservedWord", {
enumerable: true,
get: function () {
return _keyword.isReservedWord;
}
});
Object.defineProperty(exports, "isStrictBindOnlyReservedWord", {
enumerable: true,
get: function () {
return _keyword.isStrictBindOnlyReservedWord;
}
});
Object.defineProperty(exports, "isStrictBindReservedWord", {
enumerable: true,
get: function () {
return _keyword.isStrictBindReservedWord;
}
});
Object.defineProperty(exports, "isStrictReservedWord", {
enumerable: true,
get: function () {
return _keyword.isStrictReservedWord;
}
});
Object.defineProperty(exports, "isKeyword", {
enumerable: true,
get: function () {
return _keyword.isKeyword;
}
});
var _identifier = require("./identifier");
var _keyword = require("./keyword");
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isReservedWord = isReservedWord;
exports.isStrictReservedWord = isStrictReservedWord;
exports.isStrictBindOnlyReservedWord = isStrictBindOnlyReservedWord;
exports.isStrictBindReservedWord = isStrictBindReservedWord;
exports.isKeyword = isKeyword;
const reservedWords = {
keyword: ["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete"],
strict: ["implements", "interface", "let", "package", "private", "protected", "public", "static", "yield"],
strictBind: ["eval", "arguments"]
};
const keywords = new Set(reservedWords.keyword);
const reservedWordsStrictSet = new Set(reservedWords.strict);
const reservedWordsStrictBindSet = new Set(reservedWords.strictBind);
function isReservedWord(word, inModule) {
return inModule && word === "await" || word === "enum";
}
function isStrictReservedWord(word, inModule) {
return isReservedWord(word, inModule) || reservedWordsStrictSet.has(word);
}
function isStrictBindOnlyReservedWord(word) {
return reservedWordsStrictBindSet.has(word);
}
function isStrictBindReservedWord(word, inModule) {
return isStrictReservedWord(word, inModule) || isStrictBindOnlyReservedWord(word);
}
function isKeyword(word) {
return keywords.has(word);
}
\ No newline at end of file
{
"name": "@babel/helper-validator-identifier",
"version": "7.15.7",
"description": "Validate identifier/keywords name",
"repository": {
"type": "git",
"url": "https://github.com/babel/babel.git",
"directory": "packages/babel-helper-validator-identifier"
},
"license": "MIT",
"publishConfig": {
"access": "public"
},
"main": "./lib/index.js",
"exports": "./lib/index.js",
"devDependencies": {
"@unicode/unicode-14.0.0": "^1.2.1",
"charcodes": "^0.2.0"
},
"engines": {
"node": ">=6.9.0"
},
"author": "The Babel Team (https://babel.dev/team)"
}
\ No newline at end of file
"use strict";
// Always use the latest available version of Unicode!
// https://tc39.github.io/ecma262/#sec-conformance
const version = "14.0.0";
const start = require("@unicode/unicode-" +
version +
"/Binary_Property/ID_Start/code-points.js").filter(function (ch) {
return ch > 0x7f;
});
let last = -1;
const cont = [0x200c, 0x200d].concat(
require("@unicode/unicode-" +
version +
"/Binary_Property/ID_Continue/code-points.js").filter(function (ch) {
return ch > 0x7f && search(start, ch, last + 1) == -1;
})
);
function search(arr, ch, starting) {
for (let i = starting; arr[i] <= ch && i < arr.length; last = i++) {
if (arr[i] === ch) return i;
}
return -1;
}
function pad(str, width) {
while (str.length < width) str = "0" + str;
return str;
}
function esc(code) {
const hex = code.toString(16);
if (hex.length <= 2) return "\\x" + pad(hex, 2);
else return "\\u" + pad(hex, 4);
}
function generate(chars) {
const astral = [];
let re = "";
for (let i = 0, at = 0x10000; i < chars.length; i++) {
const from = chars[i];
let to = from;
while (i < chars.length - 1 && chars[i + 1] == to + 1) {
i++;
to++;
}
if (to <= 0xffff) {
if (from == to) re += esc(from);
else if (from + 1 == to) re += esc(from) + esc(to);
else re += esc(from) + "-" + esc(to);
} else {
astral.push(from - at, to - from);
at = to;
}
}
return { nonASCII: re, astral: astral };
}
const startData = generate(start);
const contData = generate(cont);
console.log("/* prettier-ignore */");
console.log('let nonASCIIidentifierStartChars = "' + startData.nonASCII + '";');
console.log("/* prettier-ignore */");
console.log('let nonASCIIidentifierChars = "' + contData.nonASCII + '";');
console.log("/* prettier-ignore */");
console.log(
"const astralIdentifierStartCodes = " + JSON.stringify(startData.astral) + ";"
);
console.log("/* prettier-ignore */");
console.log(
"const astralIdentifierCodes = " + JSON.stringify(contData.astral) + ";"
);
Copyright (C) 2012-2014 by various contributors (see AUTHORS)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
# @babel/parser
> A JavaScript parser
See our website [@babel/parser](https://babeljs.io/docs/en/babel-parser) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20parser%20(babylon)%22+is%3Aopen) associated with this package.
## Install
Using npm:
```sh
npm install --save-dev @babel/parser
```
or using yarn:
```sh
yarn add @babel/parser --dev
```
#!/usr/bin/env node
/* eslint no-var: 0 */
var parser = require("..");
var fs = require("fs");
var filename = process.argv[2];
if (!filename) {
console.error("no filename specified");
} else {
var file = fs.readFileSync(filename, "utf8");
var ast = parser.parse(file);
console.log(JSON.stringify(ast, null, " "));
}
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
{
"name": "@babel/parser",
"version": "7.16.4",
"description": "A JavaScript parser",
"author": "The Babel Team (https://babel.dev/team)",
"homepage": "https://babel.dev/docs/en/next/babel-parser",
"bugs": "https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A+parser+%28babylon%29%22+is%3Aopen",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"keywords": [
"babel",
"javascript",
"parser",
"tc39",
"ecmascript",
"@babel/parser"
],
"repository": {
"type": "git",
"url": "https://github.com/babel/babel.git",
"directory": "packages/babel-parser"
},
"main": "./lib/index.js",
"types": "./typings/babel-parser.d.ts",
"files": [
"bin",
"lib",
"typings"
],
"engines": {
"node": ">=6.0.0"
},
"devDependencies": {
"@babel/code-frame": "^7.16.0",
"@babel/helper-fixtures": "^7.16.0",
"@babel/helper-validator-identifier": "^7.15.7",
"charcodes": "^0.2.0"
},
"bin": "./bin/babel-parser.js"
}
\ No newline at end of file
// Type definitions for @babel/parser
// Project: https://github.com/babel/babel/tree/main/packages/babel-parser
// Definitions by: Troy Gerwien <https://github.com/yortus>
// Marvin Hagemeister <https://github.com/marvinhagemeister>
// Avi Vahl <https://github.com/AviVahl>
// TypeScript Version: 2.9
/**
* Parse the provided code as an entire ECMAScript program.
*/
export function parse(
input: string,
options?: ParserOptions
): ParseResult<import("@babel/types").File>;
/**
* Parse the provided code as a single expression.
*/
export function parseExpression(
input: string,
options?: ParserOptions
): ParseResult<import("@babel/types").Expression>;
export interface ParserOptions {
/**
* By default, import and export declarations can only appear at a program's top level.
* Setting this option to true allows them anywhere where a statement is allowed.
*/
allowImportExportEverywhere?: boolean;
/**
* By default, await use is not allowed outside of an async function.
* Set this to true to accept such code.
*/
allowAwaitOutsideFunction?: boolean;
/**
* By default, a return statement at the top level raises an error.
* Set this to true to accept such code.
*/
allowReturnOutsideFunction?: boolean;
allowSuperOutsideMethod?: boolean;
/**
* By default, exported identifiers must refer to a declared variable.
* Set this to true to allow export statements to reference undeclared variables.
*/
allowUndeclaredExports?: boolean;
/**
* By default, Babel attaches comments to adjacent AST nodes.
* When this option is set to false, comments are not attached.
* It can provide up to 30% performance improvement when the input code has many comments.
* @babel/eslint-parser will set it for you.
* It is not recommended to use attachComment: false with Babel transform,
* as doing so removes all the comments in output code, and renders annotations such as
* /* istanbul ignore next *\/ nonfunctional.
*/
attachComment?: boolean;
/**
* By default, Babel always throws an error when it finds some invalid code.
* When this option is set to true, it will store the parsing error and
* try to continue parsing the invalid input file.
*/
errorRecovery?: boolean;
/**
* Indicate the mode the code should be parsed in.
* Can be one of "script", "module", or "unambiguous". Defaults to "script".
* "unambiguous" will make @babel/parser attempt to guess, based on the presence
* of ES6 import or export statements.
* Files with ES6 imports and exports are considered "module" and are otherwise "script".
*/
sourceType?: "script" | "module" | "unambiguous";
/**
* Correlate output AST nodes with their source filename.
* Useful when generating code and source maps from the ASTs of multiple input files.
*/
sourceFilename?: string;
/**
* By default, the first line of code parsed is treated as line 1.
* You can provide a line number to alternatively start with.
* Useful for integration with other source tools.
*/
startLine?: number;
/**
* Array containing the plugins that you want to enable.
*/
plugins?: ParserPlugin[];
/**
* Should the parser work in strict mode.
* Defaults to true if sourceType === 'module'. Otherwise, false.
*/
strictMode?: boolean;
/**
* Adds a ranges property to each node: [node.start, node.end]
*/
ranges?: boolean;
/**
* Adds all parsed tokens to a tokens property on the File node.
*/
tokens?: boolean;
/**
* By default, the parser adds information about parentheses by setting
* `extra.parenthesized` to `true` as needed.
* When this option is `true` the parser creates `ParenthesizedExpression`
* AST nodes instead of using the `extra` property.
*/
createParenthesizedExpressions?: boolean;
}
export type ParserPlugin =
| "asyncDoExpressions"
| "asyncGenerators"
| "bigInt"
| "classPrivateMethods"
| "classPrivateProperties"
| "classProperties"
| "classStaticBlock" // Enabled by default
| "decimal"
| "decorators"
| "decorators-legacy"
| "doExpressions"
| "dynamicImport"
| "estree"
| "exportDefaultFrom"
| "exportNamespaceFrom" // deprecated
| "flow"
| "flowComments"
| "functionBind"
| "functionSent"
| "importMeta"
| "jsx"
| "logicalAssignment"
| "importAssertions"
| "moduleBlocks"
| "moduleStringNames"
| "nullishCoalescingOperator"
| "numericSeparator"
| "objectRestSpread"
| "optionalCatchBinding"
| "optionalChaining"
| "partialApplication"
| "pipelineOperator"
| "placeholders"
| "privateIn" // Enabled by default
| "throwExpressions"
| "topLevelAwait"
| "typescript"
| "v8intrinsic"
| ParserPluginWithOptions;
export type ParserPluginWithOptions =
| ["decorators", DecoratorsPluginOptions]
| ["pipelineOperator", PipelineOperatorPluginOptions]
| ["recordAndTuple", RecordAndTuplePluginOptions]
| ["flow", FlowPluginOptions]
| ["typescript", TypeScriptPluginOptions];
export interface DecoratorsPluginOptions {
decoratorsBeforeExport?: boolean;
}
export interface PipelineOperatorPluginOptions {
proposal: "minimal" | "fsharp" | "hack" | "smart";
topicToken?: "%" | "#";
}
export interface RecordAndTuplePluginOptions {
syntaxType: "bar" | "hash";
}
export interface FlowPluginOptions {
all?: boolean;
}
export interface TypeScriptPluginOptions {
dts?: boolean;
disallowAmbiguousJSXLike?: boolean;
}
export const tokTypes: {
// todo(flow->ts) real token type
[name: string]: any;
};
export interface ParseError {
code: string;
reasonCode: string;
}
type ParseResult<Result> = Result & {
errors: ParseError[];
};
MIT License
Copyright (c) 2014-present Sebastian McKenzie and other contributors
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
# @babel/types
> Babel Types is a Lodash-esque utility library for AST nodes
See our website [@babel/types](https://babeljs.io/docs/en/babel-types) for more information or the [issues](https://github.com/babel/babel/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22pkg%3A%20types%22+is%3Aopen) associated with this package.
## Install
Using npm:
```sh
npm install --save-dev @babel/types
```
or using yarn:
```sh
yarn add @babel/types --dev
```
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = assertNode;
var _isNode = require("../validators/isNode");
function assertNode(node) {
if (!(0, _isNode.default)(node)) {
var _node$type;
const type = (_node$type = node == null ? void 0 : node.type) != null ? _node$type : JSON.stringify(node);
throw new TypeError(`Not a valid node of type "${type}"`);
}
}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = builder;
var _definitions = require("../definitions");
var _validate = require("../validators/validate");
function builder() {
const type = this;
const keys = _definitions.BUILDER_KEYS[type];
const countArgs = arguments.length;
if (countArgs > keys.length) {
throw new Error(`${type}: Too many arguments passed. Received ${countArgs} but can receive no more than ${keys.length}`);
}
const node = {
type
};
for (let i = 0; i < keys.length; ++i) {
const key = keys[i];
const field = _definitions.NODE_FIELDS[type][key];
let arg;
if (i < countArgs) arg = arguments[i];
if (arg === undefined) {
arg = Array.isArray(field.default) ? [] : field.default;
}
node[key] = arg;
}
for (const key in node) {
(0, _validate.default)(node, key, node[key]);
}
return node;
}
\ No newline at end of file
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = createFlowUnionType;
var _generated = require("../generated");
var _removeTypeDuplicates = require("../../modifications/flow/removeTypeDuplicates");
function createFlowUnionType(types) {
const flattened = (0, _removeTypeDuplicates.default)(types);
if (flattened.length === 1) {
return flattened[0];
} else {
return (0, _generated.unionTypeAnnotation)(flattened);
}
}
\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!