diff --git a/asset-manifest.json b/asset-manifest.json index f9ee70f..51bf4f2 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,23 +1,23 @@ { "files": { - "main.css": "/static/css/main.5f361e03.chunk.css", - "main.js": "/static/js/main.9c54a2c4.chunk.js", - "main.js.map": "/static/js/main.9c54a2c4.chunk.js.map", - "runtime-main.js": "/static/js/runtime-main.d43e8b39.js", - "runtime-main.js.map": "/static/js/runtime-main.d43e8b39.js.map", - "static/js/2.09de4f42.chunk.js": "/static/js/2.09de4f42.chunk.js", - "static/js/2.09de4f42.chunk.js.map": "/static/js/2.09de4f42.chunk.js.map", - "index.html": "/index.html", - "precache-manifest.46c4234a4ce1741c8c5419f88a0488a2.js": "/precache-manifest.46c4234a4ce1741c8c5419f88a0488a2.js", - "service-worker.js": "/service-worker.js", - "static/css/main.5f361e03.chunk.css.map": "/static/css/main.5f361e03.chunk.css.map", - "static/js/2.09de4f42.chunk.js.LICENSE.txt": "/static/js/2.09de4f42.chunk.js.LICENSE.txt", - "static/media/logo.svg": "/static/media/logo.5d5d9eef.svg" + "main.css": "/adobeassignment/static/css/main.5f361e03.chunk.css", + "main.js": "/adobeassignment/static/js/main.c7a6b6a0.chunk.js", + "main.js.map": "/adobeassignment/static/js/main.c7a6b6a0.chunk.js.map", + "runtime-main.js": "/adobeassignment/static/js/runtime-main.36347226.js", + "runtime-main.js.map": "/adobeassignment/static/js/runtime-main.36347226.js.map", + "static/js/2.09de4f42.chunk.js": "/adobeassignment/static/js/2.09de4f42.chunk.js", + "static/js/2.09de4f42.chunk.js.map": "/adobeassignment/static/js/2.09de4f42.chunk.js.map", + "index.html": "/adobeassignment/index.html", + "precache-manifest.d5dff63efb13eac641c17a1a61aa23e4.js": "/adobeassignment/precache-manifest.d5dff63efb13eac641c17a1a61aa23e4.js", + "service-worker.js": "/adobeassignment/service-worker.js", + "static/css/main.5f361e03.chunk.css.map": "/adobeassignment/static/css/main.5f361e03.chunk.css.map", + "static/js/2.09de4f42.chunk.js.LICENSE.txt": "/adobeassignment/static/js/2.09de4f42.chunk.js.LICENSE.txt", + "static/media/logo.svg": "/adobeassignment/static/media/logo.5d5d9eef.svg" }, "entrypoints": [ - "static/js/runtime-main.d43e8b39.js", + "static/js/runtime-main.36347226.js", "static/js/2.09de4f42.chunk.js", "static/css/main.5f361e03.chunk.css", - "static/js/main.9c54a2c4.chunk.js" + "static/js/main.c7a6b6a0.chunk.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 9572b7b..df4b9b3 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -React App
\ No newline at end of file +React App
\ No newline at end of file diff --git a/precache-manifest.46c4234a4ce1741c8c5419f88a0488a2.js b/precache-manifest.46c4234a4ce1741c8c5419f88a0488a2.js deleted file mode 100644 index 758ae16..0000000 --- a/precache-manifest.46c4234a4ce1741c8c5419f88a0488a2.js +++ /dev/null @@ -1,30 +0,0 @@ -self.__precacheManifest = (self.__precacheManifest || []).concat([ - { - "revision": "54ed38c3a05b7de86b240ca2e7302d4b", - "url": "/index.html" - }, - { - "revision": "523712a40bddd2346aa2", - "url": "/static/css/main.5f361e03.chunk.css" - }, - { - "revision": "c53e76bd3597afcea6bd", - "url": "/static/js/2.09de4f42.chunk.js" - }, - { - "revision": "e88a3e95b5364d46e95b35ae8c0dc27d", - "url": "/static/js/2.09de4f42.chunk.js.LICENSE.txt" - }, - { - "revision": "523712a40bddd2346aa2", - "url": "/static/js/main.9c54a2c4.chunk.js" - }, - { - "revision": "072fa0f922bc3d3bd303", - "url": "/static/js/runtime-main.d43e8b39.js" - }, - { - "revision": "5d5d9eefa31e5e13a6610d9fa7a283bb", - "url": "/static/media/logo.5d5d9eef.svg" - } -]); \ No newline at end of file diff --git a/precache-manifest.d5dff63efb13eac641c17a1a61aa23e4.js b/precache-manifest.d5dff63efb13eac641c17a1a61aa23e4.js new file mode 100644 index 0000000..5fe4eac --- /dev/null +++ b/precache-manifest.d5dff63efb13eac641c17a1a61aa23e4.js @@ -0,0 +1,30 @@ +self.__precacheManifest = (self.__precacheManifest || []).concat([ + { + "revision": "e27623aa24d144482a50a7a5358d9d0b", + "url": "/adobeassignment/index.html" + }, + { + "revision": "fd524f17c14680413ab4", + "url": "/adobeassignment/static/css/main.5f361e03.chunk.css" + }, + { + "revision": "c53e76bd3597afcea6bd", + "url": "/adobeassignment/static/js/2.09de4f42.chunk.js" + }, + { + "revision": "e88a3e95b5364d46e95b35ae8c0dc27d", + "url": "/adobeassignment/static/js/2.09de4f42.chunk.js.LICENSE.txt" + }, + { + "revision": "fd524f17c14680413ab4", + "url": "/adobeassignment/static/js/main.c7a6b6a0.chunk.js" + }, + { + "revision": "36fa49fb38e25d5ef575", + "url": "/adobeassignment/static/js/runtime-main.36347226.js" + }, + { + "revision": "5d5d9eefa31e5e13a6610d9fa7a283bb", + "url": "/adobeassignment/static/media/logo.5d5d9eef.svg" + } +]); \ No newline at end of file diff --git a/service-worker.js b/service-worker.js index 8a607f6..98c8e3e 100644 --- a/service-worker.js +++ b/service-worker.js @@ -14,7 +14,7 @@ importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js"); importScripts( - "/precache-manifest.46c4234a4ce1741c8c5419f88a0488a2.js" + "/adobeassignment/precache-manifest.d5dff63efb13eac641c17a1a61aa23e4.js" ); self.addEventListener('message', (event) => { @@ -33,7 +33,7 @@ workbox.core.clientsClaim(); self.__precacheManifest = [].concat(self.__precacheManifest || []); workbox.precaching.precacheAndRoute(self.__precacheManifest, {}); -workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), { +workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/adobeassignment/index.html"), { blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/], }); diff --git a/static/js/main.9c54a2c4.chunk.js b/static/js/main.c7a6b6a0.chunk.js similarity index 96% rename from static/js/main.9c54a2c4.chunk.js rename to static/js/main.c7a6b6a0.chunk.js index 44bfed2..6cac7af 100644 --- a/static/js/main.9c54a2c4.chunk.js +++ b/static/js/main.c7a6b6a0.chunk.js @@ -1,2 +1,2 @@ (this.webpackJsonpadobeassignment=this.webpackJsonpadobeassignment||[]).push([[0],[,,,function(e,a,n){e.exports=n.p+"static/media/logo.5d5d9eef.svg"},function(e,a,n){e.exports=n(11)},,,,,function(e,a,n){},function(e,a,n){},function(e,a,n){"use strict";n.r(a);var t=n(0),o=n.n(t),r=n(2),c=n.n(r),s=(n(9),n(3)),l=n.n(s);n(10);var i=function(){return o.a.createElement("div",{className:"App"},o.a.createElement("header",{className:"App-header"},o.a.createElement("img",{src:l.a,className:"App-logo",alt:"logo"}),o.a.createElement("p",null,"Edit ",o.a.createElement("code",null,"src/App.js")," and save to reload."),o.a.createElement("a",{className:"App-link",href:"https://reactjs.org",target:"_blank",rel:"noopener noreferrer"},"Learn React")))};Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));c.a.render(o.a.createElement(o.a.StrictMode,null,o.a.createElement(i,null)),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))}],[[4,1,2]]]); -//# sourceMappingURL=main.9c54a2c4.chunk.js.map \ No newline at end of file +//# sourceMappingURL=main.c7a6b6a0.chunk.js.map \ No newline at end of file diff --git a/static/js/main.9c54a2c4.chunk.js.map b/static/js/main.c7a6b6a0.chunk.js.map similarity index 99% rename from static/js/main.9c54a2c4.chunk.js.map rename to static/js/main.c7a6b6a0.chunk.js.map index 6b6e2a3..77d0efe 100644 --- a/static/js/main.9c54a2c4.chunk.js.map +++ b/static/js/main.c7a6b6a0.chunk.js.map @@ -1 +1 @@ -{"version":3,"sources":["logo.svg","App.js","serviceWorker.js","index.js"],"names":["module","exports","App","className","src","logo","alt","href","target","rel","Boolean","window","location","hostname","match","ReactDOM","render","StrictMode","document","getElementById","navigator","serviceWorker","ready","then","registration","unregister","catch","error","console","message"],"mappings":"sGAAAA,EAAOC,QAAU,IAA0B,kC,8KCyB5BC,MArBf,WACE,OACE,yBAAKC,UAAU,OACb,4BAAQA,UAAU,cAChB,yBAAKC,IAAKC,IAAMF,UAAU,WAAWG,IAAI,SACzC,mCACO,4CADP,wBAGA,uBACEH,UAAU,WACVI,KAAK,sBACLC,OAAO,SACPC,IAAI,uBAJN,kBCAYC,QACW,cAA7BC,OAAOC,SAASC,UAEe,UAA7BF,OAAOC,SAASC,UAEhBF,OAAOC,SAASC,SAASC,MACvB,2DCZNC,IAASC,OACP,kBAAC,IAAMC,WAAP,KACE,kBAAC,EAAD,OAEFC,SAASC,eAAe,SDyHpB,kBAAmBC,WACrBA,UAAUC,cAAcC,MACrBC,MAAK,SAAAC,GACJA,EAAaC,gBAEdC,OAAM,SAAAC,GACLC,QAAQD,MAAMA,EAAME,c","file":"static/js/main.9c54a2c4.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/logo.5d5d9eef.svg\";","import React from 'react';\nimport logo from './logo.svg';\nimport './App.css';\n\nfunction App() {\n return (\n
\n
\n \"logo\"\n

\n Edit src/App.js and save to reload.\n

\n \n Learn React\n \n
\n
\n );\n}\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' },\n })\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then(registration => {\n registration.unregister();\n })\n .catch(error => {\n console.error(error.message);\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root')\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["logo.svg","App.js","serviceWorker.js","index.js"],"names":["module","exports","App","className","src","logo","alt","href","target","rel","Boolean","window","location","hostname","match","ReactDOM","render","StrictMode","document","getElementById","navigator","serviceWorker","ready","then","registration","unregister","catch","error","console","message"],"mappings":"sGAAAA,EAAOC,QAAU,IAA0B,kC,8KCyB5BC,MArBf,WACE,OACE,yBAAKC,UAAU,OACb,4BAAQA,UAAU,cAChB,yBAAKC,IAAKC,IAAMF,UAAU,WAAWG,IAAI,SACzC,mCACO,4CADP,wBAGA,uBACEH,UAAU,WACVI,KAAK,sBACLC,OAAO,SACPC,IAAI,uBAJN,kBCAYC,QACW,cAA7BC,OAAOC,SAASC,UAEe,UAA7BF,OAAOC,SAASC,UAEhBF,OAAOC,SAASC,SAASC,MACvB,2DCZNC,IAASC,OACP,kBAAC,IAAMC,WAAP,KACE,kBAAC,EAAD,OAEFC,SAASC,eAAe,SDyHpB,kBAAmBC,WACrBA,UAAUC,cAAcC,MACrBC,MAAK,SAAAC,GACJA,EAAaC,gBAEdC,OAAM,SAAAC,GACLC,QAAQD,MAAMA,EAAME,c","file":"static/js/main.c7a6b6a0.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/logo.5d5d9eef.svg\";","import React from 'react';\nimport logo from './logo.svg';\nimport './App.css';\n\nfunction App() {\n return (\n
\n
\n \"logo\"\n

\n Edit src/App.js and save to reload.\n

\n \n Learn React\n \n
\n
\n );\n}\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' },\n })\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then(registration => {\n registration.unregister();\n })\n .catch(error => {\n console.error(error.message);\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root')\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/runtime-main.d43e8b39.js b/static/js/runtime-main.36347226.js similarity index 84% rename from static/js/runtime-main.d43e8b39.js rename to static/js/runtime-main.36347226.js index 6d104cb..3f9f322 100644 --- a/static/js/runtime-main.d43e8b39.js +++ b/static/js/runtime-main.36347226.js @@ -1,2 +1,2 @@ -!function(e){function t(t){for(var n,a,i=t[0],l=t[1],f=t[2],c=0,s=[];c