mirror of
https://github.com/TrentSPalmer/fcc-challenges.git
synced 2026-11-09 18:35:09 -08:00
add drum-machine-react build
This commit is contained in:
1 parent
b659e8549a
commit
b6e69bd403
16 files changed
+171
-1
No files matched your search
@@ -9,7 +9,7 @@
|
||||
/coverage
|
||||
|
||||
# production
|
||||
build
|
||||
# build
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"files": {
|
||||
"main.css": "/fcc-challenges/drum-machine-react/build/static/css/main.b8f71121.chunk.css",
|
||||
"main.js": "/fcc-challenges/drum-machine-react/build/static/js/main.918fd14d.chunk.js",
|
||||
"main.js.map": "/fcc-challenges/drum-machine-react/build/static/js/main.918fd14d.chunk.js.map",
|
||||
"runtime-main.js": "/fcc-challenges/drum-machine-react/build/static/js/runtime-main.6e36f512.js",
|
||||
"runtime-main.js.map": "/fcc-challenges/drum-machine-react/build/static/js/runtime-main.6e36f512.js.map",
|
||||
"static/js/2.4bb003c3.chunk.js": "/fcc-challenges/drum-machine-react/build/static/js/2.4bb003c3.chunk.js",
|
||||
"static/js/2.4bb003c3.chunk.js.map": "/fcc-challenges/drum-machine-react/build/static/js/2.4bb003c3.chunk.js.map",
|
||||
"index.html": "/fcc-challenges/drum-machine-react/build/index.html",
|
||||
"precache-manifest.3cffdd470858b9b05871cd5a00936e79.js": "/fcc-challenges/drum-machine-react/build/precache-manifest.3cffdd470858b9b05871cd5a00936e79.js",
|
||||
"service-worker.js": "/fcc-challenges/drum-machine-react/build/service-worker.js",
|
||||
"static/css/main.b8f71121.chunk.css.map": "/fcc-challenges/drum-machine-react/build/static/css/main.b8f71121.chunk.css.map",
|
||||
"static/js/2.4bb003c3.chunk.js.LICENSE.txt": "/fcc-challenges/drum-machine-react/build/static/js/2.4bb003c3.chunk.js.LICENSE.txt"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/js/runtime-main.6e36f512.js",
|
||||
"static/js/2.4bb003c3.chunk.js",
|
||||
"static/css/main.b8f71121.chunk.css",
|
||||
"static/js/main.918fd14d.chunk.js"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="#"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/fcc-challenges/drum-machine-react/build/manifest.json"/><title>Drum Machine - Build a Drum Machine - Front End Libraries Projects</title><link href="/fcc-challenges/drum-machine-react/build/static/css/main.b8f71121.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"><div><script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script></div></div><script>!function(e){function r(r){for(var n,a,c=r[0],l=r[1],i=r[2],p=0,s=[];p<c.length;p++)a=c[p],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,i||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,c=1;c<t.length;c++){var l=t[c];0!==o[l]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="/fcc-challenges/drum-machine-react/build/";var c=this["webpackJsonpdrum-machine-react"]=this["webpackJsonpdrum-machine-react"]||[],l=c.push.bind(c);c.push=r,c=c.slice();for(var i=0;i<c.length;i++)r(c[i]);var f=l;t()}([])</script><script src="/fcc-challenges/drum-machine-react/build/static/js/2.4bb003c3.chunk.js"></script><script src="/fcc-challenges/drum-machine-react/build/static/js/main.918fd14d.chunk.js"></script></body></html>
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"short_name": "React App",
|
||||
"name": "Create React App Sample",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon.ico",
|
||||
"sizes": "64x64 32x32 24x24 16x16",
|
||||
"type": "image/x-icon"
|
||||
},
|
||||
{
|
||||
"src": "logo192.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "logo512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
}
|
||||
],
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"theme_color": "#000000",
|
||||
"background_color": "#ffffff"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
self.__precacheManifest = (self.__precacheManifest || []).concat([
|
||||
{
|
||||
"revision": "d3e82201521f4d5855806ae75e4bafb6",
|
||||
"url": "/fcc-challenges/drum-machine-react/build/index.html"
|
||||
},
|
||||
{
|
||||
"revision": "574a193aed7da5eeba28",
|
||||
"url": "/fcc-challenges/drum-machine-react/build/static/css/main.b8f71121.chunk.css"
|
||||
},
|
||||
{
|
||||
"revision": "a74eb87d4ecb8678a8f9",
|
||||
"url": "/fcc-challenges/drum-machine-react/build/static/js/2.4bb003c3.chunk.js"
|
||||
},
|
||||
{
|
||||
"revision": "c64c486544348f10a6d6c716950bc223",
|
||||
"url": "/fcc-challenges/drum-machine-react/build/static/js/2.4bb003c3.chunk.js.LICENSE.txt"
|
||||
},
|
||||
{
|
||||
"revision": "574a193aed7da5eeba28",
|
||||
"url": "/fcc-challenges/drum-machine-react/build/static/js/main.918fd14d.chunk.js"
|
||||
},
|
||||
{
|
||||
"revision": "1839625f9797bc263b56",
|
||||
"url": "/fcc-challenges/drum-machine-react/build/static/js/runtime-main.6e36f512.js"
|
||||
}
|
||||
]);
|
||||
@@ -0,0 +1,3 @@
|
||||
# https://www.robotstxt.org/robotstxt.html
|
||||
User-agent: *
|
||||
Disallow:
|
||||
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* Welcome to your Workbox-powered service worker!
|
||||
*
|
||||
* You'll need to register this file in your web app and you should
|
||||
* disable HTTP caching for this file too.
|
||||
* See https://goo.gl/nhQhGp
|
||||
*
|
||||
* The rest of the code is auto-generated. Please don't update this file
|
||||
* directly; instead, make changes to your Workbox build configuration
|
||||
* and re-run your build process.
|
||||
* See https://goo.gl/2aRDsh
|
||||
*/
|
||||
|
||||
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
|
||||
|
||||
importScripts(
|
||||
"/fcc-challenges/drum-machine-react/build/precache-manifest.3cffdd470858b9b05871cd5a00936e79.js"
|
||||
);
|
||||
|
||||
self.addEventListener('message', (event) => {
|
||||
if (event.data && event.data.type === 'SKIP_WAITING') {
|
||||
self.skipWaiting();
|
||||
}
|
||||
});
|
||||
|
||||
workbox.core.clientsClaim();
|
||||
|
||||
/**
|
||||
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
|
||||
* requests for URLs in the manifest.
|
||||
* See https://goo.gl/S9QRab
|
||||
*/
|
||||
self.__precacheManifest = [].concat(self.__precacheManifest || []);
|
||||
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
|
||||
|
||||
workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/fcc-challenges/drum-machine-react/build/index.html"), {
|
||||
|
||||
blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
|
||||
});
|
||||
@@ -0,0 +1,2 @@
|
||||
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}.App{text-align:center}.attachment-full{height:149px}.attachment-full,.githubLabel{position:absolute;right:0;width:149px}.githubLabel{background-color:#00293c;border:none;height:0;margin-top:-10px}@media (orientation:portrait){.attachment-full{height:99px;width:99px}.githubLabel{width:99px}}@media (orientation:landscape) and (max-height:400px){.attachment-full{height:99px;width:99px}.githubLabel{width:99px}}:root{--global-first-color:#756d58;--global-second-color:#586075;--global-third-color:#607558;--global-fourth-color:#6d5875;--global-black-color:#333}#drum-machine{background:var(--global-first-color);height:100vh;width:100%;overflow:hidden}#display,#drum-machine{display:flex;flex-direction:column}#display{background-color:var(--global-second-color);margin:auto;height:70vh;min-height:400px;width:80vw;border-radius:1rem}#display-bottom,#display-top{flex-basis:19%;width:100%}#display-top{display:flex;flex-direction:column;justify-content:center;text-align:center;font-size:x-large;font-style:oblique}#display-top p{height:10px;margin-top:0}#menuToolTip{position:relative;left:10px;top:20px;background-color:var(--global-first-color);max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content;padding:0 10px;font-size:x-large;font-style:oblique;border-color:#000!important;border-width:2px!important;border-style:solid;border-radius:6px;text-align:center}@media (orientation:landscape) and (max-width:1520px){#display{width:90vw}}@media (orientation:landscape) and (max-width:1258px){#display{width:99vw}}@media (orientation:portrait){#display{margin:auto;height:90vh;width:95vw;min-width:unset;min-height:unset}#display-top{flex-basis:12%;font-size:x-large}#display-bottom{flex-basis:8%}}@media (orientation:portrait) and (max-device-width:750px){#display-top{font-size:large}}@media (orientation:landscape) and (max-device-width:1024px){#display{height:90vh;width:90vw;min-height:unset}}@media (orientation:landscape) and (max-height:400px){#display-top{font-size:large}}#display-middle{flex-basis:62%;width:100%;display:flex;flex-direction:row;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}#display-middle-left{flex-basis:55%;display:flex;flex-direction:row}#display-middle-right{flex-basis:45%;display:flex;flex-direction:row}#display-middle-left-a,#display-middle-left-c{flex-basis:5%}#display-middle-left-b{flex-basis:90%;display:flex;flex-direction:row;justify-content:space-around}#display-middle-right-c{flex-basis:12%;min-width:15px}#display-middle-right-e,#display-middle-right-g{flex-basis:5%}#display-middle-right-e{min-width:50px}#display-middle-right-f{flex-basis:20%;display:flex;flex-direction:row}.volumeToolTipContainer{position:relative;width:0;height:0;top:105%;right:25px}.volumeToolTip{background-color:var(--global-first-color);width:50px;font-size:x-large;font-style:oblique;border-color:#000!important;border-width:2px!important;border-style:solid;border-radius:6px;text-align:center}#menuScrollTip{font-size:x-large;height:16px}@media (orientation:portrait){#display-middle{flex-basis:80%;height:100%;width:100%;display:flex;flex-direction:column-reverse;justify-content:space-around}#display-middle-left{flex-basis:unset}#display-middle-right{flex-basis:unset;justify-content:space-around;width:80%;margin-left:auto;margin-right:auto}#display-middle-right-a,#display-middle-right-c,#display-middle-right-e,#display-middle-right-f,#display-middle-right-g,#menuScrollTip,#volumeTip{display:none}}@media (orientation:portrait) and (max-device-width:750px){#display-middle{margin-top:10px}}@media (orientation:landscape) and (max-device-width:1024px){#display-middle-left{flex-basis:65%}#display-middle-right{flex-basis:35%;justify-content:space-around;margin-left:auto;margin-right:auto}#display-middle-right-a,#display-middle-right-c,#display-middle-right-e,#display-middle-right-f,#display-middle-right-g,#menuScrollTip,#volumeTip{display:none}}@media (orientation:landscape) and (max-device-height:767px){#display-middle-left{flex-basis:60%}#display-middle-right{flex-basis:40%}}#drum-pad-grid{margin:auto;background-color:var(--global-third-color);border-radius:1rem;width:54vh;height:45vh;flex-direction:column;padding:0 0 2vh 2vh}#drum-pad-grid,.drum-pad-row{display:flex;justify-content:space-around}.drum-pad-row{height:33%;flex-direction:row}.drum-pad{border-radius:1rem;width:33%;background-color:var(--global-fourth-color);border:#000;border-width:2px;border-style:solid;margin:2vh 2vh 0 0;text-align:center;display:flex;flex-direction:column;justify-content:space-around;font-size:x-large;font-style:oblique}.drum-pad:active{background-color:var(--global-first-color)}.drum-pad>pLine truncated
|
||||
/*# sourceMappingURL=main.b8f71121.chunk.css.map */
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["index.css","App.css","globalCss.css","DrumMachine.css","DisplayMiddle.css","DrumPadGrid.css","Selection.css","VolumeContainer.css"],"names":[],"mappings":"AAAA,KACE,QAAS,CACT,mJAEY,CACZ,kCAAmC,CACnC,iCACF,CAEA,KACE,yEAEF,CCZA,KACE,iBACF,CAEA,iBAGE,YAEF,CAEA,8BANE,iBAAkB,CAClB,OAAU,CAEV,WAWF,CARA,aACE,wBAAyB,CACzB,WAAY,CAEZ,QAAW,CAGX,gBACF,CAEA,8BACE,iBACE,WAAY,CACZ,UACF,CAEA,aACE,UACF,CACF,CAEA,sDACE,iBACE,WAAY,CACZ,UACF,CAEA,aACE,UACF,CACF,CCzCA,MACE,4BAA6B,CAC7B,6BAA8B,CAC9B,4BAA6B,CAC7B,6BAA8B,CAC9B,yBACF,CCJA,cACE,oCAAqC,CACrC,YAAa,CACb,UAAW,CACX,eAGF,CAEA,uBAJE,YAAa,CACb,qBAYF,CATA,SACE,2CAA4C,CAC5C,WAAY,CACZ,WAAY,CACZ,gBAAiB,CACjB,UAAW,CACX,kBAGF,CAEA,6BACE,cAAe,CACf,UACF,CAEA,aACE,YAAa,CACb,qBAAsB,CACtB,sBAAuB,CACvB,iBAAkB,CAClB,iBAAkB,CAClB,kBACF,CAEA,eACE,WAAY,CACZ,YACF,CAEA,aACE,iBAAkB,CAClB,SAAU,CACV,QAAS,CACT,0CAA2C,CAC3C,6BAAsB,CAAtB,0BAAsB,CAAtB,qBAAsB,CACtB,cAA0B,CAC1B,iBAAkB,CAClB,kBAAmB,CACnB,2BAA8B,CAC9B,0BAA4B,CAC5B,kBAAmB,CACnB,iBAAkB,CAClB,iBACF,CAEA,sDACE,SACE,UACF,CACF,CAEA,sDACE,SACE,UACF,CACF,CAEA,8BACE,SACE,WAAY,CACZ,WAAY,CACZ,UAAW,CACX,eAAgB,CAChB,gBACF,CAEA,aACE,cAAe,CACf,iBACF,CAEA,gBACE,aACF,CACF,CAEA,2DACE,aACE,eACF,CACF,CAEA,6DACE,SACE,WAAY,CACZ,UAAW,CACX,gBACF,CACF,CAEA,sDACE,aACE,eACF,CACF,CC1GA,gBACE,cAAe,CACf,UAAW,CACX,YAAa,CACb,kBAAmB,CACnB,wBAAyB,CACzB,oBAAqB,CACrB,qBAAiB,CAAjB,gBACF,CAEA,qBACE,cAAe,CACf,YAAa,CACb,kBACF,CAEA,sBACE,cAAe,CACf,YAAa,CACb,kBACF,CAEA,8CACE,aACF,CAEA,uBACE,cAAe,CACf,YAAa,CACb,kBAAmB,CACnB,4BACF,CAEA,wBACE,cAAe,CAIf,cAHF,CAMA,gDACE,aACF,CAEA,wBACE,cACF,CAEA,wBACE,cAAe,CACf,YAAa,CACb,kBACF,CAEA,wBACE,iBAAkB,CAClB,OAAQ,CACR,QAAS,CACT,QAAS,CACT,UACF,CAEA,eACE,0CAA2C,CAC3C,UAAW,CACX,iBAAkB,CAClB,kBAAmB,CACnB,2BAA8B,CAC9B,0BAA4B,CAC5B,kBAAmB,CACnB,iBAAkB,CAClB,iBACF,CAEA,eACE,iBAAkB,CAClB,WACF,CAEA,8BACE,gBACE,cAAe,CACf,WAAY,CACZ,UAAW,CACX,YAAa,CACb,6BAA8B,CAC9B,4BACF,CAEA,qBACE,gBACF,CAEA,sBACE,gBAAiB,CACjB,4BAA6B,CAC7B,SAAU,CACV,gBAAiB,CACjB,iBACF,CAMA,kJACE,YACF,CACF,CAEA,2DACE,gBACE,eACF,CACF,CAEA,6DACE,qBACE,cACF,CAEA,sBACE,cAAe,CACf,4BAA6B,CAC7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BACE,UAAW,CACX,WACF,CACF,CCrJA,iCACE,cAAe,CACf,YAAa,CACb,qBAAsB,CACtB,4BACF,CAEA,WACE,gBAAiB,CACjB,iBAAkB,CAClB,UAAW,CACX,eAAgB,CAChB,WAAY,CACZ,eAAgB,CAChB,2CAA4C,CAC5C,kBAAmB,CACnB,gBAAiB,CACjB,kBAAmB,CACnB,YAAa,CACb,kBAAmB,CACnB,4BACF,CAEA,aACE,WAAY,CACZ,iBAAkB,CAClB,eACF,CAEA,kBACE,0CACF,CAGA,8BACE,yCACE,YACF,CAEA,iCACE,gBAAiB,CACjB,eAAgB,CAChB,4BACF,CAEA,WACE,eAAgB,CAChB,eAAgB,CAChB,kBACF,CACF,CAEA,2DACE,WACE,eAAgB,CAChB,eAAgB,CAChB,kBACF,CACF,CAEA,6DACE,yCACE,YACF,CAEA,iCACE,gBAAiB,CACjB,eACF,CACF,CCrEA,kBACE,WAAY,CACZ,YAAa,CACb,UAAW,CACX,YAAa,CACb,qBAAsB,CACtB,6BAA8B,CAC9B,cACF,CAEA,wBACE,YACF,CAEA,QACE,uBAAwB,CACxB,iBAAkB,CAClB,QAAS,CACT,UAAW,CACX,WAAY,CACZ,UAAW,CACX,oCAAqC,CACrC,gCAAyB,CAAzB,wBAAyB,CACzB,iBAAkB,CAClB,WACF,CAEA,cACE,YACF,CAEA,8BACE,uBAAwB,CACxB,WAAY,CACZ,UAAW,CACX,WAAY,CACZ,iBAAkB,CAClB,cAAe,CACf,oCAAqC,CACrC,eACF,CAEA,0BACE,WAAY,CACZ,UAAW,CACX,WAAY,CACZ,iBAAkB,CAClB,oCAAqC,CACrC,cACF,CAEA,YACE,+BACF","file":"main.b8f71121.chunk.css","sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n",".App {\n text-align: center;\n}\n\n.attachment-full {\n position: absolute;\n right: 0px;\n height: 149px;\n width: 149px;\n}\n\n.githubLabel {\n background-color: #00293C;\n border: none;\n width: 149px;\n height: 0px;\n position: absolute;\n right: 0px;\n margin-top: -10px;\n}\n\n@media (orientation: portrait) {\n .attachment-full {\n height: 99px;\n width: 99px;\n }\n\n .githubLabel {\n width: 99px;\n }\nLine truncated
|
||||
@@ -0,0 +1,3 @@
|
||||
/*! For license information please see 2.4bb003c3.chunk.js.LICENSE.txt */
|
||||
(this["webpackJsonpdrum-machine-react"]=this["webpackJsonpdrum-machine-react"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(23)},function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",(function(){return r}))},function(e,t,n){e.exports=n(27)()},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return W}));var r=n(0),o=n.n(r),i=(n(2),o.a.createContext(null));var a=function(e){e()},l={notify:function(){}};function u(){var e=a,t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}var c=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=l,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=u())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=l)},e}();var s=function(e){var t=e.store,n=e.context,a=e.children,l=Object(r.useMemo)((function(){var e=new c(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),u=Object(r.useMemo)((function(){return t.getState()}),[t]);Object(r.useEffect)((function(){var e=l.subscription;return e.trySubscribe(),u!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[l,u]);var s=n||i;return o.a.createElement(s.Provider,{value:l},a)};function f(){return(f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var p=n(16),m=n.n(p),h=n(15),y="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect,v=[],g=[null,null];function b(e,t){var n=e[1];return[t.payload,n+1]}function w(e,t,n){y((function(){return e.apply(void 0,t)}),n)}function k(e,t,n,r,o,i,a){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,a())}function x(e,t,n,r,o,i,a,l,u,c){if(e){var s=!1,f=null,d=function(){if(!s){var e,n,d=t.getState();try{e=r(d,o.current)}catch(p){n=p,f=p}n||(f=null),e===i.current?a.current||u():(i.current=e,l.current=e,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=d,n.trySubscribe(),d();return function(){if(s=!0,n.tryUnsubscribe(),n.onStateChange=null,f)throw f}}}var E=function(){return[null,0]};function T(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,l=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,u=n.methodName,s=void 0===u?"connectAdvanced":u,p=n.renderCountProp,y=void 0===p?void 0:p,T=n.shouldHandleStateChanges,S=void 0===T||T,C=n.storeKey,P=void 0===C?"store":C,_=(n.withRef,n.forwardRef),O=void 0!==_&&_,N=n.context,M=void 0===N?i:N,z=d(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),I=M;return function(t){var n=t.displayName||t.name||"Component",i=l(n),a=f({},z,{getDisplayName:l,methodName:s,renderCountProp:y,shouldHandleStateChanges:S,storeKey:P,displayName:i,wrappedComponentName:n,WrappedComponent:t}),u=z.pure;var p=u?r.useMemo:function(e){return e()};function T(n){var i=Object(r.useMemo)((function(){var e=n.forwardedRef,t=d(n,["forwardedRef"]);return[n.context,e,t]}),[n]),l=i[0],u=i[1],s=i[2],m=Object(r.useMemo)((function(){return l&&l.Consumer&&Object(h.isContextConsumer)(o.a.createElement(l.Consumer,null))?l:I}),[l,I]),y=Object(r.useContext)(m),T=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(y)&&BLine truncated
|
||||
//# sourceMappingURL=2.4bb003c3.chunk.js.map
|
||||
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
object-assign
|
||||
(c) Sindre Sorhus
|
||||
@license MIT
|
||||
*/
|
||||
|
||||
/** @license React v0.19.1
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v16.13.1
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v16.13.1
|
||||
* react-is.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/** @license React v16.13.1
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../node_modules/react/index.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","../node_modules/prop-types/index.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass.js","../node_modules/react-redux/es/components/Context.js","../node_modules/react-redux/es/utils/batch.js","../node_modules/react-redux/es/utils/Subscription.js","../node_modules/react-redux/es/components/Provider.js","../node_modules/@babel/runtime/helpers/esm/extends.js","../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js","../node_modules/react-redux/es/components/connectAdvanced.js","../node_modules/react-redux/es/utils/shallowEqual.js","../node_modules/react-redux/es/connect/wrapMapToProps.js","../node_modules/react-redux/es/connect/mapDispatchToProps.js","../node_modules/react-redux/es/connect/mapStateToProps.js","../node_modules/react-redux/es/connect/mergeProps.js","../node_modules/react-redux/es/connect/selectorFactory.js","../node_modules/react-redux/es/connect/connect.js","../node_modules/react-redux/es/hooks/useSelector.js","../node_modules/react-redux/es/index.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/typeof.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createSuper.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/defineProperty.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2.js","../node_modules/@fortawesome/free-solid-svg-icons/index.es.js","../node_modules/redux/es/redux.js","../node_modules/@fortawesome/react-fontawesome/index.es.js","../node_modules/webpack/buildin/global.js","../node_modules/react-dom/index.js","../node_modules/react-is/index.js","../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","../node_modules/symbol-observable/es/index.js","../node_modules/@fortawesome/fontawesome-svg-core/index.es.js","../node_modules/object-assign/index.js","../node_modules/symbol-observable/es/ponyfill.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/iterableToArray.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","../node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","../node_modules/react/cjs/react.production.min.js","../node_modules/react-dom/cjs/react-dom.production.min.js","../node_modules/scheduler/index.js","../node_modules/scheduler/cjs/scheduler.production.min.js","../node_modules/prop-types/factoryWithThrowingShims.js","../node_modules/prop-types/lib/ReactPropTypesSecret.js","../node_modules/react-is/cjs/react-is.production.min.js","../node_modules/webpack/buildin/harmony-module.js","../node_modules/timers-browserify/main.js","../node_modules/setimmediate/setImmediate.js","../node_modules/process/browser.js"],"names":["module","exports","require","_assertThisInitialized","self","ReferenceError","_classCallCheck","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_createClass","protoProps","staticProps","prototype","ReactReduxContext","React","createContext","batch","callback","nullListeners","notify","createListenerCollection","first","last","clear","listener","next","get","listeners","push","subscribe","isSubscribed","prev","Subscription","store","parentSub","this","unsubscribe","handleChangeWrapper","bind","_proto","addNestedSub","trySubscribe","notifyNestedSubs","onStateChange","Boolean","tryUnsubscribe","Provider","_ref","context","children","contextValue","useMemo","subscription","previousState","getState","useEffect","Context","createElement","value","_extends","assign","arguments","source","hasOwnProperty","call","apply","_objectWithoutPropertiesLoose","exLine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
(this["webpackJsonpdrum-machine-react"]=this["webpackJsonpdrum-machine-react"]||[]).push([[0],{12:function(e,a,t){},22:function(e,a,t){e.exports=t(40)},31:function(e,a,t){},32:function(e,a,t){},33:function(e,a,t){},34:function(e,a,t){},38:function(e,a,t){},39:function(e,a,t){},40:function(e,a,t){"use strict";t.r(a);var C=t(0),r=t.n(C),o=t(14),n=t.n(o),d=t(5),i=t(10),l=["Q","W","E","A","S","D","Z","X","C"],h=function(){l.forEach((function(e){sessionStorage.hasOwnProperty(e+"volume")||sessionStorage.setItem(e+"volume","+0")}))},s=function(){l.forEach((function(e){sessionStorage.hasOwnProperty(e+"isMetronome")||sessionStorage.setItem(e+"isMetronome",!1)}))},v=function(){l.forEach((function(e){sessionStorage.hasOwnProperty(e+"metronomeTempo")||sessionStorage.setItem(e+"metronomeTempo",652)}))},c=function(){sessionStorage.hasOwnProperty(l[0])||sessionStorage.setItem(l[0],"Assorted-Hits/Cymbals/CYCdh_Crash-01.wav"),sessionStorage.hasOwnProperty(l[1])||sessionStorage.setItem(l[1],"Assorted-Hits/Cymbals/CYCdh_MultiCrash-01.wav"),sessionStorage.hasOwnProperty(l[2])||sessionStorage.setItem(l[2],"Assorted-Hits/Cymbals/CYCdh_MultiCrashHi-01.wav"),sessionStorage.hasOwnProperty(l[3])||sessionStorage.setItem(l[3],"Assorted-Hits/Cymbals/CYCdh_MultiCrashLo-01.wav"),sessionStorage.hasOwnProperty(l[4])||sessionStorage.setItem(l[4],"Assorted-Hits/Snares/Ludwig-A/CYCdh_LudFlamA-05.wav"),sessionStorage.hasOwnProperty(l[5])||sessionStorage.setItem(l[5],"Assorted-Hits/Snares/Ludwig-A/CYCdh_LudRimA-07.wav"),sessionStorage.hasOwnProperty(l[6])||sessionStorage.setItem(l[6],"Assorted-Hits/Kicks/Loose-Kick/CYCdh_LooseKick-08.wav"),sessionStorage.hasOwnProperty(l[7])||sessionStorage.setItem(l[7],"Assorted-Hits/Snares/Ludwig-A/CYCdh_LudSnrA-05.wav"),sessionStorage.hasOwnProperty(l[8])||sessionStorage.setItem(l[8],"Assorted-Hits/Snares/Ludwig-A/CYCdh_LudSnrOffA-08.wav")},m=function(){var e={};return l.forEach((function(a){e[a]=sessionStorage.getItem(a)})),e},u=function(e){return{type:"CHANGEVOLUME",volume:e}},_=30;sessionStorage.hasOwnProperty("volume")?_=sessionStorage.getItem("volume"):sessionStorage.setItem("volume","30");var w=function(e){return{type:"DRUMPADGRID",drumPadGrid:e}},Y=function(e){return{type:"SELECTIONMENU",selectionMenu:e}},K=function(e,a){return{type:"TOGGLEMETRONOME",key:e,metronomeIsPlaying:a}},p=function(e,a){return{type:"RESTARTMETRONOME",key:e,restartMetronome:a}},S=Object(i.b)({samplesUrls:function(e,a){switch(e||(c(),e=m()),a.type){case"SETSAMPLE":return e[a.key]=a.sample,e;default:return e=m()}},volumeOffSets:function(e,a){return e||(h(),e=function(){var e={};return l.forEach((function(a){e[a+"volume"]=sessionStorage.getItem(a+"volume")})),e}()),a.type,e},volume:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_,a=arguments.length>1?arguments[1]:void 0;switch(a.type){case"CHANGEVOLUME":return a.volume;default:return e}},drumPadGrid:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"drumPadGrid",a=arguments.length>1?arguments[1]:void 0;switch(a.type){case"DRUMPADGRID":return a.drumPadGrid;default:return e}},selectionMenu:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"pads",a=arguments.length>1?arguments[1]:void 0;switch(a.type){case"SELECTIONMENU":return a.selectionMenu;default:return e}},metronomeStatuses:function(e,a){return s(),a.type,function(){var e={};return l.forEach((function(a){e[a+"isMetronome"]=sessionStorage.getItem(a+"isMetronome")})),e}()},metronomeTempos:function(e,a){switch(e||(v(),e=function(){var e={};return l.forEach((function(a){e[a+"metronomeTempo"]=parseInt(sessionStorage.getItem(a+"metronomeTempo"))})),e}()),a.type){case"SETMETRONOMETEMPO":return e[a.key+"metronomeTempo"]=a.tempo,e;default:return e}},metronomePlayingStates:function(e,a){switch(e||(e=function(){var e={};return l.forEach((function(a){e[a+"metronomeIsPlaying"]=!1})),e}()),a.type){case"TOGGLEMETRONOME":return e[a.key+"metronomeIsPlaying"]=a.metronomeIsPlaying,e;default:return e}},shouldMetronomeRestart:function(e,a){switch(e||(e=function(){var e={};return l.forEach((function(a){e[a+"restartMetronome"]=!1})),e}()),a.type){case"RESTARTMETRONOME":return e[a.key+"restartMetronome"]=a.restartMetronome,e;default:return e}}}),f=Object(i.c)(S),b=(t(31),t(3)),g=t(4),y=t(7),A=t(6),O=(t(32),t(33),t(1)),T=t(8),E=(t(34),t(11)),H=t(9),k=(t(38),function(e){Object(y.a)(t,e);var a=Object(A.a)(t);function t(e){var C;return Object(b.a)(this,t),(C=a.call(this,e)).playSample=C.playSample.bind(Object(O.a)(C)),C.metronome=C.metronome.bind(Object(O.a)(C)),C.getVolume=C.getVolume.bind(Object(O.a)(C)),C.handleKeyPress=C.handleKeyPress.bind(Object(O.a)(C)),C}return Object(g.a)(t,[{key:"playSample",value:function(e){if("false"===this.props.metronomeStatuses[e+"isMetronome"]){var a=document.getElementById(e).src.slice(36);document.getElementById("display-top").innerHTML="<p>"+e+": "+a.replace(/\//g," ").replace(/-/g,"‑")+"</p>";var t=document.getElementById(e),C=this.props.samplLine truncated
|
||||
//# sourceMappingURL=main.918fd14d.chunk.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["Globals.js","reducers/samplesReducer.js","actions/setVolumeAction.js","reducers/setVolumeReducer.js","actions/setDrumPadGridAction.js","actions/setSelectionMenuAction.js","actions/toggleMetronomeIsPlayingAction.js","actions/shouldMetronomeRestartAction.js","reducers/rootReducer.js","actions/setSampleAction.js","reducers/volumeOffSetsReducer.js","reducers/setDrumPadGridReducer.js","reducers/setSelectionMenuReducer.js","reducers/isMetronomeReducer.js","reducers/metronomeTemposReducer.js","actions/setMetronomeTempoAction.js","reducers/isMetronomePlayingReducer.js","reducers/shouldMetronomeRestartReducer.js","store.js","DrumPadGrid.js","Selection.js","SelectVolume.js","Metronome.js","SelectionLeft.js","Reset.js","Stop.js","SelectionRight.js","VolumeContainer.js","wavFiles.js","metronomeTempos.js","SelectionMenu.js","DisplayMiddle.js","DrumMachine.js","App.js","serviceWorker.js","index.js"],"names":["padsArray","initialPadVolumes","forEach","pad","sessionStorage","hasOwnProperty","setItem","initialIsMetronome","initialMetronomeTempos","initialSamples","getUrls","urls","key","getItem","setVolumeAction","volume","type","DEFAULTVOLUME","setDrumPadGridAction","drumPadGrid","setSelectionMenuAction","selectionMenu","toggleMetronomeIsPlayingAction","metronomeIsPlaying","shouldMetronomeRestartAction","restartMetronome","combineReducers","samplesUrls","state","action","sample","volumeOffSets","getVolumeOffSets","metronomeStatuses","getIsMetronomeStatuses","metronomeTempos","parseInt","getMetronomeTempos","tempo","metronomePlayingStates","initMetronomeIsPlaying","shouldMetronomeRestart","restartMetronomes","initRestartMetronome","store","createStore","rootReducer","DrumPadGrid","props","playSample","bind","metronome","getVolume","handleKeyPress","this","audioFileText","document","getElementById","src","slice","innerHTML","replace","sound","audioFile","thisVolume","currentTime","play","setTimeout","soundDuration","Math","floor","duration","keyDuration","newSound","Audio","newSoundDuration","e","includes","keyCode","String","fromCharCode","focus","self","refreshMetronome","setInterval","pause","clearInterval","addEventListener","removeEventListener","rowOfPads","keys","map","item","index","id","className","onClick","icon","faSyncAlt","round","React","Component","connect","dispatch","Selection","handleClick","SelectVolume","Metronome","SelectionLeft","Reset","clear","Stop","SelectionRight","VolumeContainer","handleVolumeChange","target","value","faVolumeUp","min","max","onChange","faVolumeDown","wavFiles","volumeSelectionMenuItems","SelectionMenu","fileStringArray","padSelectingFor","handleMouseOver","handleMouseOut","makeMenuToolTipText","handleBackNav","backToDrumPad","handleEscKey","join","split","setState","event","menuToolTip","createElement","setAttribute","textContent","appendChild","parentNode","removeChild","tabIndex","menuScrollTip","prevProps","substring","length","setMetronomeTempoAction","makeSelectionMenu","menuItems","resultItems","unshift","onMouseEnter","onMouseLeave","makeSelectionMenuItem","Object","filter","push","tempos","keyItems","setSampleAction","DisplayMiddle","showVolumeToolTip","handleMouseOverOut","willShow","DrumMachine","App","href","rel","alt","data-recalc-dims","Boolean","window","location","hostname","match","ReactDOM","render","navigator","serviceWorker","ready","then","registration","unregister","catch","error","console","message"],"mappings":"iXAAaA,EAAY,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,KAS7CC,EAAoB,WAC/BD,EAAUE,SAAQ,SAAAC,GACXC,eAAeC,eAAeF,EAAM,WACvCC,eAAeE,QAAQH,EAAM,SAAS,UAK/BI,EAAqB,WAChCP,EAAUE,SAAQ,SAAAC,GACXC,eAAeC,eAAeF,EAAM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,ICJXC,EAA+B,SAACZ,EAAIa,GAC/C,MAAO,CACLT,KAJ4B,mBAK5BJ,IAAKA,EACLa,iBAAkBA,ICKPC,cAAgB,CAC7BC,YPDa,SAACC,EAAOC,GAMrB,OALKD,IACHnB,IACAmB,EAAQlB,KAGFmB,EAAOb,MACb,IQlBqB,YRoBnB,OADAY,EAAMC,EAAOjB,KAAOiB,EAAOC,OACpBF,EACT,QAEE,OADAA,EAAQlB,MOTZqB,cEHa,SAACH,EAAOC,GAQjB,OAPCD,IACH3B,IACA2B,EAXqB,WACvB,IAAMG,ELine truncated
|
||||
@@ -0,0 +1,2 @@
|
||||
!function(e){function r(r){for(var n,a,c=r[0],l=r[1],i=r[2],p=0,s=[];p<c.length;p++)a=c[p],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&s.push(o[a][0]),o[a]=0;for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n]);for(f&&f(r);s.length;)s.shift()();return u.push.apply(u,i||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,c=1;c<t.length;c++){var l=t[c];0!==o[l]&&(n=!1)}n&&(u.splice(r--,1),e=a(a.s=t[0]))}return e}var n={},o={1:0},u=[];function a(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=n,a.d=function(e,r,t){a.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,r){if(1&r&&(e=a(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)a.d(t,n,function(r){return e[r]}.bind(null,n));return t},a.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(r,"a",r),r},a.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},a.p="/fcc-challenges/drum-machine-react/build/";var c=this["webpackJsonpdrum-machine-react"]=this["webpackJsonpdrum-machine-react"]||[],l=c.push.bind(c);c.push=r,c=c.slice();for(var i=0;i<c.length;i++)r(c[i]);var f=l;t()}([]);
|
||||
//# sourceMappingURL=runtime-main.6e36f512.js.map
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","this","oldJsonpFunction","slice"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAA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AI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOnB,EAAoBS,EAAEc,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRvB,EAAoB2B,EAAI,SAAStB,GAChC,IAAIM,EAASN,GAAUA,EAAOiB,WAC7B,WAAwB,OAAOjB,EAAgB,SAC/C,WAA8B,OAAOA,GAEtC,OADAL,EAAoBS,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRX,EAAoBY,EAAI,SAASgB,EAAQC,GAAY,OAAO/C,OAAOC,UAAUC,eAAeC,KAAK2C,EAAQC,IAGzG7B,EAAoB8B,EAAI,4CAExB,IAAIC,EAAaC,KAAK,kCAAoCA,KAAK,mCAAqC,GAChGC,EAAmBF,EAAW5C,KAAKuC,KAAKK,GAC5CA,EAAW5C,KAAOf,EAClB2D,EAAaA,EAAWG,QACxB,IAAI,IAAIvD,EAAI,EAAGA,EAAIoD,EAAWlD,OAAQF,IAAKP,EAAqB2D,EAAWpD,IAC3E,IAAIU,EAAsB4C,EAI1BxC,I","file":"static/js/runtime-main.6e36f512.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\nLine truncated
|
||||
Reference in new issue
Block a user