From 7bd35d02210da4092a47d1056f66af1f5c368867 Mon Sep 17 00:00:00 2001 From: Irina-anat <116644910+Irina-anat@users.noreply.github.com> Date: Mon, 26 Feb 2024 14:00:48 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Irina-an?= =?UTF-8?q?at/goit-react-hw-05-movies@9b39c7f5f62fa43df862d41b8aca25ded5a5?= =?UTF-8?q?41bc=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- asset-manifest.json | 18 +++++++++--------- index.html | 2 +- ...87bd05df.chunk.js => 666.931069cb.chunk.js} | 4 ++-- ....chunk.js.map => 666.931069cb.chunk.js.map} | 2 +- ...ff851f39.chunk.js => 936.58a00979.chunk.js} | 4 ++-- static/js/936.58a00979.chunk.js.map | 1 + static/js/936.ff851f39.chunk.js.map | 1 - static/js/964.499e95be.chunk.js | 2 ++ static/js/964.499e95be.chunk.js.map | 1 + static/js/964.de2d8ea9.chunk.js | 2 -- static/js/964.de2d8ea9.chunk.js.map | 1 - .../js/{main.de84cabe.js => main.a12cca00.js} | 6 +++--- ...ICENSE.txt => main.a12cca00.js.LICENSE.txt} | 0 ...in.de84cabe.js.map => main.a12cca00.js.map} | 2 +- 14 files changed, 23 insertions(+), 23 deletions(-) rename static/js/{666.87bd05df.chunk.js => 666.931069cb.chunk.js} (73%) rename static/js/{666.87bd05df.chunk.js.map => 666.931069cb.chunk.js.map} (67%) rename static/js/{936.ff851f39.chunk.js => 936.58a00979.chunk.js} (84%) create mode 100644 static/js/936.58a00979.chunk.js.map delete mode 100644 static/js/936.ff851f39.chunk.js.map create mode 100644 static/js/964.499e95be.chunk.js create mode 100644 static/js/964.499e95be.chunk.js.map delete mode 100644 static/js/964.de2d8ea9.chunk.js delete mode 100644 static/js/964.de2d8ea9.chunk.js.map rename static/js/{main.de84cabe.js => main.a12cca00.js} (99%) rename static/js/{main.de84cabe.js.LICENSE.txt => main.a12cca00.js.LICENSE.txt} (100%) rename static/js/{main.de84cabe.js.map => main.a12cca00.js.map} (99%) diff --git a/asset-manifest.json b/asset-manifest.json index e7b54ad..97e5595 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,39 +1,39 @@ { "files": { "main.css": "/goit-react-hw-05-movies/static/css/main.a034651c.css", - "main.js": "/goit-react-hw-05-movies/static/js/main.de84cabe.js", + "main.js": "/goit-react-hw-05-movies/static/js/main.a12cca00.js", "static/css/936.528c9502.chunk.css": "/goit-react-hw-05-movies/static/css/936.528c9502.chunk.css", - "static/js/936.ff851f39.chunk.js": "/goit-react-hw-05-movies/static/js/936.ff851f39.chunk.js", + "static/js/936.58a00979.chunk.js": "/goit-react-hw-05-movies/static/js/936.58a00979.chunk.js", "static/css/135.32c479c6.chunk.css": "/goit-react-hw-05-movies/static/css/135.32c479c6.chunk.css", "static/js/135.d482b130.chunk.js": "/goit-react-hw-05-movies/static/js/135.d482b130.chunk.js", "static/css/964.679197e7.chunk.css": "/goit-react-hw-05-movies/static/css/964.679197e7.chunk.css", - "static/js/964.de2d8ea9.chunk.js": "/goit-react-hw-05-movies/static/js/964.de2d8ea9.chunk.js", + "static/js/964.499e95be.chunk.js": "/goit-react-hw-05-movies/static/js/964.499e95be.chunk.js", "static/css/168.64e0bd5a.chunk.css": "/goit-react-hw-05-movies/static/css/168.64e0bd5a.chunk.css", "static/js/168.c28d8990.chunk.js": "/goit-react-hw-05-movies/static/js/168.c28d8990.chunk.js", "static/css/76.269916f3.chunk.css": "/goit-react-hw-05-movies/static/css/76.269916f3.chunk.css", "static/js/76.db7da522.chunk.js": "/goit-react-hw-05-movies/static/js/76.db7da522.chunk.js", "static/css/666.fcde8d88.chunk.css": "/goit-react-hw-05-movies/static/css/666.fcde8d88.chunk.css", - "static/js/666.87bd05df.chunk.js": "/goit-react-hw-05-movies/static/js/666.87bd05df.chunk.js", + "static/js/666.931069cb.chunk.js": "/goit-react-hw-05-movies/static/js/666.931069cb.chunk.js", "static/js/279.1e3b90eb.chunk.js": "/goit-react-hw-05-movies/static/js/279.1e3b90eb.chunk.js", "index.html": "/goit-react-hw-05-movies/index.html", "main.a034651c.css.map": "/goit-react-hw-05-movies/static/css/main.a034651c.css.map", - "main.de84cabe.js.map": "/goit-react-hw-05-movies/static/js/main.de84cabe.js.map", + "main.a12cca00.js.map": "/goit-react-hw-05-movies/static/js/main.a12cca00.js.map", "936.528c9502.chunk.css.map": "/goit-react-hw-05-movies/static/css/936.528c9502.chunk.css.map", - "936.ff851f39.chunk.js.map": "/goit-react-hw-05-movies/static/js/936.ff851f39.chunk.js.map", + "936.58a00979.chunk.js.map": "/goit-react-hw-05-movies/static/js/936.58a00979.chunk.js.map", "135.32c479c6.chunk.css.map": "/goit-react-hw-05-movies/static/css/135.32c479c6.chunk.css.map", "135.d482b130.chunk.js.map": "/goit-react-hw-05-movies/static/js/135.d482b130.chunk.js.map", "964.679197e7.chunk.css.map": "/goit-react-hw-05-movies/static/css/964.679197e7.chunk.css.map", - "964.de2d8ea9.chunk.js.map": "/goit-react-hw-05-movies/static/js/964.de2d8ea9.chunk.js.map", + "964.499e95be.chunk.js.map": "/goit-react-hw-05-movies/static/js/964.499e95be.chunk.js.map", "168.64e0bd5a.chunk.css.map": "/goit-react-hw-05-movies/static/css/168.64e0bd5a.chunk.css.map", "168.c28d8990.chunk.js.map": "/goit-react-hw-05-movies/static/js/168.c28d8990.chunk.js.map", "76.269916f3.chunk.css.map": "/goit-react-hw-05-movies/static/css/76.269916f3.chunk.css.map", "76.db7da522.chunk.js.map": "/goit-react-hw-05-movies/static/js/76.db7da522.chunk.js.map", "666.fcde8d88.chunk.css.map": "/goit-react-hw-05-movies/static/css/666.fcde8d88.chunk.css.map", - "666.87bd05df.chunk.js.map": "/goit-react-hw-05-movies/static/js/666.87bd05df.chunk.js.map", + "666.931069cb.chunk.js.map": "/goit-react-hw-05-movies/static/js/666.931069cb.chunk.js.map", "279.1e3b90eb.chunk.js.map": "/goit-react-hw-05-movies/static/js/279.1e3b90eb.chunk.js.map" }, "entrypoints": [ "static/css/main.a034651c.css", - "static/js/main.de84cabe.js" + "static/js/main.a12cca00.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index f114de0..3e5dd15 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -MOVIES
\ No newline at end of file +MOVIES
\ No newline at end of file diff --git a/static/js/666.87bd05df.chunk.js b/static/js/666.931069cb.chunk.js similarity index 73% rename from static/js/666.87bd05df.chunk.js rename to static/js/666.931069cb.chunk.js index 65e9775..f5eee19 100644 --- a/static/js/666.87bd05df.chunk.js +++ b/static/js/666.931069cb.chunk.js @@ -1,2 +1,2 @@ -"use strict";(self.webpackChunkgoit_react_hw_05_movies=self.webpackChunkgoit_react_hw_05_movies||[]).push([[666],{666:function(e,o,t){t.r(o),t.d(o,{default:function(){return _}});var s=t(791),n="NotFound_page__YiZAa",a="NotFound_container__1fusd",i="NotFound_notFound__title__Q4Df+",r="NotFound_notFound__text__5Sf5y",u=t(689),c=t(87),l=t(184),_=function(){var e,o,t=(0,u.TH)(),_=(0,s.useRef)(null!==(e=null===(o=t.state)||void 0===o?void 0:o.from)&&void 0!==e?e:"./movies");return(0,l.jsx)("div",{className:n,children:(0,l.jsxs)("div",{className:a,children:[(0,l.jsx)("h1",{className:i,children:"404 Not Found"}),(0,l.jsx)("p",{className:r,children:"Oops! It looks like the page you are searching for might be located somewhere else("}),(0,l.jsxs)(c.rU,{to:_.current,children:[" ",(0,l.jsx)("button",{type:"button","aria-label":"Go back to the previous page",children:"Go to search"})]})]})})}}}]); -//# sourceMappingURL=666.87bd05df.chunk.js.map \ No newline at end of file +"use strict";(self.webpackChunkgoit_react_hw_05_movies=self.webpackChunkgoit_react_hw_05_movies||[]).push([[666],{666:function(e,o,t){t.r(o),t.d(o,{default:function(){return _}});var s=t(791),n="NotFound_page__YiZAa",a="NotFound_container__1fusd",i="NotFound_notFound__title__Q4Df+",r="NotFound_notFound__text__5Sf5y",u=t(689),c=t(87),l=t(184),_=function(){var e,o,t=(0,u.TH)(),_=(0,s.useRef)(null!==(e=null===(o=t.state)||void 0===o?void 0:o.from)&&void 0!==e?e:"./movies");return(0,l.jsx)("div",{className:n,children:(0,l.jsxs)("div",{className:a,children:[(0,l.jsx)("h1",{className:i,children:"404 Not Found"}),(0,l.jsx)("p",{className:r,children:"Oops! It looks like the page you are searching for might be located somewhere else \ud83d\ude43"}),(0,l.jsxs)(c.rU,{to:_.current,children:[" ",(0,l.jsx)("button",{type:"button","aria-label":"Go back to the previous page",children:"Go to search"})]})]})})}}}]); +//# sourceMappingURL=666.931069cb.chunk.js.map \ No newline at end of file diff --git a/static/js/666.87bd05df.chunk.js.map b/static/js/666.931069cb.chunk.js.map similarity index 67% rename from static/js/666.87bd05df.chunk.js.map rename to static/js/666.931069cb.chunk.js.map index b5d73d2..b98e50f 100644 --- a/static/js/666.87bd05df.chunk.js.map +++ b/static/js/666.931069cb.chunk.js.map @@ -1 +1 @@ -{"version":3,"file":"static/js/666.87bd05df.chunk.js","mappings":"gMACA,EAAuB,uBAAvB,EAA0D,4BAA1D,EAAwG,kCAAxG,EAA2J,iC,0BCuB3J,EApBqB,WAAO,IAAD,IACnBA,GAAWC,EAAAA,EAAAA,MACXC,GAAsBC,EAAAA,EAAAA,QAAM,oBAACH,EAASI,aAAV,aAAC,EAAgBC,YAAjB,QAAyB,YAE3D,OACE,gBAAKC,UAAWC,EAAhB,UACE,iBAAKD,UAAWC,EAAhB,WACE,eAAID,UAAWC,EAAf,4BACA,cAAGD,UAAWC,EAAd,kGAGA,UAAC,KAAD,CAAMC,GAAIN,EAAoBO,QAA9B,UACC,KACD,mBAAQC,KAAK,SAAS,aAAW,+BAAjC,iCAKP,C","sources":["webpack://goit-react-hw-05-movies/./src/pages/NotFound/NotFound.module.css?7579","pages/NotFound/NotFound.jsx"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"page\":\"NotFound_page__YiZAa\",\"container\":\"NotFound_container__1fusd\",\"notFound__title\":\"NotFound_notFound__title__Q4Df+\",\"notFound__text\":\"NotFound_notFound__text__5Sf5y\"};","import React, { useRef } from 'react';\nimport css from './NotFound.module.css';\nimport { Link, useLocation } from 'react-router-dom';\n\nconst NotFoundPage = () => {\n const location = useLocation();\n const backLinkLocationRef = useRef(location.state?.from ?? './movies');\n\n return (\n
\n
\n

404 Not Found

\n

\n Oops! It looks like the page you are searching for might be located somewhere else(\n

\n \n {' '}\n \n \n
\n
\n );\n};\n\nexport default NotFoundPage;\n\n"],"names":["location","useLocation","backLinkLocationRef","useRef","state","from","className","css","to","current","type"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/js/666.931069cb.chunk.js","mappings":"gMACA,EAAuB,uBAAvB,EAA0D,4BAA1D,EAAwG,kCAAxG,EAA2J,iC,0BCuB3J,EApBqB,WAAO,IAAD,IACnBA,GAAWC,EAAAA,EAAAA,MACXC,GAAsBC,EAAAA,EAAAA,QAAM,oBAACH,EAASI,aAAV,aAAC,EAAgBC,YAAjB,QAAyB,YAE3D,OACE,gBAAKC,UAAWC,EAAhB,UACE,iBAAKD,UAAWC,EAAhB,WACE,eAAID,UAAWC,EAAf,4BACA,cAAGD,UAAWC,EAAd,+GAGA,UAAC,KAAD,CAAMC,GAAIN,EAAoBO,QAA9B,UACC,KACD,mBAAQC,KAAK,SAAS,aAAW,+BAAjC,iCAKP,C","sources":["webpack://goit-react-hw-05-movies/./src/pages/NotFound/NotFound.module.css?7579","pages/NotFound/NotFound.jsx"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"page\":\"NotFound_page__YiZAa\",\"container\":\"NotFound_container__1fusd\",\"notFound__title\":\"NotFound_notFound__title__Q4Df+\",\"notFound__text\":\"NotFound_notFound__text__5Sf5y\"};","import React, { useRef } from 'react';\nimport css from './NotFound.module.css';\nimport { Link, useLocation } from 'react-router-dom';\n\nconst NotFoundPage = () => {\n const location = useLocation();\n const backLinkLocationRef = useRef(location.state?.from ?? './movies');\n\n return (\n
\n
\n

404 Not Found

\n

\n Oops! It looks like the page you are searching for might be located somewhere else 🙃\n

\n \n {' '}\n \n \n
\n
\n );\n};\n\nexport default NotFoundPage;\n\n\n\n"],"names":["location","useLocation","backLinkLocationRef","useRef","state","from","className","css","to","current","type"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/936.ff851f39.chunk.js b/static/js/936.58a00979.chunk.js similarity index 84% rename from static/js/936.ff851f39.chunk.js rename to static/js/936.58a00979.chunk.js index bf20928..705bfd8 100644 --- a/static/js/936.ff851f39.chunk.js +++ b/static/js/936.58a00979.chunk.js @@ -1,2 +1,2 @@ -"use strict";(self.webpackChunkgoit_react_hw_05_movies=self.webpackChunkgoit_react_hw_05_movies||[]).push([[936],{663:function(t,e,n){n.d(e,{Hx:function(){return _},Y5:function(){return f},bI:function(){return p},uV:function(){return h},wr:function(){return i}});var r=n(861),a=n(757),c=n.n(a),s=n(243);s.Z.defaults.baseURL="https://api.themoviedb.org/3/";var u="0846bf312f0a1b3f0d9b691dd26eb2d9";function i(){return o.apply(this,arguments)}function o(){return(o=(0,r.Z)(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.Z.get("trending/all/day?api_key=".concat(u));case 3:return e=t.sent,t.abrupt("return",e.data.results);case 7:t.prev=7,t.t0=t.catch(0),console.error(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function p(t){return l.apply(this,arguments)}function l(){return(l=(0,r.Z)(c().mark((function t(e){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.Z.get("search/movie?api_key=".concat(u,"&query=").concat(e,"&language=en-US"));case 3:return n=t.sent,t.abrupt("return",n.data.results);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function f(t){return v.apply(this,arguments)}function v(){return(v=(0,r.Z)(c().mark((function t(e){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.Z.get("movie/".concat(e,"?api_key=").concat(u,"&language=en-US"));case 3:return n=t.sent,t.abrupt("return",n.data);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function h(t){return d.apply(this,arguments)}function d(){return(d=(0,r.Z)(c().mark((function t(e){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.Z.get("movie/".concat(e,"/credits?api_key=").concat(u,"&language=en-US"));case 3:return n=t.sent,t.abrupt("return",n.data.cast);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function _(t){return m.apply(this,arguments)}function m(){return(m=(0,r.Z)(c().mark((function t(e){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.Z.get("movie/".concat(e,"/reviews?api_key=").concat(u,"&language=en-US"));case 3:return n=t.sent,t.abrupt("return",n.data.results);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}},155:function(t,e,n){n.d(e,{Z:function(){return o}});var r=n(689),a=n(87),c="MoviesList_list__title__R5pRk",s="MoviesList_movie__list__7GXDl",u="MoviesList_movie__item__ZR78F",i=n(184),o=function(t){var e=t.movies,n=(0,r.TH)();return(0,i.jsx)("ul",{className:s,children:e.map((function(t){var e=t.id,r=t.title,s=t.poster_path;return r&&(0,i.jsx)("li",{className:u,children:(0,i.jsxs)(a.rU,{to:"/movies/".concat(e),state:{from:n},children:[(0,i.jsx)("img",{src:s?"https://image.tmdb.org/t/p/w300"+s:"https://via.placeholder.com/300x450",width:300,height:450,alt:r}),(0,i.jsx)("h2",{className:c,children:r})]},e)},e)}))})}},936:function(t,e,n){n.r(e),n.d(e,{default:function(){return p}});var r=n(439),a=n(663),c=n(791),s=n(155),u="Home_container__w+u63",i="Home_trending__title__avXrE",o=n(184),p=function(){var t=(0,c.useState)([]),e=(0,r.Z)(t,2),n=e[0],p=e[1];return(0,c.useEffect)((function(){(0,a.wr)().then((function(t){return p(t)}))}),[]),(0,o.jsxs)("div",{className:u,children:[(0,o.jsx)("h1",{className:i,children:"Trending today"}),(0,o.jsx)(s.Z,{movies:n})]})}}}]); -//# sourceMappingURL=936.ff851f39.chunk.js.map \ No newline at end of file +"use strict";(self.webpackChunkgoit_react_hw_05_movies=self.webpackChunkgoit_react_hw_05_movies||[]).push([[936],{663:function(t,e,n){n.d(e,{Hx:function(){return _},Y5:function(){return f},bI:function(){return p},uV:function(){return h},wr:function(){return i}});var r=n(861),a=n(757),c=n.n(a),s=n(243);s.Z.defaults.baseURL="https://api.themoviedb.org/3/";var u="0846bf312f0a1b3f0d9b691dd26eb2d9";function i(){return o.apply(this,arguments)}function o(){return(o=(0,r.Z)(c().mark((function t(){var e;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.Z.get("trending/all/day?api_key=".concat(u));case 3:return e=t.sent,t.abrupt("return",e.data.results);case 7:t.prev=7,t.t0=t.catch(0),console.error(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function p(t){return l.apply(this,arguments)}function l(){return(l=(0,r.Z)(c().mark((function t(e){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.Z.get("search/movie?api_key=".concat(u,"&query=").concat(e,"&language=en-US"));case 3:return n=t.sent,t.abrupt("return",n.data.results);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function f(t){return v.apply(this,arguments)}function v(){return(v=(0,r.Z)(c().mark((function t(e){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.Z.get("movie/".concat(e,"?api_key=").concat(u,"&language=en-US"));case 3:return n=t.sent,t.abrupt("return",n.data);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function h(t){return d.apply(this,arguments)}function d(){return(d=(0,r.Z)(c().mark((function t(e){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.Z.get("movie/".concat(e,"/credits?api_key=").concat(u,"&language=en-US"));case 3:return n=t.sent,t.abrupt("return",n.data.cast);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function _(t){return m.apply(this,arguments)}function m(){return(m=(0,r.Z)(c().mark((function t(e){var n;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,s.Z.get("movie/".concat(e,"/reviews?api_key=").concat(u,"&language=en-US"));case 3:return n=t.sent,t.abrupt("return",n.data.results);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}},155:function(t,e,n){n.d(e,{Z:function(){return o}});var r=n(689),a=n(87),c="MoviesList_list__title__R5pRk",s="MoviesList_movie__list__7GXDl",u="MoviesList_movie__item__ZR78F",i=n(184),o=function(t){var e=t.movies,n=(0,r.TH)();return(0,i.jsx)("ul",{className:s,children:e.map((function(t){var e=t.id,r=t.title,s=t.poster_path;return r&&(0,i.jsx)("li",{className:u,children:(0,i.jsxs)(a.rU,{to:"/movies/".concat(e),state:{from:n},children:[(0,i.jsx)("img",{src:s?"https://image.tmdb.org/t/p/w300"+s:"https://via.placeholder.com/300x450",width:300,height:450,alt:r}),(0,i.jsx)("h2",{className:c,children:r})]},e)},e)}))})}},936:function(t,e,n){n.r(e),n.d(e,{default:function(){return l}});var r=n(439),a=n(663),c=n(791),s=n(155),u="Home_container__w+u63",i="Home_trending__title__avXrE",o=n(393),p=n(184),l=function(){var t=(0,c.useState)([]),e=(0,r.Z)(t,2),n=e[0],l=e[1],f=(0,c.useState)(!0),v=(0,r.Z)(f,2),h=v[0],d=v[1];return(0,c.useEffect)((function(){(0,a.wr)().then((function(t){l(t),d(!1)})).catch((function(t){console.error("Error fetching trending movies:",t),d(!1)}))}),[]),(0,p.jsxs)("div",{className:u,children:[(0,p.jsx)("h1",{className:i,children:"Trending today"}),h?(0,p.jsx)(o.Z,{}):(0,p.jsx)(s.Z,{movies:n})]})}}}]); +//# sourceMappingURL=936.58a00979.chunk.js.map \ No newline at end of file diff --git a/static/js/936.58a00979.chunk.js.map b/static/js/936.58a00979.chunk.js.map new file mode 100644 index 0000000..51ee8a1 --- /dev/null +++ b/static/js/936.58a00979.chunk.js.map @@ -0,0 +1 @@ +{"version":3,"file":"static/js/936.58a00979.chunk.js","mappings":"+SAEAA,EAAAA,EAAAA,SAAAA,QAAyB,gCACzB,IAAMC,EAAU,mCAAhB,SAGeC,IAAAA,OAAAA,EAAAA,MAAAA,KAAAA,UAAAA,CAAAA,SAAAA,IAAf,OAAeA,GAAAA,EAAAA,EAAAA,GAAAA,IAAAA,MAAf,6GAE2BF,EAAAA,EAAAA,IAAA,mCACOC,IAHlC,cAEUE,EAFV,yBAKWA,EAASC,KAAKC,SALzB,gCAOIC,QAAQC,MAAR,MAPJ,gF,SAaeC,EAAkB,GAAlBA,OAAAA,EAAAA,MAAAA,KAAAA,UAAAA,CAAAA,SAAAA,IAAf,OAAeA,GAAAA,EAAAA,EAAAA,GAAAA,IAAAA,MAAf,WAAiCC,GAAjC,gGAE2BT,EAAAA,EAAAA,IAAA,+BACGC,EADH,kBACoBQ,EADpB,oBAF3B,cAEUN,EAFV,yBAKWA,EAASC,KAAKC,SALzB,gCAOIC,QAAQI,IAAR,MAPJ,gF,SAceC,EAAkB,GAAlBA,OAAAA,EAAAA,MAAAA,KAAAA,UAAAA,CAAAA,SAAAA,IAAf,OAAeA,GAAAA,EAAAA,EAAAA,G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,EAA4B,wBAA5B,EAAsE,8B,kBCiCtE,EA5Ba,WACX,OAA4BmB,EAAAA,EAAAA,UAAS,IAArC,eAAOf,EAAP,KAAegB,EAAf,KACA,GAA8BD,EAAAA,EAAAA,WAAS,GAAvC,eAAOE,EAAP,KAAgBC,EAAhB,KAcA,OAZAC,EAAAA,EAAAA,YAAU,YACRjC,EAAAA,EAAAA,MACGkC,MAAK,SAAAjC,GACJ6B,EAAU7B,GACV+B,GAAW,EACZ,IACAG,OAAM,SAAA9B,GACLD,QAAQC,MAAM,kCAAmCA,GACjD2B,GAAW,EACZ,GACJ,GAAE,KAGD,iBAAKf,UAAWC,EAAhB,WACE,eAAID,UAAWC,EAAf,4BACCa,GACC,SAACK,EAAA,EAAD,KAEA,SAACC,EAAA,EAAD,CAAYvB,OAAQA,MAI3B,C","sources":["Services/Api.js","webpack://goit-react-hw-05-movies/./src/components/MoviesList/MoviesList.module.css?de3d","components/MoviesList/MoviesList.jsx","webpack://goit-react-hw-05-movies/./src/pages/Home/Home.module.css?1370","pages/Home/Home.jsx"],"sourcesContent":["import axios from 'axios';\n\naxios.defaults.baseURL = 'https://api.themoviedb.org/3/';\nconst API_KEY = \"0846bf312f0a1b3f0d9b691dd26eb2d9\";\n\n\nasync function fetchTrendingMovies () {\n try {\n const response = await axios.get(\n `trending/all/day?api_key=${API_KEY}`\n );\n return response.data.results;\n } catch (error) {\n console.error(error);\n }\n};\n\n//fetchSearchMovies().then(response =>console.log(response)) \n\nasync function fetchSearchMovies(query) {\n try {\n const response = await axios.get(\n `search/movie?api_key=${API_KEY}&query=${query}&language=en-US`\n );\n return response.data.results;\n } catch (error) {\n console.log(error);\n }\n};\n\n\n//fetchSearchMovies('king').then(response =>console.log(response)) \n\nasync function fetchMovieDetails(id) {\n try {\n const response = await axios.get(\n `movie/${id}?api_key=${API_KEY}&language=en-US`\n );\n return response.data;\n } catch (error) {\n console.log(error);\n }\n};\n\n//fetchMovieDetails(113082).then(response =>console.log(response)) \n\nasync function fetchMovieCast(id) {\n try {\n const response = await axios.get(\n `movie/${id}/credits?api_key=${API_KEY}&language=en-US`\n );\n return response.data.cast;\n } catch (error) {\n console.log(error);\n }\n};\n\n//fetchMovieCast(459003).then(response =>console.log(response)) \n\nasync function fetchMovieReviews(id) {\n try {\n const response = await axios.get(\n `movie/${id}/reviews?api_key=${API_KEY}&language=en-US`\n );\n return response.data.results;\n } catch (error) {\n console.log(error);\n }\n};\n\n//fetchMovieReviews(447365).then(response =>console.log(response)) \n\n\nexport { fetchTrendingMovies, fetchSearchMovies, fetchMovieDetails, fetchMovieCast, fetchMovieReviews };\n\n\n\n\n\n/*async function getUser() {\n try {\n const response = await axios.get('/user?ID=12345');\n console.log(response);\n } catch (error) {\n console.error(error);\n }\n}*/\n\n\n\n\n\n\n\n/*/*const options = {\n method: 'GET',\n headers: {\n accept: 'application/json',\n Authorization: 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIwODQ2YmYzMTJmMGExYjNmMGQ5YjY5MWRkMjZlYjJkOSIsInN1YiI6IjY0YTE1NjU2ODFkYTM5MDEwYjhiN2ZkZSIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.Fu4JWQK_iKfB2CFB3482KCb1ZQWN0GnpevA4-rrxWVk',\n },\n};\n \nasync function fetchTrendingMovies() {\n const response = await axios.get('/trending/all/day?language=en-US', options);\n console.log(response.data.results)\n return response.data.results;\n}*/","// extracted by mini-css-extract-plugin\nexport default {\"list__title\":\"MoviesList_list__title__R5pRk\",\"movie__list\":\"MoviesList_movie__list__7GXDl\",\"movie__item\":\"MoviesList_movie__item__ZR78F\"};","import { useLocation, Link } from 'react-router-dom';\nimport css from './MoviesList.module.css'\n\n\nconst MoviesList = ({ movies }) => {\n const location = useLocation();\n return (\n )\n};\n\n\n\nexport default MoviesList;\n\n\n/*\n*/","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"Home_container__w+u63\",\"trending__title\":\"Home_trending__title__avXrE\"};","import { fetchTrendingMovies } from \"Services/Api\";\nimport { useState, useEffect } from 'react';\nimport MoviesList from \"components/MoviesList/MoviesList\";\nimport css from './Home.module.css';\nimport Loader from \"components/Loader/Loader\";\n\nconst Home = () => {\n const [movies, setMovies] = useState([]);\n const [loading, setLoading] = useState(true);\n\n useEffect(() => {\n fetchTrendingMovies()\n .then(response => {\n setMovies(response);\n setLoading(false);\n })\n .catch(error => {\n console.error('Error fetching trending movies:', error);\n setLoading(false); \n });\n }, []);\n\n return (\n
\n

Trending today

\n {loading ? (\n \n ) : (\n \n )}\n
\n );\n};\n\nexport default Home;\n\n\n\n// const Home = () => {\n// const [movies, setMovies] = useState([]);\n// useEffect(() => {\n// fetchTrendingMovies().then(response => setMovies(response))\n// }, []);\n \n// return
\n//

Trending today

\n// \n//
\n// };\n\n// export default Home;\n\n\n/*\n \n}*/ "],"names":["axios","API_KEY","fetchTrendingMovies","response","data","results","console","error","fetchSearchMovies","query","log","fetchMovieDetails","id","fetchMovieCast","cast","fetchMovieReviews","movies","location","useLocation","className","css","map","title","poster_path","to","state","from","src","width","height","alt","useState","setMovies","loading","setLoading","useEffect","then","catch","Loader","MoviesList"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/936.ff851f39.chunk.js.map b/static/js/936.ff851f39.chunk.js.map deleted file mode 100644 index 4e52fe0..0000000 --- a/static/js/936.ff851f39.chunk.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/936.ff851f39.chunk.js","mappings":"+SAEAA,EAAAA,EAAAA,SAAAA,QAAyB,gCACzB,IAAMC,EAAU,mCAAhB,SAGeC,IAAAA,OAAAA,EAAAA,MAAAA,KAAAA,UAAAA,CAAAA,SAAAA,IAAf,OAAeA,GAAAA,EAAAA,EAAAA,GAAAA,IAAAA,MAAf,6GAE2BF,EAAAA,EAAAA,IAAA,mCACOC,IAHlC,cAEUE,EAFV,yBAKWA,EAASC,KAAKC,SALzB,gCAOIC,QAAQC,MAAR,MAPJ,gF,SA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AAA,EAAAA,MACjB,OACI,eAAIC,UAAWC,EAAf,SACKJ,EAAOK,KACJ,gBAAGT,EAAH,EAAGA,GAAIU,EAAP,EAAOA,MAAOC,EAAd,EAAcA,YAAd,OACGD,IAAW,eAAIH,UAAWC,EAAf,UACV,UAAC,KAAD,CAEII,GAAE,kBAAaZ,GACfa,MAAO,CAAEC,KAAMT,GAHnB,WAII,gBACIU,IACIJ,EACM,kCAAoCA,EACpC,sCACVK,MAAO,IACPC,OAAQ,IACRC,IAAKR,KACT,eAAIH,UAAWC,EAAf,SAAiCE,MAX5BV,IAFsCA,EADnD,KAkBf,C,2GC1BD,EAA4B,wBAA5B,EAAsE,8B,SCiBtE,EAZa,WACX,OAA4BmB,EAAAA,EAAAA,UAAS,IAArC,eAAOf,EAAP,KAAegB,EAAf,KAKA,OAJAC,EAAAA,EAAAA,YAAU,YACR/B,EAAAA,EAAAA,MAAsBgC,MAAK,SAAA/B,GAAQ,OAAI6B,EAAU7B,EAAd,GACpC,GAAE,KAEI,iBAAKgB,UAAWC,EAAhB,WACL,eAAID,UAAWC,EAAf,6BACA,SAACe,EAAA,EAAD,CAAYnB,OAAQA,MAEvB,C","sources":["Services/Api.js","webpack://goit-react-hw-05-movies/./src/components/MoviesList/MoviesList.module.css?de3d","components/MoviesList/MoviesList.jsx","webpack://goit-react-hw-05-movies/./src/pages/Home/Home.module.css?1370","pages/Home/Home.jsx"],"sourcesContent":["import axios from 'axios';\n\naxios.defaults.baseURL = 'https://api.themoviedb.org/3/';\nconst API_KEY = \"0846bf312f0a1b3f0d9b691dd26eb2d9\";\n\n\nasync function fetchTrendingMovies () {\n try {\n const response = await axios.get(\n `trending/all/day?api_key=${API_KEY}`\n );\n return response.data.results;\n } catch (error) {\n console.error(error);\n }\n};\n\n//fetchSearchMovies().then(response =>console.log(response)) \n\nasync function fetchSearchMovies(query) {\n try {\n const response = await axios.get(\n `search/movie?api_key=${API_KEY}&query=${query}&language=en-US`\n );\n return response.data.results;\n } catch (error) {\n console.log(error);\n }\n};\n\n\n//fetchSearchMovies('king').then(response =>console.log(response)) \n\nasync function fetchMovieDetails(id) {\n try {\n const response = await axios.get(\n `movie/${id}?api_key=${API_KEY}&language=en-US`\n );\n return response.data;\n } catch (error) {\n console.log(error);\n }\n};\n\n//fetchMovieDetails(113082).then(response =>console.log(response)) \n\nasync function fetchMovieCast(id) {\n try {\n const response = await axios.get(\n `movie/${id}/credits?api_key=${API_KEY}&language=en-US`\n );\n return response.data.cast;\n } catch (error) {\n console.log(error);\n }\n};\n\n//fetchMovieCast(459003).then(response =>console.log(response)) \n\nasync function fetchMovieReviews(id) {\n try {\n const response = await axios.get(\n `movie/${id}/reviews?api_key=${API_KEY}&language=en-US`\n );\n return response.data.results;\n } catch (error) {\n console.log(error);\n }\n};\n\n//fetchMovieReviews(447365).then(response =>console.log(response)) \n\n\nexport { fetchTrendingMovies, fetchSearchMovies, fetchMovieDetails, fetchMovieCast, fetchMovieReviews };\n\n\n\n\n\n/*async function getUser() {\n try {\n const response = await axios.get('/user?ID=12345');\n console.log(response);\n } catch (error) {\n console.error(error);\n }\n}*/\n\n\n\n\n\n\n\n/*/*const options = {\n method: 'GET',\n headers: {\n accept: 'application/json',\n Authorization: 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIwODQ2YmYzMTJmMGExYjNmMGQ5YjY5MWRkMjZlYjJkOSIsInN1YiI6IjY0YTE1NjU2ODFkYTM5MDEwYjhiN2ZkZSIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.Fu4JWQK_iKfB2CFB3482KCb1ZQWN0GnpevA4-rrxWVk',\n },\n};\n \nasync function fetchTrendingMovies() {\n const response = await axios.get('/trending/all/day?language=en-US', options);\n console.log(response.data.results)\n return response.data.results;\n}*/","// extracted by mini-css-extract-plugin\nexport default {\"list__title\":\"MoviesList_list__title__R5pRk\",\"movie__list\":\"MoviesList_movie__list__7GXDl\",\"movie__item\":\"MoviesList_movie__item__ZR78F\"};","import { useLocation, Link } from 'react-router-dom';\nimport css from './MoviesList.module.css'\n\n\nconst MoviesList = ({ movies }) => {\n const location = useLocation();\n return (\n )\n};\n\n\n\nexport default MoviesList;\n\n\n/*\n*/","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"Home_container__w+u63\",\"trending__title\":\"Home_trending__title__avXrE\"};","import { fetchTrendingMovies } from \"Services/Api\";\nimport { useState, useEffect } from 'react';\nimport MoviesList from \"components/MoviesList/MoviesList\";\nimport css from './Home.module.css';\n\n\nconst Home = () => {\n const [movies, setMovies] = useState([]);\n useEffect(() => {\n fetchTrendingMovies().then(response => setMovies(response))\n }, []);\n \n return
\n

Trending today

\n \n
\n};\n\nexport default Home;\n\n\n/*\n \n}*/ "],"names":["axios","API_KEY","fetchTrendingMovies","response","data","results","console","error","fetchSearchMovies","query","log","fetchMovieDetails","id","fetchMovieCast","cast","fetchMovieReviews","movies","location","useLocation","className","css","map","title","poster_path","to","state","from","src","width","height","alt","useState","setMovies","useEffect","then","MoviesList"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/964.499e95be.chunk.js b/static/js/964.499e95be.chunk.js new file mode 100644 index 0000000..325f5fb --- /dev/null +++ b/static/js/964.499e95be.chunk.js @@ -0,0 +1,2 @@ +(self.webpackChunkgoit_react_hw_05_movies=self.webpackChunkgoit_react_hw_05_movies||[]).push([[964],{663:function(t,e,o){"use strict";o.d(e,{Hx:function(){return x},Y5:function(){return p},bI:function(){return f},uV:function(){return d},wr:function(){return l}});var i=o(861),n=o(757),a=o.n(n),r=o(243);r.Z.defaults.baseURL="https://api.themoviedb.org/3/";var s="0846bf312f0a1b3f0d9b691dd26eb2d9";function l(){return c.apply(this,arguments)}function c(){return(c=(0,i.Z)(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r.Z.get("trending/all/day?api_key=".concat(s));case 3:return e=t.sent,t.abrupt("return",e.data.results);case 7:t.prev=7,t.t0=t.catch(0),console.error(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function f(t){return m.apply(this,arguments)}function m(){return(m=(0,i.Z)(a().mark((function t(e){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r.Z.get("search/movie?api_key=".concat(s,"&query=").concat(e,"&language=en-US"));case 3:return o=t.sent,t.abrupt("return",o.data.results);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function p(t){return u.apply(this,arguments)}function u(){return(u=(0,i.Z)(a().mark((function t(e){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r.Z.get("movie/".concat(e,"?api_key=").concat(s,"&language=en-US"));case 3:return o=t.sent,t.abrupt("return",o.data);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function d(t){return y.apply(this,arguments)}function y(){return(y=(0,i.Z)(a().mark((function t(e){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r.Z.get("movie/".concat(e,"/credits?api_key=").concat(s,"&language=en-US"));case 3:return o=t.sent,t.abrupt("return",o.data.cast);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function x(t){return g.apply(this,arguments)}function g(){return(g=(0,i.Z)(a().mark((function t(e){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r.Z.get("movie/".concat(e,"/reviews?api_key=").concat(s,"&language=en-US"));case 3:return o=t.sent,t.abrupt("return",o.data.results);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}},155:function(t,e,o){"use strict";o.d(e,{Z:function(){return c}});var i=o(689),n=o(87),a="MoviesList_list__title__R5pRk",r="MoviesList_movie__list__7GXDl",s="MoviesList_movie__item__ZR78F",l=o(184),c=function(t){var e=t.movies,o=(0,i.TH)();return(0,l.jsx)("ul",{className:r,children:e.map((function(t){var e=t.id,i=t.title,r=t.poster_path;return i&&(0,l.jsx)("li",{className:s,children:(0,l.jsxs)(n.rU,{to:"/movies/".concat(e),state:{from:o},children:[(0,l.jsx)("img",{src:r?"https://image.tmdb.org/t/p/w300"+r:"https://via.placeholder.com/300x450",width:300,height:450,alt:i}),(0,l.jsx)("h2",{className:a,children:i})]},e)},e)}))})}},964:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return b}});var i=o(433),n=o(861),a=o(439),r=o(757),s=o.n(r),l=o(791),c=o(689),f=o(87),m=o(663),p=o(264),u="SearchForm_search__form__jrxBg",d=o(184);p.Notify.init({width:"500px",fontSize:"20px",position:"right-top",closeButton:!1});var y=function(t){var e=t.onSubmit;return(0,d.jsx)("div",{children:(0,d.jsxs)("form",{className:u,action:"",onSubmit:function(t){t.preventDefault();var o=t.currentTarget,i=o.elements.query.value;""!==i.trim()?(e(i),o.reset()):p.Notify.warning("Enter your request, please...")},children:[(0,d.jsx)("input",{type:"text",placeholder:"Search movie",autoComplete:"off",autoFocus:!0,name:"query"}),(0,d.jsx)("button",{type:"submit",children:"Search"})]})})},x=o(155),g=o(393),h="Movies_container__search__Uvlii",b=function(){var t,e=(0,l.useState)([]),o=(0,a.Z)(e,2),r=o[0],u=o[1],b=(0,l.useState)(!1),v=(0,a.Z)(b,2),w=v[0],k=v[1],N=(0,c.TH)(),I=(0,f.lr)(),C=(0,a.Z)(I,2),z=C[0],W=C[1],A=null!==(t=z.get("query"))&&void 0!==t?t:"";return(0,l.useEffect)((function(){if(A){var t=!0,e=function(){var e=(0,n.Z)(s().mark((function e(){var o;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(!0),e.prev=1,e.next=4,(0,m.bI)(A);case 4:o=e.sent,t&&(0===o.length?p.Notify.info("Nothing was found by request. Try another value..."):u((0,i.Z)(o))),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),console.error("Error fetching search movies:",e.t0),p.Notify.failure("Error fetching movies. Please try again later.");case 12:return e.prev=12,k(!1),e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[1,8,12,15]])})));return function(){return e.apply(this,arguments)}}();return e(),function(){t=!1}}}),[A]),(0,d.jsxs)("div",{className:h,children:[(0,d.jsx)(y,{location:N,onSubmit:function(t){W({query:t})}}),w?(0,d.jsx)(g.Z,{}):r.length>0&&(0,d.jsx)(x.Z,{movies:r})]})}},264:function(t,e,o){var i,n;n="undefined"!==typeof o.g?o.g:"undefined"!==typeof window?window:this,i=function(){return function(t){"use strict";if("undefined"===typeof t&&"undefined"===typeof t.document)return!1;var e,o="Notiflix",i="\n\nVisit documentation page to learn more: https://notiflix.github.io/documentation",n='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',a={Success:"Success",Failure:"Failure",Warning:"Warning",Info:"Info"},r={wrapID:"NotiflixNotifyWrap",overlayID:"NotiflixNotifyOverlay",width:"280px",position:"right-top",distance:"10px",opacity:1,borderRadius:"5px",rtl:!1,timeout:3e3,messageMaxLength:110,backOverlay:!1,backOverlayColor:"rgba(0,0,0,0.5)",plainText:!0,showOnlyTheLastOne:!1,clickToClose:!1,pauseOnHover:!0,ID:"NotiflixNotify",className:"notiflix-notify",zindex:4001,fontFamily:"Quicksand",fontSize:"13px",cssAnimation:!0,cssAnimationDuration:400,cssAnimationStyle:"fade",closeButton:!1,useIcon:!0,useFontAwesome:!1,fontAwesomeIconStyle:"basic",fontAwesomeIconSize:"34px",success:{background:"#32c682",textColor:"#fff",childClassName:"notiflix-notify-success",notiflixIconColor:"rgba(0,0,0,0.2)",fontAwesomeClassName:"fas fa-check-circle",fontAwesomeIconColor:"rgba(0,0,0,0.2)",backOverlayColor:"rgba(50,198,130,0.2)"},failure:{background:"#ff5549",textColor:"#fff",childClassName:"notiflix-notify-failure",notiflixIconColor:"rgba(0,0,0,0.2)",fontAwesomeClassName:"fas fa-times-circle",fontAwesomeIconColor:"rgba(0,0,0,0.2)",backOverlayColor:"rgba(255,85,73,0.2)"},warning:{background:"#eebf31",textColor:"#fff",childClassName:"notiflix-notify-warning",notiflixIconColor:"rgba(0,0,0,0.2)",fontAwesomeClassName:"fas fa-exclamation-circle",fontAwesomeIconColor:"rgba(0,0,0,0.2)",backOverlayColor:"rgba(238,191,49,0.2)"},info:{background:"#26c0d3",textColor:"#fff",childClassName:"notiflix-notify-info",notiflixIconColor:"rgba(0,0,0,0.2)",fontAwesomeClassName:"fas fa-info-circle",fontAwesomeIconColor:"rgba(0,0,0,0.2)",backOverlayColor:"rgba(38,192,211,0.2)"}},s=function(t){return console.error("%c "+o+" Error ","padding:2px;border-radius:20px;color:#fff;background:#ff5549","\n"+t+i)},l=function(e){return e||(e="head"),null!==t.document[e]||(s('\nNotiflix needs to be appended to the "<'+e+'>" element, but you called it before the "<'+e+'>" element has been created.'),!1)},c=function(e,o){if(!l("head"))return!1;if(null!==e()&&!t.document.getElementById(o)){var i=t.document.createElement("style");i.id=o,i.innerHTML=e(),t.document.head.appendChild(i)}},f=function t(){var e={},o=!1,i=0;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(o=arguments[0],i++);for(var n=function(i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(o&&"[object Object]"===Object.prototype.toString.call(i[n])?e[n]=t(e[n],i[n]):e[n]=i[n])};idiv{pointer-events:all;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:"Quicksand",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;width:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;margin:0 0 10px;border-radius:5px;background:#1e1e1e;color:#fff;padding:10px 12px;font-size:14px;line-height:1.4}[id^=NotiflixNotifyWrap]>div:last-child{margin:0}[id^=NotiflixNotifyWrap]>div.nx-with-callback{cursor:pointer}[id^=NotiflixNotifyWrap]>div.nx-with-icon{padding:8px;min-height:56px}[id^=NotiflixNotifyWrap]>div.nx-paused{cursor:auto}[id^=NotiflixNotifyWrap]>div.nx-notify-click-to-close{cursor:pointer}[id^=NotiflixNotifyWrap]>div.nx-with-close-button{padding:10px 36px 10px 12px}[id^=NotiflixNotifyWrap]>div.nx-with-icon.nx-with-close-button{padding:6px 36px 6px 6px}[id^=NotiflixNotifyWrap]>div>span.nx-message{cursor:inherit;font-weight:normal;font-family:inherit!important;word-break:break-all;word-break:break-word}[id^=NotiflixNotifyWrap]>div>span.nx-close-button{cursor:pointer;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;position:absolute;right:8px;top:0;bottom:0;margin:auto;color:inherit;width:20px;height:20px}[id^=NotiflixNotifyWrap]>div>span.nx-close-button:hover{-webkit-transform:rotate(90deg);transform:rotate(90deg)}[id^=NotiflixNotifyWrap]>div>span.nx-close-button>svg{position:absolute;width:16px;height:16px;right:2px;top:2px}[id^=NotiflixNotifyWrap]>div>.nx-message-icon{position:absolute;width:40px;height:40px;font-size:30px;line-height:40px;text-align:center;left:8px;top:0;bottom:0;margin:auto;border-radius:inherit}[id^=NotiflixNotifyWrap]>div>.nx-message-icon-fa.nx-message-icon-fa-shadow{color:inherit;background:rgba(0,0,0,.15);-webkit-box-shadow:inset 0 0 34px rgba(0,0,0,.2);box-shadow:inset 0 0 34px rgba(0,0,0,.2);text-shadow:0 0 10px rgba(0,0,0,.3)}[id^=NotiflixNotifyWrap]>div>span.nx-with-icon{position:relative;float:left;width:calc(100% - 40px);margin:0 0 0 40px;padding:0 0 0 10px;-webkit-box-sizing:border-box;box-sizing:border-box}[id^=NotiflixNotifyWrap]>div.nx-rtl-on>.nx-message-icon{left:auto;right:8px}[id^=NotiflixNotifyWrap]>div.nx-rtl-on>span.nx-with-icon{padding:0 10px 0 0;margin:0 40px 0 0}[id^=NotiflixNotifyWrap]>div.nx-rtl-on>span.nx-close-button{right:auto;left:8px}[id^=NotiflixNotifyWrap]>div.nx-with-icon.nx-with-close-button.nx-rtl-on{padding:6px 6px 6px 36px}[id^=NotiflixNotifyWrap]>div.nx-with-close-button.nx-rtl-on{padding:10px 12px 10px 36px}[id^=NotiflixNotifyOverlay].nx-with-animation,[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-fade{-webkit-animation:notify-animation-fade .3s ease-in-out 0s normal;animation:notify-animation-fade .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-fade{0%{opacity:0}100%{opacity:1}}@keyframes notify-animation-fade{0%{opacity:0}100%{opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-zoom{-webkit-animation:notify-animation-zoom .3s ease-in-out 0s normal;animation:notify-animation-zoom .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-zoom{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes notify-animation-zoom{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(1);transform:scale(1)}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-right{-webkit-animation:notify-animation-from-right .3s ease-in-out 0s normal;animation:notify-animation-from-right .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-right{0%{right:-300px;opacity:0}50%{right:8px;opacity:1}100%{right:0;opacity:1}}@keyframes notify-animation-from-right{0%{right:-300px;opacity:0}50%{right:8px;opacity:1}100%{right:0;opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-left{-webkit-animation:notify-animation-from-left .3s ease-in-out 0s normal;animation:notify-animation-from-left .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-left{0%{left:-300px;opacity:0}50%{left:8px;opacity:1}100%{left:0;opacity:1}}@keyframes notify-animation-from-left{0%{left:-300px;opacity:0}50%{left:8px;opacity:1}100%{left:0;opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-top{-webkit-animation:notify-animation-from-top .3s ease-in-out 0s normal;animation:notify-animation-from-top .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-top{0%{top:-50px;opacity:0}50%{top:8px;opacity:1}100%{top:0;opacity:1}}@keyframes notify-animation-from-top{0%{top:-50px;opacity:0}50%{top:8px;opacity:1}100%{top:0;opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-bottom{-webkit-animation:notify-animation-from-bottom .3s ease-in-out 0s normal;animation:notify-animation-from-bottom .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-bottom{0%{bottom:-50px;opacity:0}50%{bottom:8px;opacity:1}100%{bottom:0;opacity:1}}@keyframes notify-animation-from-bottom{0%{bottom:-50px;opacity:0}50%{bottom:8px;opacity:1}100%{bottom:0;opacity:1}}[id^=NotiflixNotifyOverlay].nx-with-animation.nx-remove,[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-fade.nx-remove{opacity:0;-webkit-animation:notify-remove-fade .3s ease-in-out 0s normal;animation:notify-remove-fade .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-fade{0%{opacity:1}100%{opacity:0}}@keyframes notify-remove-fade{0%{opacity:1}100%{opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-zoom.nx-remove{-webkit-transform:scale(0);transform:scale(0);-webkit-animation:notify-remove-zoom .3s ease-in-out 0s normal;animation:notify-remove-zoom .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-zoom{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(0);transform:scale(0)}}@keyframes notify-remove-zoom{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(0);transform:scale(0)}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-top.nx-remove{opacity:0;-webkit-animation:notify-remove-to-top .3s ease-in-out 0s normal;animation:notify-remove-to-top .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-top{0%{top:0;opacity:1}50%{top:8px;opacity:1}100%{top:-50px;opacity:0}}@keyframes notify-remove-to-top{0%{top:0;opacity:1}50%{top:8px;opacity:1}100%{top:-50px;opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-right.nx-remove{opacity:0;-webkit-animation:notify-remove-to-right .3s ease-in-out 0s normal;animation:notify-remove-to-right .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-right{0%{right:0;opacity:1}50%{right:8px;opacity:1}100%{right:-300px;opacity:0}}@keyframes notify-remove-to-right{0%{right:0;opacity:1}50%{right:8px;opacity:1}100%{right:-300px;opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-bottom.nx-remove{opacity:0;-webkit-animation:notify-remove-to-bottom .3s ease-in-out 0s normal;animation:notify-remove-to-bottom .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-bottom{0%{bottom:0;opacity:1}50%{bottom:8px;opacity:1}100%{bottom:-50px;opacity:0}}@keyframes notify-remove-to-bottom{0%{bottom:0;opacity:1}50%{bottom:8px;opacity:1}100%{bottom:-50px;opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-left.nx-remove{opacity:0;-webkit-animation:notify-remove-to-left .3s ease-in-out 0s normal;animation:notify-remove-to-left .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-left{0%{left:0;opacity:1}50%{left:8px;opacity:1}100%{left:-300px;opacity:0}}@keyframes notify-remove-to-left{0%{left:0;opacity:1}50%{left:8px;opacity:1}100%{left:-300px;opacity:0}}'},u=0,d=function(o,i,s,c){if(!l("body"))return!1;e||y.Notify.init({});var p=f(!0,e,{});if("object"===typeof s&&!Array.isArray(s)||"object"===typeof c&&!Array.isArray(c)){var d={};"object"===typeof s?d=s:"object"===typeof c&&(d=c),e=f(!0,e,d)}var x=e[o.toLocaleLowerCase("en")];u++,"string"!==typeof i&&(i="Notiflix "+o),e.plainText&&(i=m(i)),!e.plainText&&i.length>e.messageMaxLength&&(e=f(!0,e,{closeButton:!0,messageMaxLength:150}),i='Possible HTML Tags Error: The "plainText" option is "false" and the notification content length is more than the "messageMaxLength" option.'),i.length>e.messageMaxLength&&(i=i.substring(0,e.messageMaxLength)+"..."),"shadow"===e.fontAwesomeIconStyle&&(x.fontAwesomeIconColor=x.background),e.cssAnimation||(e.cssAnimationDuration=0);var g=t.document.getElementById(r.wrapID)||t.document.createElement("div");if(g.id=r.wrapID,g.style.width=e.width,g.style.zIndex=e.zindex,g.style.opacity=e.opacity,"center-center"===e.position?(g.style.left=e.distance,g.style.top=e.distance,g.style.right=e.distance,g.style.bottom=e.distance,g.style.margin="auto",g.classList.add("nx-flex-center-center"),g.style.maxHeight="calc((100vh - "+e.distance+") - "+e.distance+")",g.style.display="flex",g.style.flexWrap="wrap",g.style.flexDirection="column",g.style.justifyContent="center",g.style.alignItems="center",g.style.pointerEvents="none"):"center-top"===e.position?(g.style.left=e.distance,g.style.right=e.distance,g.style.top=e.distance,g.style.bottom="auto",g.style.margin="auto"):"center-bottom"===e.position?(g.style.left=e.distance,g.style.right=e.distance,g.style.bottom=e.distance,g.style.top="auto",g.style.margin="auto"):"right-bottom"===e.position?(g.style.right=e.distance,g.style.bottom=e.distance,g.style.top="auto",g.style.left="auto"):"left-top"===e.position?(g.style.left=e.distance,g.style.top=e.distance,g.style.right="auto",g.style.bottom="auto"):"left-bottom"===e.position?(g.style.left=e.distance,g.style.bottom=e.distance,g.style.top="auto",g.style.right="auto"):(g.style.right=e.distance,g.style.top=e.distance,g.style.left="auto",g.style.bottom="auto"),e.backOverlay){var h=t.document.getElementById(r.overlayID)||t.document.createElement("div");h.id=r.overlayID,h.style.width="100%",h.style.height="100%",h.style.position="fixed",h.style.zIndex=e.zindex-1,h.style.left=0,h.style.top=0,h.style.right=0,h.style.bottom=0,h.style.background=x.backOverlayColor||e.backOverlayColor,h.className=e.cssAnimation?"nx-with-animation":"",h.style.animationDuration=e.cssAnimation?e.cssAnimationDuration+"ms":"",t.document.getElementById(r.overlayID)||t.document.body.appendChild(h)}t.document.getElementById(r.wrapID)||t.document.body.appendChild(g);var b=t.document.createElement("div");b.id=e.ID+"-"+u,b.className=e.className+" "+x.childClassName+" "+(e.cssAnimation?"nx-with-animation":"")+" "+(e.useIcon?"nx-with-icon":"")+" nx-"+e.cssAnimationStyle+" "+(e.closeButton&&"function"!==typeof s?"nx-with-close-button":"")+" "+("function"===typeof s?"nx-with-callback":"")+" "+(e.clickToClose?"nx-notify-click-to-close":""),b.style.fontSize=e.fontSize,b.style.color=x.textColor,b.style.background=x.background,b.style.borderRadius=e.borderRadius,b.style.pointerEvents="all",e.rtl&&(b.setAttribute("dir","rtl"),b.classList.add("nx-rtl-on")),b.style.fontFamily='"'+e.fontFamily+'", '+n,e.cssAnimation&&(b.style.animationDuration=e.cssAnimationDuration+"ms");var v="";if(e.closeButton&&"function"!==typeof s&&(v=''),e.useIcon)if(e.useFontAwesome)b.innerHTML=''+i+""+(e.closeButton?v:"");else{var w="";o===a.Success?w='':o===a.Failure?w='':o===a.Warning?w='':o===a.Info&&(w=''),b.innerHTML=w+''+i+""+(e.closeButton?v:"")}else b.innerHTML=''+i+""+(e.closeButton?v:"");if("left-bottom"===e.position||"right-bottom"===e.position){var k=t.document.getElementById(r.wrapID);k.insertBefore(b,k.firstChild)}else t.document.getElementById(r.wrapID).appendChild(b);var N=t.document.getElementById(b.id);if(N){var I,C,z=function(){N.classList.add("nx-remove");var e=t.document.getElementById(r.overlayID);e&&g.childElementCount<=0&&e.classList.add("nx-remove"),clearTimeout(I)},W=function(){if(N&&null!==N.parentNode&&N.parentNode.removeChild(N),g.childElementCount<=0&&null!==g.parentNode){g.parentNode.removeChild(g);var e=t.document.getElementById(r.overlayID);e&&null!==e.parentNode&&e.parentNode.removeChild(e)}clearTimeout(C)};if(e.closeButton&&"function"!==typeof s&&t.document.getElementById(b.id).querySelector("span.nx-close-button").addEventListener("click",(function(){z();var t=setTimeout((function(){W(),clearTimeout(t)}),e.cssAnimationDuration)})),("function"===typeof s||e.clickToClose)&&N.addEventListener("click",(function(){"function"===typeof s&&s(),z();var t=setTimeout((function(){W(),clearTimeout(t)}),e.cssAnimationDuration)})),!e.closeButton&&"function"!==typeof s){var A=function(){I=setTimeout((function(){z()}),e.timeout),C=setTimeout((function(){W()}),e.timeout+e.cssAnimationDuration)};A(),e.pauseOnHover&&(N.addEventListener("mouseenter",(function(){N.classList.add("nx-paused"),clearTimeout(I),clearTimeout(C)})),N.addEventListener("mouseleave",(function(){N.classList.remove("nx-paused"),A()})))}}if(e.showOnlyTheLastOne&&u>0)for(var _=t.document.querySelectorAll("[id^="+e.ID+"-]:not([id="+e.ID+"-"+u+"])"),S=0;S<_.length;S++){var T=_[S];null!==T.parentNode&&T.parentNode.removeChild(T)}e=f(!0,e,p)},y={Notify:{init:function(t){e=f(!0,r,t),c(p,"NotiflixNotifyInternalCSS")},merge:function(t){if(!e)return s("You have to initialize the Notify module before call Merge function."),!1;e=f(!0,e,t)},success:function(t,e,o){d(a.Success,t,e,o)},failure:function(t,e,o){d(a.Failure,t,e,o)},warning:function(t,e,o){d(a.Warning,t,e,o)},info:function(t,e,o){d(a.Info,t,e,o)}}};return"object"===typeof t.Notiflix?f(!0,t.Notiflix,{Notify:y.Notify}):{Notify:y.Notify}}(n)}.apply(e,[]),void 0===i||(t.exports=i)}}]); +//# sourceMappingURL=964.499e95be.chunk.js.map \ No newline at end of file diff --git a/static/js/964.499e95be.chunk.js.map b/static/js/964.499e95be.chunk.js.map new file mode 100644 index 0000000..b4e0bde --- /dev/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SACTxB,GAAoB,EAAM5D,EAAOoF,SAAU,CAAExH,OAAQwH,EAASxH,SAE9D,CAAEA,OAAQwH,EAASxH,OAG7B,CA3jBYmL,CAAQjJ,EADX,UAAC,SAAD,oB","sources":["Services/Api.js","webpack://goit-react-hw-05-movies/./src/components/MoviesList/MoviesList.module.css?de3d","components/MoviesList/MoviesList.jsx","webpack://goit-react-hw-05-movies/./src/components/SearchForm/SearchForm.module.css?d6f1","components/SearchForm/SearchForm.jsx","webpack://goit-react-hw-05-movies/./src/pages/Movies/Movies.module.css?82ee","pages/Movies/Movies.jsx","../node_modules/notiflix/build/notiflix-notify-aio.js"],"sourcesContent":["import axios from 'axios';\n\naxios.defaults.baseURL = 'https://api.themoviedb.org/3/';\nconst API_KEY = \"0846bf312f0a1b3f0d9b691dd26eb2d9\";\n\n\nasync function fetchTrendingMovies () {\n try {\n const response = await axios.get(\n `trending/all/day?api_key=${API_KEY}`\n );\n return response.data.results;\n } catch (error) {\n console.error(error);\n }\n};\n\n//fetchSearchMovies().then(response =>console.log(response)) \n\nasync function fetchSearchMovies(query) {\n try {\n const response = await axios.get(\n `search/movie?api_key=${API_KEY}&query=${query}&language=en-US`\n );\n return response.data.results;\n } catch (error) {\n console.log(error);\n }\n};\n\n\n//fetchSearchMovies('king').then(response =>console.log(response)) \n\nasync function fetchMovieDetails(id) {\n try {\n const response = await axios.get(\n `movie/${id}?api_key=${API_KEY}&language=en-US`\n );\n return response.data;\n } catch (error) {\n console.log(error);\n }\n};\n\n//fetchMovieDetails(113082).then(response =>console.log(response)) \n\nasync function fetchMovieCast(id) {\n try {\n const response = await axios.get(\n `movie/${id}/credits?api_key=${API_KEY}&language=en-US`\n );\n return response.data.cast;\n } catch (error) {\n console.log(error);\n }\n};\n\n//fetchMovieCast(459003).then(response =>console.log(response)) \n\nasync function fetchMovieReviews(id) {\n try {\n const response = await axios.get(\n `movie/${id}/reviews?api_key=${API_KEY}&language=en-US`\n );\n return response.data.results;\n } catch (error) {\n console.log(error);\n }\n};\n\n//fetchMovieReviews(447365).then(response =>console.log(response)) \n\n\nexport { fetchTrendingMovies, fetchSearchMovies, fetchMovieDetails, fetchMovieCast, fetchMovieReviews };\n\n\n\n\n\n/*async function getUser() {\n try {\n const response = await axios.get('/user?ID=12345');\n console.log(response);\n } catch (error) {\n console.error(error);\n }\n}*/\n\n\n\n\n\n\n\n/*/*const options = {\n method: 'GET',\n headers: {\n accept: 'application/json',\n Authorization: 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIwODQ2YmYzMTJmMGExYjNmMGQ5YjY5MWRkMjZlYjJkOSIsInN1YiI6IjY0YTE1NjU2ODFkYTM5MDEwYjhiN2ZkZSIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.Fu4JWQK_iKfB2CFB3482KCb1ZQWN0GnpevA4-rrxWVk',\n },\n};\n \nasync function fetchTrendingMovies() {\n const response = await axios.get('/trending/all/day?language=en-US', options);\n console.log(response.data.results)\n return response.data.results;\n}*/","// extracted by mini-css-extract-plugin\nexport default {\"list__title\":\"MoviesList_list__title__R5pRk\",\"movie__list\":\"MoviesList_movie__list__7GXDl\",\"movie__item\":\"MoviesList_movie__item__ZR78F\"};","import { useLocation, Link } from 'react-router-dom';\nimport css from './MoviesList.module.css'\n\n\nconst MoviesList = ({ movies }) => {\n const location = useLocation();\n return (\n )\n};\n\n\n\nexport default MoviesList;\n\n\n/*\n*/","// extracted by mini-css-extract-plugin\nexport default {\"search__form\":\"SearchForm_search__form__jrxBg\"};","import css from './SearchForm.module.css';\nimport { Notify } from 'notiflix/build/notiflix-notify-aio';\n\n\nconst SearchForm = ({ onSubmit }) => {\n\n const handleSubmit = evt => {\n evt.preventDefault();\n const form = evt.currentTarget;\n const searchValue = form.elements.query.value;\n //console.log(searchValue)\n if (searchValue.trim() === '') {\n Notify.warning('Enter your request, please...');\n return;\n };\n onSubmit(searchValue);\n form.reset();\n };\n\n return (\n
\n
\n \n \n
\n
\n );\n};\n\n\nNotify.init({\nwidth: '500px',\nfontSize: '20px',\nposition: 'right-top',\ncloseButton: false,\n});\n\n\nexport default SearchForm;\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* const onSubmit = evt => {\n evt.preventDefault();\n const form = evt.currentTarget;\n queryValue = form.elements.query.value;\n\n if (queryValue.trim() === '') {\n alert('Enter your request, please!');\n return;\n \n handleSubmit(queryValue);\n form.reset();\n };\n }*/","// extracted by mini-css-extract-plugin\nexport default {\"container__search\":\"Movies_container__search__Uvlii\"};","import React, { useState, useEffect } from 'react';\nimport { useLocation, useSearchParams } from 'react-router-dom';\nimport { fetchSearchMovies } from 'Services/Api';\nimport { Notify } from 'notiflix/build/notiflix-notify-aio';\nimport SearchForm from 'components/SearchForm/SearchForm';\nimport MoviesList from 'components/MoviesList/MoviesList';\nimport Loader from 'components/Loader/Loader';\nimport css from './Movies.module.css';\n\nconst Movies = () => {\n const [movies, setMovies] = useState([]);\n const [loading, setLoading] = useState(false); \n const location = useLocation();\n const [searchParams, setSearchParams] = useSearchParams();\n const query = searchParams.get('query') ?? '';\n\n const handleSubmit = (value) => {\n setSearchParams({ query: value });\n };\n\n useEffect(() => {\n if (!query) {\n return;\n }\n\n let isMounted = true;\n\n const fetchData = async () => {\n setLoading(true); \n try {\n const response = await fetchSearchMovies(query);\n if (isMounted) {\n if (response.length === 0) {\n Notify.info('Nothing was found by request. Try another value...');\n } else {\n setMovies([...response]);\n }\n }\n } catch (error) {\n console.error('Error fetching search movies:', error);\n Notify.failure('Error fetching movies. Please try again later.');\n } finally {\n setLoading(false); \n }\n };\n\n fetchData();\n\n return () => {\n isMounted = false;\n };\n }, [query]);\n\n return (\n
\n \n {loading ? (\n \n ) : (\n movies.length > 0 && \n )}\n
\n );\n};\n\nexport default Movies;\n\n\n// const Movies = () => {\n// const [movies, setMovies] = useState([]);\n// const location = useLocation();\n// const [searchParams, setSearchParams] = useSearchParams();\n// const query = searchParams.get('query') ?? '';\n\n// const handleSubmit = value => {\n// setSearchParams({ query: value });\n// };\n\n// useEffect(() => {\n// if (!query) {\n// return;\n// }\n\n// let isMounted = true;// for Notify.warning\n\n// const fetchData = async () => {\n// const response = await fetchSearchMovies(query);\n// if (isMounted) {\n// if (response.length === 0) {\n// Notify.info('Nothing was found by request. Try another value...');\n// } else {\n// setMovies([...response]);\n// }\n// }\n// };\n\n// fetchData();\n\n// return () => {\n// isMounted = false;\n// };\n// }, [query]);\n\n// return (\n//
\n// \n// {movies.length > 0 && }\n//
\n// );\n// };\n\n// export default Movies;\n\n//setSearchParams не поновлює searchParam а перезаписує поверх\n\n/*const Movies = () => {\n const [movies, setMovies] = useState([\n 'movie1', 'movie2', 'movie3', 'movie4', 'movie5'\n ]);\n // console.log(setMovies)\n const location = useLocation();\n const [searchParams, setSearchParams] = useSearchParams();\n const movieId = searchParams.get('movieId') ?? \"\"\n useEffect(() => {\n //HTTP запит, якщо потрібен \n }, []) //state isLoading error\n \n const updateQueryString = event => {\n const movieIdValue = event.target.value;\n if (movieIdValue === \"\") {\n return setSearchParams({});\n };\n //якщо event.target.value \"\", то записуємо {} чистимо\n setSearchParams({ movieId: movieIdValue })\n //якщо event.target.value не \"\", то записуємо (movieId: event.target.value)\n };\n\n console.log(location)\n \n const visibleMovies = movies.filter(movie => movie.includes(movieId))\n \n return
\n \n {visibleMovies.map(movie => {\n return (\n \n {movie}\n \n )\n })}\n
\n};\n\nexport default Movies;*/\n\n//Previous\n// const Movies = () => {\n// const [movies, setMovies] = useState([]);\n// const location = useLocation();\n// const [searchParams, setSearchParams] = useSearchParams();\n// const query = searchParams.get('query') ?? '';\n\n// const handleSubmit = (value) => {\n// setSearchParams({ query: value })\n// };\n\n// /* useEffect(() => {\n// searchQuery && fetchSearchMovies(searchQuery).then(response => setMovies([...response]));\n// }, [searchQuery]);*/\n \n// useEffect(() => {\n// if (!query) return;\n// fetchSearchMovies(query).then(response => setMovies([...response]));\n// }, [query]);\n \n// return (
\n// \n// {movies.length > 0 && }\n//
)\n// };\n","/*\n* Notiflix Notify AIO (https://notiflix.github.io)\n* Description: This file has been created automatically that using \"notiflix.js\", and \"notiflix.css\" files.\n* Version: 3.2.6\n* Author: Furkan (https://github.com/furcan)\n* Copyright 2019 - 2023 Notiflix, MIT Licence (https://opensource.org/licenses/MIT)\n*/\n\n/* global define */\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n define([], function () {\n return factory(root);\n });\n } else if (typeof module === 'object' && typeof module.exports === 'object') {\n module.exports = factory(root);\n } else {\n root.Notiflix = factory(root);\n }\n})(typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : this, function (window) {\n\n 'use strict';\n\n // COMMON: SSR check: begin\n if (typeof window === 'undefined' && typeof window.document === 'undefined') {\n return false;\n }\n // COMMON: SSR check: end\n\n // COMMON: Variables: begin\n var notiflixNamespace = 'Notiflix';\n var notiflixConsoleDocs = '\\n\\nVisit documentation page to learn more: https://notiflix.github.io/documentation';\n var defaultFontFamily = '-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif';\n // COMMON: Variables: end\n\n // NOTIFY: Default Settings: begin\n var typesNotify = {\n Success: 'Success',\n Failure: 'Failure',\n Warning: 'Warning',\n Info: 'Info',\n };\n var newNotifySettings;\n var notifySettings = {\n wrapID: 'NotiflixNotifyWrap', // can not customizable\n overlayID: 'NotiflixNotifyOverlay', // can not customizable\n width: '280px',\n position: 'right-top', // 'right-top' - 'right-bottom' - 'left-top' - 'left-bottom' - 'center-top' - 'center-bottom' - 'center-center'\n distance: '10px',\n opacity: 1,\n borderRadius: '5px',\n rtl: false,\n timeout: 3000,\n messageMaxLength: 110,\n backOverlay: false,\n backOverlayColor: 'rgba(0,0,0,0.5)',\n plainText: true,\n showOnlyTheLastOne: false,\n clickToClose: false,\n pauseOnHover: true,\n\n ID: 'NotiflixNotify',\n className: 'notiflix-notify',\n zindex: 4001,\n fontFamily: 'Quicksand',\n fontSize: '13px',\n cssAnimation: true,\n cssAnimationDuration: 400,\n cssAnimationStyle: 'fade', // 'fade' - 'zoom' - 'from-right' - 'from-top' - 'from-bottom' - 'from-left'\n closeButton: false,\n useIcon: true,\n useFontAwesome: false,\n fontAwesomeIconStyle: 'basic', // 'basic' - 'shadow'\n fontAwesomeIconSize: '34px',\n\n success: {\n background: '#32c682',\n textColor: '#fff',\n childClassName: 'notiflix-notify-success',\n notiflixIconColor: 'rgba(0,0,0,0.2)',\n fontAwesomeClassName: 'fas fa-check-circle',\n fontAwesomeIconColor: 'rgba(0,0,0,0.2)',\n backOverlayColor: 'rgba(50,198,130,0.2)',\n },\n\n failure: {\n background: '#ff5549',\n textColor: '#fff',\n childClassName: 'notiflix-notify-failure',\n notiflixIconColor: 'rgba(0,0,0,0.2)',\n fontAwesomeClassName: 'fas fa-times-circle',\n fontAwesomeIconColor: 'rgba(0,0,0,0.2)',\n backOverlayColor: 'rgba(255,85,73,0.2)',\n },\n\n warning: {\n background: '#eebf31',\n textColor: '#fff',\n childClassName: 'notiflix-notify-warning',\n notiflixIconColor: 'rgba(0,0,0,0.2)',\n fontAwesomeClassName: 'fas fa-exclamation-circle',\n fontAwesomeIconColor: 'rgba(0,0,0,0.2)',\n backOverlayColor: 'rgba(238,191,49,0.2)',\n },\n\n info: {\n background: '#26c0d3',\n textColor: '#fff',\n childClassName: 'notiflix-notify-info',\n notiflixIconColor: 'rgba(0,0,0,0.2)',\n fontAwesomeClassName: 'fas fa-info-circle',\n fontAwesomeIconColor: 'rgba(0,0,0,0.2)',\n backOverlayColor: 'rgba(38,192,211,0.2)',\n },\n };\n // NOTIFY: Default Settings: end\n\n // COMMON: Console Error: begin\n var commonConsoleError = function (message) {\n return console.error('%c ' + notiflixNamespace + ' Error ', 'padding:2px;border-radius:20px;color:#fff;background:#ff5549', '\\n' + message + notiflixConsoleDocs);\n };\n // COMMON: Console Error: end\n\n // COMMON: Check Head or Body: begin\n var commonCheckHeadOrBody = function (element) {\n if (!element) { element = 'head'; }\n if (window.document[element] === null) {\n commonConsoleError('\\nNotiflix needs to be appended to the \"<' + element + '>\" element, but you called it before the \"<' + element + '>\" element has been created.');\n return false;\n }\n return true;\n };\n // COMMON: Check Head or Body: end\n\n // COMMON: Set Internal CSS Codes: begin\n var commonSetInternalCSSCodes = function (getInternalCSSCodes, styleElementId) {\n // check doc head\n if (!commonCheckHeadOrBody('head')) { return false; }\n\n // internal css\n if (getInternalCSSCodes() !== null && !window.document.getElementById(styleElementId)) {\n var internalCSS = window.document.createElement('style');\n internalCSS.id = styleElementId;\n internalCSS.innerHTML = getInternalCSSCodes();\n window.document.head.appendChild(internalCSS);\n }\n };\n // COMMON: Set Internal CSS Codes: end\n\n // COMMON: Extend Options: begin\n var commonExtendOptions = function () {\n // variables\n var extended = {};\n var deep = false;\n var i = 0;\n // check if a deep merge\n if (Object.prototype.toString.call(arguments[0]) === '[object Boolean]') {\n deep = arguments[0];\n i++;\n }\n // merge the object into the extended object\n var merge = function (obj) {\n for (var prop in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, prop)) {\n // if property is an object, merge properties\n if (deep && Object.prototype.toString.call(obj[prop]) === '[object Object]') {\n extended[prop] = commonExtendOptions(extended[prop], obj[prop]);\n } else {\n extended[prop] = obj[prop];\n }\n }\n }\n };\n // loop through each object and conduct a merge\n for (; i < arguments.length; i++) {\n merge(arguments[i]);\n }\n return extended;\n };\n // COMMON: Extend Options: end\n\n // COMMON: Get Plaintext: begin\n var commonGetPlaintext = function (html) {\n var htmlPool = window.document.createElement('div');\n htmlPool.innerHTML = html;\n return htmlPool.textContent || htmlPool.innerText || '';\n };\n // COMMON: Get Plaintext: end\n\n // NOTIFY: Get Internal CSS Codes: begin\n var notifyGetInternalCSSCodes = function () {\n var notifyCSS = '[id^=NotiflixNotifyWrap]{pointer-events:none;position:fixed;z-index:4001;opacity:1;right:10px;top:10px;width:280px;max-width:96%;-webkit-box-sizing:border-box;box-sizing:border-box;background:transparent}[id^=NotiflixNotifyWrap].nx-flex-center-center{max-height:calc(100vh - 20px);overflow-x:hidden;overflow-y:auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin:auto}[id^=NotiflixNotifyWrap]::-webkit-scrollbar{width:0;height:0}[id^=NotiflixNotifyWrap]::-webkit-scrollbar-thumb{background:transparent}[id^=NotiflixNotifyWrap]::-webkit-scrollbar-track{background:transparent}[id^=NotiflixNotifyWrap] *{-webkit-box-sizing:border-box;box-sizing:border-box}[id^=NotiflixNotifyOverlay]{-webkit-transition:background .3s ease-in-out;-o-transition:background .3s ease-in-out;transition:background .3s ease-in-out}[id^=NotiflixNotifyWrap]>div{pointer-events:all;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:\"Quicksand\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif;width:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;margin:0 0 10px;border-radius:5px;background:#1e1e1e;color:#fff;padding:10px 12px;font-size:14px;line-height:1.4}[id^=NotiflixNotifyWrap]>div:last-child{margin:0}[id^=NotiflixNotifyWrap]>div.nx-with-callback{cursor:pointer}[id^=NotiflixNotifyWrap]>div.nx-with-icon{padding:8px;min-height:56px}[id^=NotiflixNotifyWrap]>div.nx-paused{cursor:auto}[id^=NotiflixNotifyWrap]>div.nx-notify-click-to-close{cursor:pointer}[id^=NotiflixNotifyWrap]>div.nx-with-close-button{padding:10px 36px 10px 12px}[id^=NotiflixNotifyWrap]>div.nx-with-icon.nx-with-close-button{padding:6px 36px 6px 6px}[id^=NotiflixNotifyWrap]>div>span.nx-message{cursor:inherit;font-weight:normal;font-family:inherit!important;word-break:break-all;word-break:break-word}[id^=NotiflixNotifyWrap]>div>span.nx-close-button{cursor:pointer;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;position:absolute;right:8px;top:0;bottom:0;margin:auto;color:inherit;width:20px;height:20px}[id^=NotiflixNotifyWrap]>div>span.nx-close-button:hover{-webkit-transform:rotate(90deg);transform:rotate(90deg)}[id^=NotiflixNotifyWrap]>div>span.nx-close-button>svg{position:absolute;width:16px;height:16px;right:2px;top:2px}[id^=NotiflixNotifyWrap]>div>.nx-message-icon{position:absolute;width:40px;height:40px;font-size:30px;line-height:40px;text-align:center;left:8px;top:0;bottom:0;margin:auto;border-radius:inherit}[id^=NotiflixNotifyWrap]>div>.nx-message-icon-fa.nx-message-icon-fa-shadow{color:inherit;background:rgba(0,0,0,.15);-webkit-box-shadow:inset 0 0 34px rgba(0,0,0,.2);box-shadow:inset 0 0 34px rgba(0,0,0,.2);text-shadow:0 0 10px rgba(0,0,0,.3)}[id^=NotiflixNotifyWrap]>div>span.nx-with-icon{position:relative;float:left;width:calc(100% - 40px);margin:0 0 0 40px;padding:0 0 0 10px;-webkit-box-sizing:border-box;box-sizing:border-box}[id^=NotiflixNotifyWrap]>div.nx-rtl-on>.nx-message-icon{left:auto;right:8px}[id^=NotiflixNotifyWrap]>div.nx-rtl-on>span.nx-with-icon{padding:0 10px 0 0;margin:0 40px 0 0}[id^=NotiflixNotifyWrap]>div.nx-rtl-on>span.nx-close-button{right:auto;left:8px}[id^=NotiflixNotifyWrap]>div.nx-with-icon.nx-with-close-button.nx-rtl-on{padding:6px 6px 6px 36px}[id^=NotiflixNotifyWrap]>div.nx-with-close-button.nx-rtl-on{padding:10px 12px 10px 36px}[id^=NotiflixNotifyOverlay].nx-with-animation,[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-fade{-webkit-animation:notify-animation-fade .3s ease-in-out 0s normal;animation:notify-animation-fade .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-fade{0%{opacity:0}100%{opacity:1}}@keyframes notify-animation-fade{0%{opacity:0}100%{opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-zoom{-webkit-animation:notify-animation-zoom .3s ease-in-out 0s normal;animation:notify-animation-zoom .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-zoom{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes notify-animation-zoom{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(1);transform:scale(1)}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-right{-webkit-animation:notify-animation-from-right .3s ease-in-out 0s normal;animation:notify-animation-from-right .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-right{0%{right:-300px;opacity:0}50%{right:8px;opacity:1}100%{right:0;opacity:1}}@keyframes notify-animation-from-right{0%{right:-300px;opacity:0}50%{right:8px;opacity:1}100%{right:0;opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-left{-webkit-animation:notify-animation-from-left .3s ease-in-out 0s normal;animation:notify-animation-from-left .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-left{0%{left:-300px;opacity:0}50%{left:8px;opacity:1}100%{left:0;opacity:1}}@keyframes notify-animation-from-left{0%{left:-300px;opacity:0}50%{left:8px;opacity:1}100%{left:0;opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-top{-webkit-animation:notify-animation-from-top .3s ease-in-out 0s normal;animation:notify-animation-from-top .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-top{0%{top:-50px;opacity:0}50%{top:8px;opacity:1}100%{top:0;opacity:1}}@keyframes notify-animation-from-top{0%{top:-50px;opacity:0}50%{top:8px;opacity:1}100%{top:0;opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-bottom{-webkit-animation:notify-animation-from-bottom .3s ease-in-out 0s normal;animation:notify-animation-from-bottom .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-bottom{0%{bottom:-50px;opacity:0}50%{bottom:8px;opacity:1}100%{bottom:0;opacity:1}}@keyframes notify-animation-from-bottom{0%{bottom:-50px;opacity:0}50%{bottom:8px;opacity:1}100%{bottom:0;opacity:1}}[id^=NotiflixNotifyOverlay].nx-with-animation.nx-remove,[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-fade.nx-remove{opacity:0;-webkit-animation:notify-remove-fade .3s ease-in-out 0s normal;animation:notify-remove-fade .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-fade{0%{opacity:1}100%{opacity:0}}@keyframes notify-remove-fade{0%{opacity:1}100%{opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-zoom.nx-remove{-webkit-transform:scale(0);transform:scale(0);-webkit-animation:notify-remove-zoom .3s ease-in-out 0s normal;animation:notify-remove-zoom .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-zoom{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(0);transform:scale(0)}}@keyframes notify-remove-zoom{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(0);transform:scale(0)}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-top.nx-remove{opacity:0;-webkit-animation:notify-remove-to-top .3s ease-in-out 0s normal;animation:notify-remove-to-top .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-top{0%{top:0;opacity:1}50%{top:8px;opacity:1}100%{top:-50px;opacity:0}}@keyframes notify-remove-to-top{0%{top:0;opacity:1}50%{top:8px;opacity:1}100%{top:-50px;opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-right.nx-remove{opacity:0;-webkit-animation:notify-remove-to-right .3s ease-in-out 0s normal;animation:notify-remove-to-right .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-right{0%{right:0;opacity:1}50%{right:8px;opacity:1}100%{right:-300px;opacity:0}}@keyframes notify-remove-to-right{0%{right:0;opacity:1}50%{right:8px;opacity:1}100%{right:-300px;opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-bottom.nx-remove{opacity:0;-webkit-animation:notify-remove-to-bottom .3s ease-in-out 0s normal;animation:notify-remove-to-bottom .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-bottom{0%{bottom:0;opacity:1}50%{bottom:8px;opacity:1}100%{bottom:-50px;opacity:0}}@keyframes notify-remove-to-bottom{0%{bottom:0;opacity:1}50%{bottom:8px;opacity:1}100%{bottom:-50px;opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-left.nx-remove{opacity:0;-webkit-animation:notify-remove-to-left .3s ease-in-out 0s normal;animation:notify-remove-to-left .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-left{0%{left:0;opacity:1}50%{left:8px;opacity:1}100%{left:-300px;opacity:0}}@keyframes notify-remove-to-left{0%{left:0;opacity:1}50%{left:8px;opacity:1}100%{left:-300px;opacity:0}}';\n return notifyCSS || null;\n };\n // NOTIFY: Get Internal CSS Codes: end\n\n // NOTIFY: Create: begin\n var notifyCreateCounter = 0;\n var notifyCreate = function (notifyType, message, callbackOrOptions, options) {\n // check doc body\n if (!commonCheckHeadOrBody('body')) { return false; }\n\n // if not initialized pretend like init\n if (!newNotifySettings) {\n Notiflix.Notify.init({});\n }\n\n // create a backup for new settings\n var newNotifySettingsBackup = commonExtendOptions(true, newNotifySettings, {});\n\n // check callbackOrOptions and options: begin\n if ((typeof callbackOrOptions === 'object' && !Array.isArray(callbackOrOptions)) || (typeof options === 'object' && !Array.isArray(options))) {\n // new options\n var newOptions = {};\n if (typeof callbackOrOptions === 'object') {\n newOptions = callbackOrOptions;\n } else if (typeof options === 'object') {\n newOptions = options;\n }\n\n // extend new settings with the new options\n newNotifySettings = commonExtendOptions(true, newNotifySettings, newOptions);\n }\n // check callbackOrOptions and options: end\n\n // notify type\n var theType = newNotifySettings[notifyType.toLocaleLowerCase('en')];\n\n // notify counter\n notifyCreateCounter++;\n\n // check the message: begin\n if (typeof message !== 'string') {\n message = 'Notiflix ' + notifyType;\n }\n // check the message: end\n\n // if plainText is true => HTML tags not allowed: begin\n if (newNotifySettings.plainText) {\n message = commonGetPlaintext(message); // message plain text\n }\n // if plainText is true => HTML tags not allowed: end\n\n // if plainText is false but the message length more than messageMaxLength => Possible HTML tags error: begin\n if (!newNotifySettings.plainText && message.length > newNotifySettings.messageMaxLength) {\n // extend settings for error massege\n newNotifySettings = commonExtendOptions(true, newNotifySettings, { closeButton: true, messageMaxLength: 150 });\n // error message\n message = 'Possible HTML Tags Error: The \"plainText\" option is \"false\" and the notification content length is more than the \"messageMaxLength\" option.';\n }\n // if plainText is false but the message length more than messageMaxLength => Possible HTML tags error: end\n\n // check message max length: begin\n if (message.length > newNotifySettings.messageMaxLength) {\n message = message.substring(0, newNotifySettings.messageMaxLength) + '...';\n }\n // check message max length: end\n\n // font awesome icon style: begin\n if (newNotifySettings.fontAwesomeIconStyle === 'shadow') {\n theType.fontAwesomeIconColor = theType.background;\n }\n // font awesome icon style: end\n\n // if cssAnimaion is false => duration: begin\n if (!newNotifySettings.cssAnimation) {\n newNotifySettings.cssAnimationDuration = 0;\n }\n // if cssAnimaion is false => duration: end\n\n // notify wrap: begin\n var ntflxNotifyWrap = window.document.getElementById(notifySettings.wrapID) || window.document.createElement('div');\n ntflxNotifyWrap.id = notifySettings.wrapID;\n ntflxNotifyWrap.style.width = newNotifySettings.width;\n ntflxNotifyWrap.style.zIndex = newNotifySettings.zindex;\n ntflxNotifyWrap.style.opacity = newNotifySettings.opacity;\n\n // wrap position: begin\n if (newNotifySettings.position === 'center-center') {\n ntflxNotifyWrap.style.left = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = newNotifySettings.distance;\n ntflxNotifyWrap.style.right = newNotifySettings.distance;\n ntflxNotifyWrap.style.bottom = newNotifySettings.distance;\n ntflxNotifyWrap.style.margin = 'auto';\n ntflxNotifyWrap.classList.add('nx-flex-center-center');\n ntflxNotifyWrap.style.maxHeight = 'calc((100vh - ' + newNotifySettings.distance + ') - ' + newNotifySettings.distance + ')';\n ntflxNotifyWrap.style.display = 'flex';\n ntflxNotifyWrap.style.flexWrap = 'wrap';\n ntflxNotifyWrap.style.flexDirection = 'column';\n ntflxNotifyWrap.style.justifyContent = 'center';\n ntflxNotifyWrap.style.alignItems = 'center';\n ntflxNotifyWrap.style.pointerEvents = 'none';\n } else if (newNotifySettings.position === 'center-top') {\n ntflxNotifyWrap.style.left = newNotifySettings.distance;\n ntflxNotifyWrap.style.right = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = newNotifySettings.distance;\n ntflxNotifyWrap.style.bottom = 'auto';\n ntflxNotifyWrap.style.margin = 'auto';\n } else if (newNotifySettings.position === 'center-bottom') {\n ntflxNotifyWrap.style.left = newNotifySettings.distance;\n ntflxNotifyWrap.style.right = newNotifySettings.distance;\n ntflxNotifyWrap.style.bottom = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = 'auto';\n ntflxNotifyWrap.style.margin = 'auto';\n } else if (newNotifySettings.position === 'right-bottom') {\n ntflxNotifyWrap.style.right = newNotifySettings.distance;\n ntflxNotifyWrap.style.bottom = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = 'auto';\n ntflxNotifyWrap.style.left = 'auto';\n } else if (newNotifySettings.position === 'left-top') {\n ntflxNotifyWrap.style.left = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = newNotifySettings.distance;\n ntflxNotifyWrap.style.right = 'auto';\n ntflxNotifyWrap.style.bottom = 'auto';\n } else if (newNotifySettings.position === 'left-bottom') {\n ntflxNotifyWrap.style.left = newNotifySettings.distance;\n ntflxNotifyWrap.style.bottom = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = 'auto';\n ntflxNotifyWrap.style.right = 'auto';\n } else { // 'right-top' or else\n ntflxNotifyWrap.style.right = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = newNotifySettings.distance;\n ntflxNotifyWrap.style.left = 'auto';\n ntflxNotifyWrap.style.bottom = 'auto';\n }\n // wrap position: end\n\n // if background overlay is true: begin\n if (newNotifySettings.backOverlay) {\n var ntflxNotifyOverlay = window.document.getElementById(notifySettings.overlayID) || window.document.createElement('div');\n ntflxNotifyOverlay.id = notifySettings.overlayID;\n ntflxNotifyOverlay.style.width = '100%';\n ntflxNotifyOverlay.style.height = '100%';\n ntflxNotifyOverlay.style.position = 'fixed';\n ntflxNotifyOverlay.style.zIndex = newNotifySettings.zindex - 1;\n ntflxNotifyOverlay.style.left = 0;\n ntflxNotifyOverlay.style.top = 0;\n ntflxNotifyOverlay.style.right = 0;\n ntflxNotifyOverlay.style.bottom = 0;\n ntflxNotifyOverlay.style.background = theType.backOverlayColor || newNotifySettings.backOverlayColor;\n ntflxNotifyOverlay.className = newNotifySettings.cssAnimation ? 'nx-with-animation' : '';\n ntflxNotifyOverlay.style.animationDuration = newNotifySettings.cssAnimation ? newNotifySettings.cssAnimationDuration + 'ms' : '';\n\n if (!window.document.getElementById(notifySettings.overlayID)) {\n window.document.body.appendChild(ntflxNotifyOverlay);\n }\n }\n // if background overlay is true: end\n\n if (!window.document.getElementById(notifySettings.wrapID)) {\n window.document.body.appendChild(ntflxNotifyWrap);\n }\n // notify wrap: end\n\n // notify content: begin\n var ntflxNotify = window.document.createElement('div');\n ntflxNotify.id = newNotifySettings.ID + '-' + notifyCreateCounter;\n ntflxNotify.className = newNotifySettings.className + ' ' + theType.childClassName + ' ' + (newNotifySettings.cssAnimation ? 'nx-with-animation' : '') + ' ' + (newNotifySettings.useIcon ? 'nx-with-icon' : '') + ' nx-' + newNotifySettings.cssAnimationStyle + ' ' + (newNotifySettings.closeButton && typeof callbackOrOptions !== 'function' ? 'nx-with-close-button' : '') + ' ' + (typeof callbackOrOptions === 'function' ? 'nx-with-callback' : '') + ' ' + (newNotifySettings.clickToClose ? 'nx-notify-click-to-close' : '');\n ntflxNotify.style.fontSize = newNotifySettings.fontSize;\n ntflxNotify.style.color = theType.textColor;\n ntflxNotify.style.background = theType.background;\n ntflxNotify.style.borderRadius = newNotifySettings.borderRadius;\n ntflxNotify.style.pointerEvents = 'all';\n\n // rtl: begin\n if (newNotifySettings.rtl) {\n ntflxNotify.setAttribute('dir', 'rtl');\n ntflxNotify.classList.add('nx-rtl-on');\n }\n // rtl: end\n\n // font-family: begin\n ntflxNotify.style.fontFamily = '\"' + newNotifySettings.fontFamily + '\", ' + defaultFontFamily;\n // font-family: end\n\n // use css animation: begin\n if (newNotifySettings.cssAnimation) {\n ntflxNotify.style.animationDuration = newNotifySettings.cssAnimationDuration + 'ms';\n }\n // use css animation: end\n\n // close button element: begin\n var closeButtonHTML = '';\n if (newNotifySettings.closeButton && typeof callbackOrOptions !== 'function') {\n closeButtonHTML = '';\n }\n // close buttpon element: end\n\n // use icon: begin\n if (newNotifySettings.useIcon) {\n // use font awesome\n if (newNotifySettings.useFontAwesome) {\n ntflxNotify.innerHTML = '' + message + '' + (newNotifySettings.closeButton ? closeButtonHTML : '');\n }\n // use notiflix icon\n else {\n var svgIcon = '';\n if (notifyType === typesNotify.Success) { // success\n svgIcon = '';\n } else if (notifyType === typesNotify.Failure) { // failure\n svgIcon = '';\n } else if (notifyType === typesNotify.Warning) { // warning\n svgIcon = '';\n } else if (notifyType === typesNotify.Info) { // info\n svgIcon = '';\n }\n ntflxNotify.innerHTML = svgIcon + '' + message + '' + (newNotifySettings.closeButton ? closeButtonHTML : '');\n }\n }\n // without icon\n else {\n ntflxNotify.innerHTML = '' + message + '' + (newNotifySettings.closeButton ? closeButtonHTML : '');\n }\n // use icon: end\n // notify content: end\n\n // notify append or prepend: begin\n if (newNotifySettings.position === 'left-bottom' || newNotifySettings.position === 'right-bottom') { // the new one will be first\n var notifyWrap = window.document.getElementById(notifySettings.wrapID);\n notifyWrap.insertBefore(ntflxNotify, notifyWrap.firstChild);\n } else {\n window.document.getElementById(notifySettings.wrapID).appendChild(ntflxNotify);\n }\n // notify append or prepend: end\n\n // remove by timeout or click: begin\n var eachNotifyElement = window.document.getElementById(ntflxNotify.id);\n if (eachNotifyElement) {\n // timeout variables\n var timeoutHide;\n var timeoutRemove;\n\n // hide notify elm and hide overlay: begin\n var hideNotifyElementsAndOverlay = function () {\n eachNotifyElement.classList.add('nx-remove');\n var removeOverlay = window.document.getElementById(notifySettings.overlayID);\n if (removeOverlay && ntflxNotifyWrap.childElementCount <= 0) {\n removeOverlay.classList.add('nx-remove');\n }\n clearTimeout(timeoutHide);\n };\n // hide notify elm and hide overlay: end\n\n // remove notify elm and wrapper: begin\n var removeNotifyElmentsAndWrapper = function () {\n if (eachNotifyElement && eachNotifyElement.parentNode !== null) {\n eachNotifyElement.parentNode.removeChild(eachNotifyElement);\n }\n if (ntflxNotifyWrap.childElementCount <= 0 && ntflxNotifyWrap.parentNode !== null) { // if childs count === 0 remove wrap\n ntflxNotifyWrap.parentNode.removeChild(ntflxNotifyWrap);\n var removeOverlay = window.document.getElementById(notifySettings.overlayID);\n if (removeOverlay && removeOverlay.parentNode !== null) {\n removeOverlay.parentNode.removeChild(removeOverlay);\n }\n }\n clearTimeout(timeoutRemove);\n };\n // remove notify elm and wrapper: end\n\n // if has close button and callbackOrOptions is not a function: begin\n if (newNotifySettings.closeButton && typeof callbackOrOptions !== 'function') {\n var closeButtonElm = window.document.getElementById(ntflxNotify.id).querySelector('span.nx-close-button');\n closeButtonElm.addEventListener('click', function () {\n hideNotifyElementsAndOverlay();\n var clickToCloseTimeout = setTimeout(function () {\n removeNotifyElmentsAndWrapper();\n clearTimeout(clickToCloseTimeout);\n }, newNotifySettings.cssAnimationDuration);\n });\n }\n // if has close button and callbackOrOptions is not a function: end\n\n // if callbackOrOptions or click to close: begin\n if (typeof callbackOrOptions === 'function' || newNotifySettings.clickToClose) {\n eachNotifyElement.addEventListener('click', function () {\n if (typeof callbackOrOptions === 'function') {\n callbackOrOptions();\n }\n hideNotifyElementsAndOverlay();\n var callbackTimeout = setTimeout(function () {\n removeNotifyElmentsAndWrapper();\n clearTimeout(callbackTimeout);\n }, newNotifySettings.cssAnimationDuration);\n });\n }\n // if callbackOrOptions or click to close: end\n\n // else auto remove: begin\n if (!newNotifySettings.closeButton && typeof callbackOrOptions !== 'function') {\n // auto remove: begin\n var autoRemove = function () {\n timeoutHide = setTimeout(function () {\n hideNotifyElementsAndOverlay();\n }, newNotifySettings.timeout);\n timeoutRemove = setTimeout(function () {\n removeNotifyElmentsAndWrapper();\n }, newNotifySettings.timeout + newNotifySettings.cssAnimationDuration);\n };\n autoRemove();\n // auto remove: end\n\n // pause auto remove: begin\n if (newNotifySettings.pauseOnHover) {\n eachNotifyElement.addEventListener('mouseenter', function () {\n eachNotifyElement.classList.add('nx-paused');\n clearTimeout(timeoutHide);\n clearTimeout(timeoutRemove);\n });\n eachNotifyElement.addEventListener('mouseleave', function () {\n eachNotifyElement.classList.remove('nx-paused');\n autoRemove();\n });\n }\n // pause auto remove: end\n }\n // else auto remove: end\n }\n // remove by timeout or click: end\n\n // notify - show only the last one: begin\n if (newNotifySettings.showOnlyTheLastOne && notifyCreateCounter > 0) {\n var allNotifyElmNotTheLastOne = window.document.querySelectorAll('[id^=' + newNotifySettings.ID + '-]:not([id=' + newNotifySettings.ID + '-' + notifyCreateCounter + '])');\n for (var i = 0; i < allNotifyElmNotTheLastOne.length; i++) {\n var eachNotifyElmNotLastOne = allNotifyElmNotTheLastOne[i];\n if (eachNotifyElmNotLastOne.parentNode !== null) {\n eachNotifyElmNotLastOne.parentNode.removeChild(eachNotifyElmNotLastOne);\n }\n }\n }\n // notify - show only the last one: end\n\n // extend new settings with the backup settings\n newNotifySettings = commonExtendOptions(true, newNotifySettings, newNotifySettingsBackup);\n\n };\n // NOTIFY: Create: end\n\n var Notiflix = {\n Notify: {\n // Init\n init: function (userNotifyOptions) {\n // extend options\n newNotifySettings = commonExtendOptions(true, notifySettings, userNotifyOptions);\n // internal css if exist\n commonSetInternalCSSCodes(notifyGetInternalCSSCodes, 'NotiflixNotifyInternalCSS');\n },\n // Merge First Init\n merge: function (userNotifyExtendOptions) {\n // if initialized already\n if (newNotifySettings) {\n newNotifySettings = commonExtendOptions(true, newNotifySettings, userNotifyExtendOptions);\n }\n // initialize first\n else {\n commonConsoleError('You have to initialize the Notify module before call Merge function.');\n return false;\n }\n },\n // Success\n success: function (message, callbackOrOptions, options) {\n notifyCreate(typesNotify.Success, message, callbackOrOptions, options);\n },\n // Failure\n failure: function (message, callbackOrOptions, options) {\n notifyCreate(typesNotify.Failure, message, callbackOrOptions, options);\n },\n // Warning\n warning: function (message, callbackOrOptions, options) {\n notifyCreate(typesNotify.Warning, message, callbackOrOptions, options);\n },\n // Info\n info: function (message, callbackOrOptions, options) {\n notifyCreate(typesNotify.Info, message, callbackOrOptions, options);\n },\n },\n };\n\n if (typeof window.Notiflix === 'object') {\n return commonExtendOptions(true, window.Notiflix, { Notify: Notiflix.Notify });\n } else {\n return { Notify: Notiflix.Notify };\n }\n\n});"],"names":["axios","API_KEY","fetchTrendingMovies","response","data","results","console","error","fetchSearchMovies","query","log","fetchMovieDetails","id","fetchMovieCast","cast","fetchMovieReviews","movies","location","useLocation","className","css","map","title","poster_path","to","state","from","src","width","height","alt","Notify","fontSize","position","closeButton","onSubmit","action","evt","preventDefault","form","currentTarget","searchValue","elements","value","trim","reset","type","placeholder","autoComplete","autoFocus","name","useState","setMovies","loading","setLoading","useSearchParams","searchParams","setSearchParams","get","useEffect","isMounted","fetchData","length","Loader","MoviesList","root","global","window","this","document","newNotifySettings","notiflixNamespace","notiflixConsoleDocs","defaultFontFamily","typesNotify","Success","Failure","Warning","Info","notifySettings","wrapID","overlayID","distance","opacity","borderRadius","rtl","timeout","messageMaxLength","backOverlay","backOverlayColor","plainText","showOnlyTheLastOne","clickToClose","pauseOnHover","ID","zindex","fontFamily","cssAnimation","cssAnimationDuration","cssAnimationStyle","useIcon","useFontAwesome","fontAwesomeIconStyle","fontAwesomeIconSize","success","background","textColor","childClassName","notiflixIconColor","fontAwesomeClassName","fontAwesomeIconColor","failure","warning","info","commonConsoleError","message","commonCheckHeadOrBody","element","commonSetInternalCSSCodes","getInternalCSSCodes","styleElementId","getElementById","internalCSS","createElement","innerHTML","head","appendChild","commonExtendOptions","extended","deep","i","Object","prototype","toString","call","arguments","merge","obj","prop","hasOwnProperty","commonGetPlaintext","html","htmlPool","textContent","innerText","notifyGetInternalCSSCodes","notifyCreateCounter","notifyCreate","notifyType","callbackOrOptions","options","Notiflix","init","newNotifySettingsBackup","Array","isArray","newOptions","theType","toLocaleLowerCase","substring","ntflxNotifyWrap","style","zIndex","left","top","right","bottom","margin","classList","add","maxHeight","display","flexWrap","flexDirection","justifyContent","alignItems","pointerEvents","ntflxNotifyOverlay","animationDuration","body","ntflxNotify","color","setAttribute","closeButtonHTML","svgIcon","notifyWrap","insertBefore","firstChild","eachNotifyElement","timeoutHide","timeoutRemove","hideNotifyElementsAndOverlay","removeOverlay","childElementCount","clearTimeout","removeNotifyElmentsAndWrapper","parentNode","removeChild","querySelector","addEventListener","clickToCloseTimeout","setTimeout","callbackTimeout","autoRemove","remove","allNotifyElmNotTheLastOne","querySelectorAll","eachNotifyElmNotLastOne","userNotifyOptions","userNotifyExtendOptions","factory"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/964.de2d8ea9.chunk.js b/static/js/964.de2d8ea9.chunk.js deleted file mode 100644 index 56087b5..0000000 --- a/static/js/964.de2d8ea9.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -(self.webpackChunkgoit_react_hw_05_movies=self.webpackChunkgoit_react_hw_05_movies||[]).push([[964],{663:function(t,e,o){"use strict";o.d(e,{Hx:function(){return x},Y5:function(){return p},bI:function(){return f},uV:function(){return d},wr:function(){return l}});var i=o(861),n=o(757),a=o.n(n),r=o(243);r.Z.defaults.baseURL="https://api.themoviedb.org/3/";var s="0846bf312f0a1b3f0d9b691dd26eb2d9";function l(){return c.apply(this,arguments)}function c(){return(c=(0,i.Z)(a().mark((function t(){var e;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r.Z.get("trending/all/day?api_key=".concat(s));case 3:return e=t.sent,t.abrupt("return",e.data.results);case 7:t.prev=7,t.t0=t.catch(0),console.error(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function f(t){return m.apply(this,arguments)}function m(){return(m=(0,i.Z)(a().mark((function t(e){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r.Z.get("search/movie?api_key=".concat(s,"&query=").concat(e,"&language=en-US"));case 3:return o=t.sent,t.abrupt("return",o.data.results);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function p(t){return u.apply(this,arguments)}function u(){return(u=(0,i.Z)(a().mark((function t(e){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r.Z.get("movie/".concat(e,"?api_key=").concat(s,"&language=en-US"));case 3:return o=t.sent,t.abrupt("return",o.data);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function d(t){return y.apply(this,arguments)}function y(){return(y=(0,i.Z)(a().mark((function t(e){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r.Z.get("movie/".concat(e,"/credits?api_key=").concat(s,"&language=en-US"));case 3:return o=t.sent,t.abrupt("return",o.data.cast);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}function x(t){return g.apply(this,arguments)}function g(){return(g=(0,i.Z)(a().mark((function t(e){var o;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,r.Z.get("movie/".concat(e,"/reviews?api_key=").concat(s,"&language=en-US"));case 3:return o=t.sent,t.abrupt("return",o.data.results);case 7:t.prev=7,t.t0=t.catch(0),console.log(t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))).apply(this,arguments)}},155:function(t,e,o){"use strict";o.d(e,{Z:function(){return c}});var i=o(689),n=o(87),a="MoviesList_list__title__R5pRk",r="MoviesList_movie__list__7GXDl",s="MoviesList_movie__item__ZR78F",l=o(184),c=function(t){var e=t.movies,o=(0,i.TH)();return(0,l.jsx)("ul",{className:r,children:e.map((function(t){var e=t.id,i=t.title,r=t.poster_path;return i&&(0,l.jsx)("li",{className:s,children:(0,l.jsxs)(n.rU,{to:"/movies/".concat(e),state:{from:o},children:[(0,l.jsx)("img",{src:r?"https://image.tmdb.org/t/p/w300"+r:"https://via.placeholder.com/300x450",width:300,height:450,alt:i}),(0,l.jsx)("h2",{className:a,children:i})]},e)},e)}))})}},964:function(t,e,o){"use strict";o.r(e),o.d(e,{default:function(){return b}});var i=o(433),n=o(861),a=o(439),r=o(757),s=o.n(r),l=o(791),c=o(689),f=o(87),m=o(663),p=o(264),u="SearchForm_search__form__jrxBg",d=o(184);p.Notify.init({width:"500px",fontSize:"20px",position:"right-top",closeButton:!1});var y=function(t){var e=t.onSubmit;return(0,d.jsx)("div",{children:(0,d.jsxs)("form",{className:u,action:"",onSubmit:function(t){t.preventDefault();var o=t.currentTarget,i=o.elements.query.value;""!==i.trim()?(e(i),o.reset()):p.Notify.warning("Enter your request, please...")},children:[(0,d.jsx)("input",{type:"text",placeholder:"Search movie",autoComplete:"off",autoFocus:!0,name:"query"}),(0,d.jsx)("button",{type:"submit",children:"Search"})]})})},x=o(155),g="Movies_container__search__Uvlii",b=function(){var t,e=(0,l.useState)([]),o=(0,a.Z)(e,2),r=o[0],u=o[1],b=(0,c.TH)(),h=(0,f.lr)(),v=(0,a.Z)(h,2),w=v[0],k=v[1],N=null!==(t=w.get("query"))&&void 0!==t?t:"";return(0,l.useEffect)((function(){if(N){var t=!0,e=function(){var e=(0,n.Z)(s().mark((function e(){var o;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,m.bI)(N);case 2:o=e.sent,t&&(0===o.length?p.Notify.info("Nothing was found by request. Try another value..."):u((0,i.Z)(o)));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return e(),function(){t=!1}}}),[N]),(0,d.jsxs)("div",{className:g,children:[(0,d.jsx)(y,{location:b,onSubmit:function(t){k({query:t})}}),r.length>0&&(0,d.jsx)(x.Z,{movies:r})]})}},264:function(t,e,o){var i,n;n="undefined"!==typeof o.g?o.g:"undefined"!==typeof window?window:this,i=function(){return function(t){"use strict";if("undefined"===typeof t&&"undefined"===typeof t.document)return!1;var e,o="Notiflix",i="\n\nVisit documentation page to learn more: https://notiflix.github.io/documentation",n='-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',a={Success:"Success",Failure:"Failure",Warning:"Warning",Info:"Info"},r={wrapID:"NotiflixNotifyWrap",overlayID:"NotiflixNotifyOverlay",width:"280px",position:"right-top",distance:"10px",opacity:1,borderRadius:"5px",rtl:!1,timeout:3e3,messageMaxLength:110,backOverlay:!1,backOverlayColor:"rgba(0,0,0,0.5)",plainText:!0,showOnlyTheLastOne:!1,clickToClose:!1,pauseOnHover:!0,ID:"NotiflixNotify",className:"notiflix-notify",zindex:4001,fontFamily:"Quicksand",fontSize:"13px",cssAnimation:!0,cssAnimationDuration:400,cssAnimationStyle:"fade",closeButton:!1,useIcon:!0,useFontAwesome:!1,fontAwesomeIconStyle:"basic",fontAwesomeIconSize:"34px",success:{background:"#32c682",textColor:"#fff",childClassName:"notiflix-notify-success",notiflixIconColor:"rgba(0,0,0,0.2)",fontAwesomeClassName:"fas fa-check-circle",fontAwesomeIconColor:"rgba(0,0,0,0.2)",backOverlayColor:"rgba(50,198,130,0.2)"},failure:{background:"#ff5549",textColor:"#fff",childClassName:"notiflix-notify-failure",notiflixIconColor:"rgba(0,0,0,0.2)",fontAwesomeClassName:"fas fa-times-circle",fontAwesomeIconColor:"rgba(0,0,0,0.2)",backOverlayColor:"rgba(255,85,73,0.2)"},warning:{background:"#eebf31",textColor:"#fff",childClassName:"notiflix-notify-warning",notiflixIconColor:"rgba(0,0,0,0.2)",fontAwesomeClassName:"fas fa-exclamation-circle",fontAwesomeIconColor:"rgba(0,0,0,0.2)",backOverlayColor:"rgba(238,191,49,0.2)"},info:{background:"#26c0d3",textColor:"#fff",childClassName:"notiflix-notify-info",notiflixIconColor:"rgba(0,0,0,0.2)",fontAwesomeClassName:"fas fa-info-circle",fontAwesomeIconColor:"rgba(0,0,0,0.2)",backOverlayColor:"rgba(38,192,211,0.2)"}},s=function(t){return console.error("%c "+o+" Error ","padding:2px;border-radius:20px;color:#fff;background:#ff5549","\n"+t+i)},l=function(e){return e||(e="head"),null!==t.document[e]||(s('\nNotiflix needs to be appended to the "<'+e+'>" element, but you called it before the "<'+e+'>" element has been created.'),!1)},c=function(e,o){if(!l("head"))return!1;if(null!==e()&&!t.document.getElementById(o)){var i=t.document.createElement("style");i.id=o,i.innerHTML=e(),t.document.head.appendChild(i)}},f=function t(){var e={},o=!1,i=0;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(o=arguments[0],i++);for(var n=function(i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(o&&"[object Object]"===Object.prototype.toString.call(i[n])?e[n]=t(e[n],i[n]):e[n]=i[n])};idiv{pointer-events:all;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:"Quicksand",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;width:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;margin:0 0 10px;border-radius:5px;background:#1e1e1e;color:#fff;padding:10px 12px;font-size:14px;line-height:1.4}[id^=NotiflixNotifyWrap]>div:last-child{margin:0}[id^=NotiflixNotifyWrap]>div.nx-with-callback{cursor:pointer}[id^=NotiflixNotifyWrap]>div.nx-with-icon{padding:8px;min-height:56px}[id^=NotiflixNotifyWrap]>div.nx-paused{cursor:auto}[id^=NotiflixNotifyWrap]>div.nx-notify-click-to-close{cursor:pointer}[id^=NotiflixNotifyWrap]>div.nx-with-close-button{padding:10px 36px 10px 12px}[id^=NotiflixNotifyWrap]>div.nx-with-icon.nx-with-close-button{padding:6px 36px 6px 6px}[id^=NotiflixNotifyWrap]>div>span.nx-message{cursor:inherit;font-weight:normal;font-family:inherit!important;word-break:break-all;word-break:break-word}[id^=NotiflixNotifyWrap]>div>span.nx-close-button{cursor:pointer;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;position:absolute;right:8px;top:0;bottom:0;margin:auto;color:inherit;width:20px;height:20px}[id^=NotiflixNotifyWrap]>div>span.nx-close-button:hover{-webkit-transform:rotate(90deg);transform:rotate(90deg)}[id^=NotiflixNotifyWrap]>div>span.nx-close-button>svg{position:absolute;width:16px;height:16px;right:2px;top:2px}[id^=NotiflixNotifyWrap]>div>.nx-message-icon{position:absolute;width:40px;height:40px;font-size:30px;line-height:40px;text-align:center;left:8px;top:0;bottom:0;margin:auto;border-radius:inherit}[id^=NotiflixNotifyWrap]>div>.nx-message-icon-fa.nx-message-icon-fa-shadow{color:inherit;background:rgba(0,0,0,.15);-webkit-box-shadow:inset 0 0 34px rgba(0,0,0,.2);box-shadow:inset 0 0 34px rgba(0,0,0,.2);text-shadow:0 0 10px rgba(0,0,0,.3)}[id^=NotiflixNotifyWrap]>div>span.nx-with-icon{position:relative;float:left;width:calc(100% - 40px);margin:0 0 0 40px;padding:0 0 0 10px;-webkit-box-sizing:border-box;box-sizing:border-box}[id^=NotiflixNotifyWrap]>div.nx-rtl-on>.nx-message-icon{left:auto;right:8px}[id^=NotiflixNotifyWrap]>div.nx-rtl-on>span.nx-with-icon{padding:0 10px 0 0;margin:0 40px 0 0}[id^=NotiflixNotifyWrap]>div.nx-rtl-on>span.nx-close-button{right:auto;left:8px}[id^=NotiflixNotifyWrap]>div.nx-with-icon.nx-with-close-button.nx-rtl-on{padding:6px 6px 6px 36px}[id^=NotiflixNotifyWrap]>div.nx-with-close-button.nx-rtl-on{padding:10px 12px 10px 36px}[id^=NotiflixNotifyOverlay].nx-with-animation,[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-fade{-webkit-animation:notify-animation-fade .3s ease-in-out 0s normal;animation:notify-animation-fade .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-fade{0%{opacity:0}100%{opacity:1}}@keyframes notify-animation-fade{0%{opacity:0}100%{opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-zoom{-webkit-animation:notify-animation-zoom .3s ease-in-out 0s normal;animation:notify-animation-zoom .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-zoom{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes notify-animation-zoom{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(1);transform:scale(1)}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-right{-webkit-animation:notify-animation-from-right .3s ease-in-out 0s normal;animation:notify-animation-from-right .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-right{0%{right:-300px;opacity:0}50%{right:8px;opacity:1}100%{right:0;opacity:1}}@keyframes notify-animation-from-right{0%{right:-300px;opacity:0}50%{right:8px;opacity:1}100%{right:0;opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-left{-webkit-animation:notify-animation-from-left .3s ease-in-out 0s normal;animation:notify-animation-from-left .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-left{0%{left:-300px;opacity:0}50%{left:8px;opacity:1}100%{left:0;opacity:1}}@keyframes notify-animation-from-left{0%{left:-300px;opacity:0}50%{left:8px;opacity:1}100%{left:0;opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-top{-webkit-animation:notify-animation-from-top .3s ease-in-out 0s normal;animation:notify-animation-from-top .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-top{0%{top:-50px;opacity:0}50%{top:8px;opacity:1}100%{top:0;opacity:1}}@keyframes notify-animation-from-top{0%{top:-50px;opacity:0}50%{top:8px;opacity:1}100%{top:0;opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-bottom{-webkit-animation:notify-animation-from-bottom .3s ease-in-out 0s normal;animation:notify-animation-from-bottom .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-bottom{0%{bottom:-50px;opacity:0}50%{bottom:8px;opacity:1}100%{bottom:0;opacity:1}}@keyframes notify-animation-from-bottom{0%{bottom:-50px;opacity:0}50%{bottom:8px;opacity:1}100%{bottom:0;opacity:1}}[id^=NotiflixNotifyOverlay].nx-with-animation.nx-remove,[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-fade.nx-remove{opacity:0;-webkit-animation:notify-remove-fade .3s ease-in-out 0s normal;animation:notify-remove-fade .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-fade{0%{opacity:1}100%{opacity:0}}@keyframes notify-remove-fade{0%{opacity:1}100%{opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-zoom.nx-remove{-webkit-transform:scale(0);transform:scale(0);-webkit-animation:notify-remove-zoom .3s ease-in-out 0s normal;animation:notify-remove-zoom .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-zoom{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(0);transform:scale(0)}}@keyframes notify-remove-zoom{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(0);transform:scale(0)}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-top.nx-remove{opacity:0;-webkit-animation:notify-remove-to-top .3s ease-in-out 0s normal;animation:notify-remove-to-top .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-top{0%{top:0;opacity:1}50%{top:8px;opacity:1}100%{top:-50px;opacity:0}}@keyframes notify-remove-to-top{0%{top:0;opacity:1}50%{top:8px;opacity:1}100%{top:-50px;opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-right.nx-remove{opacity:0;-webkit-animation:notify-remove-to-right .3s ease-in-out 0s normal;animation:notify-remove-to-right .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-right{0%{right:0;opacity:1}50%{right:8px;opacity:1}100%{right:-300px;opacity:0}}@keyframes notify-remove-to-right{0%{right:0;opacity:1}50%{right:8px;opacity:1}100%{right:-300px;opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-bottom.nx-remove{opacity:0;-webkit-animation:notify-remove-to-bottom .3s ease-in-out 0s normal;animation:notify-remove-to-bottom .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-bottom{0%{bottom:0;opacity:1}50%{bottom:8px;opacity:1}100%{bottom:-50px;opacity:0}}@keyframes notify-remove-to-bottom{0%{bottom:0;opacity:1}50%{bottom:8px;opacity:1}100%{bottom:-50px;opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-left.nx-remove{opacity:0;-webkit-animation:notify-remove-to-left .3s ease-in-out 0s normal;animation:notify-remove-to-left .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-left{0%{left:0;opacity:1}50%{left:8px;opacity:1}100%{left:-300px;opacity:0}}@keyframes notify-remove-to-left{0%{left:0;opacity:1}50%{left:8px;opacity:1}100%{left:-300px;opacity:0}}'},u=0,d=function(o,i,s,c){if(!l("body"))return!1;e||y.Notify.init({});var p=f(!0,e,{});if("object"===typeof s&&!Array.isArray(s)||"object"===typeof c&&!Array.isArray(c)){var d={};"object"===typeof s?d=s:"object"===typeof c&&(d=c),e=f(!0,e,d)}var x=e[o.toLocaleLowerCase("en")];u++,"string"!==typeof i&&(i="Notiflix "+o),e.plainText&&(i=m(i)),!e.plainText&&i.length>e.messageMaxLength&&(e=f(!0,e,{closeButton:!0,messageMaxLength:150}),i='Possible HTML Tags Error: The "plainText" option is "false" and the notification content length is more than the "messageMaxLength" option.'),i.length>e.messageMaxLength&&(i=i.substring(0,e.messageMaxLength)+"..."),"shadow"===e.fontAwesomeIconStyle&&(x.fontAwesomeIconColor=x.background),e.cssAnimation||(e.cssAnimationDuration=0);var g=t.document.getElementById(r.wrapID)||t.document.createElement("div");if(g.id=r.wrapID,g.style.width=e.width,g.style.zIndex=e.zindex,g.style.opacity=e.opacity,"center-center"===e.position?(g.style.left=e.distance,g.style.top=e.distance,g.style.right=e.distance,g.style.bottom=e.distance,g.style.margin="auto",g.classList.add("nx-flex-center-center"),g.style.maxHeight="calc((100vh - "+e.distance+") - "+e.distance+")",g.style.display="flex",g.style.flexWrap="wrap",g.style.flexDirection="column",g.style.justifyContent="center",g.style.alignItems="center",g.style.pointerEvents="none"):"center-top"===e.position?(g.style.left=e.distance,g.style.right=e.distance,g.style.top=e.distance,g.style.bottom="auto",g.style.margin="auto"):"center-bottom"===e.position?(g.style.left=e.distance,g.style.right=e.distance,g.style.bottom=e.distance,g.style.top="auto",g.style.margin="auto"):"right-bottom"===e.position?(g.style.right=e.distance,g.style.bottom=e.distance,g.style.top="auto",g.style.left="auto"):"left-top"===e.position?(g.style.left=e.distance,g.style.top=e.distance,g.style.right="auto",g.style.bottom="auto"):"left-bottom"===e.position?(g.style.left=e.distance,g.style.bottom=e.distance,g.style.top="auto",g.style.right="auto"):(g.style.right=e.distance,g.style.top=e.distance,g.style.left="auto",g.style.bottom="auto"),e.backOverlay){var b=t.document.getElementById(r.overlayID)||t.document.createElement("div");b.id=r.overlayID,b.style.width="100%",b.style.height="100%",b.style.position="fixed",b.style.zIndex=e.zindex-1,b.style.left=0,b.style.top=0,b.style.right=0,b.style.bottom=0,b.style.background=x.backOverlayColor||e.backOverlayColor,b.className=e.cssAnimation?"nx-with-animation":"",b.style.animationDuration=e.cssAnimation?e.cssAnimationDuration+"ms":"",t.document.getElementById(r.overlayID)||t.document.body.appendChild(b)}t.document.getElementById(r.wrapID)||t.document.body.appendChild(g);var h=t.document.createElement("div");h.id=e.ID+"-"+u,h.className=e.className+" "+x.childClassName+" "+(e.cssAnimation?"nx-with-animation":"")+" "+(e.useIcon?"nx-with-icon":"")+" nx-"+e.cssAnimationStyle+" "+(e.closeButton&&"function"!==typeof s?"nx-with-close-button":"")+" "+("function"===typeof s?"nx-with-callback":"")+" "+(e.clickToClose?"nx-notify-click-to-close":""),h.style.fontSize=e.fontSize,h.style.color=x.textColor,h.style.background=x.background,h.style.borderRadius=e.borderRadius,h.style.pointerEvents="all",e.rtl&&(h.setAttribute("dir","rtl"),h.classList.add("nx-rtl-on")),h.style.fontFamily='"'+e.fontFamily+'", '+n,e.cssAnimation&&(h.style.animationDuration=e.cssAnimationDuration+"ms");var v="";if(e.closeButton&&"function"!==typeof s&&(v=''),e.useIcon)if(e.useFontAwesome)h.innerHTML=''+i+""+(e.closeButton?v:"");else{var w="";o===a.Success?w='':o===a.Failure?w='':o===a.Warning?w='':o===a.Info&&(w=''),h.innerHTML=w+''+i+""+(e.closeButton?v:"")}else h.innerHTML=''+i+""+(e.closeButton?v:"");if("left-bottom"===e.position||"right-bottom"===e.position){var k=t.document.getElementById(r.wrapID);k.insertBefore(h,k.firstChild)}else t.document.getElementById(r.wrapID).appendChild(h);var N=t.document.getElementById(h.id);if(N){var I,C,z=function(){N.classList.add("nx-remove");var e=t.document.getElementById(r.overlayID);e&&g.childElementCount<=0&&e.classList.add("nx-remove"),clearTimeout(I)},W=function(){if(N&&null!==N.parentNode&&N.parentNode.removeChild(N),g.childElementCount<=0&&null!==g.parentNode){g.parentNode.removeChild(g);var e=t.document.getElementById(r.overlayID);e&&null!==e.parentNode&&e.parentNode.removeChild(e)}clearTimeout(C)};if(e.closeButton&&"function"!==typeof s&&t.document.getElementById(h.id).querySelector("span.nx-close-button").addEventListener("click",(function(){z();var t=setTimeout((function(){W(),clearTimeout(t)}),e.cssAnimationDuration)})),("function"===typeof s||e.clickToClose)&&N.addEventListener("click",(function(){"function"===typeof s&&s(),z();var t=setTimeout((function(){W(),clearTimeout(t)}),e.cssAnimationDuration)})),!e.closeButton&&"function"!==typeof s){var A=function(){I=setTimeout((function(){z()}),e.timeout),C=setTimeout((function(){W()}),e.timeout+e.cssAnimationDuration)};A(),e.pauseOnHover&&(N.addEventListener("mouseenter",(function(){N.classList.add("nx-paused"),clearTimeout(I),clearTimeout(C)})),N.addEventListener("mouseleave",(function(){N.classList.remove("nx-paused"),A()})))}}if(e.showOnlyTheLastOne&&u>0)for(var _=t.document.querySelectorAll("[id^="+e.ID+"-]:not([id="+e.ID+"-"+u+"])"),S=0;S<_.length;S++){var T=_[S];null!==T.parentNode&&T.parentNode.removeChild(T)}e=f(!0,e,p)},y={Notify:{init:function(t){e=f(!0,r,t),c(p,"NotiflixNotifyInternalCSS")},merge:function(t){if(!e)return s("You have to initialize the Notify module before call Merge function."),!1;e=f(!0,e,t)},success:function(t,e,o){d(a.Success,t,e,o)},failure:function(t,e,o){d(a.Failure,t,e,o)},warning:function(t,e,o){d(a.Warning,t,e,o)},info:function(t,e,o){d(a.Info,t,e,o)}}};return"object"===typeof t.Notiflix?f(!0,t.Notiflix,{Notify:y.Notify}):{Notify:y.Notify}}(n)}.apply(e,[]),void 0===i||(t.exports=i)}}]); -//# sourceMappingURL=964.de2d8ea9.chunk.js.map \ No newline at end of file diff --git a/static/js/964.de2d8ea9.chunk.js.map b/static/js/964.de2d8ea9.chunk.js.map deleted file mode 100644 index 46ca26c..0000000 --- a/static/js/964.de2d8ea9.chunk.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"static/js/964.de2d8ea9.chunk.js","mappings":"+SAEAA,EAAAA,EAAAA,SAAAA,QAAyB,gCACzB,IAAMC,EAAU,mCAAhB,SAGeC,IAAAA,OAAAA,EAAAA,MAAAA,KAAAA,UAAAA,CAAAA,SAAAA,IAAf,OAAeA,GAAAA,EAAAA,EAAAA,GAAAA,IAAAA,MAAf,6GAE2BF,EAAAA,EAAAA,IAAA,mCACOC,IAHlC,cAEUE,EAFV,yBAKWA,EAASC,KAAKC,SALzB,gCAOIC,QAAQC,MAAR,MAPJ,gF,SAaeC,EAAkB,GAAlBA,OAAAA,EAAAA,MAAAA,KAAAA,UAAAA,CAAAA,SAAAA,IAAf,OAAeA,GAAAA,EAAAA,EAAAA,GAAAA,IAAAA,MAAf,WAAiCC,GAAjC,gGAE2BT,EAAAA,EAAAA,IAAA,+BACGC,EADH,kBACoBQ,EADpB,oBAF3B,cAEUN,EAFV,yBAKWA,EAASC,KAAKC,SALzB,gCAOIC,QAAQI,IAAR,MAPJ,gF,SAceC,EAAkB,GAAlBA,OAAAA,EAAAA,MAAAA,KAAAA,UAAAA,CAAAA,SAAAA,IAAf,OAAeA,GAAAA,EAAAA,EAAAA,GAAAA,IAAAA,MAAf,WAAiCC,GAAjC,gGAE2BZ,EAAAA,EAAAA,IAAA,gBACZY,EADY,oBACEX,EADF,oBAF3B,cAEUE,EAFV,yBAKWA,EAASC,MALpB,gCAOIE,QAAQI,IAAR,MAPJ,gF,SAaeG,EAAe,GAAfA,OAAAA,EAAAA,MAAAA,KAAAA,UAAAA,CAAAA,SAAAA,IAAf,OAAeA,GAAAA,EAAAA,EAAAA,GAAAA,IAAAA,MAAf,WAA8BD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AE9D,CAAEA,OAAQqH,EAASrH,OAG7B,CA3jBYgL,CAAQjJ,EADX,UAAC,SAAD,oB","sources":["Services/Api.js","webpack://goit-react-hw-05-movies/./src/components/MoviesList/MoviesList.module.css?de3d","components/MoviesList/MoviesList.jsx","webpack://goit-react-hw-05-movies/./src/components/SearchForm/SearchForm.module.css?d6f1","components/SearchForm/SearchForm.jsx","webpack://goit-react-hw-05-movies/./src/pages/Movies/Movies.module.css?82ee","pages/Movies/Movies.jsx","../node_modules/notiflix/build/notiflix-notify-aio.js"],"sourcesContent":["import axios from 'axios';\n\naxios.defaults.baseURL = 'https://api.themoviedb.org/3/';\nconst API_KEY = \"0846bf312f0a1b3f0d9b691dd26eb2d9\";\n\n\nasync function fetchTrendingMovies () {\n try {\n const response = await axios.get(\n `trending/all/day?api_key=${API_KEY}`\n );\n return response.data.results;\n } catch (error) {\n console.error(error);\n }\n};\n\n//fetchSearchMovies().then(response =>console.log(response)) \n\nasync function fetchSearchMovies(query) {\n try {\n const response = await axios.get(\n `search/movie?api_key=${API_KEY}&query=${query}&language=en-US`\n );\n return response.data.results;\n } catch (error) {\n console.log(error);\n }\n};\n\n\n//fetchSearchMovies('king').then(response =>console.log(response)) \n\nasync function fetchMovieDetails(id) {\n try {\n const response = await axios.get(\n `movie/${id}?api_key=${API_KEY}&language=en-US`\n );\n return response.data;\n } catch (error) {\n console.log(error);\n }\n};\n\n//fetchMovieDetails(113082).then(response =>console.log(response)) \n\nasync function fetchMovieCast(id) {\n try {\n const response = await axios.get(\n `movie/${id}/credits?api_key=${API_KEY}&language=en-US`\n );\n return response.data.cast;\n } catch (error) {\n console.log(error);\n }\n};\n\n//fetchMovieCast(459003).then(response =>console.log(response)) \n\nasync function fetchMovieReviews(id) {\n try {\n const response = await axios.get(\n `movie/${id}/reviews?api_key=${API_KEY}&language=en-US`\n );\n return response.data.results;\n } catch (error) {\n console.log(error);\n }\n};\n\n//fetchMovieReviews(447365).then(response =>console.log(response)) \n\n\nexport { fetchTrendingMovies, fetchSearchMovies, fetchMovieDetails, fetchMovieCast, fetchMovieReviews };\n\n\n\n\n\n/*async function getUser() {\n try {\n const response = await axios.get('/user?ID=12345');\n console.log(response);\n } catch (error) {\n console.error(error);\n }\n}*/\n\n\n\n\n\n\n\n/*/*const options = {\n method: 'GET',\n headers: {\n accept: 'application/json',\n Authorization: 'Bearer eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiIwODQ2YmYzMTJmMGExYjNmMGQ5YjY5MWRkMjZlYjJkOSIsInN1YiI6IjY0YTE1NjU2ODFkYTM5MDEwYjhiN2ZkZSIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.Fu4JWQK_iKfB2CFB3482KCb1ZQWN0GnpevA4-rrxWVk',\n },\n};\n \nasync function fetchTrendingMovies() {\n const response = await axios.get('/trending/all/day?language=en-US', options);\n console.log(response.data.results)\n return response.data.results;\n}*/","// extracted by mini-css-extract-plugin\nexport default {\"list__title\":\"MoviesList_list__title__R5pRk\",\"movie__list\":\"MoviesList_movie__list__7GXDl\",\"movie__item\":\"MoviesList_movie__item__ZR78F\"};","import { useLocation, Link } from 'react-router-dom';\nimport css from './MoviesList.module.css'\n\n\nconst MoviesList = ({ movies }) => {\n const location = useLocation();\n return (\n )\n};\n\n\n\nexport default MoviesList;\n\n\n/*\n*/","// extracted by mini-css-extract-plugin\nexport default {\"search__form\":\"SearchForm_search__form__jrxBg\"};","import css from './SearchForm.module.css';\nimport { Notify } from 'notiflix/build/notiflix-notify-aio';\n\n\nconst SearchForm = ({ onSubmit }) => {\n\n const handleSubmit = evt => {\n evt.preventDefault();\n const form = evt.currentTarget;\n const searchValue = form.elements.query.value;\n //console.log(searchValue)\n if (searchValue.trim() === '') {\n Notify.warning('Enter your request, please...');\n return;\n };\n onSubmit(searchValue);\n form.reset();\n };\n\n return (\n
\n
\n \n \n
\n
\n );\n};\n\n\nNotify.init({\nwidth: '500px',\nfontSize: '20px',\nposition: 'right-top',\ncloseButton: false,\n});\n\n\nexport default SearchForm;\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* const onSubmit = evt => {\n evt.preventDefault();\n const form = evt.currentTarget;\n queryValue = form.elements.query.value;\n\n if (queryValue.trim() === '') {\n alert('Enter your request, please!');\n return;\n \n handleSubmit(queryValue);\n form.reset();\n };\n }*/","// extracted by mini-css-extract-plugin\nexport default {\"container__search\":\"Movies_container__search__Uvlii\"};","import { useState, useEffect } from 'react';\nimport { useLocation, useSearchParams } from 'react-router-dom';\nimport { fetchSearchMovies } from 'Services/Api';\nimport { Notify } from 'notiflix/build/notiflix-notify-aio';\nimport SearchForm from 'components/SearchForm/SearchForm';\nimport MoviesList from 'components/MoviesList/MoviesList';\nimport css from './Movies.module.css';\n\n const Movies = () => {\n const [movies, setMovies] = useState([]);\n const location = useLocation();\n const [searchParams, setSearchParams] = useSearchParams();\n const query = searchParams.get('query') ?? '';\n\n const handleSubmit = value => {\n setSearchParams({ query: value });\n };\n\n useEffect(() => {\n if (!query) {\n return;\n }\n\n let isMounted = true;// for Notify.warning\n\n const fetchData = async () => {\n const response = await fetchSearchMovies(query);\n if (isMounted) {\n if (response.length === 0) {\n Notify.info('Nothing was found by request. Try another value...');\n } else {\n setMovies([...response]);\n }\n }\n };\n\n fetchData();\n\n return () => {\n isMounted = false;\n };\n }, [query]);\n\n return (\n
\n \n {movies.length > 0 && }\n
\n );\n};\n\nexport default Movies;\n\n//setSearchParams не поновлює searchParam а перезаписує поверх\n\n/*const Movies = () => {\n const [movies, setMovies] = useState([\n 'movie1', 'movie2', 'movie3', 'movie4', 'movie5'\n ]);\n // console.log(setMovies)\n const location = useLocation();\n const [searchParams, setSearchParams] = useSearchParams();\n const movieId = searchParams.get('movieId') ?? \"\"\n useEffect(() => {\n //HTTP запит, якщо потрібен \n }, []) //state isLoading error\n \n const updateQueryString = event => {\n const movieIdValue = event.target.value;\n if (movieIdValue === \"\") {\n return setSearchParams({});\n };\n //якщо event.target.value \"\", то записуємо {} чистимо\n setSearchParams({ movieId: movieIdValue })\n //якщо event.target.value не \"\", то записуємо (movieId: event.target.value)\n };\n\n console.log(location)\n \n const visibleMovies = movies.filter(movie => movie.includes(movieId))\n \n return
\n \n {visibleMovies.map(movie => {\n return (\n \n {movie}\n \n )\n })}\n
\n};\n\nexport default Movies;*/\n\n//Previous\n// const Movies = () => {\n// const [movies, setMovies] = useState([]);\n// const location = useLocation();\n// const [searchParams, setSearchParams] = useSearchParams();\n// const query = searchParams.get('query') ?? '';\n\n// const handleSubmit = (value) => {\n// setSearchParams({ query: value })\n// };\n\n// /* useEffect(() => {\n// searchQuery && fetchSearchMovies(searchQuery).then(response => setMovies([...response]));\n// }, [searchQuery]);*/\n \n// useEffect(() => {\n// if (!query) return;\n// fetchSearchMovies(query).then(response => setMovies([...response]));\n// }, [query]);\n \n// return (
\n// \n// {movies.length > 0 && }\n//
)\n// };\n","/*\n* Notiflix Notify AIO (https://notiflix.github.io)\n* Description: This file has been created automatically that using \"notiflix.js\", and \"notiflix.css\" files.\n* Version: 3.2.6\n* Author: Furkan (https://github.com/furcan)\n* Copyright 2019 - 2023 Notiflix, MIT Licence (https://opensource.org/licenses/MIT)\n*/\n\n/* global define */\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n define([], function () {\n return factory(root);\n });\n } else if (typeof module === 'object' && typeof module.exports === 'object') {\n module.exports = factory(root);\n } else {\n root.Notiflix = factory(root);\n }\n})(typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : this, function (window) {\n\n 'use strict';\n\n // COMMON: SSR check: begin\n if (typeof window === 'undefined' && typeof window.document === 'undefined') {\n return false;\n }\n // COMMON: SSR check: end\n\n // COMMON: Variables: begin\n var notiflixNamespace = 'Notiflix';\n var notiflixConsoleDocs = '\\n\\nVisit documentation page to learn more: https://notiflix.github.io/documentation';\n var defaultFontFamily = '-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif';\n // COMMON: Variables: end\n\n // NOTIFY: Default Settings: begin\n var typesNotify = {\n Success: 'Success',\n Failure: 'Failure',\n Warning: 'Warning',\n Info: 'Info',\n };\n var newNotifySettings;\n var notifySettings = {\n wrapID: 'NotiflixNotifyWrap', // can not customizable\n overlayID: 'NotiflixNotifyOverlay', // can not customizable\n width: '280px',\n position: 'right-top', // 'right-top' - 'right-bottom' - 'left-top' - 'left-bottom' - 'center-top' - 'center-bottom' - 'center-center'\n distance: '10px',\n opacity: 1,\n borderRadius: '5px',\n rtl: false,\n timeout: 3000,\n messageMaxLength: 110,\n backOverlay: false,\n backOverlayColor: 'rgba(0,0,0,0.5)',\n plainText: true,\n showOnlyTheLastOne: false,\n clickToClose: false,\n pauseOnHover: true,\n\n ID: 'NotiflixNotify',\n className: 'notiflix-notify',\n zindex: 4001,\n fontFamily: 'Quicksand',\n fontSize: '13px',\n cssAnimation: true,\n cssAnimationDuration: 400,\n cssAnimationStyle: 'fade', // 'fade' - 'zoom' - 'from-right' - 'from-top' - 'from-bottom' - 'from-left'\n closeButton: false,\n useIcon: true,\n useFontAwesome: false,\n fontAwesomeIconStyle: 'basic', // 'basic' - 'shadow'\n fontAwesomeIconSize: '34px',\n\n success: {\n background: '#32c682',\n textColor: '#fff',\n childClassName: 'notiflix-notify-success',\n notiflixIconColor: 'rgba(0,0,0,0.2)',\n fontAwesomeClassName: 'fas fa-check-circle',\n fontAwesomeIconColor: 'rgba(0,0,0,0.2)',\n backOverlayColor: 'rgba(50,198,130,0.2)',\n },\n\n failure: {\n background: '#ff5549',\n textColor: '#fff',\n childClassName: 'notiflix-notify-failure',\n notiflixIconColor: 'rgba(0,0,0,0.2)',\n fontAwesomeClassName: 'fas fa-times-circle',\n fontAwesomeIconColor: 'rgba(0,0,0,0.2)',\n backOverlayColor: 'rgba(255,85,73,0.2)',\n },\n\n warning: {\n background: '#eebf31',\n textColor: '#fff',\n childClassName: 'notiflix-notify-warning',\n notiflixIconColor: 'rgba(0,0,0,0.2)',\n fontAwesomeClassName: 'fas fa-exclamation-circle',\n fontAwesomeIconColor: 'rgba(0,0,0,0.2)',\n backOverlayColor: 'rgba(238,191,49,0.2)',\n },\n\n info: {\n background: '#26c0d3',\n textColor: '#fff',\n childClassName: 'notiflix-notify-info',\n notiflixIconColor: 'rgba(0,0,0,0.2)',\n fontAwesomeClassName: 'fas fa-info-circle',\n fontAwesomeIconColor: 'rgba(0,0,0,0.2)',\n backOverlayColor: 'rgba(38,192,211,0.2)',\n },\n };\n // NOTIFY: Default Settings: end\n\n // COMMON: Console Error: begin\n var commonConsoleError = function (message) {\n return console.error('%c ' + notiflixNamespace + ' Error ', 'padding:2px;border-radius:20px;color:#fff;background:#ff5549', '\\n' + message + notiflixConsoleDocs);\n };\n // COMMON: Console Error: end\n\n // COMMON: Check Head or Body: begin\n var commonCheckHeadOrBody = function (element) {\n if (!element) { element = 'head'; }\n if (window.document[element] === null) {\n commonConsoleError('\\nNotiflix needs to be appended to the \"<' + element + '>\" element, but you called it before the \"<' + element + '>\" element has been created.');\n return false;\n }\n return true;\n };\n // COMMON: Check Head or Body: end\n\n // COMMON: Set Internal CSS Codes: begin\n var commonSetInternalCSSCodes = function (getInternalCSSCodes, styleElementId) {\n // check doc head\n if (!commonCheckHeadOrBody('head')) { return false; }\n\n // internal css\n if (getInternalCSSCodes() !== null && !window.document.getElementById(styleElementId)) {\n var internalCSS = window.document.createElement('style');\n internalCSS.id = styleElementId;\n internalCSS.innerHTML = getInternalCSSCodes();\n window.document.head.appendChild(internalCSS);\n }\n };\n // COMMON: Set Internal CSS Codes: end\n\n // COMMON: Extend Options: begin\n var commonExtendOptions = function () {\n // variables\n var extended = {};\n var deep = false;\n var i = 0;\n // check if a deep merge\n if (Object.prototype.toString.call(arguments[0]) === '[object Boolean]') {\n deep = arguments[0];\n i++;\n }\n // merge the object into the extended object\n var merge = function (obj) {\n for (var prop in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, prop)) {\n // if property is an object, merge properties\n if (deep && Object.prototype.toString.call(obj[prop]) === '[object Object]') {\n extended[prop] = commonExtendOptions(extended[prop], obj[prop]);\n } else {\n extended[prop] = obj[prop];\n }\n }\n }\n };\n // loop through each object and conduct a merge\n for (; i < arguments.length; i++) {\n merge(arguments[i]);\n }\n return extended;\n };\n // COMMON: Extend Options: end\n\n // COMMON: Get Plaintext: begin\n var commonGetPlaintext = function (html) {\n var htmlPool = window.document.createElement('div');\n htmlPool.innerHTML = html;\n return htmlPool.textContent || htmlPool.innerText || '';\n };\n // COMMON: Get Plaintext: end\n\n // NOTIFY: Get Internal CSS Codes: begin\n var notifyGetInternalCSSCodes = function () {\n var notifyCSS = '[id^=NotiflixNotifyWrap]{pointer-events:none;position:fixed;z-index:4001;opacity:1;right:10px;top:10px;width:280px;max-width:96%;-webkit-box-sizing:border-box;box-sizing:border-box;background:transparent}[id^=NotiflixNotifyWrap].nx-flex-center-center{max-height:calc(100vh - 20px);overflow-x:hidden;overflow-y:auto;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;margin:auto}[id^=NotiflixNotifyWrap]::-webkit-scrollbar{width:0;height:0}[id^=NotiflixNotifyWrap]::-webkit-scrollbar-thumb{background:transparent}[id^=NotiflixNotifyWrap]::-webkit-scrollbar-track{background:transparent}[id^=NotiflixNotifyWrap] *{-webkit-box-sizing:border-box;box-sizing:border-box}[id^=NotiflixNotifyOverlay]{-webkit-transition:background .3s ease-in-out;-o-transition:background .3s ease-in-out;transition:background .3s ease-in-out}[id^=NotiflixNotifyWrap]>div{pointer-events:all;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font-family:\"Quicksand\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif;width:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;position:relative;margin:0 0 10px;border-radius:5px;background:#1e1e1e;color:#fff;padding:10px 12px;font-size:14px;line-height:1.4}[id^=NotiflixNotifyWrap]>div:last-child{margin:0}[id^=NotiflixNotifyWrap]>div.nx-with-callback{cursor:pointer}[id^=NotiflixNotifyWrap]>div.nx-with-icon{padding:8px;min-height:56px}[id^=NotiflixNotifyWrap]>div.nx-paused{cursor:auto}[id^=NotiflixNotifyWrap]>div.nx-notify-click-to-close{cursor:pointer}[id^=NotiflixNotifyWrap]>div.nx-with-close-button{padding:10px 36px 10px 12px}[id^=NotiflixNotifyWrap]>div.nx-with-icon.nx-with-close-button{padding:6px 36px 6px 6px}[id^=NotiflixNotifyWrap]>div>span.nx-message{cursor:inherit;font-weight:normal;font-family:inherit!important;word-break:break-all;word-break:break-word}[id^=NotiflixNotifyWrap]>div>span.nx-close-button{cursor:pointer;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out;position:absolute;right:8px;top:0;bottom:0;margin:auto;color:inherit;width:20px;height:20px}[id^=NotiflixNotifyWrap]>div>span.nx-close-button:hover{-webkit-transform:rotate(90deg);transform:rotate(90deg)}[id^=NotiflixNotifyWrap]>div>span.nx-close-button>svg{position:absolute;width:16px;height:16px;right:2px;top:2px}[id^=NotiflixNotifyWrap]>div>.nx-message-icon{position:absolute;width:40px;height:40px;font-size:30px;line-height:40px;text-align:center;left:8px;top:0;bottom:0;margin:auto;border-radius:inherit}[id^=NotiflixNotifyWrap]>div>.nx-message-icon-fa.nx-message-icon-fa-shadow{color:inherit;background:rgba(0,0,0,.15);-webkit-box-shadow:inset 0 0 34px rgba(0,0,0,.2);box-shadow:inset 0 0 34px rgba(0,0,0,.2);text-shadow:0 0 10px rgba(0,0,0,.3)}[id^=NotiflixNotifyWrap]>div>span.nx-with-icon{position:relative;float:left;width:calc(100% - 40px);margin:0 0 0 40px;padding:0 0 0 10px;-webkit-box-sizing:border-box;box-sizing:border-box}[id^=NotiflixNotifyWrap]>div.nx-rtl-on>.nx-message-icon{left:auto;right:8px}[id^=NotiflixNotifyWrap]>div.nx-rtl-on>span.nx-with-icon{padding:0 10px 0 0;margin:0 40px 0 0}[id^=NotiflixNotifyWrap]>div.nx-rtl-on>span.nx-close-button{right:auto;left:8px}[id^=NotiflixNotifyWrap]>div.nx-with-icon.nx-with-close-button.nx-rtl-on{padding:6px 6px 6px 36px}[id^=NotiflixNotifyWrap]>div.nx-with-close-button.nx-rtl-on{padding:10px 12px 10px 36px}[id^=NotiflixNotifyOverlay].nx-with-animation,[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-fade{-webkit-animation:notify-animation-fade .3s ease-in-out 0s normal;animation:notify-animation-fade .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-fade{0%{opacity:0}100%{opacity:1}}@keyframes notify-animation-fade{0%{opacity:0}100%{opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-zoom{-webkit-animation:notify-animation-zoom .3s ease-in-out 0s normal;animation:notify-animation-zoom .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-zoom{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes notify-animation-zoom{0%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(1);transform:scale(1)}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-right{-webkit-animation:notify-animation-from-right .3s ease-in-out 0s normal;animation:notify-animation-from-right .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-right{0%{right:-300px;opacity:0}50%{right:8px;opacity:1}100%{right:0;opacity:1}}@keyframes notify-animation-from-right{0%{right:-300px;opacity:0}50%{right:8px;opacity:1}100%{right:0;opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-left{-webkit-animation:notify-animation-from-left .3s ease-in-out 0s normal;animation:notify-animation-from-left .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-left{0%{left:-300px;opacity:0}50%{left:8px;opacity:1}100%{left:0;opacity:1}}@keyframes notify-animation-from-left{0%{left:-300px;opacity:0}50%{left:8px;opacity:1}100%{left:0;opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-top{-webkit-animation:notify-animation-from-top .3s ease-in-out 0s normal;animation:notify-animation-from-top .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-top{0%{top:-50px;opacity:0}50%{top:8px;opacity:1}100%{top:0;opacity:1}}@keyframes notify-animation-from-top{0%{top:-50px;opacity:0}50%{top:8px;opacity:1}100%{top:0;opacity:1}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-bottom{-webkit-animation:notify-animation-from-bottom .3s ease-in-out 0s normal;animation:notify-animation-from-bottom .3s ease-in-out 0s normal}@-webkit-keyframes notify-animation-from-bottom{0%{bottom:-50px;opacity:0}50%{bottom:8px;opacity:1}100%{bottom:0;opacity:1}}@keyframes notify-animation-from-bottom{0%{bottom:-50px;opacity:0}50%{bottom:8px;opacity:1}100%{bottom:0;opacity:1}}[id^=NotiflixNotifyOverlay].nx-with-animation.nx-remove,[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-fade.nx-remove{opacity:0;-webkit-animation:notify-remove-fade .3s ease-in-out 0s normal;animation:notify-remove-fade .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-fade{0%{opacity:1}100%{opacity:0}}@keyframes notify-remove-fade{0%{opacity:1}100%{opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-zoom.nx-remove{-webkit-transform:scale(0);transform:scale(0);-webkit-animation:notify-remove-zoom .3s ease-in-out 0s normal;animation:notify-remove-zoom .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-zoom{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(0);transform:scale(0)}}@keyframes notify-remove-zoom{0%{-webkit-transform:scale(1);transform:scale(1)}50%{-webkit-transform:scale(1.05);transform:scale(1.05)}100%{-webkit-transform:scale(0);transform:scale(0)}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-top.nx-remove{opacity:0;-webkit-animation:notify-remove-to-top .3s ease-in-out 0s normal;animation:notify-remove-to-top .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-top{0%{top:0;opacity:1}50%{top:8px;opacity:1}100%{top:-50px;opacity:0}}@keyframes notify-remove-to-top{0%{top:0;opacity:1}50%{top:8px;opacity:1}100%{top:-50px;opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-right.nx-remove{opacity:0;-webkit-animation:notify-remove-to-right .3s ease-in-out 0s normal;animation:notify-remove-to-right .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-right{0%{right:0;opacity:1}50%{right:8px;opacity:1}100%{right:-300px;opacity:0}}@keyframes notify-remove-to-right{0%{right:0;opacity:1}50%{right:8px;opacity:1}100%{right:-300px;opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-bottom.nx-remove{opacity:0;-webkit-animation:notify-remove-to-bottom .3s ease-in-out 0s normal;animation:notify-remove-to-bottom .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-bottom{0%{bottom:0;opacity:1}50%{bottom:8px;opacity:1}100%{bottom:-50px;opacity:0}}@keyframes notify-remove-to-bottom{0%{bottom:0;opacity:1}50%{bottom:8px;opacity:1}100%{bottom:-50px;opacity:0}}[id^=NotiflixNotifyWrap]>div.nx-with-animation.nx-from-left.nx-remove{opacity:0;-webkit-animation:notify-remove-to-left .3s ease-in-out 0s normal;animation:notify-remove-to-left .3s ease-in-out 0s normal}@-webkit-keyframes notify-remove-to-left{0%{left:0;opacity:1}50%{left:8px;opacity:1}100%{left:-300px;opacity:0}}@keyframes notify-remove-to-left{0%{left:0;opacity:1}50%{left:8px;opacity:1}100%{left:-300px;opacity:0}}';\n return notifyCSS || null;\n };\n // NOTIFY: Get Internal CSS Codes: end\n\n // NOTIFY: Create: begin\n var notifyCreateCounter = 0;\n var notifyCreate = function (notifyType, message, callbackOrOptions, options) {\n // check doc body\n if (!commonCheckHeadOrBody('body')) { return false; }\n\n // if not initialized pretend like init\n if (!newNotifySettings) {\n Notiflix.Notify.init({});\n }\n\n // create a backup for new settings\n var newNotifySettingsBackup = commonExtendOptions(true, newNotifySettings, {});\n\n // check callbackOrOptions and options: begin\n if ((typeof callbackOrOptions === 'object' && !Array.isArray(callbackOrOptions)) || (typeof options === 'object' && !Array.isArray(options))) {\n // new options\n var newOptions = {};\n if (typeof callbackOrOptions === 'object') {\n newOptions = callbackOrOptions;\n } else if (typeof options === 'object') {\n newOptions = options;\n }\n\n // extend new settings with the new options\n newNotifySettings = commonExtendOptions(true, newNotifySettings, newOptions);\n }\n // check callbackOrOptions and options: end\n\n // notify type\n var theType = newNotifySettings[notifyType.toLocaleLowerCase('en')];\n\n // notify counter\n notifyCreateCounter++;\n\n // check the message: begin\n if (typeof message !== 'string') {\n message = 'Notiflix ' + notifyType;\n }\n // check the message: end\n\n // if plainText is true => HTML tags not allowed: begin\n if (newNotifySettings.plainText) {\n message = commonGetPlaintext(message); // message plain text\n }\n // if plainText is true => HTML tags not allowed: end\n\n // if plainText is false but the message length more than messageMaxLength => Possible HTML tags error: begin\n if (!newNotifySettings.plainText && message.length > newNotifySettings.messageMaxLength) {\n // extend settings for error massege\n newNotifySettings = commonExtendOptions(true, newNotifySettings, { closeButton: true, messageMaxLength: 150 });\n // error message\n message = 'Possible HTML Tags Error: The \"plainText\" option is \"false\" and the notification content length is more than the \"messageMaxLength\" option.';\n }\n // if plainText is false but the message length more than messageMaxLength => Possible HTML tags error: end\n\n // check message max length: begin\n if (message.length > newNotifySettings.messageMaxLength) {\n message = message.substring(0, newNotifySettings.messageMaxLength) + '...';\n }\n // check message max length: end\n\n // font awesome icon style: begin\n if (newNotifySettings.fontAwesomeIconStyle === 'shadow') {\n theType.fontAwesomeIconColor = theType.background;\n }\n // font awesome icon style: end\n\n // if cssAnimaion is false => duration: begin\n if (!newNotifySettings.cssAnimation) {\n newNotifySettings.cssAnimationDuration = 0;\n }\n // if cssAnimaion is false => duration: end\n\n // notify wrap: begin\n var ntflxNotifyWrap = window.document.getElementById(notifySettings.wrapID) || window.document.createElement('div');\n ntflxNotifyWrap.id = notifySettings.wrapID;\n ntflxNotifyWrap.style.width = newNotifySettings.width;\n ntflxNotifyWrap.style.zIndex = newNotifySettings.zindex;\n ntflxNotifyWrap.style.opacity = newNotifySettings.opacity;\n\n // wrap position: begin\n if (newNotifySettings.position === 'center-center') {\n ntflxNotifyWrap.style.left = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = newNotifySettings.distance;\n ntflxNotifyWrap.style.right = newNotifySettings.distance;\n ntflxNotifyWrap.style.bottom = newNotifySettings.distance;\n ntflxNotifyWrap.style.margin = 'auto';\n ntflxNotifyWrap.classList.add('nx-flex-center-center');\n ntflxNotifyWrap.style.maxHeight = 'calc((100vh - ' + newNotifySettings.distance + ') - ' + newNotifySettings.distance + ')';\n ntflxNotifyWrap.style.display = 'flex';\n ntflxNotifyWrap.style.flexWrap = 'wrap';\n ntflxNotifyWrap.style.flexDirection = 'column';\n ntflxNotifyWrap.style.justifyContent = 'center';\n ntflxNotifyWrap.style.alignItems = 'center';\n ntflxNotifyWrap.style.pointerEvents = 'none';\n } else if (newNotifySettings.position === 'center-top') {\n ntflxNotifyWrap.style.left = newNotifySettings.distance;\n ntflxNotifyWrap.style.right = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = newNotifySettings.distance;\n ntflxNotifyWrap.style.bottom = 'auto';\n ntflxNotifyWrap.style.margin = 'auto';\n } else if (newNotifySettings.position === 'center-bottom') {\n ntflxNotifyWrap.style.left = newNotifySettings.distance;\n ntflxNotifyWrap.style.right = newNotifySettings.distance;\n ntflxNotifyWrap.style.bottom = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = 'auto';\n ntflxNotifyWrap.style.margin = 'auto';\n } else if (newNotifySettings.position === 'right-bottom') {\n ntflxNotifyWrap.style.right = newNotifySettings.distance;\n ntflxNotifyWrap.style.bottom = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = 'auto';\n ntflxNotifyWrap.style.left = 'auto';\n } else if (newNotifySettings.position === 'left-top') {\n ntflxNotifyWrap.style.left = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = newNotifySettings.distance;\n ntflxNotifyWrap.style.right = 'auto';\n ntflxNotifyWrap.style.bottom = 'auto';\n } else if (newNotifySettings.position === 'left-bottom') {\n ntflxNotifyWrap.style.left = newNotifySettings.distance;\n ntflxNotifyWrap.style.bottom = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = 'auto';\n ntflxNotifyWrap.style.right = 'auto';\n } else { // 'right-top' or else\n ntflxNotifyWrap.style.right = newNotifySettings.distance;\n ntflxNotifyWrap.style.top = newNotifySettings.distance;\n ntflxNotifyWrap.style.left = 'auto';\n ntflxNotifyWrap.style.bottom = 'auto';\n }\n // wrap position: end\n\n // if background overlay is true: begin\n if (newNotifySettings.backOverlay) {\n var ntflxNotifyOverlay = window.document.getElementById(notifySettings.overlayID) || window.document.createElement('div');\n ntflxNotifyOverlay.id = notifySettings.overlayID;\n ntflxNotifyOverlay.style.width = '100%';\n ntflxNotifyOverlay.style.height = '100%';\n ntflxNotifyOverlay.style.position = 'fixed';\n ntflxNotifyOverlay.style.zIndex = newNotifySettings.zindex - 1;\n ntflxNotifyOverlay.style.left = 0;\n ntflxNotifyOverlay.style.top = 0;\n ntflxNotifyOverlay.style.right = 0;\n ntflxNotifyOverlay.style.bottom = 0;\n ntflxNotifyOverlay.style.background = theType.backOverlayColor || newNotifySettings.backOverlayColor;\n ntflxNotifyOverlay.className = newNotifySettings.cssAnimation ? 'nx-with-animation' : '';\n ntflxNotifyOverlay.style.animationDuration = newNotifySettings.cssAnimation ? newNotifySettings.cssAnimationDuration + 'ms' : '';\n\n if (!window.document.getElementById(notifySettings.overlayID)) {\n window.document.body.appendChild(ntflxNotifyOverlay);\n }\n }\n // if background overlay is true: end\n\n if (!window.document.getElementById(notifySettings.wrapID)) {\n window.document.body.appendChild(ntflxNotifyWrap);\n }\n // notify wrap: end\n\n // notify content: begin\n var ntflxNotify = window.document.createElement('div');\n ntflxNotify.id = newNotifySettings.ID + '-' + notifyCreateCounter;\n ntflxNotify.className = newNotifySettings.className + ' ' + theType.childClassName + ' ' + (newNotifySettings.cssAnimation ? 'nx-with-animation' : '') + ' ' + (newNotifySettings.useIcon ? 'nx-with-icon' : '') + ' nx-' + newNotifySettings.cssAnimationStyle + ' ' + (newNotifySettings.closeButton && typeof callbackOrOptions !== 'function' ? 'nx-with-close-button' : '') + ' ' + (typeof callbackOrOptions === 'function' ? 'nx-with-callback' : '') + ' ' + (newNotifySettings.clickToClose ? 'nx-notify-click-to-close' : '');\n ntflxNotify.style.fontSize = newNotifySettings.fontSize;\n ntflxNotify.style.color = theType.textColor;\n ntflxNotify.style.background = theType.background;\n ntflxNotify.style.borderRadius = newNotifySettings.borderRadius;\n ntflxNotify.style.pointerEvents = 'all';\n\n // rtl: begin\n if (newNotifySettings.rtl) {\n ntflxNotify.setAttribute('dir', 'rtl');\n ntflxNotify.classList.add('nx-rtl-on');\n }\n // rtl: end\n\n // font-family: begin\n ntflxNotify.style.fontFamily = '\"' + newNotifySettings.fontFamily + '\", ' + defaultFontFamily;\n // font-family: end\n\n // use css animation: begin\n if (newNotifySettings.cssAnimation) {\n ntflxNotify.style.animationDuration = newNotifySettings.cssAnimationDuration + 'ms';\n }\n // use css animation: end\n\n // close button element: begin\n var closeButtonHTML = '';\n if (newNotifySettings.closeButton && typeof callbackOrOptions !== 'function') {\n closeButtonHTML = '';\n }\n // close buttpon element: end\n\n // use icon: begin\n if (newNotifySettings.useIcon) {\n // use font awesome\n if (newNotifySettings.useFontAwesome) {\n ntflxNotify.innerHTML = '' + message + '' + (newNotifySettings.closeButton ? closeButtonHTML : '');\n }\n // use notiflix icon\n else {\n var svgIcon = '';\n if (notifyType === typesNotify.Success) { // success\n svgIcon = '';\n } else if (notifyType === typesNotify.Failure) { // failure\n svgIcon = '';\n } else if (notifyType === typesNotify.Warning) { // warning\n svgIcon = '';\n } else if (notifyType === typesNotify.Info) { // info\n svgIcon = '';\n }\n ntflxNotify.innerHTML = svgIcon + '' + message + '' + (newNotifySettings.closeButton ? closeButtonHTML : '');\n }\n }\n // without icon\n else {\n ntflxNotify.innerHTML = '' + message + '' + (newNotifySettings.closeButton ? closeButtonHTML : '');\n }\n // use icon: end\n // notify content: end\n\n // notify append or prepend: begin\n if (newNotifySettings.position === 'left-bottom' || newNotifySettings.position === 'right-bottom') { // the new one will be first\n var notifyWrap = window.document.getElementById(notifySettings.wrapID);\n notifyWrap.insertBefore(ntflxNotify, notifyWrap.firstChild);\n } else {\n window.document.getElementById(notifySettings.wrapID).appendChild(ntflxNotify);\n }\n // notify append or prepend: end\n\n // remove by timeout or click: begin\n var eachNotifyElement = window.document.getElementById(ntflxNotify.id);\n if (eachNotifyElement) {\n // timeout variables\n var timeoutHide;\n var timeoutRemove;\n\n // hide notify elm and hide overlay: begin\n var hideNotifyElementsAndOverlay = function () {\n eachNotifyElement.classList.add('nx-remove');\n var removeOverlay = window.document.getElementById(notifySettings.overlayID);\n if (removeOverlay && ntflxNotifyWrap.childElementCount <= 0) {\n removeOverlay.classList.add('nx-remove');\n }\n clearTimeout(timeoutHide);\n };\n // hide notify elm and hide overlay: end\n\n // remove notify elm and wrapper: begin\n var removeNotifyElmentsAndWrapper = function () {\n if (eachNotifyElement && eachNotifyElement.parentNode !== null) {\n eachNotifyElement.parentNode.removeChild(eachNotifyElement);\n }\n if (ntflxNotifyWrap.childElementCount <= 0 && ntflxNotifyWrap.parentNode !== null) { // if childs count === 0 remove wrap\n ntflxNotifyWrap.parentNode.removeChild(ntflxNotifyWrap);\n var removeOverlay = window.document.getElementById(notifySettings.overlayID);\n if (removeOverlay && removeOverlay.parentNode !== null) {\n removeOverlay.parentNode.removeChild(removeOverlay);\n }\n }\n clearTimeout(timeoutRemove);\n };\n // remove notify elm and wrapper: end\n\n // if has close button and callbackOrOptions is not a function: begin\n if (newNotifySettings.closeButton && typeof callbackOrOptions !== 'function') {\n var closeButtonElm = window.document.getElementById(ntflxNotify.id).querySelector('span.nx-close-button');\n closeButtonElm.addEventListener('click', function () {\n hideNotifyElementsAndOverlay();\n var clickToCloseTimeout = setTimeout(function () {\n removeNotifyElmentsAndWrapper();\n clearTimeout(clickToCloseTimeout);\n }, newNotifySettings.cssAnimationDuration);\n });\n }\n // if has close button and callbackOrOptions is not a function: end\n\n // if callbackOrOptions or click to close: begin\n if (typeof callbackOrOptions === 'function' || newNotifySettings.clickToClose) {\n eachNotifyElement.addEventListener('click', function () {\n if (typeof callbackOrOptions === 'function') {\n callbackOrOptions();\n }\n hideNotifyElementsAndOverlay();\n var callbackTimeout = setTimeout(function () {\n removeNotifyElmentsAndWrapper();\n clearTimeout(callbackTimeout);\n }, newNotifySettings.cssAnimationDuration);\n });\n }\n // if callbackOrOptions or click to close: end\n\n // else auto remove: begin\n if (!newNotifySettings.closeButton && typeof callbackOrOptions !== 'function') {\n // auto remove: begin\n var autoRemove = function () {\n timeoutHide = setTimeout(function () {\n hideNotifyElementsAndOverlay();\n }, newNotifySettings.timeout);\n timeoutRemove = setTimeout(function () {\n removeNotifyElmentsAndWrapper();\n }, newNotifySettings.timeout + newNotifySettings.cssAnimationDuration);\n };\n autoRemove();\n // auto remove: end\n\n // pause auto remove: begin\n if (newNotifySettings.pauseOnHover) {\n eachNotifyElement.addEventListener('mouseenter', function () {\n eachNotifyElement.classList.add('nx-paused');\n clearTimeout(timeoutHide);\n clearTimeout(timeoutRemove);\n });\n eachNotifyElement.addEventListener('mouseleave', function () {\n eachNotifyElement.classList.remove('nx-paused');\n autoRemove();\n });\n }\n // pause auto remove: end\n }\n // else auto remove: end\n }\n // remove by timeout or click: end\n\n // notify - show only the last one: begin\n if (newNotifySettings.showOnlyTheLastOne && notifyCreateCounter > 0) {\n var allNotifyElmNotTheLastOne = window.document.querySelectorAll('[id^=' + newNotifySettings.ID + '-]:not([id=' + newNotifySettings.ID + '-' + notifyCreateCounter + '])');\n for (var i = 0; i < allNotifyElmNotTheLastOne.length; i++) {\n var eachNotifyElmNotLastOne = allNotifyElmNotTheLastOne[i];\n if (eachNotifyElmNotLastOne.parentNode !== null) {\n eachNotifyElmNotLastOne.parentNode.removeChild(eachNotifyElmNotLastOne);\n }\n }\n }\n // notify - show only the last one: end\n\n // extend new settings with the backup settings\n newNotifySettings = commonExtendOptions(true, newNotifySettings, newNotifySettingsBackup);\n\n };\n // NOTIFY: Create: end\n\n var Notiflix = {\n Notify: {\n // Init\n init: function (userNotifyOptions) {\n // extend options\n newNotifySettings = commonExtendOptions(true, notifySettings, userNotifyOptions);\n // internal css if exist\n commonSetInternalCSSCodes(notifyGetInternalCSSCodes, 'NotiflixNotifyInternalCSS');\n },\n // Merge First Init\n merge: function (userNotifyExtendOptions) {\n // if initialized already\n if (newNotifySettings) {\n newNotifySettings = commonExtendOptions(true, newNotifySettings, userNotifyExtendOptions);\n }\n // initialize first\n else {\n commonConsoleError('You have to initialize the Notify module before call Merge function.');\n return false;\n }\n },\n // Success\n success: function (message, callbackOrOptions, options) {\n notifyCreate(typesNotify.Success, message, callbackOrOptions, options);\n },\n // Failure\n failure: function (message, callbackOrOptions, options) {\n notifyCreate(typesNotify.Failure, message, callbackOrOptions, options);\n },\n // Warning\n warning: function (message, callbackOrOptions, options) {\n notifyCreate(typesNotify.Warning, message, callbackOrOptions, options);\n },\n // Info\n info: function (message, callbackOrOptions, options) {\n notifyCreate(typesNotify.Info, message, callbackOrOptions, options);\n },\n },\n };\n\n if (typeof window.Notiflix === 'object') {\n return commonExtendOptions(true, window.Notiflix, { Notify: Notiflix.Notify });\n } else {\n return { Notify: Notiflix.Notify };\n }\n\n});"],"names":["axios","API_KEY","fetchTrendingMovies","response","data","results","console","error","fetchSearchMovies","query","log","fetchMovieDetails","id","fetchMovieCast","cast","fetchMovieReviews","movies","location","useLocation","className","css","map","title","poster_path","to","state","from","src","width","height","alt","Notify","fontSize","position","closeButton","onSubmit","action","evt","preventDefault","form","currentTarget","searchValue","elements","value","trim","reset","type","placeholder","autoComplete","autoFocus","name","useState","setMovies","useSearchParams","searchParams","setSearchParams","get","useEffect","isMounted","fetchData","length","MoviesList","root","global","window","this","document","newNotifySettings","notiflixNamespace","notiflixConsoleDocs","defaultFontFamily","typesNotify","Success","Failure","Warning","Info","notifySettings","wrapID","overlayID","distance","opacity","borderRadius","rtl","timeout","messageMaxLength","backOverlay","backOverlayColor","plainText","showOnlyTheLastOne","clickToClose","pauseOnHover","ID","zindex","fontFamily","cssAnimation","cssAnimationDuration","cssAnimationStyle","useIcon","useFontAwesome","fontAwesomeIconStyle","fontAwesomeIconSize","success","background","textColor","childClassName","notiflixIconColor","fontAwesomeClassName","fontAwesomeIconColor","failure","warning","info","commonConsoleError","message","commonCheckHeadOrBody","element","commonSetInternalCSSCodes","getInternalCSSCodes","styleElementId","getElementById","internalCSS","createElement","innerHTML","head","appendChild","commonExtendOptions","extended","deep","i","Object","prototype","toString","call","arguments","merge","obj","prop","hasOwnProperty","commonGetPlaintext","html","htmlPool","textContent","innerText","notifyGetInternalCSSCodes","notifyCreateCounter","notifyCreate","notifyType","callbackOrOptions","options","Notiflix","init","newNotifySettingsBackup","Array","isArray","newOptions","theType","toLocaleLowerCase","substring","ntflxNotifyWrap","style","zIndex","left","top","right","bottom","margin","classList","add","maxHeight","display","flexWrap","flexDirection","justifyContent","alignItems","pointerEvents","ntflxNotifyOverlay","animationDuration","body","ntflxNotify","color","setAttribute","closeButtonHTML","svgIcon","notifyWrap","insertBefore","firstChild","eachNotifyElement","timeoutHide","timeoutRemove","hideNotifyElementsAndOverlay","removeOverlay","childElementCount","clearTimeout","removeNotifyElmentsAndWrapper","parentNode","removeChild","querySelector","addEventListener","clickToCloseTimeout","setTimeout","callbackTimeout","autoRemove","remove","allNotifyElmNotTheLastOne","querySelectorAll","eachNotifyElmNotLastOne","userNotifyOptions","userNotifyExtendOptions","factory"],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/main.de84cabe.js b/static/js/main.a12cca00.js similarity index 99% rename from static/js/main.de84cabe.js rename to static/js/main.a12cca00.js index e4be08f..592d3ba 100644 --- a/static/js/main.de84cabe.js +++ b/static/js/main.a12cca00.js @@ -1,3 +1,3 @@ -/*! For license information please see main.de84cabe.js.LICENSE.txt */ -!function(){var e={757:function(e,t,n){e.exports=n(727)},393:function(e,t,n){"use strict";n.d(t,{Z:function(){return pn}});var r=n(683);function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var o=n(184),l=n(791);var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?_(j,--D):0,L--,10===I&&(L=1,R--),I}function W(){return I=D2||V(I)>3?"":" "}function G(e,t){for(;--t&&W()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return H(e,B()+(t<6&&32==$()&&32==W()))}function Y(e){for(;W();)switch(I){case e:return D;case 34:case 39:34!==e&&39!==e&&Y(I);break;case 40:41===e&&Y(e);break;case 92:W()}return D}function J(e,t){for(;W()&&e+I!==57&&(e+I!==84||47!==$()););return"/*"+H(t,D-1)+"*"+b(47===e?e:W())}function X(e){for(;!V($());)W();return H(e,D)}function ee(e,t){for(var n="",r=0;r6)switch(_(e,t+1)){case 109:if(45!==_(e,t+4))break;case 102:return E(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+d+(108==_(e,t+3)?"$3":"$2-$3"))+e;case 115:return~x(e,"stretch",0)?ne(E(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return E(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,n,r,a,o,l,i){return f+n+":"+r+i+(a?f+n+"-span:"+(o?l:+l-+r)+i:"")+e}));case 4949:if(121===_(e,t+6))return E(e,":",":"+p)+e;break;case 6444:switch(_(e,45===_(e,14)?18:11)){case 120:return E(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+p+(45===_(e,14)?"inline-":"")+"box$3$1"+p+"$2$3$1"+f+"$2box$3")+e;case 100:return E(e,":",":"+f)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return E(e,"scroll-","scroll-snap-")+e}return e}function re(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case m:return void(e.return=ne(e.value,e.length,n));case g:return ee([A(e,{value:E(e.value,"@","@"+p)})],r);case v:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,(function(t){switch(k(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":M(A(e,{props:[E(t,/:(read-\w+)/,":-moz-$1")]})),M(A(e,{props:[t]})),w(e,{props:N(n,r)});break;case"::placeholder":M(A(e,{props:[E(t,/:(plac\w+)/,":-webkit-input-$1")]})),M(A(e,{props:[E(t,/:(plac\w+)/,":-moz-$1")]})),M(A(e,{props:[E(t,/:(plac\w+)/,f+"input-$1")]})),M(A(e,{props:[t]})),w(e,{props:N(n,r)})}return""}))}}function ae(e){return Z(oe("",null,null,null,[""],e=K(e),0,[0],e))}function oe(e,t,n,r,a,o,l,i,u){for(var s=0,c=0,f=l,d=0,p=0,h=0,v=1,m=1,g=1,w=0,S="",k=a,C=o,O=r,N=S;m;)switch(h=w,w=W()){case 40:if(108!=h&&58==_(N,f-1)){-1!=x(N+=E(Q(w),"&","&\f"),"&\f",y(s?i[s-1]:0))&&(g=-1);break}case 34:case 39:case 91:N+=Q(w);break;case 9:case 10:case 13:case 32:N+=q(h);break;case 92:N+=G(B()-1,7);continue;case 47:switch($()){case 42:case 47:T(ie(J(W(),B()),t,n,u),u);break;default:N+="/"}break;case 123*v:i[s++]=P(N)*g;case 125*v:case 59:case 0:switch(w){case 0:case 125:m=0;case 59+c:-1==g&&(N=E(N,/\f/g,"")),p>0&&P(N)-f&&T(p>32?ue(N+";",r,n,f-1,u):ue(E(N," ","")+";",r,n,f-2,u),u);break;case 59:N+=";";default:if(T(O=le(N,t,n,s,c,a,i,S,k=[],C=[],f,o),o),123===w)if(0===c)oe(N,t,O,O,k,o,f,i,C);else switch(99===d&&110===_(N,3)?100:d){case 100:case 108:case 109:case 115:oe(e,O,O,r&&T(le(e,O,O,0,0,a,i,S,a,k=[],f,C),C),a,C,f,i,r?k:C);break;default:oe(N,O,O,O,[""],C,0,i,C)}}s=c=p=0,v=g=1,S=N="",f=l;break;case 58:f=1+P(N),p=h;default:if(v<1)if(123==w)--v;else if(125==w&&0==v++&&125==U())continue;switch(N+=b(w),w*v){case 38:g=c>0?1:(N+="\f",-1);break;case 44:i[s++]=(P(N)-1)*g,g=1;break;case 64:45===$()&&(N+=Q(W())),d=$(),c=f=P(S=N+=X(B())),w++;break;case 45:45===h&&2==P(N)&&(v=0)}}return o}function le(e,t,n,r,a,o,l,i,u,s,c,f){for(var d=a-1,p=0===a?o:[""],h=O(p),m=0,g=0,b=0;m0?p[w]+" "+k:E(k,/&\f/g,p[w])))&&(u[b++]=x);return F(e,t,n,0===a?v:i,u,s,c,f)}function ie(e,t,n,r){return F(e,t,n,h,b(I),C(e,2,-2),0,r)}function ue(e,t,n,r,a){return F(e,t,n,m,C(e,0,r),C(e,r+1,-1),r,a)}var se={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ce="undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&({NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_ATTR||{NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_ATTR)||"data-styled",fe="active",de="data-styled-version",pe="6.1.8",he="/*!sc*/\n",ve="undefined"!=typeof window&&"HTMLElement"in window,me=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}&&void 0!=={NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&""!=={NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&("false"!=={NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY&&{NODE_ENV:"production",PUBLIC_URL:"/goit-react-hw-05-movies",WDS_SOCKET_HOST:void 0,WDS_SOCKET_PATH:void 0,WDS_SOCKET_PORT:void 0,FAST_REFRESH:!0}.SC_DISABLE_SPEEDY)),ge=(new Set,Object.freeze([])),ye=Object.freeze({});function be(e,t,n){return void 0===n&&(n=ye),e.theme!==n.theme&&e.theme||t||n.theme}var we=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Se=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ke=/(^-|-$)/g;function Ee(e){return e.replace(Se,"-").replace(ke,"")}var xe=/(a)(d)/gi,_e=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ce(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=_e(t%52)+n;return(_e(t%52)+n).replace(xe,"$1-$2")}var Pe,Oe=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Te=function(e){return Oe(5381,e)};function Ne(e){return Ce(Te(e)>>>0)}function Re(e){return e.displayName||e.name||"Component"}function Le(e){return"string"==typeof e&&!0}var ze="function"==typeof Symbol&&Symbol.for,De=ze?Symbol.for("react.memo"):60115,Ie=ze?Symbol.for("react.forward_ref"):60112,je={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Fe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ae={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Me=((Pe={})[Ie]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Pe[De]=Ae,Pe);function Ue(e){return("type"in(t=e)&&t.type.$$typeof)===De?Ae:"$$typeof"in e?Me[e.$$typeof]:je;var t}var We=Object.defineProperty,$e=Object.getOwnPropertyNames,Be=Object.getOwnPropertySymbols,He=Object.getOwnPropertyDescriptor,Ve=Object.getPrototypeOf,Ke=Object.prototype;function Ze(e,t,n){if("string"!=typeof t){if(Ke){var r=Ve(t);r&&r!==Ke&&Ze(e,r,n)}var a=$e(t);Be&&(a=a.concat(Be(t)));for(var o=Ue(e),l=Ue(t),i=0;i0?" Args: ".concat(t.join(", ")):""))}var nt=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tt(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var o=r;o=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,o=r;o=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(u+="".concat(e,","))})),r+="".concat(l).concat(i,'{content:"').concat(u,'"}').concat(he)},o=0;o0?".".concat(t):e},c=u.slice();c.push((function(e){e.type===v&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(wt,n).replace(r,s))})),l.prefix&&c.push(re),c.push(te);var f=function(e,a,o,i){void 0===a&&(a=""),void 0===o&&(o=""),void 0===i&&(i="&"),t=i,n=a,r=new RegExp("\\".concat(n,"\\b"),"g");var u=e.replace(St,""),s=ae(o||a?"".concat(o," ").concat(a," { ").concat(u," }"):u);l.namespace&&(s=kt(s,l.namespace));var f,d=[];return ee(s,function(e){var t=O(e);return function(n,r,a,o){for(var l="",i=0;i="A"&&e<="Z"};function Lt(e){for(var t="",n=0;n>>0);if(!t.hasNameForId(this.componentId,o)){var l=n(a,".".concat(o),void 0,this.componentId);t.insertRules(this.componentId,o,l)}r=Ge(r,o),this.staticRulesId=o}else{for(var i=Oe(this.baseHash,n.hash),u="",s=0;s>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(u,".".concat(d),void 0,this.componentId)),r=Ge(r,d)}}return r},e}(),Mt=l.createContext(void 0);Mt.Consumer;var Ut={};new Set;function Wt(e,t,n){var r=qe(e),a=e,o=!Le(e),u=t.attrs,s=void 0===u?ge:u,c=t.componentId,f=void 0===c?function(e,t){var n="string"!=typeof e?"sc":Ee(e);Ut[n]=(Ut[n]||0)+1;var r="".concat(n,"-").concat(Ne(pe+n+Ut[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):c,d=t.displayName,p=void 0===d?function(e){return Le(e)?"styled.".concat(e):"Styled(".concat(Re(e),")")}(e):d,h=t.displayName&&t.componentId?"".concat(Ee(t.displayName),"-").concat(t.componentId):t.componentId||f,v=r&&a.attrs?a.attrs.concat(s).filter(Boolean):s,m=t.shouldForwardProp;if(r&&a.shouldForwardProp){var g=a.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;m=function(e,t){return g(e,t)&&y(e,t)}}else m=g}var b=new At(n,h,r?a.componentStyle:void 0);function w(e,t){return function(e,t,n){var r=e.attrs,a=e.componentStyle,o=e.defaultProps,u=e.foldedComponentIds,s=e.styledComponentId,c=e.target,f=l.useContext(Mt),d=Ot(),p=e.shouldForwardProp||d.shouldForwardProp,h=be(t,f,o)||ye,v=function(e,t,n){for(var r,a=i(i({},t),{className:void 0,theme:n}),o=0;o2&&bt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}();function Qt(e){for(var t=[],n=1;n").concat(t,"")},this.getStyleTags=function(){if(e.sealed)throw tt(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw tt(2);var n=((t={})[ce]="",t[de]=pe,t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),r=dt();return r&&(n.nonce=r),[l.createElement("style",i({},n,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new bt({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tt(2);return l.createElement(Tt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tt(3)}})(),"__sc-".concat(ce,"__");var qt,Gt,Yt,Jt,Xt,en,tn,nn,rn,an="#4fa94d",on={"aria-busy":!0,role:"progressbar"},ln=(Zt.div(qt||(qt=a(["\n display: ",";\n"])),(function(e){return e.$visible?"flex":"none"})),"http://www.w3.org/2000/svg"),un=242.776657104492,sn=Qt(Gt||(Gt=a(["\n12.5% {\n stroke-dasharray: ","px, ","px;\n stroke-dashoffset: -","px;\n}\n43.75% {\n stroke-dasharray: ","px, ","px;\n stroke-dashoffset: -","px;\n}\n100% {\n stroke-dasharray: ","px, ","px;\n stroke-dashoffset: -","px;\n}\n"])),33.98873199462888,un,26.70543228149412,84.97182998657219,un,84.97182998657219,2.42776657104492,un,240.34889053344708),cn=(Zt.path(Yt||(Yt=a(["\n stroke-dasharray: ","px, ",";\n stroke-dashoffset: 0;\n animation: "," ","s linear infinite;\n"])),2.42776657104492,un,sn,1.6),Qt(Jt||(Jt=a(["\nto {\n transform: rotate(360deg);\n }\n"])))),fn=(Zt.svg(Xt||(Xt=a(["\n animation: "," 0.75s steps(12, end) infinite;\n animation-duration: 0.75s;\n"])),cn),Zt.polyline(en||(en=a(["\n stroke-width: ","px;\n stroke-linecap: round;\n\n &:nth-child(12n + 0) {\n stroke-opacity: 0.08;\n }\n\n &:nth-child(12n + 1) {\n stroke-opacity: 0.17;\n }\n\n &:nth-child(12n + 2) {\n stroke-opacity: 0.25;\n }\n\n &:nth-child(12n + 3) {\n stroke-opacity: 0.33;\n }\n\n &:nth-child(12n + 4) {\n stroke-opacity: 0.42;\n }\n\n &:nth-child(12n + 5) {\n stroke-opacity: 0.5;\n }\n\n &:nth-child(12n + 6) {\n stroke-opacity: 0.58;\n }\n\n &:nth-child(12n + 7) {\n stroke-opacity: 0.66;\n }\n\n &:nth-child(12n + 8) {\n stroke-opacity: 0.75;\n }\n\n &:nth-child(12n + 9) {\n stroke-opacity: 0.83;\n }\n\n &:nth-child(12n + 11) {\n stroke-opacity: 0.92;\n }\n"])),(function(e){return e.width})),Qt(tn||(tn=a(["\nto {\n stroke-dashoffset: 136;\n }\n"])))),dn=(Zt.polygon(nn||(nn=a(["\n stroke-dasharray: 17;\n animation: "," 2.5s cubic-bezier(0.35, 0.04, 0.63, 0.95) infinite;\n"])),fn),Zt.svg(rn||(rn=a(["\n transform-origin: 50% 65%;\n"]))),function(e){var t=e.color,n=void 0===t?an:t,a=e.width,l=void 0===a?"100":a,i=e.visible;return void 0===i||i?(0,o.jsxs)("svg",(0,r.Z)((0,r.Z)({xmlns:ln,width:l,height:l,viewBox:"0 0 100 100","data-testid":"falling-lines"},on),{},{children:[(0,o.jsxs)("rect",{y:"25",width:"10",height:"50",rx:"4",ry:"4",fill:n,"data-testid":"falling-lines-rect-1",children:[(0,o.jsx)("animate",{attributeName:"x",values:"10;100",dur:"1.2s",repeatCount:"indefinite"}),(0,o.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 10 70",to:"-60 100 70",dur:"1.2s",repeatCount:"indefinite"}),(0,o.jsx)("animate",{attributeName:"opacity",values:"0;1;0",dur:"1.2s",repeatCount:"indefinite"})]}),(0,o.jsxs)("rect",{y:"25",width:"10",height:"50",rx:"4",ry:"4",fill:n,children:[(0,o.jsx)("animate",{attributeName:"x",values:"10;100",dur:"1.2s",begin:"0.4s",repeatCount:"indefinite"}),(0,o.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 10 70",to:"-60 100 70",dur:"1.2s",begin:"0.4s",repeatCount:"indefinite"}),(0,o.jsx)("animate",{attributeName:"opacity",values:"0;1;0",dur:"1.2s",begin:"0.4s",repeatCount:"indefinite"})]}),(0,o.jsxs)("rect",{y:"25",width:"10",height:"50",rx:"4",ry:"4",fill:n,"data-testid":"falling-lines-rect-2",children:[(0,o.jsx)("animate",{attributeName:"x",values:"10;100",dur:"1.2s",begin:"0.8s",repeatCount:"indefinite"}),(0,o.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 10 70",to:"-60 100 70",dur:"1.2s",begin:"0.8s",repeatCount:"indefinite"}),(0,o.jsx)("animate",{attributeName:"opacity",values:"0;1;0",dur:"1.2s",begin:"0.8s",repeatCount:"indefinite"})]})]})):null}),pn=function(){return(0,o.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,o.jsx)(dn,{color:"#4fa94d",width:"100",visible:!0,ariaLabel:"falling-circles-loading"})})}},989:function(e,t,n){"use strict";n.d(t,{X3:function(){return Q},aU:function(){return g},Zq:function(){return $},J0:function(){return x},lX:function(){return E},Ep:function(){return O},WK:function(){return q},RQ:function(){return H},fp:function(){return R},cP:function(){return T},pC:function(){return B},Zn:function(){return U}});var r=n(144),a=n(671),o=n(136),l=n(104),i=n(120),u=n(611);var s=n(814);function c(e,t,n){return c=(0,s.Z)()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&(0,u.Z)(a,n.prototype),a},c.apply(null,arguments)}function f(e){var t="function"===typeof Map?new Map:void 0;return f=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return c(e,arguments,(0,i.Z)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,u.Z)(r,e)},f(e)}var d=n(439),p=n(878),h=n(199),v=n(181),m=n(267);var g,y=n(762),b=n(433);n(757);function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function N(e,t,n,r){void 0===r&&(r={});var a=r,o=a.window,l=void 0===o?document.defaultView:o,i=a.v5Compat,u=void 0!==i&&i,s=l.history,c=g.Pop,f=null,d=p();function p(){return(s.state||{idx:null}).idx}function h(){c=g.Pop;var e=p(),t=null==e?null:e-d;d=e,f&&f({action:c,location:m.location,delta:t})}function v(e){var t="null"!==l.location.origin?l.location.origin:l.location.href,n="string"===typeof e?e:O(e);return x(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==d&&(d=0,s.replaceState(w({},s.state,{idx:d}),""));var m={get action(){return c},get location(){return e(l,s)},listen:function(e){if(f)throw new Error("A history only accepts one active listener");return l.addEventListener(k,h),f=e,function(){l.removeEventListener(k,h),f=null}},createHref:function(e){return t(l,e)},createURL:v,encodeLocation:function(e){var t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c=g.Push;var r=P(m.location,e,t);n&&n(r,e);var a=C(r,d=p()+1),o=m.createHref(r);try{s.pushState(a,"",o)}catch(i){if(i instanceof DOMException&&"DataCloneError"===i.name)throw i;l.location.assign(o)}u&&f&&f({action:c,location:m.location,delta:1})},replace:function(e,t){c=g.Replace;var r=P(m.location,e,t);n&&n(r,e);var a=C(r,d=p()),o=m.createHref(r);s.replaceState(a,"",o),u&&f&&f({action:c,location:m.location,delta:0})},go:function(e){return s.go(e)}};return m}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(S||(S={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function R(e,t,n){void 0===n&&(n="/");var r=U(("string"===typeof t?T(t):t).pathname||"/",n);if(null==r)return null;var a=L(e);!function(e){e.sort((function(e,t){return e.score!==t.score?t.score-e.score:function(e,t){var n=e.length===t.length&&e.slice(0,-1).every((function(e,n){return e===t[n]}));return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((function(e){return e.childrenIndex})),t.routesMeta.map((function(e){return e.childrenIndex})))}))}(a);for(var o=null,l=0;null==o&&l0&&(x(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+i+'".'),L(e.children,t,u,i)),(null!=e.path||e.index)&&t.push({path:i,score:j(i,e.index),routesMeta:u})};return e.forEach((function(e,t){var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?")){var r,o=(0,y.Z)(z(e.path));try{for(o.s();!(r=o.n()).done;){var l=r.value;a(e,t,l)}}catch(i){o.e(i)}finally{o.f()}}else a(e,t)})),t}function z(e){var t=e.split("/");if(0===t.length)return[];var n,r=(n=t,(0,p.Z)(n)||(0,h.Z)(n)||(0,v.Z)(n)||(0,m.Z)()),a=r[0],o=r.slice(1),l=a.endsWith("?"),i=a.replace(/\?$/,"");if(0===o.length)return l?[i,""]:[i];var u=z(o.join("/")),s=[];return s.push.apply(s,(0,b.Z)(u.map((function(e){return""===e?i:[i,e].join("/")})))),l&&s.push.apply(s,(0,b.Z)(u)),s.map((function(t){return e.startsWith("/")&&""===t?"/":t}))}var D=/^:\w+$/,I=function(e){return"*"===e};function j(e,t){var n=e.split("/"),r=n.length;return n.some(I)&&(r+=-2),t&&(r+=2),n.filter((function(e){return!I(e)})).reduce((function(e,t){return e+(D.test(t)?3:""===t?1:10)}),r)}function F(e,t){for(var n=e.routesMeta,r={},a="/",o=[],l=0;l and the router will parse it for you.'}function $(e){return e.filter((function(e,t){return 0===t||e.route.path&&e.route.path.length>0}))}function B(e,t,n,r){var a;void 0===r&&(r=!1),"string"===typeof e?a=T(e):(x(!(a=w({},e)).pathname||!a.pathname.includes("?"),W("?","pathname","search",a)),x(!a.pathname||!a.pathname.includes("#"),W("#","pathname","hash",a)),x(!a.search||!a.search.includes("#"),W("#","search","hash",a)));var o,l=""===e||""===a.pathname,i=l?"/":a.pathname;if(r||null==i)o=n;else{var u=t.length-1;if(i.startsWith("..")){for(var s=i.split("/");".."===s[0];)s.shift(),u-=1;a.pathname=s.join("/")}o=u>=0?t[u]:"/"}var c=function(e,t){void 0===t&&(t="/");var n="string"===typeof e?T(e):e,r=n.pathname,a=n.search,o=void 0===a?"":a,l=n.hash,i=void 0===l?"":l,u=r?r.startsWith("/")?r:function(e,t){var n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((function(e){".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(r,t):t;return{pathname:u,search:K(o),hash:Z(i)}}(a,o),f=i&&"/"!==i&&i.endsWith("/"),d=(l||"."===i)&&n.endsWith("/");return c.pathname.endsWith("/")||!f&&!d||(c.pathname+="/"),c}var H=function(e){return e.join("/").replace(/\/\/+/g,"/")},V=function(e){return e.replace(/\/+$/,"").replace(/^\/*/,"/")},K=function(e){return e&&"?"!==e?e.startsWith("?")?e:"?"+e:""},Z=function(e){return e&&"#"!==e?e.startsWith("#")?e:"#"+e:""},Q=function(e){(0,o.Z)(n,e);var t=(0,l.Z)(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,r.Z)(n)}(f(Error));function q(e){return null!=e&&"number"===typeof e.status&&"string"===typeof e.statusText&&"boolean"===typeof e.internal&&"data"in e}var G=["post","put","patch","delete"],Y=(new Set(G),["get"].concat(G));new Set(Y),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},463:function(e,t,n){"use strict";var r=n(791),a=n(296);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n