1(this.webpackJsonpcollect=this.webpackJsonpcollect||[]).push([[5],{625:function(e,t,a){"use strict";a.d(t,"a",(function(){return W}));var n=a(33),i=a(6),l=a.n(i),r=a(34),o=a(121),c=a(102),s=a(122),m=a(644),u=a.n(m),C=a(645),d=a.n(C),f=a(646),g=a.n(f),h=a(618);a(632);function v(e){var t=e.account,a=e.image_url,n=e.level,i=e.levelProgression;return l.a.createElement("div",{className:"userInfoContainer"},l.a.createElement("div",{className:"userInfoBox"},l.a.createElement("div",{className:"imageAndUsernameBox"},l.a.createElement("div",{className:"profileImageContainer"},l.a.createElement("img",{src:a||"https://darkcountry.io/static/art/Lynx.png",alt:""})),l.a.createElement("p",null,t)),l.a.createElement("div",{className:"levelContainer"},l.a.createElement("p",null,n))),l.a.createElement("div",{className:"userProgressBar",style:{width:"".concat(i,"%")}}),l.a.createElement("div",{className:"progressBar"}))}function E(e){var t=e.to,a=e.icon,n=e.name;return l.a.createElement(o.b,{to:t},l.a.createElement("div",{className:"dropdownMenuItems"},l.a.createElement("div",{className:"iconBox"},a),n))}var p=a(627),w=a(647),b=a.n(w),A=a(623),L=a.n(A),k=a(633),x=a.n(k),j=a(619),N=a(630);function y(e){return l.a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.a.createElement("path",{d:"M12.59 13L10.29 15.29C10.1963 15.383 10.1219 15.4936 10.0711 15.6154C10.0203 15.7373 9.9942 15.868 9.9942 16C9.9942 16.132 10.0203 16.2627 10.0711 16.3846C10.1219 16.5064 10.1963 16.617 10.29 16.71C10.383 16.8037 10.4936 16.8781 10.6154 16.9289C10.7373 16.9797 10.868 17.0058 11 17.0058C11.132 17.0058 11.2627 16.9797 11.3846 16.9289C11.5064 16.8781 11.617 16.8037 11.71 16.71L15.71 12.71C15.801 12.6149 15.8724 12.5028 15.92 12.38C16.02 12.1365 16.02 11.8635 15.92 11.62C15.8724 11.4973 15.801 11.3851 15.71 11.29L11.71 7.29001C11.6168 7.19677 11.5061 7.12281 11.3842 7.07235C11.2624 7.02189 11.1319 6.99592 11 6.99592C10.8681 6.99592 10.7376 7.02189 10.6158 7.07235C10.4939 7.12281 10.3832 7.19677 10.29 7.29001C10.1968 7.38325 10.1228 7.49394 10.0723 7.61576C10.0219 7.73758 9.99591 7.86815 9.99591 8.00001C9.99591 8.13187 10.0219 8.26244 10.0723 8.38426C10.1228 8.50608 10.1968 8.61677 10.29 8.71001L12.59 11H3C2.73478 11 2.48043 11.1054 2.29289 11.2929C2.10536 11.4804 2 11.7348 2 12C2 12.2652 2.10536 12.5196 2.29289 12.7071C2.48043 12.8947 2.73478 13 3 13H12.59ZM12 2.00001C10.1311 1.99166 8.29724 2.50722 6.70647 3.4882C5.11569 4.46918 3.83165 5.87632 3 7.55001C2.88065 7.7887 2.86101 8.06503 2.94541 8.31821C3.0298 8.57138 3.21131 8.78066 3.45 8.90001C3.68869 9.01936 3.96502 9.03899 4.2182 8.9546C4.47137 8.87021 4.68065 8.6887 4.8 8.45001C5.43219 7.17333 6.39383 6.08863 7.58555 5.308C8.77727 4.52736 10.1558 4.07913 11.5788 4.0096C13.0017 3.94007 14.4174 4.25178 15.6795 4.91252C16.9417 5.57325 18.0045 6.55904 18.7581 7.768C19.5118 8.97697 19.9289 10.3653 19.9664 11.7894C20.0039 13.2135 19.6605 14.6219 18.9715 15.8688C18.2826 17.1158 17.2731 18.1562 16.0475 18.8824C14.8219 19.6087 13.4246 19.9945 12 20C10.5089 20.0065 9.04615 19.5924 7.77969 18.8053C6.51323 18.0181 5.49435 16.8899 4.84 15.55C4.72065 15.3113 4.51137 15.1298 4.2582 15.0454C4.00502 14.961 3.72869 14.9807 3.49 15.1C3.25131 15.2194 3.0698 15.4286 2.98541 15.6818C2.90101 15.935 2.92065 16.2113 3.04 16.45C3.83283 18.0455 5.03752 19.4002 6.52947 20.3741C8.02142 21.3479 9.74645 21.9054 11.5261 21.989C13.3058 22.0726 15.0755 21.6792 16.6521 20.8495C18.2288 20.0198 19.5552 18.784 20.4941 17.2698C21.433 15.7557 21.9503 14.0181 21.9925 12.237C22.0347 10.4559 21.6003 8.6958 20.7342 7.13884C19.8682 5.58188 18.6018 4.28457 17.0663 3.38111C15.5307 2.47765 13.7816 2.00084 12 2.00001Z",fill:"#8592AD"}))}function O(e){return l.a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},l.a.createElement("path",{d:"M15.71 12.71C16.6904 11.9387 17.406 10.8809 17.7572 9.68394C18.1085 8.48697 18.0779 7.21027 17.6698 6.03147C17.2617 4.85267 16.4963 3.83039 15.4801 3.10686C14.4639 2.38332 13.2474 1.99451 12 1.99451C10.7525 1.99451 9.53611 2.38332 8.51993 3.10686C7.50374 3.83039 6.73834 4.85267 6.33021 6.03147C5.92208 7.21027 5.89151 8.48697 6.24276 9.68394C6.59401 10.8809 7.3096 11.9387 8.29 12.71C6.61007 13.383 5.14428 14.4994 4.04889 15.9399C2.95349 17.3805 2.26956 19.0913 2.07 20.89C2.05555 21.0213 2.06711 21.1542 2.10402 21.2811C2.14093 21.4079 2.20246 21.5263 2.28511 21.6293C2.45202 21.8375 2.69478 21.9708 2.96 22C3.22521 22.0292 3.49116 21.9518 3.69932 21.7849C3.90749 21.618 4.04082 21.3752 4.07 21.11C4.28958 19.1552 5.22168 17.3498 6.68822 16.0388C8.15475 14.7278 10.0529 14.003 12.02 14.003C13.9871 14.003 15.8852 14.7278 17.3518 16.0388C18.8183 17.3498 19.7504 19.1552 19.97 21.11C19.9972 21.3557 20.1144 21.5827 20.2991 21.747C20.4838 21.9114 20.7228 22.0015 20.97 22H21.08C21.3421 21.9698 21.5817 21.8373 21.7466 21.6313C21.9114 21.4252 21.9881 21.1624 21.96 20.9C21.7595 19.0962 21.0719 17.381 19.9708 15.9382C18.8698 14.4954 17.3969 13.3795 15.71 12.71ZM12 12C11.2089 12 10.4355 11.7654 9.77772 11.3259C9.11992 10.8864 8.60723 10.2616 8.30448 9.53074C8.00173 8.79983 7.92251 7.99557 8.07686 7.21964C8.2312 6.44372 8.61216 5.73099 9.17157 5.17158C9.73098 4.61217 10.4437 4.2312 11.2196 4.07686C11.9956 3.92252 12.7998 4.00173 13.5307 4.30448C14.2616 4.60724 14.8863 5.11993 15.3259 5.77772C15.7654 6.43552 16 7.20888 16 8C16 9.06087 15.5786 10.0783 14.8284 10.8284C14.0783 11.5
1786 13.0609 12 12 12Z",fill:"#1F2C47"}))}var B=a(629);function I(){return l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"arcs"},l.a.createElement("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),l.a.createElement("polyline",{points:"22 4 12 14.01 9 11.01"}))}function P(){return l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"#000000",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"arcs"},l.a.createElement("line",{x1:"18",y1:"20",x2:"18",y2:"10"}),l.a.createElement("line",{x1:"12",y1:"20",x2:"12",y2:"4"}),l.a.createElement("line",{x1:"6",y1:"20",x2:"6",y2:"14"}))}function M(e){var t=e.color;return l.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:t||"#8592ad",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},l.a.createElement("rect",{x:"3",y:"3",width:"7",height:"7"}),l.a.createElement("rect",{x:"14",y:"3",width:"7",height:"7"}),l.a.createElement("rect",{x:"14",y:"14",width:"7",height:"7"}),l.a.createElement("rect",{x:"3",y:"14",width:"7",height:"7"}))}a(634);var S=a(9);function W(e){var t=e.onProfileClick,a=void 0===t?null:t,m=Object(i.useContext)(s.UALContext),C=Object(r.g)(),f=Object(c.useDispatch)(),w=Object(c.useSelector)((function(e){var t=e.auth;return{auth:t.auth,loggedIn:t.loggedIn,loading:t.loading}})),A=w.auth,k=A.id,W=A.account,Z=A.level,F=A.image_url,Q=A.levelProgression,_=w.loggedIn,D=w.loading,V=Object(i.useState)(!1),z=Object(n.a)(V,2),H=z[0],U=z[1];return l.a.createElement("div",{className:"menuContainer"},l.a.createElement("div",{className:"logoContainer"},l.a.createElement(o.b,{to:"/"},l.a.createElement("img",{src:L.a,alt:"collect logo"}))),l.a.createElement(p.a,null),_?l.a.createElement("div",{className:"userNavigationContainer",style:{backgroundColor:H&&"#F7F7F8"},onClick:function(){return U(!0)}},l.a.createElement(v,{account:W,image_url:F,level:Z,levelProgression:Q}),l.a.createElement("div",{className:"arrowIconBox"},l.a.createElement(N.a,{fill:H?"#2662D9":"#8592AD"})),H&&l.a.createElement("div",{className:"dropdownContainer"},l.a.createElement(u.a,{onOutsideClick:function(){return U(!1)}},l.a.createElement(o.b,{to:"/profile/".concat(W)},l.a.createElement("div",{className:"dropdownMenuItems",onClick:a?function(){return a(W)}:function(){return C.push("/profile/".concat(W))}},l.a.createElement("div",{className:"iconBox"},l.a.createElement(O,null)),"My Profile")),l.a.createElement(E,{to:"/my-items",icon:l.a.createElement(j.a,null),name:"My Items"}),l.a.createElement(E,{to:"/gallery",icon:l.a.createElement(M,{color:"#000000"}),name:"Gallery"}),l.a.createElement(E,{to:"/puzzle",icon:l.a.createElement("img",{src:x.a,alt:"puzzle"}),name:"Puzzle"}),l.a.createElement(E,{to:"/voting",icon:l.a.createElement(d.a,null),name:"Voting"}),l.a.createElement(E,{to:"/auctions",icon:l.a.createElement(g.a,null),name:"Auctions"}),l.a.createElement(E,{to:"/advertisement",icon:l.a.createElement(b.a,null),name:"Promo.Club"}),l.a.createElement(E,{to:"/wishlist",icon:l.a.createElement(B.a,{color:"#0F1624"}),name:"Wishlist"}),l.a.createElement(E,{to:"/collections",icon:l.a.createElement(j.a,null),name:"Collections"}),l.a.createElement(E,{to:"/verify-assets",icon:l.a.createElement(I,null),name:"Verify assets"}),l.a.createElement(E,{to:"/leaderboard",icon:l.a.createElement(P,null),name:"Leaderboard"}),l.a.createElement(E,{to:"/packs",icon:l.a.createElement(j.a,null),name:"Packs"}),l.a.createElement("div",{className:"dropdownMenuItems border-bottom-none",onClick:function(){m.logout(),f({type:S.f,payload:{user_id:k,account:W}})}},l.a.createElement("div",{className:"iconBox"},l.a.createElement(y,null)),"Sign out")))):l.a.createElement(h.a,{buttonText:D?"Processing":"Start collecting",icon:l.a.createElement(j.a,{iconColor:"#FFF",backgroundColor:"#3c71dd",width:"24",height:"24"}),noMargin:!0,dark:!0,onClick:function(){W?C.push("/profile/".concat(W)):m.showModal()},disable:D}
1))}},629:function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var n=a(6),i=a.n(n);function l(e){return i.a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M22 9.66999C21.9368 9.48708 21.822 9.32642 21.6693 9.20749C21.5167 9.08857 21.3328 9.01649 21.14 8.99999L15.45 8.16999L12.9 2.99999C12.8181 2.83092 12.6902 2.68833 12.5311 2.58857C12.3719 2.4888 12.1878 2.43588 12 2.43588C11.8121 2.43588 11.6281 2.4888 11.4689 2.58857C11.3097 2.68833 11.1819 2.83092 11.1 2.99999L8.54998 8.15999L2.85998 8.99999C2.6749 9.0263 2.5009 9.10396 2.35773 9.22415C2.21455 9.34435 2.10794 9.50227 2.04998 9.67999C1.99692 9.85367 1.99216 10.0385 2.03621 10.2147C2.08025 10.3909 2.17144 10.5517 2.29998 10.68L6.42998 14.68L5.42998 20.36C5.3896 20.5484 5.40453 20.7445 5.47296 20.9246C5.54139 21.1048 5.66041 21.2613 5.81571 21.3754C5.971 21.4895 6.15595 21.5563 6.34831 21.5677C6.54066 21.5792 6.73224 21.5348 6.89998 21.44L12 18.77L17.1 21.44C17.2403 21.5192 17.3988 21.5605 17.56 21.56C17.7718 21.5607 17.9784 21.4942 18.15 21.37C18.3051 21.2589 18.4252 21.1056 18.4961 20.9284C18.567 20.7512 18.5857 20.5575 18.55 20.37L17.55 14.69L21.68 10.69C21.8244 10.5677 21.9311 10.4069 21.9877 10.2263C22.0444 10.0458 22.0486 9.85287 22 9.66999ZM15.85 13.67C15.7342 13.7824 15.6474 13.9211 15.5969 14.0744C15.5464 14.2276 15.5337 14.3908 15.56 14.55L16.28 18.75L12.52 16.75C12.3738 16.6777 12.213 16.6401 12.05 16.6401C11.8869 16.6401 11.7261 16.6777 11.58 16.75L7.81998 18.75L8.53998 14.55C8.56622 14.3908 8.55354 14.2276 8.50305 14.0744C8.45255 13.9211 8.36572 13.7824 8.24998 13.67L5.24998 10.67L9.45998 10.06C9.62198 10.0375 9.77598 9.97553 9.90848 9.87964C10.041 9.78376 10.1479 9.65683 10.22 9.50999L12 5.69999L13.88 9.51999C13.952 9.66683 14.059 9.79376 14.1915 9.88964C14.324 9.98553 14.478 10.0475 14.64 10.07L18.85 10.68L15.85 13.67Z",fill:e.color}))}},630:function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var n=a(6),i=a.n(n);function l(e){return i.a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M12.0711 13.314L17.0211 8.364C17.1134 8.26849 17.2237 8.19231 17.3457 8.1399C17.4677 8.08749 17.599 8.05991 17.7317 8.05875C17.8645 8.0576 17.9962 8.0829 18.1191 8.13318C18.242 8.18346 18.3536 8.25772 18.4475 8.35161C18.5414 8.4455 18.6157 8.55715 18.666 8.68005C18.7162 8.80295 18.7415 8.93463 18.7404 9.06741C18.7392 9.20018 18.7117 9.3314 18.6592 9.45341C18.6068 9.57541 18.5307 9.68576 18.4351 9.778L12.7781 15.435C12.5906 15.6225 12.3363 15.7278 12.0711 15.7278C11.806 15.7278 11.5517 15.6225 11.3641 15.435L5.70714 9.778C5.61163 9.68576 5.53545 9.57541 5.48304 9.45341C5.43063 9.3314 5.40305 9.20018 5.40189 9.06741C5.40074 8.93463 5.42604 8.80295 5.47632 8.68005C5.5266 8.55715 5.60086 8.4455 5.69475 8.35161C5.78864 8.25772 5.90029 8.18346 6.02319 8.13318C6.14609 8.0829 6.27777 8.0576 6.41054 8.05875C6.54332 8.05991 6.67454 8.08749 6.79655 8.1399C6.91855 8.19231 7.0289 8.26849 7.12114 8.364L12.0711 13.314Z",fill:e.fill}))}},632:function(e,t,a){},633:function(e,t){e.exports="data:image/webp;base64,UklGRjYBAABXRUJQVlA4WAoAAAAQAAAAFwAAFwAAQUxQSNsAAAABgCLZtmpnf6Yw0xyY7BtL6NZzYU70/zqMKvrdCXwVySgZJDM/uBjyETEBkDasw8E8aKz4SKcuZ3WMHQfQ/JijgVKgym6SiXb0s/uciX7WYDrsG24rkL16wz69Mv03UCb2P1AxRvdVigesLdv4OKa0Va727YLSLisdgOrSagjAYQrKG7MAMHjZXFWVJWfem1WV+Xmzj7a9KpcxfmfbB0BO08SNHJDRmLQBoF9Qu7RhZoAlcsVvq7P34zoGLkIw7zI0WBSoshulngi7xUkSQsgyx3i1uV1A/oHNXQEAVlA4IDQAAAAQAwCdASoYABgAPkUaikQioaEb9AAoBES0gABEcylkScAA/v9WS+//6+Cx/fpi/mwkAAAA"},634:function(e,t,a){},690:function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var n=a(6),i=a.n(n);a(940);function l(e){return i.a.createElement("div",{className:e.className},e.children)}},717:function(e,t,a){"use strict";a.d(t,"a",(function(){return N}));var n=a(2),i=a.n(n),l=a(5),r=a(22),o=a(12),c=a(33),s=a(6),m=a.n(s),u=a(102),C=a(36),d=a(121),f=(a(935),a(1023)),g=a(937);function h(e){return m.a.createElement("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("g",{clipPath:"url(#clip0)"},m.a.createElement("path",{d:"M19.5252 7.40671C19.2676 7.09747 18.9453 6.84853 18.581 6.67747C18.2167 6.50641 17.8193 6.4174 17.4168 6.41671H13.2368L13.7502 5.10587C13.9637 4.53193 14.0348 3.91476 13.9574 3.3073C13.88 2.69984 13.6564 2.12022 13.3058 1.61817C12.9551 1.11611 12.4879 0.706604 11.9443 0.424772C11.4006 0.14294 10.7967 -0.00280448 10.1843 4.08753e-05C10.008 0.00040879 9.83552 0.0516265 9.68756 0.147553C9.53961 0.24348 9.42246 0.380045 9.35016 0.540874L6.73766 6.41671H4.5835C3.85415 6.41671 3.15468 6.70644 2.63895 7.22216C2.12323 7.73789 1.8335 8.43736 1.8335 9.16671V15.5834C1.8335 16.3127 2.12323 17.0122 2.63895 17.5279C3.15468 18.0436 3.85415 18.3334 4.5835 18.3334H16.2527C16.896 18.3332 17.5189 18.1074 18.013 17.6954C18.507 17.2834 18.841 16.7112 18.9568 16.0784L20.121 9.66171C20.193 9.26514 20.177 8.85759 20.074 8.46791C19.971 8.07823 19.7837 7.71595 19.5252 7.40671ZM6.41683 16.5H4.5835C4.34038 16.5 4.10722 16.4035 3.93532 16.2316C3.76341 16.0596 3.66683 15.8265 3.66683 15.5834V9.16671C3.66683 8.92359 3.76341 8.69044 3.93532 8.51853C4.10722 8.34662 4.34038 8.25004 4.5835 8.25004H6.41683V16.5ZM18.3335 9.33171L17.1693 15.7484C17.1303 15.9619 17.0167 16.1547 16.8489 16.2923C16.681 16.43 16.4697 16.5036 16.2527 16.5H8.25016V7.52587L10.7435 1.91587C11.0001 1.9907 11.2385 2.11791 11.4435 2.28949C11.6485 2.46107 11.8157 2.67329 11.9346 2.91274C12.0535 3.1522 12.1214 3.4137 12.1341 3.68073C12.1468 3.94777 12.1041 4.21454 12.0085 4.46421L11.5227 5.77504C11.4191 6.05211 11.3842 6.35011 11.4208 6.64361C11.4574 6.93711 11.5645 7.2174 11.7329 7.46055C11.9013 7.7037 12.126 7.9025 12.3879 8.03998C12.6498 8.17745 12.9411 8.24952 13.2368 8.25004H17.4168C17.5515 8.24982 17.6846 8.27928 17.8066 8.33631C17.9285 8.39335 18.0365 8.47657 18.1227 8.58004C18.211 8.68209 18.2757 8.80237 18.3121 8.93231C18.3485 9.06224
118.3559 9.19862 18.3335 9.33171Z",fill:e.color})),m.a.createElement("defs",null,m.a.createElement("clipPath",{id:"clip0"},m.a.createElement("rect",{width:"22",height:"22",fill:"white"}))))}var v=a(629);function E(e){return m.a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M22 9.66999C21.9368 9.48708 21.822 9.32642 21.6693 9.20749C21.5167 9.08857 21.3328 9.01649 21.14 8.99999L15.45 8.16999L12.9 2.99999C12.8181 2.83092 12.6902 2.68833 12.5311 2.58857C12.3719 2.4888 12.1878 2.43588 12 2.43588C11.8121 2.43588 11.6281 2.4888 11.4689 2.58857C11.3097 2.68833 11.1819 2.83092 11.1 2.99999L8.54998 8.15999L2.85998 8.99999C2.6749 9.0263 2.5009 9.10396 2.35773 9.22415C2.21455 9.34435 2.10794 9.50227 2.04998 9.67999C1.99692 9.85367 1.99216 10.0385 2.03621 10.2147C2.08025 10.3909 2.17144 10.5517 2.29998 10.68L6.42998 14.68L5.42998 20.36C5.3896 20.5484 5.40453 20.7445 5.47296 20.9246C5.54139 21.1048 5.66041 21.2613 5.81571 21.3754C5.971 21.4895 6.15595 21.5563 6.34831 21.5677C6.54066 21.5792 6.73224 21.5348 6.89998 21.44L12 18.77L17.1 21.44C17.2403 21.5192 17.3988 21.5605 17.56 21.56C17.7718 21.5607 17.9784 21.4942 18.15 21.37C18.3051 21.2589 18.4252 21.1056 18.4961 20.9284C18.567 20.7512 18.5857 20.5575 18.55 20.37L17.55 14.69L21.68 10.69C21.8244 10.5677 21.9311 10.4069 21.9877 10.2263C22.0444 10.0458 22.0486 9.85287 22 9.66999Z",fill:"#8592AD"}))}function p(){return m.a.createElement("svg",{width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},m.a.createElement("path",{d:"M8.20008 8.14665C8.5558 7.83874 8.84111 7.4579 9.03666 7.02999C9.23221 6.60209 9.33342 6.13712 9.33342 5.66665C9.33342 4.78259 8.98223 3.93475 8.3571 3.30962C7.73198 2.6845 6.88414 2.33331 6.00008 2.33331C5.11603 2.33331 4.26818 2.6845 3.64306 3.30962C3.01794 3.93475 2.66675 4.78259 2.66675 5.66665C2.66674 6.13712 2.76795 6.60209 2.9635 7.02999C3.15905 7.4579 3.44436 7.83874 3.80008 8.14665C2.86684 8.56924 2.07506 9.25167 1.5194 10.1123C0.963745 10.973 0.667729 11.9755 0.666748 13C0.666748 13.1768 0.736986 13.3464 0.86201 13.4714C0.987034 13.5964 1.1566 13.6666 1.33341 13.6666C1.51023 13.6666 1.6798 13.5964 1.80482 13.4714C1.92984 13.3464 2.00008 13.1768 2.00008 13C2.00008 11.9391 2.42151 10.9217 3.17165 10.1716C3.9218 9.42141 4.93922 8.99998 6.00008 8.99998C7.06095 8.99998 8.07836 9.42141 8.82851 10.1716C9.57865 10.9217 10.0001 11.9391 10.0001 13C10.0001 13.1768 10.0703 13.3464 10.1953 13.4714C10.3204 13.5964 10.4899 13.6666 10.6667 13.6666C10.8436 13.6666 11.0131 13.5964 11.1382 13.4714C11.2632 13.3464 11.3334 13.1768 11.3334 13C11.3324 11.9755 11.0364 10.973 10.4808 10.1123C9.92511 9.25167 9.13332 8.56924 8.20008 8.14665ZM6.00008 7.66665C5.60452 7.66665 5.21784 7.54935 4.88894 7.32959C4.56004 7.10982 4.3037 6.79747 4.15232 6.43201C4.00095 6.06656 3.96134 5.66443 4.03851 5.27647C4.11568 4.8885 4.30616 4.53214 4.58587 4.25243C4.86557 3.97273 5.22194 3.78225 5.6099 3.70508C5.99786 3.62791 6.4 3.66751 6.76545 3.81889C7.1309 3.97026 7.44326 4.22661 7.66302 4.55551C7.88278 4.8844 8.00008 5.27108 8.00008 5.66665C8.00008 6.19708 7.78937 6.70579 7.4143 7.08086C7.03922 7.45593 6.53051 7.66665 6.00008 7.66665ZM12.4934 7.87998C12.9201 7.39953 13.1988 6.80602 13.2959 6.17087C13.3931 5.53573 13.3047 4.88603 13.0413 4.29998C12.7778 3.71393 12.3506 3.21651 11.8111 2.86759C11.2715 2.51868 10.6426 2.33314 10.0001 2.33331C9.82327 2.33331 9.6537 2.40355 9.52868 2.52858C9.40365 2.6536 9.33342 2.82317 9.33342 2.99998C9.33342 3.17679 9.40365 3.34636 9.52868 3.47138C9.6537 3.59641 9.82327 3.66665 10.0001 3.66665C10.5305 3.66665 11.0392 3.87736 11.4143 4.25243C11.7894 4.62751 12.0001 5.13621 12.0001 5.66665C11.9991 6.01681 11.9063 6.36058 11.7308 6.66359C11.5553 6.96661 11.3033 7.21823 11.0001 7.39331C10.9012 7.45033 10.8187 7.53176 10.7603 7.62981C10.702 7.72786 10.6697 7.83925 10.6667 7.95331C10.664 8.06649 10.69 8.17851 10.7425 8.27882C10.795 8.37913 10.8722 8.46442 10.9667 8.52665L11.2267 8.69998L11.3134 8.74665C12.117 9.12779 12.795 9.73064 13.2674 10.4842C13.7398 11.2377 13.9871 12.1106 13.9801 13C13.9801 13.1768 14.0503 13.3464 14.1753 13.4714C14.3004 13.5964 14.4699 13.6666 14.6467 13.6666C14.8236 13.6666 14.9931 13.5964 15.1182 13.4714C15.2432 13.3464 15.3134 13.1768 15.3134 13C15.3189 11.9769 15.0626 10.9695 14.5691 10.0734C14.0755 9.17723 13.361 8.42219 12.4934 7.87998Z",fill:"#C7CAD1"}))}var w=a(936),b=a.n(w),A=a(176);function L(e){var t=e.id,a=void 0===t?null:t,n=e.name,i=void 0===n?"":n,l=e.author,r=void 0===l?"":l,o=e.value,u=void 0===o?0:o,C=e.cardsAmount,d=void 0===C?0:C,w=e.likes,L=void 0===w?0:w,k=e.wishlisted,x=void 0!==k&&k,j=e.handleWishListChanges,N=void 0===j?null:j,y=e.isLiked,O=void 0!==y&&y,B=e.handleLike,I=void 0===B?null:B,P=e.showProgress,M=void 0!==P&&P,S=e.cardsLength,W=void 0===S?0:S,Z=e.availableCardsForClaim,F=void 0===Z?{value:0,progressPercent:0}:Z,Q=e.rewarded,_=void 0!==Q&&Q,D=Object(s.useState)(!1),V=Object(c.a)(D,2),z=V[0],H=V[1];Object(s.useEffect)((function(){x&&H(!0)}),[x]);return m.a.createElement("div",{className:"imageInfoContainer"},M&&m.a.createElement("div",{className:"availableCards ".concat(F.progressPercent>=100?"full-progress":"")},m.a.createElement("p",null,"".concat(F.value,"/").concat(W)," Cards")),m.a.createElement("div",{className:"imageInfoHeadling"},m.a.createElement("div",{className:"imageInfo-left"},m.a.createElement("h3",null,i),m.a.createElement(f.a,{TransitionComponent:g.a,TransitionProps:{timeout:600},title:m.a.createElement("p",{className:"tooltip-content"},"Value of this collection on market")},m.a.createElement("p",{style:{color:u&&"#2662D9"}},u?"".concat(u," WAX"):""))),m.a.createElement(f.a,{TransitionComponent:g.a,TransitionProps:{timeout:600},title:m.a.createElement("p",{className:"tooltip-content"},"Add collection into wishlist")},m.a.createElement("div",{className:"imageInfo-right"},m.a.createElement("div",{className:"starIconBox",onClick:function(e){return function(e,t,a){e.stopPropagation(),N(t,a)}(e,a,!z)}}
1,z?m.a.createElement(E,null):m.a.createElement(v.a,{color:"#8592AD"}))))),m.a.createElement("div",{className:"imageInfoFooter"},m.a.createElement("div",{className:"footer-left"},_&&m.a.createElement(f.a,{TransitionComponent:g.a,TransitionProps:{timeout:600},title:m.a.createElement("p",{className:"tooltip-content"},"This collection produces rewards every 24 hours")},m.a.createElement("img",{src:b.a,alt:"reward icon",style:{width:"19px",height:"19px"}})),m.a.createElement(f.a,{TransitionComponent:g.a,TransitionProps:{timeout:600},title:m.a.createElement("p",{className:"tooltip-content"},"People made this collection")},m.a.createElement(m.a.Fragment,null,m.a.createElement(p,null),m.a.createElement("p",{className:"imageInfoCollectors"},d))),m.a.createElement("img",{src:Object(A.d)(r),draggable:"false",alt:""}),m.a.createElement("p",{className:"imageInfoAuthor"},r)),m.a.createElement(f.a,{TransitionComponent:g.a,TransitionProps:{timeout:600},title:m.a.createElement("p",{className:"tooltip-content"},"Like collection")},m.a.createElement("div",{className:"footer-right"},m.a.createElement("div",{className:"upvotesContainer",onClick:function(e){return function(e,t,a,n){e.stopPropagation(),I(t,a,n)}(e,a,L,!O)}},m.a.createElement("p",{style:{color:O?"#2662d9":"#8592AD"}},O?L+1:L),m.a.createElement(h,{color:O?"#2662d9":"#8592AD"}))))))}a(938);function k(e){var t=e.collection,a=t.id,n=t.author,i=t.name,l=t.cards,r=t.likes,o=t.users,u=e.isWishlisted,C=void 0!==u&&u,f=e.showProgress,g=void 0!==f&&f,h=e.availableCardsForClaim,v=void 0===h?[]:h,E=e.rewardedAuthors,p=void 0===E?[]:E,w=e.clickable,b=void 0!==w&&w,A=e.handleWishListChanges,k=void 0===A?null:A,x=e.handleLike,j=void 0===x?null:x,N=e.isLiked,y=void 0!==N&&N,O=Object(s.useState)({value:0,progress:0}),B=Object(c.a)(O,2),I=B[0],P=B[1],M=Object(s.useState)(!1),S=Object(c.a)(M,2),W=S[0],Z=S[1];Object(s.useEffect)((function(){Z(!!p.find((function(e){var t=e.author,a=e.collection;return t===n||a===n})))}),[n,p]),Object(s.useEffect)((function(){var e=v.find((function(e){return e.collectionId===a}));e&&P(e)}),[v,a]);var F=Object(c.a)(l,3),Q=F[0],_=F[1],D=F[2],V=function(e){return m.a.createElement("img",{src:e,draggable:!1,alt:""})},z=function(e){return m.a.createElement("video",{src:e,autoPlay:!0,loop:!0})};return m.a.createElement("div",{className:"imageGroupContainer"},l?m.a.createElement(d.b,{to:b?"/collection/".concat(a):""},m.a.createElement("div",{className:"imageGroupBox"},m.a.createElement("div",{className:"bigImageBox"},Q&&Q.immutable_data&&Q.immutable_data.img&&V(Q.immutable_data.img),Q&&Q.immutable_data&&Q.immutable_data.video&&!Q.immutable_data.img&&z("https://ipfs.io/ipfs/".concat(Q.immutable_data.video))),m.a.createElement("div",{className:"smallImageBox"},m.a.createElement("div",{className:"smallImageBoxImgContainer"},_&&_.immutable_data&&_.immutable_data.img&&V(_.immutable_data.img),_&&_.immutable_data&&_.immutable_data.video&&!_.immutable_data.img&&z("https://ipfs.io/ipfs/".concat(_.immutable_data.video))),m.a.createElement("div",{className:"smallImageBoxImgContainer"},D&&D.immutable_data&&D.immutable_data.img&&V(D.immutable_data.img),D&&D.immutable_data&&D.immutable_data.video&&!D.immutable_data.img&&z("https://ipfs.io/ipfs/".concat(D.immutable_data.video)))))):null,m.a.createElement(L,{id:a,name:i,author:n,value:l.length?parseInt(l.reduce((function(e,t){return e+t.price}),0)):null,cardsAmount:o.length,likes:r,wishlisted:C,handleWishListChanges:k,isLiked:y,handleLike:j,cardsLength:l.length,showProgress:g,availableCardsForClaim:I,rewarded:W}))}a(939);var x=a(26),j=a(9);function N(e){var t=e.collections,a=void 0===t?[]:t,n=e.showProgress,d=void 0!==n&&n,f=e.clickable,g=void 0!==f&&f,h=e.sortByComplition,v=void 0!==h&&h,E=e.notAvailableCollectionsSlots,p=void 0===E?null:E,w=e.refreshData,b=void 0!==w&&w,A=e.stopRefreshing,L=void 0===A?null:A,N=Object(u.useDispatch)(),y=Object(u.useSelector)((function(e){return e.auth.auth})),O=Object(u.useSelector)((function(e){return e.user})).userCollections,B=Object(u.useSelector)((function(e){return e.home})).items.rewardedAuthors,I=Object(s.useState)([]),P=Object(c.a)(I,2),M=P[0],S=P[1],W=Object(s.useState)([]),Z=Object(c.a)(W,2),F=Z[0],Q=Z[1],_=Object(s.useState)([]),D=Object(c.a)(_,2),V=D[0],z=D[1];Object(s.useEffect)((function(){y.wishList&&y.wishList.length&&!M.length&&S(y.wishList)}),[y.wishList,M]),Object(s.useEffect)((function(){y.likedCollections&&y.likedCollections.length&&!F.length&&Q(y.likedCollections)}),[y.likedCollections,F]);var H=function(){if(p){L();var e=a.map((function(e){var t=e.cards,a=e.id,n=p.find((function(e){return e.collectionId===a}));if(n){var i=0;return t.forEach((function(e){var t=e.slot_number;n.slots.includes(t)||(i+=1)})),{collectionId:a,value:i,progressPercent:100*i/t.length}}return{collectionId:a,value:t.length,progressPercent:100}}));z(e)}};Object(s.useEffect)((function(){d&&H()}),[d]),Object(s.useEffect)((function(){b&&d&&H()}),[b,d]);var U=function(){var e=Object(o.a)(i.a.mark((function e(t,a){var n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!y.account){e.next=7;break}return n=a?[].concat(Object(r.a)(M),[t]):Object(r.a)(M).filter((function(e){return e!==t})),S(n),e.next=6,x.a.user.updateWishList({id:y.id,wishList:n});case 6:N({type:j.d,payload:Object(l.a)(Object(l.a)({},y),{},{wishList:n})});case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),C.b.error(e.t0.response&&e.t0.response.data.message?e.t0.response.data.message:e.t0.message);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t,a){return e.apply(this,arguments)}}(),T=function(){var e=Object(o.a)(i.a.mark((function e(t,a,n){var o;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!y.account){e.next=7;break}return o=n?[].concat(Object(r.a)(F),[t]):Object(r.a)(F).filter((function(e){return e!==t})),Q(o),e.next=6,x.a.user.updateLikes({id:y.id,likedCollections:o,collectionId:t,likes:n?++a:a});case 6:N({type:j.d,payload:Object(l.a)(Object(l.a)({},y),{},{likedCollections:o})});case 7:e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),C.b.error(e.t0.response&&e.t0.response.data.message?e.t0.response.data.message:e.t0.message);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t,a,n){return e.apply(this,arguments)}}();return a.length>0?v?m.a.createElement(m.a.Fragment,null,a.filter((function(e){var t=e.id,a=V.find((function(e){return e.collectionId===t}));return d&&!O.find((function(e){return e.id===t}))&&a&&a.progressPercent>0||!d})).sort((function(e,t){if(d){var a=V.find((function(t){return t.collectionId===e.id}));return V.find((function(e){return e.collectionId===t.id})).progressPercent-a.progressPercent}return e.id-t.id})).map((function(e,t){return m.a.createElement(k,{collection:e,key:t,clickable:g,isWishlisted:M.includes(e.id),handleWishListChanges:U,isLiked:F.includes(e.id),handleLike:T,showProgress:d,availableCardsForClaim:V,rewardedAuthors:B})}))):a.filter((function(e){return!!e})).map((function(e,t){return m.a.createElement(k,{collection:e,key:t,clickable:g,isWishlisted:M.includes(e.id),handleWishListChanges:U,isLiked:F.includes(e.id),handleLike:T,showProgress:d,availableCardsForClaim:V,rewardedAuthors:B})})):m.a.createElement("p",{className:"no-item-yet"},"No collections yet...")}},935:function(e,t,a){},936:function(e,t){e.exports="data:image/webp;base64,UklGRioBAABXRUJQVlA4WAoAAAAQAAAAEgAAEQAAQUxQSMcAAAABgCPbtmlrPr9v2+nvojLbjG37h7bVmfnw0YWImAB+DY+W8d/4pg+V/8jYUR9r/xRf0ye9rvlDbEfXMjr1ufqX8IZuh2BIn0p/iG3oehSgR1/KgOiy7kSJtVZAvz6WULyk2zEytn2rhD69a2jTwzDRbfW1HIZ0NH/2NEp8Q7/1sQKmzqohRGhftzK69LUEQgDBbd2Kw4A+FZMePtClDIAufSsFMlZ0LZsf+/SmkooNXczg1069bWzS3TB/HNHB7JnlAH8e2K4BAFZQOCA8AAAAMAMAnQEqEwASAD5RJI9Fo6IhFAQAOAUEsoA7AH4AAEGUEAD+5AF//+oM+QZ8gz9VL//4s5GI7LwAAAAA"},938:function(e,t,a){},939:function(e,t,a){},940:function(e,t,a){}}]);
2//# sourceMappingURL=5.f07adab7.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.