diff --git a/arts-gallery/README.md b/arts-gallery/README.md index 9cc366c..4e5c245 100644 --- a/arts-gallery/README.md +++ b/arts-gallery/README.md @@ -1,104 +1,91 @@ -# ArtsGallery +# Art Gallery -You will be creating a full-stack application to save paintings into a gallery by uploading them and saving them into a database. In order to do this you will be using MongoDB with the [Mongoose ODM](http://mongoosejs.com/). Your front end will display views created from data in the database. You will use [ReactJS](https://facebook.github.io/react/) for that, and will serve your application with a [NodeJS](https://nodejs.org/) web server, using [ExpressJS](https://expressjs.com/). +Full-stack application to save paintings into a gallery by uploading them and saving them into a database. -Please work on the following features **in order**, moving on to the next feature only after the one you are working on is complete. **Please commit WORKING code early and often**. In addition, after each step, please follow the guidelines for a commit message. +## Tech Stack -### Part 1 - Paintings Gallery +**Client:** React -1. **As a user**, I want to be able to view the paintings I have in my gallery. If no paintings are present in the database, I will have to see a message indicating that `No paintings in Gallery` and a button to upload new ones. +**Server:** Node, Express, MongoDB, Cloudinary, Multer -To implement this user story, you should: +## API Reference -- Write an ExpressJS web server that listens to request on port `8000`. -- Run this command a brand new React App in a folder named `client`. Then navigate to it. - ``` - npx create-react-app client - cd client/ - ``` -- You may want to use [React Router](https://reactrouter.com/) or [Conditional Rendering](https://www.reactjs.org/docs/conditional-rendering.html) to navigate between components. -- Write a script that would add the dummy data to your database when `npm run seed-database` is run from the command line. Add this command to the `package.json` to be able to run it with `npm`. When you have this working, run the command so that your database is populated. - \_Note: Create a Painting Schema under `server/models/Painting.js`. It should have these following attributes: - - `id`: Number - - `artist`: String _(for the author field)_ - - `name`: String - - `year`: Number -- Complete the route `/api/paintings` in `server/routes/paintings.routes.js` so that requests to this route are responded to with the data for all the paintings, retrieved from the database. -- You can use the `dummy_data.js` for your front end views. Then, you can refactor your front end to retrieve seed data from the server rather than using the dummy data. -- Render each painting in a `Card` containing the image, the name, the artist, and the date. -- **WHEN COMPLETE AND WORKING, make a commit that says `Part 1 Complete`** +#### Get all paintings -### Part 2 - Create new Paintings +```http + GET /api/v1/paintings +``` -1. **As a user**, I want to be able to create new Paintings and save them in the database. First, make this feature work with a simple form where the user can manually input: +#### Get ONE painting -- Name -- Artist -- Year -- Painting url - For consistency, use real data from the internet when you test your application. +```http + GET /api/v1/paintings/${id} +``` -2. **As a user**, I want to be able create new Paintings by uploading images from my local machine. - For this, you should: +| Parameter | Type | Description | +| :-------- | :------- | :-------------------------------- | +| `_id` | `ObjectID` | **Required**. Id of painting to fetch | -- Add an input of type `file` to your form where user can upload images -- Use `FormData` to send a request including data and files -- Use [multer](https://www.npmjs.com/package/multer) to handle requests including files -- Use [Cloudinary](https://cloudinary.com/) to store images in the cloud and generate urls -- Save the Painting with the data from the inputs and the url generated by Cloudinary -- **WHEN COMPLETE AND WORKING, make a commit that says `Part 2 Complete`** -### Part 3 - Edit Existing Paintings +#### Create painting -1. **As a user**, I want to update existing paintings in the database. +```http + POST /api/v1/paintings +``` -- With every Painting Card, there should be an `Edit` button. -- When the user clicks on `Edit`, a new `Modal` should be rendered -- The `Modal` will contain a **prefilled** form with the data of the selected painting -- The user can click on `Cancel` to close the Modal -- The user can update the data and click on `save` -- The modal will be closed and the data of the painting will be updated in the `PaitningList` component +#### Update painting -- **WHEN COMPLETE AND WORKING, make a commit that says `Part 3 Complete`** +```http + GET /api/v1/paintings/${id} +``` -### Part 4 - Delete Painting +| Parameter | Type | Description | +| :-------- | :------- | :-------------------------------- | +| `_id` | `ObjectID` | **Required**. Id of painting to update | -1. **As a user**, I want to be able to delete existing paintings from the database +#### Delete painting -- Each painting card will contain a `Delete` button -- When the user clicks on the `Delete` button, a `Modal` will be rendered with 2 options: `Confirm` and `Cancel` -- Clicking on `Confirm` will delete the painting and close the modal -- The painting will no longuer exist in the `PaintingList` component +```http + GET /api/paintings/${id} +``` -- **WHEN COMPLETE AND WORKING, make a commit that says `Part 4 Complete`** +| Parameter | Type | Description | +| :-------- | :------- | :-------------------------------- | +| `_id` | `ObjectID` | **Required**. Id of painting to delete | -### API Structure +## Installation -> **Pro tip:** Install and use [Postman](https://www.getpostman.com/) to test your API routes for this section +Clone the project into your local machine -Using the existing code provided in `server/`, follow the steps below to build out a Paintings API: +```bash + git clone https://github.com/WaelChettaoui/art-gallery.git + cd art-gallery +``` +⚠ BEFORE RUNNING THE PROJECT, YOU MUST CONFIGURE YOUR .env FILE ⚠ -| URL | HTTP Verb | Request Body | Result | -| :----------------: | :-------: | :----------: | :--------------------------------------------------------------------: | -| /api/paintings | GET | empty | Return JSON of all Paintings | -| /api/paintings | POST | JSON | Create new Painting and return JSON of created Painting | -| /api/paintings/:id | DELETE | empty | Return JSON of single Painting with matching `number` | -| /api/paintings/:id | PUT | FormData | Update Painting with matching `id` and return JSON of updated Painting | +Switch into the server folder and install the dependencies -## Available Resources +```bash + cd server + npm i +``` -- [Stack Overflow](http://stackoverflow.com/) -- [MDN](https://developer.mozilla.org/) -- [ExpressJS Docs](https://expressjs.com/) -- [Body Parser Middleware Docs](https://github.com/expressjs/body-parser) -- [Mongo Docs](https://www.mongodb.com/) -- [Mongoose ODM Docs](http://mongoosejs.com/) -- [Cloudinary API](https://cloudinary.com/documentation/node_integration) -- [ReactJS Docs](https://facebook.github.io/react/) -- [React Router Docs](https://github.com/ReactTraining/react-router/tree/master/docs) -- [NodeJS Docs](https://nodejs.org/) -- [Academind Node-Multer](https://www.youtube.com/watch?v=srPXMt1Q0nY&ab_channel=Academind) to learn how to handle uploaded images in Node -- [Academind React Image Upload](https://www.youtube.com/watch?v=XeiOnkEI7XI&ab_channel=Academind) to learn how to upload images in React -- [Postman](https://www.getpostman.com/) -- Docs for any npm packages you might use +Switch into the client folder and install the dependencies + +```bash + cd ../client + npm i +``` + +Run the project +```bash + cd .. + npm run dev +``` + +## Authors + +- [@mohamedazizkallel](https://github.com/mohamedazizkallel) +- [@sfareya](https://github.com/sfareya) +- [@WaelChettaoui](https://github.com/WaelChettaoui) diff --git a/arts-gallery/build/asset-manifest.json b/arts-gallery/build/asset-manifest.json new file mode 100644 index 0000000..9a71133 --- /dev/null +++ b/arts-gallery/build/asset-manifest.json @@ -0,0 +1,19 @@ +{ + "files": { + "main.css": "/static/css/main.54154059.css", + "main.js": "/static/js/main.3024df65.js", + "static/js/787.3f66ae2f.chunk.js": "/static/js/787.3f66ae2f.chunk.js", + "static/media/image3.png": "/static/media/image3.7a509860ab81244138e9.png", + "static/media/image1.png": "/static/media/image1.e09f5a71d9e45d679e9b.png", + "static/media/image2.png": "/static/media/image2.4384c497b2f9a55956f7.png", + "static/media/logo.svg": "/static/media/logo.6ce24c58023cc2f8fd88fe9d219db6c6.svg", + "index.html": "/index.html", + "main.54154059.css.map": "/static/css/main.54154059.css.map", + "main.3024df65.js.map": "/static/js/main.3024df65.js.map", + "787.3f66ae2f.chunk.js.map": "/static/js/787.3f66ae2f.chunk.js.map" + }, + "entrypoints": [ + "static/css/main.54154059.css", + "static/js/main.3024df65.js" + ] +} \ No newline at end of file diff --git a/arts-gallery/build/favicon.ico b/arts-gallery/build/favicon.ico new file mode 100644 index 0000000..a11777c Binary files /dev/null and b/arts-gallery/build/favicon.ico differ diff --git a/arts-gallery/build/index.html b/arts-gallery/build/index.html new file mode 100644 index 0000000..b16dced --- /dev/null +++ b/arts-gallery/build/index.html @@ -0,0 +1 @@ +React App
\ No newline at end of file diff --git a/arts-gallery/build/logo192.png b/arts-gallery/build/logo192.png new file mode 100644 index 0000000..fc44b0a Binary files /dev/null and b/arts-gallery/build/logo192.png differ diff --git a/arts-gallery/build/logo512.png b/arts-gallery/build/logo512.png new file mode 100644 index 0000000..a4e47a6 Binary files /dev/null and b/arts-gallery/build/logo512.png differ diff --git a/arts-gallery/build/manifest.json b/arts-gallery/build/manifest.json new file mode 100644 index 0000000..080d6c7 --- /dev/null +++ b/arts-gallery/build/manifest.json @@ -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" +} diff --git a/arts-gallery/build/robots.txt b/arts-gallery/build/robots.txt new file mode 100644 index 0000000..e9e57dc --- /dev/null +++ b/arts-gallery/build/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/arts-gallery/build/static/css/main.54154059.css b/arts-gallery/build/static/css/main.54154059.css new file mode 100644 index 0000000..17fe1e1 --- /dev/null +++ b/arts-gallery/build/static/css/main.54154059.css @@ -0,0 +1,2 @@ +body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.App{text-align:center}.App-logo{height:40vmin;pointer-events:none}@media (prefers-reduced-motion:no-preference){.App-logo{-webkit-animation:App-logo-spin 20s linear infinite;animation:App-logo-spin 20s linear infinite}}.App-header{align-items:center;background-color:#282c34;color:#fff;display:flex;flex-direction:column;font-size:calc(10px + 2vmin);justify-content:center;min-height:100vh}.App-link{color:#61dafb}@-webkit-keyframes App-logo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes App-logo-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.gallery{-webkit-column-count:3;-webkit-column-width:33%;columns:33% 3;padding:0 12px}.gallery .pics{cursor:pointer;margin-bottom:12px;transition:all .35s ease}.gallery .pics:hover{-webkit-filter:opacity(.8);filter:opacity(.8)}@media (max-width:991px){.gallery{-webkit-column-count:2;column-count:2}}@media (max-width:480px){.gallery{-webkit-column-count:1;-webkit-column-width:100%;columns:100% 1}}.model{align-items:center;background-color:#000;display:flex;height:100vh;justify-content:center;left:0;opacity:0;overflow:hidden;position:fixed;top:0;-webkit-transform:scale(0);transform:scale(0);transition:opacity .4s ease,visibility .4s ease,-webkit-transform .5s ease-in-out;transition:opacity .4s ease,visibility .4s ease,transform .5s ease-in-out;transition:opacity .4s ease,visibility .4s ease,transform .5s ease-in-out,-webkit-transform .5s ease-in-out;visibility:hidden;width:100;z-index:999}.model.open{opacity:1;-webkit-transform:scale(1);transform:scale(1);visibility:visible}.model img{box-sizing:border-box;display:block;height:auto;line-height:0;margin:0 auto;max-height:100%;max-width:100%;padding:20px 0;width:auto}.model.open svg{background-color:rgba(0,0,0,.4);color:#fff;cursor:pointer;height:2rem;padding:5px;position:fixed;right:10px;top:10px;width:2rem} +/*# sourceMappingURL=main.54154059.css.map*/ \ No newline at end of file diff --git a/arts-gallery/build/static/css/main.54154059.css.map b/arts-gallery/build/static/css/main.54154059.css.map new file mode 100644 index 0000000..50c9860 --- /dev/null +++ b/arts-gallery/build/static/css/main.54154059.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.54154059.css","mappings":"AAAA,KAKE,kCAAmC,CACnC,iCAAkC,CAJlC,mIAEY,CAHZ,QAMF,CAEA,KACE,uEAEF,CCZA,KACE,iBACF,CAEA,UACE,aAAc,CACd,mBACF,CAEA,8CACE,UACE,mDAA4C,CAA5C,2CACF,CACF,CAEA,YAKE,kBAAmB,CAJnB,wBAAyB,CAOzB,UAAY,CALZ,YAAa,CACb,qBAAsB,CAGtB,4BAA6B,CAD7B,sBAAuB,CAJvB,gBAOF,CAEA,UACE,aACF,CAEA,iCACE,GACE,8BAAuB,CAAvB,sBACF,CACA,GACE,+BAAyB,CAAzB,uBACF,CACF,CAPA,yBACE,GACE,8BAAuB,CAAvB,sBACF,CACA,GACE,+BAAyB,CAAzB,uBACF,CACF,CCrCA,SACE,sBAAuB,CAGvB,wBAAyB,CAEzB,aAAiB,CACjB,cACF,CAEA,eAGE,cAAe,CACf,kBAAmB,CAFnB,wBAGF,CAEA,qBACE,0BAAoB,CAApB,kBACF,CAEA,yBACE,SACE,sBAAuB,CAEvB,cACF,CACF,CAEA,yBACE,SACE,sBAAuB,CAGvB,yBAA0B,CAE1B,cACF,CACF,CAIA,OAQE,kBAAmB,CACnB,qBAAyB,CAHzB,YAAa,CAJb,YAAa,CAKb,sBAAuB,CAFvB,MAAO,CAQP,SAAU,CAEV,eAAgB,CAZhB,cAAe,CACf,KAAM,CAUN,0BAAmB,CAAnB,kBAAmB,CAJnB,iFAC4B,CAD5B,yEAC4B,CAD5B,2GAC4B,CAC5B,iBAAkB,CAXlB,SAAU,CAeV,WACF,CAEA,YAEE,SAAU,CACV,0BAAmB,CAAnB,kBAAmB,CAFnB,kBAGF,CAEA,WAOE,qBAAsB,CAFtB,aAAc,CADd,WAAY,CAEZ,aAAc,CAGd,aAAc,CANd,eAAgB,CADhB,cAAe,CAMf,cAAoB,CAPpB,UASF,CAEA,gBAOE,+BAAoC,CACpC,UAAc,CACd,cAAe,CAJf,WAAY,CACZ,WAAY,CALZ,cAAe,CAEf,UAAW,CADX,QAAS,CAET,UAMF","sources":["index.css","App.css","Gallery.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.App-logo {\n height: 40vmin;\n pointer-events: none;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n .App-logo {\n animation: App-logo-spin infinite 20s linear;\n }\n}\n\n.App-header {\n background-color: #282c34;\n min-height: 100vh;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n font-size: calc(10px + 2vmin);\n color: white;\n}\n\n.App-link {\n color: #61dafb;\n}\n\n@keyframes App-logo-spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n",".gallery {\r\n -webkit-column-count: 3;\r\n -moz-column-count: 3;\r\n column-count: 3;\r\n -webkit-column-width: 33%;\r\n -moz-column-width: 33%;\r\n column-width: 33%;\r\n padding: 0 12px;\r\n}\r\n\r\n.gallery .pics {\r\n -webkit-transition: all 350ms ease;\r\n transition: all 350ms ease;\r\n cursor: pointer;\r\n margin-bottom: 12px;\r\n}\r\n\r\n.gallery .pics:hover {\r\n filter: opacity(0.8);\r\n}\r\n\r\n@media (max-width: 991px) {\r\n .gallery {\r\n -webkit-column-count: 2;\r\n -moz-column-count: 2;\r\n column-count: 2;\r\n }\r\n}\r\n\r\n@media (max-width: 480px) {\r\n .gallery {\r\n -webkit-column-count: 1;\r\n -moz-column-count: 1;\r\n column-count: 1;\r\n -webkit-column-width: 100%;\r\n -moz-column-width: 100%;\r\n column-width: 100%;\r\n }\r\n}\r\n\r\n/*model */\r\n\r\n.model {\r\n width: 100;\r\n height: 100vh;\r\n position: fixed;\r\n top: 0;\r\n left: 0;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n background-color: #000000;\r\n transition: opacity 0.4s ease, visibility 0.4s ease,\r\n transform 0.5s ease-in-out;\r\n visibility: hidden;\r\n opacity: 0;\r\n transform: scale(0);\r\n overflow: hidden;\r\n z-index: 999;\r\n}\r\n\r\n.model.open {\r\n visibility: visible;\r\n opacity: 1;\r\n transform: scale(1);\r\n}\r\n\r\n.model img {\r\n width: auto;\r\n max-width: 100%;\r\n max-height: 100%;\r\n height: auto;\r\n display: block;\r\n line-height: 0;\r\n box-sizing: border-box;\r\n padding: 20px 0 20px;\r\n margin: 0 auto;\r\n}\r\n\r\n.model.open svg {\r\n position: fixed;\r\n top: 10px;\r\n right: 10px;\r\n width: 2rem;\r\n height: 2rem;\r\n padding: 5px;\r\n background-color: rgba(0, 0, 0, 0.4);\r\n color: #ffffff;\r\n cursor: pointer;\r\n}\r\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/arts-gallery/build/static/js/787.3f66ae2f.chunk.js b/arts-gallery/build/static/js/787.3f66ae2f.chunk.js new file mode 100644 index 0000000..5deac9f --- /dev/null +++ b/arts-gallery/build/static/js/787.3f66ae2f.chunk.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkgallery=self.webpackChunkgallery||[]).push([[787],{787:function(e,n,t){t.r(n),t.d(n,{getCLS:function(){return T},getFCP:function(){return g},getFID:function(){return C},getLCP:function(){return P},getTTFB:function(){return D}});var i,r,a,o,u=function(e,n){return{name:e,value:void 0===n?-1:n,delta:0,entries:[],id:"v2-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)}},c=function(e,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if("first-input"===e&&!("PerformanceEventTiming"in self))return;var t=new PerformanceObserver((function(e){return e.getEntries().map(n)}));return t.observe({type:e,buffered:!0}),t}}catch(e){}},f=function(e,n){var t=function t(i){"pagehide"!==i.type&&"hidden"!==document.visibilityState||(e(i),n&&(removeEventListener("visibilitychange",t,!0),removeEventListener("pagehide",t,!0)))};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},s=function(e){addEventListener("pageshow",(function(n){n.persisted&&e(n)}),!0)},m=function(e,n,t){var i;return function(r){n.value>=0&&(r||t)&&(n.delta=n.value-(i||0),(n.delta||void 0===i)&&(i=n.value,e(n)))}},v=-1,p=function(){return"hidden"===document.visibilityState?0:1/0},d=function(){f((function(e){var n=e.timeStamp;v=n}),!0)},l=function(){return v<0&&(v=p(),d(),s((function(){setTimeout((function(){v=p(),d()}),0)}))),{get firstHiddenTime(){return v}}},g=function(e,n){var t,i=l(),r=u("FCP"),a=function(e){"first-contentful-paint"===e.name&&(f&&f.disconnect(),e.startTime-1&&e(n)},r=u("CLS",0),a=0,o=[],v=function(e){if(!e.hadRecentInput){var n=o[0],i=o[o.length-1];a&&e.startTime-i.startTime<1e3&&e.startTime-n.startTime<5e3?(a+=e.value,o.push(e)):(a=e.value,o=[e]),a>r.value&&(r.value=a,r.entries=o,t())}},p=c("layout-shift",v);p&&(t=m(i,r,n),f((function(){p.takeRecords().map(v),t(!0)})),s((function(){a=0,y=-1,r=u("CLS",0),t=m(i,r,n)})))},E={passive:!0,capture:!0},w=new Date,L=function(e,n){i||(i=n,r=e,a=new Date,F(removeEventListener),S())},S=function(){if(r>=0&&r1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?function(e,n){var t=function(){L(e,n),r()},i=function(){r()},r=function(){removeEventListener("pointerup",t,E),removeEventListener("pointercancel",i,E)};addEventListener("pointerup",t,E),addEventListener("pointercancel",i,E)}(n,e):L(n,e)}},F=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach((function(n){return e(n,b,E)}))},C=function(e,n){var t,a=l(),v=u("FID"),p=function(e){e.startTimeperformance.now())return;t.entries=[n],e(t)}catch(e){}},"complete"===document.readyState?setTimeout(n,0):addEventListener("pageshow",n)}}}]); +//# sourceMappingURL=787.3f66ae2f.chunk.js.map \ No newline at end of file diff --git a/arts-gallery/build/static/js/787.3f66ae2f.chunk.js.map b/arts-gallery/build/static/js/787.3f66ae2f.chunk.js.map new file mode 100644 index 0000000..3081b33 --- /dev/null +++ b/arts-gallery/build/static/js/787.3f66ae2f.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/787.3f66ae2f.chunk.js","mappings":"mQAAA,IAAIA,EAAEC,EAAEC,EAAEC,EAAEC,EAAE,SAASJ,EAAEC,GAAG,MAAM,CAACI,KAAKL,EAAEM,WAAM,IAASL,GAAG,EAAEA,EAAEM,MAAM,EAAEC,QAAQ,GAAGC,GAAG,MAAMC,OAAOC,KAAKC,MAAM,KAAKF,OAAOG,KAAKC,MAAM,cAAcD,KAAKE,UAAU,QAAQC,EAAE,SAAShB,EAAEC,GAAG,IAAI,GAAGgB,oBAAoBC,oBAAo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,EAAEnC,EAAEzB,KAAI,EAAGP,GAAE,cAAesE,EAAE,SAASxE,GAAG,IAAIC,EAAEC,EAAEE,EAAE,QAAQH,EAAE,WAAW,IAAI,IAAIA,EAAE6C,YAAY2B,iBAAiB,cAAc,IAAI,WAAW,IAAIzE,EAAE8C,YAAY4B,OAAOzE,EAAE,CAAC6D,UAAU,aAAanB,UAAU,GAAG,IAAI,IAAIzC,KAAKF,EAAE,oBAAoBE,GAAG,WAAWA,IAAID,EAAEC,GAAGW,KAAK8D,IAAI3E,EAAEE,GAAGF,EAAE4E,gBAAgB,IAAI,OAAO3E,EAAhL,GAAqL,GAAGC,EAAEI,MAAMJ,EAAEK,MAAMN,EAAE4E,cAAc3E,EAAEI,MAAM,GAAGJ,EAAEI,MAAMwC,YAAYlC,MAAM,OAAOV,EAAEM,QAAQ,CAACP,GAAGD,EAAEE,GAAG,MAAMF,MAAM,aAAa2B,SAASmD,WAAWvC,WAAWtC,EAAE,GAAG6B,iBAAiB,WAAW7B","sources":["../node_modules/web-vitals/dist/web-vitals.js"],"sourcesContent":["var e,t,n,i,r=function(e,t){return{name:e,value:void 0===t?-1:t,delta:0,entries:[],id:\"v2-\".concat(Date.now(),\"-\").concat(Math.floor(8999999999999*Math.random())+1e12)}},a=function(e,t){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){if(\"first-input\"===e&&!(\"PerformanceEventTiming\"in self))return;var n=new PerformanceObserver((function(e){return e.getEntries().map(t)}));return n.observe({type:e,buffered:!0}),n}}catch(e){}},o=function(e,t){var n=function n(i){\"pagehide\"!==i.type&&\"hidden\"!==document.visibilityState||(e(i),t&&(removeEventListener(\"visibilitychange\",n,!0),removeEventListener(\"pagehide\",n,!0)))};addEventListener(\"visibilitychange\",n,!0),addEventListener(\"pagehide\",n,!0)},c=function(e){addEventListener(\"pageshow\",(function(t){t.persisted&&e(t)}),!0)},u=function(e,t,n){var i;return function(r){t.value>=0&&(r||n)&&(t.delta=t.value-(i||0),(t.delta||void 0===i)&&(i=t.value,e(t)))}},f=-1,s=function(){return\"hidden\"===document.visibilityState?0:1/0},m=function(){o((function(e){var t=e.timeStamp;f=t}),!0)},v=function(){return f<0&&(f=s(),m(),c((function(){setTimeout((function(){f=s(),m()}),0)}))),{get firstHiddenTime(){return f}}},p=function(e,t){var n,i=v(),o=r(\"FCP\"),f=function(e){\"first-contentful-paint\"===e.name&&(m&&m.disconnect(),e.startTime-1&&e(t)},f=r(\"CLS\",0),s=0,m=[],v=function(e){if(!e.hadRecentInput){var t=m[0],i=m[m.length-1];s&&e.startTime-i.startTime<1e3&&e.startTime-t.startTime<5e3?(s+=e.value,m.push(e)):(s=e.value,m=[e]),s>f.value&&(f.value=s,f.entries=m,n())}},h=a(\"layout-shift\",v);h&&(n=u(i,f,t),o((function(){h.takeRecords().map(v),n(!0)})),c((function(){s=0,l=-1,f=r(\"CLS\",0),n=u(i,f,t)})))},g={passive:!0,capture:!0},y=new Date,T=function(i,r){e||(e=r,t=i,n=new Date,S(removeEventListener),E())},E=function(){if(t>=0&&t1e12?new Date:performance.now())-e.timeStamp;\"pointerdown\"==e.type?function(e,t){var n=function(){T(e,t),r()},i=function(){r()},r=function(){removeEventListener(\"pointerup\",n,g),removeEventListener(\"pointercancel\",i,g)};addEventListener(\"pointerup\",n,g),addEventListener(\"pointercancel\",i,g)}(t,e):T(t,e)}},S=function(e){[\"mousedown\",\"keydown\",\"touchstart\",\"pointerdown\"].forEach((function(t){return e(t,w,g)}))},L=function(n,f){var s,m=v(),p=r(\"FID\"),d=function(e){e.startTimeperformance.now())return;n.entries=[t],e(n)}catch(e){}},\"complete\"===document.readyState?setTimeout(t,0):addEventListener(\"pageshow\",t)};export{h as getCLS,p as getFCP,L as getFID,F as getLCP,P as getTTFB};\n"],"names":["e","t","n","i","r","name","value","delta","entries","id","concat","Date","now","Math","floor","random","a","PerformanceObserver","supportedEntryTypes","includes","self","getEntries","map","observe","type","buffered","o","document","visibilityState","removeEventListener","addEventListener","c","persisted","u","f","s","m","timeStamp","v","setTimeout","firstHiddenTime","p","disconnect","startTime","push","window","performance","getEntriesByName","requestAnimationFrame","d","l","h","hadRecentInput","length","takeRecords","g","passive","capture","y","T","S","E","entryType","target","cancelable","processingStart","forEach","w","L","b","F","once","P","getEntriesByType","timing","max","navigationStart","responseStart","readyState"],"sourceRoot":""} \ No newline at end of file diff --git a/arts-gallery/build/static/js/main.3024df65.js b/arts-gallery/build/static/js/main.3024df65.js new file mode 100644 index 0000000..80d6c9c --- /dev/null +++ b/arts-gallery/build/static/js/main.3024df65.js @@ -0,0 +1,3 @@ +/*! For license information please see main.3024df65.js.LICENSE.txt */ +!function(){var e={318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},862:function(e,t,n){var r=n(8).default;function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var u=a?Object.getOwnPropertyDescriptor(e,l):null;u&&(u.get||u.set)?Object.defineProperty(o,l,u):o[l]=e[l]}return o.default=e,n&&n.set(e,o),o},e.exports.__esModule=!0,e.exports.default=e.exports},8:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},108:function(e,t,n){"use strict";function r(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n=0||(i[n]=e[n]);return i}function s(e,t){if(null==e)return{};var n,r,i=u(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c(e){var t,n,r="";if("string"===typeof e||"number"===typeof e)r+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t<+~=|^:(),"'`\s])/g,N="undefined"!==typeof CSS&&CSS.escape,T=function(e){return N?N(e):e.replace(R,"\\$1")},z=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,a=e in this.style;if(o&&!a&&!r)return this;var l=o&&a;if(l?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return l?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var u=this.options.sheet;return u&&u.attached,this},e}(),M=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var o=r.selector,a=r.scoped,l=r.sheet,u=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=u(w(w(i)),l),i.selectorText="."+T(i.id)),i}b(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!==typeof n?e[t]=n:Array.isArray(n)&&(e[t]=C(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?a({},e,{allowEmpty:!0}):e;return O(this.selectorText,this.style,n)},v(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(z),L={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new M(e,t,n)}},A={indent:1,children:!0},j=/@([\w-]+)/,I=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(j);for(var i in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new le(a({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=A);var t=P(e).linebreak;if(null==e.indent&&(e.indent=A.indent),null==e.children&&(e.children=A.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),F=/@media|@supports\s+/,D={onCreateRule:function(e,t,n){return F.test(e)?new I(e,t,n):null}},U={indent:1,children:!0},V=/@keyframes\s+([\w-]+)/,$=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(V);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,o=n.sheet,l=n.generateId;for(var u in this.id=!1===i?this.name:T(l(this,o)),this.rules=new le(a({},n,{parent:this})),t)this.rules.add(u,t[u],a({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=U);var t=P(e).linebreak;if(null==e.indent&&(e.indent=U.indent),null==e.children&&(e.children=U.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),B=/@keyframes\s+/,W=/\$([\w-]+)/g,H=function(e,t){return"string"===typeof e?e.replace(W,(function(e,n){return n in t?t[n]:e})):e},Q=function(e,t,n){var r=e[t],i=H(r,n);i!==r&&(e[t]=i)},q={onCreateRule:function(e,t,n){return"string"===typeof e&&B.test(e)?new $(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&Q(e,"animation-name",n.keyframes),"animation"in e&&Q(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return H(e,r.keyframes);default:return e}}},K=function(e){function t(){return e.apply(this,arguments)||this}return b(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?a({},e,{allowEmpty:!0}):e;return O(this.key,this.style,n)},t}(z),Y={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new K(e,t,n):null}},G=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=P(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=u(t,["attached"]),i=P(r).linebreak,o="",a=0;a0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"===typeof r){var i=function(e){for(var t=ke(),n=0;nn?n:t},Pe=function(){function e(e){this.getPropertyValue=ve,this.setProperty=ge,this.removeProperty=be,this.setSelector=we,this.hasInsertedRules=!1,this.cssRules=[],e&&fe.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,i=t.element;this.element=i||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=xe();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=Se(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"===typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else ke().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var r=a({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}var Me={set:function(e,t,n,r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},Le=Me;var Ae=l.createContext(null);function je(){return l.useContext(Ae)}var Ie="function"===typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",Fe=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var De=Date.now(),Ue="fnValues"+De,Ve="fnStyle"+ ++De,$e=function(){return{onCreateRule:function(e,t,n){if("function"!==typeof t)return null;var r=x(e,{},n);return r[Ve]=t,r},onProcessStyle:function(e,t){if(Ue in t||Ve in t)return e;var n={};for(var r in e){var i=e[r];"function"===typeof i&&(delete e[r],n[r]=i)}return t[Ue]=n,e},onUpdate:function(e,t,n,r){var i=t,o=i[Ve];o&&(i.style=o(e)||{});var a=i[Ue];if(a)for(var l in a)i.prop(l,a[l](e),r)}}},Be="@global",We="@global ",He=function(){function e(e,t,n){for(var r in this.type="global",this.at=Be,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new le(a({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Qe=function(){function e(e,t,n){this.type="global",this.at=Be,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr(We.length);this.rule=n.jss.createRule(r,t,a({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),qe=/\s*,\s*/g;function Ke(e,t){for(var n=e.split(qe),r="",i=0;i-1){var i=Xt[e];if(!Array.isArray(i))return Ct+At(i)in t&&Pt+i;if(!r)return!1;for(var o=0;ot?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,i=void 0===r?"jss":r,o=e.seed,a=void 0===o?"":o,l=""===a?"":"".concat(a,"-"),u=0,s=function(){return u+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==Fe.indexOf(e.key))return"Mui-".concat(e.key);var o="".concat(l).concat(r,"-").concat(e.key);return t.options.theme[Ie]&&""===a?"".concat(o,"-").concat(s()):o}return"".concat(l).concat(i).concat(s())}}(),bn={disableGeneration:!1,generateClassName:gn,jss:vn,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},wn=l.createContext(bn);var kn=-1e9;function Sn(){return kn+=1}function xn(e){return xn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xn(e)}function En(e){return e&&"object"===xn(e)&&e.constructor===Object}function Cn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?a({},e):e;return En(e)&&En(t)&&Object.keys(t).forEach((function(i){"__proto__"!==i&&(En(t[i])&&i in e?r[i]=Cn(e[i],t[i],n):r[i]=t[i])})),r}function Pn(e){var t="function"===typeof e;return{create:function(n,r){var i;try{i=t?e(n):e}catch(u){throw u}if(!r||!n.overrides||!n.overrides[r])return i;var o=n.overrides[r],l=a({},i);return Object.keys(o).forEach((function(e){l[e]=Cn(l[e],o[e])})),l},options:{}}}var _n={};function On(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=ze({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function Rn(e,t){var n=e.state,r=e.theme,i=e.stylesOptions,o=e.stylesCreator,l=e.name;if(!i.disableGeneration){var u=Le.get(i.sheetsManager,o,r);u||(u={refs:0,staticSheet:null,dynamicStyles:null},Le.set(i.sheetsManager,o,r,u));var s=a({},o.options,i,{theme:r,flip:"boolean"===typeof i.flip?i.flip:"rtl"===r.direction});s.generateId=s.serverGenerateClassName||s.generateClassName;var c=i.sheetsRegistry;if(0===u.refs){var f;i.sheetsCache&&(f=Le.get(i.sheetsCache,o,r));var d=o.create(r,l);f||((f=i.jss.createStyleSheet(d,a({link:!1},s))).attach(),i.sheetsCache&&Le.set(i.sheetsCache,o,r,f)),c&&c.add(f),u.staticSheet=f,u.dynamicStyles=Te(d)}if(u.dynamicStyles){var p=i.jss.createStyleSheet(u.dynamicStyles,a({link:!0},s));p.update(t),p.attach(),n.dynamicSheet=p,n.classes=ze({baseClasses:u.staticSheet.classes,newClasses:p.classes}),c&&c.add(p)}else n.classes=u.staticSheet.classes;u.refs+=1}}function Nn(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function Tn(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=Le.get(r.sheetsManager,i,n);o.refs-=1;var a=r.sheetsRegistry;0===o.refs&&(Le.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),a&&a.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function zn(e,t){var n,r=l.useRef([]),i=l.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),l.useEffect((function(){return function(){n&&n()}}),[i])}function Mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,i=t.Component,o=t.defaultTheme,u=void 0===o?_n:o,c=s(t,["name","classNamePrefix","Component","defaultTheme"]),f=Pn(e),d=n||r||"makeStyles";f.options={index:Sn(),name:n,meta:d,classNamePrefix:d};var p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=je()||u,r=a({},l.useContext(wn),c),o=l.useRef(),s=l.useRef();zn((function(){var i={name:n,state:{},stylesCreator:f,stylesOptions:r,theme:t};return Rn(i,e),s.current=!1,o.current=i,function(){Tn(i)}}),[t,f]),l.useEffect((function(){s.current&&Nn(o.current,e),s.current=!0}));var d=On(o.current,e.classes,i);return d};return p}function Ln(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,o=t.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}var An=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,i=t.withTheme,o=void 0!==i&&i,u=t.name,c=s(t,["defaultTheme","withTheme","name"]);var f=u,d=Mn(e,a({defaultTheme:r,Component:n,name:u||n.displayName,classNamePrefix:f},c)),h=l.forwardRef((function(e,t){e.classes;var i,c=e.innerRef,f=s(e,["classes","innerRef"]),p=d(a({},n.defaultProps,e)),h=f;return("string"===typeof u||o)&&(i=je()||r,u&&(h=Ln({theme:i,name:u,props:f})),o&&!h.theme&&(h.theme=i)),l.createElement(n,a({ref:c||t,classes:p},h))}));return p()(h,n),h}},jn=["xs","sm","md","lg","xl"];function In(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,i=void 0===r?"px":r,o=e.step,l=void 0===o?5:o,u=s(e,["values","unit","step"]);function c(e){var t="number"===typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(i,")")}function f(e,t){var r=jn.indexOf(t);return r===jn.length-1?c(e):"@media (min-width:".concat("number"===typeof n[e]?n[e]:e).concat(i,") and ")+"(max-width:".concat((-1!==r&&"number"===typeof n[jn[r+1]]?n[jn[r+1]]:t)-l/100).concat(i,")")}return a({keys:jn,values:n,up:c,down:function(e){var t=jn.indexOf(e)+1,r=n[jn[t]];return t===jn.length?c("xs"):"@media (max-width:".concat(("number"===typeof r&&t>0?r:e)-l/100).concat(i,")")},between:f,only:function(e){return f(e,e)},width:function(e){return n[e]}},u)}function Fn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Dn(e,t,n){var r;return a({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),a({paddingLeft:t(2),paddingRight:t(2)},n,Fn({},e.up("sm"),a({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},Fn(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Fn(r,e.up("sm"),{minHeight:64}),r)},n)}var Un={black:"#000",white:"#fff"},Vn={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"},$n={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},Bn={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},Wn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Hn={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Qn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},qn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};function Kn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function Yn(e){if(e.type)return e;if("#"===e.charAt(0))return Yn(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(r(3,e));var i=e.substring(t+1,e.length-1).split(",");return{type:n,values:i=i.map((function(e){return parseFloat(e)}))}}function Gn(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function Xn(e){var t="hsl"===(e=Yn(e)).type?Yn(function(e){var t=(e=Yn(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-o*Math.max(Math.min(t-3,9-t,1),-1)},l="rgb",u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",u.push(t[3])),Gn({type:l,values:u})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Zn(e,t){if(e=Yn(e),t=Kn(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return Gn(e)}function Jn(e,t){if(e=Yn(e),t=Kn(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return Gn(e)}var er={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Un.white,default:Vn[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},tr={text:{primary:Un.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:Vn[800],default:"#303030"},action:{active:Un.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function nr(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Jn(e.main,i):"dark"===t&&(e.dark=Zn(e.main,o)))}function rr(e){var t=e.primary,n=void 0===t?{light:$n[300],main:$n[500],dark:$n[700]}:t,i=e.secondary,o=void 0===i?{light:Bn.A200,main:Bn.A400,dark:Bn.A700}:i,l=e.error,u=void 0===l?{light:Wn[300],main:Wn[500],dark:Wn[700]}:l,c=e.warning,f=void 0===c?{light:Hn[300],main:Hn[500],dark:Hn[700]}:c,d=e.info,p=void 0===d?{light:Qn[300],main:Qn[500],dark:Qn[700]}:d,h=e.success,m=void 0===h?{light:qn[300],main:qn[500],dark:qn[700]}:h,y=e.type,v=void 0===y?"light":y,g=e.contrastThreshold,b=void 0===g?3:g,w=e.tonalOffset,k=void 0===w?.2:w,S=s(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function x(e){var t=function(e,t){var n=Xn(e),r=Xn(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,tr.text.primary)>=b?tr.text.primary:er.text.primary;return t}var E=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=a({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(r(4,t));if("string"!==typeof e.main)throw new Error(r(5,JSON.stringify(e.main)));return nr(e,"light",n,k),nr(e,"dark",i,k),e.contrastText||(e.contrastText=x(e.main)),e},C={dark:tr,light:er};return Cn(a({common:Un,type:v,primary:E(n),secondary:E(o,"A400","A200","A700"),error:E(u),warning:E(f),info:E(p),success:E(m),grey:Vn,contrastThreshold:b,getContrastText:x,augmentColor:E,tonalOffset:k},C[v]),S)}function ir(e){return Math.round(1e5*e)/1e5}function or(e){return ir(e)}var ar={textTransform:"uppercase"},lr='"Roboto", "Helvetica", "Arial", sans-serif';function ur(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,i=void 0===r?lr:r,o=n.fontSize,l=void 0===o?14:o,u=n.fontWeightLight,c=void 0===u?300:u,f=n.fontWeightRegular,d=void 0===f?400:f,p=n.fontWeightMedium,h=void 0===p?500:p,m=n.fontWeightBold,y=void 0===m?700:m,v=n.htmlFontSize,g=void 0===v?16:v,b=n.allVariants,w=n.pxToRem,k=s(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var S=l/14,x=w||function(e){return"".concat(e/g*S,"rem")},E=function(e,t,n,r,o){return a({fontFamily:i,fontWeight:e,fontSize:x(t),lineHeight:n},i===lr?{letterSpacing:"".concat(ir(r/t),"em")}:{},o,b)},C={h1:E(c,96,1.167,-1.5),h2:E(c,60,1.2,-.5),h3:E(d,48,1.167,0),h4:E(d,34,1.235,.25),h5:E(d,24,1.334,0),h6:E(h,20,1.6,.15),subtitle1:E(d,16,1.75,.15),subtitle2:E(h,14,1.57,.1),body1:E(d,16,1.5,.15),body2:E(d,14,1.43,.15),button:E(h,14,1.75,.4,ar),caption:E(d,12,1.66,.4),overline:E(d,12,2.66,1,ar)};return Cn(a({htmlFontSize:g,pxToRem:x,round:or,fontFamily:i,fontSize:l,fontWeightLight:c,fontWeightRegular:d,fontWeightMedium:h,fontWeightBold:y},C),k,{clone:!1})}function sr(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var cr=["none",sr(0,2,1,-1,0,1,1,0,0,1,3,0),sr(0,3,1,-2,0,2,2,0,0,1,5,0),sr(0,3,3,-2,0,3,4,0,0,1,8,0),sr(0,2,4,-1,0,4,5,0,0,1,10,0),sr(0,3,5,-1,0,5,8,0,0,1,14,0),sr(0,3,5,-1,0,6,10,0,0,1,18,0),sr(0,4,5,-2,0,7,10,1,0,2,16,1),sr(0,5,5,-3,0,8,10,1,0,3,14,2),sr(0,5,6,-3,0,9,12,1,0,3,16,2),sr(0,6,6,-3,0,10,14,1,0,4,18,3),sr(0,6,7,-4,0,11,15,1,0,4,20,3),sr(0,7,8,-4,0,12,17,2,0,5,22,4),sr(0,7,8,-4,0,13,19,2,0,5,24,4),sr(0,7,9,-4,0,14,21,2,0,5,26,4),sr(0,8,9,-5,0,15,22,2,0,6,28,5),sr(0,8,10,-5,0,16,24,2,0,6,30,5),sr(0,8,11,-5,0,17,26,2,0,6,32,5),sr(0,9,11,-5,0,18,28,2,0,7,34,6),sr(0,9,12,-6,0,19,29,2,0,7,36,6),sr(0,10,13,-6,0,20,31,3,0,8,38,7),sr(0,10,13,-6,0,21,33,3,0,8,40,7),sr(0,10,14,-6,0,22,35,3,0,8,42,7),sr(0,11,14,-7,0,23,36,3,0,9,44,8),sr(0,11,15,-7,0,24,38,3,0,9,46,8)],fr={borderRadius:4},dr=n(885),pr={xs:0,sm:600,md:960,lg:1280,xl:1920},hr={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(pr[e],"px)")}};var mr=function(e,t){return t?Cn(e,t,{clone:!1}):e};var yr={m:"margin",p:"padding"},vr={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},gr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},br=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!gr[e])return[e];e=gr[e]}var t=e.split(""),n=(0,dr.Z)(t,2),r=n[0],i=n[1],o=yr[r],a=vr[i]||"";return Array.isArray(a)?a.map((function(e){return o+e})):[o+a]})),wr=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function kr(e){var t=e.spacing||8;return"number"===typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"===typeof t?t:function(){}}function Sr(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function xr(e){var t=kr(e.theme);return Object.keys(e).map((function(n){if(-1===wr.indexOf(n))return null;var r=Sr(br(n),t),i=e[n];return function(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||hr;return t.reduce((function(e,i,o){return e[r.up(r.keys[o])]=n(t[o]),e}),{})}if("object"===xn(t)){var i=e.theme.breakpoints||hr;return Object.keys(t).reduce((function(e,r){return e[i.up(r)]=n(t[r]),e}),{})}return n(t)}(e,i,r)})).reduce(mr,{})}xr.propTypes={},xr.filterProps=wr;function Er(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=kr({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?Pr.standard:n,i=t.easing,o=void 0===i?Cr.easeInOut:i,a=t.delay,l=void 0===a?0:a;s(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof r?r:_r(r)," ").concat(o," ").concat("string"===typeof l?l:_r(l))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},Rr={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Nr(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,i=void 0===r?{}:r,o=e.palette,a=void 0===o?{}:o,l=e.spacing,u=e.typography,c=void 0===u?{}:u,f=s(e,["breakpoints","mixins","palette","spacing","typography"]),d=rr(a),p=In(n),h=Er(l),m=Cn({breakpoints:p,direction:"ltr",mixins:Dn(p,h,i),overrides:{},palette:d,props:{},shadows:cr,typography:ur(d,c),spacing:h,shape:fr,transitions:Or,zIndex:Rr},f),y=arguments.length,v=new Array(y>1?y-1:0),g=1;g1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o