1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[942],{29142:function(e,t,a){a.d(t,{Z:function(){return useIsSticky}});var i=a(23493),r=a.n(i),n=a(67294);function useIsSticky(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],[i,l]=n.useState(!1),o=n.useCallback(()=>{var a;Number(null===(a=e.current)||void 0===a?void 0:a.getBoundingClientRect().y)<t?l(!0):l(!1)},[e,t]);return n.useEffect(()=>{if(!a)return;let e=r()(o,300);return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[a]),i}},88186:function(e,t,a){a.r(t),a.d(t,{default:function(){return pages_Marketplace}});var i,r,n=a(85893),l=a(36953),o=a(66303),s=a(89154),c=a(46887),d=a(23428),u=a(204),p=a(23100),h=a(93344),m=a(67294),x=a(1867),f=a(60985),g=a(38117),b=a(59681),k=a(55036),j=a(9754),v=a(12498),y=a(34151),C=a(65291),w=a(77374),S=a(84416),_=a(14418),L=a(88911),I=a(23438),T=a(56880),A=a(89594),E=a(57386),M=a(33838),R=a(5197),Z=a(14853),z=a(85786),G=a(96026),D=a(79546),B=a(47523);(i=r||(r={})).ALL_CONTRACTS="all contracts",i.VERIFIED_CONTRACTS="verified contracts";let W={"all contracts":{icon:"contracts",iconColor:"gray.500",tooltip:"Total number of contracts deployed by the protocol on ".concat(f.Z.chain.name)},"verified contracts":{icon:"contracts_verified",iconColor:"green.500",tooltip:"Number of verified contracts on ".concat(f.Z.chain.name)}};var marketplace_ContractListButton=e=>{let{children:t,onClick:a,variant:i,isLoading:r}=e,{icon:l,iconColor:o,tooltip:s}=W[i];return(0,n.jsx)(B.u,{label:s,textAlign:"center",padding:2,isDisabled:!s,openDelay:500,width:"250px",children:(0,n.jsx)(h.O,{isLoaded:!r,display:"inline-flex",alignItems:"center",width:r?"40px":"auto",height:"30px",borderRadius:"base",children:(0,n.jsxs)(M.r,{fontSize:"sm",onClick:a,fontWeight:"500",display:"inline-flex",children:[l&&(0,n.jsx)(G.Z,{name:l,boxSize:5,color:o,mr:1}),t]})})})},N=a(96272),F=a(41664),O=a.n(F),marketplace_MarketplaceAppModalLink=e=>{let{url:t,external:a,id:i}=e,r={size:"sm",marginRight:2,width:{base:"100%",sm:"auto"},...a?{target:"_blank",rel:"noopener noreferrer"}:{}};return a?(0,n.jsx)(N.z,{as:"a",href:t,...r,children:"Launch app"}):(0,n.jsx)(O(),{href:{pathname:"/apps/[id]",query:{id:i}},passHref:!0,legacyBehavior:!0,children:(0,n.jsx)(N.z,{as:"a",...r,children:"Launch app"})})},marketplace_MarketplaceAppModal=e=>{let{onClose:t,isFavorite:a,onFavoriteClick:i,data:l,showContractList:o}=e,{value:c}=(0,b.Z)("security_score_exp",!1),d=(0,v.ff)("gray.600","gray.300"),{id:h,title:f,url:g,external:j,author:B,description:W,site:N,github:F,telegram:O,twitter:V,logo:H,logoDarkMode:P,categories:U,securityReport:K}=l,q=[O?{icon:"social/telega",url:O}:null,V?{icon:"social/tweet",url:V}:null].filter(Boolean);F&&(Array.isArray(F)?F.forEach(e=>q.push({icon:"social/git",url:e})):q.push({icon:"social/git",url:F}));let X=(0,m.useCallback)(()=>{i(h,a,"App modal")},[i,h,a]),Y=(0,m.useCallback)(e=>{t(),o(h,e,!0)},[t,o,h]),J=m.useCallback(()=>{z.Kz(z.GM.PAGE_WIDGET,{Type:"Total contracts",Info:h,Source:"App modal"}),Y(x.Gf.ALL)},[Y,h]),Q=m.useCallback(()=>{z.Kz(z.GM.PAGE_WIDGET,{Type:"Verified contracts",Info:h,Source:"App modal"}),Y(x.Gf.VERIFIED)},[Y,h]),$=m.useCallback(()=>{Y(x.Gf.ANALYZED)},[Y]),ee=(0,k.Z)(),et=(0,v.ff)(H,P||H);return(0,n.jsxs)(y.u_,{isOpen:!!l.id,onClose:t,size:ee?"full":"md",isCentered:!0,children:[(0,n.jsx)(C.Z,{}),(0,n.jsxs)(w.h,{children:[(0,n.jsxs)(p.xu,{display:"grid",gridTemplateColumns:{base:"auto 1fr"},paddingRight:{sm:12},marginBottom:{base:6,sm:8},children:[(0,n.jsx)(u.k,{alignItems:"center",justifyContent:"center",w:{base:"72px",sm:"144px"},h:{base:"72px",sm:"144px"},marginRight:{base:6,sm:8},gridRow:{base:"1 / 3",sm:"1 / 4"},children:(0,n.jsx)(S.E,{src:et,alt:"".concat(f," app icon")})}),(0,n.jsx)(_.X,{as:"h2",gridColumn:2,fontSize:{base:"2xl",sm:"3xl"},fontWeight:"medium",lineHeight:1,color:"blue.600",children:f}),(0,n.jsxs)(L.x,{variant:"secondary",gridColumn:2,fontSize:"sm",fontWeight:"normal",lineHeight:1,children:["By",Z.vk,B]}),(0,n.jsx)(p.xu,{gridColumn:{base:"1 / 3",sm:2},marginTop:{base:6,sm:0},children:(0,n.jsxs)(u.k,{flexWrap:"wrap",gap:6,children:[(0,n.jsxs)(u.k,{width:{base:"100%",sm:"auto"},children:[(0,n.jsx)(marketplace_MarketplaceAppModalLink,{id:l.id,url:g,external:j,title:f}),(0,n.jsx)(s.h,{"aria-label":"Mark as favorite",title:"Mark as favorite",variant:"outline",colorScheme:"gray",w:9,h:8,onClick:X,icon:a?(0,n.jsx)(G.Z,{name:"star_filled",w:5,h:5,color:"yellow.400"}):(0,n.jsx)(G.Z,{name:"star_outline",w:5,h:5,color:d})})]}),c&&K&&(0,n.jsxs)(u.k,{alignItems:"center",gap:3,children:[(0,n.jsx)(D.Z,{id:h,securityReport:K,showContractList:$,source:"App modal"}),(0,n.jsx)(marketplace_ContractListButton,{onClick:J,variant:r.ALL_CONTRACTS,children:K.overallInfo.totalContractsNumber}),(0,n.jsx)(marketplace_ContractListButton,{onClick:Q,variant:r.VERIFIED_CONTRACTS,children:K.overallInfo.verifiedNumber})]})]})})]}),(0,n.jsx)(I.o,{}),(0,n.jsxs)(T.f,{children:[(0,n.jsx)(_.X,{as:"h3",fontSize:"2xl",marginBottom:4,children:"Overview"}),(0,n.jsx)(p.xu,{marginBottom:2,children:U.map(e=>(0,n.jsx)(A.Vp,{colorScheme:"blue",marginRight:2,marginBottom:2,children:e},e))}),(0,n.jsx)(L.x,{children:W})]}),(0,n.jsxs)(E.m,{display:"flex",flexDirection:{base:"column",sm:"row"},alignItems:{base:"flex-start",sm:"center"},children:[N&&(0,n.jsxs)(M.r,{isExternal:!0,href:N,display:"flex",alignItems:"center",paddingRight:{sm:2},marginBottom:{base:3,sm:0},maxW:"100%",overflow:"hidden",children:[(0,n.jsx)(G.Z,{name:"link",display:"inline",verticalAlign:"baseline",boxSize:"18px",marginRight:2}),(0,n.jsx)(L.x,{color:"inherit",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",children:N})]}),q.length>0&&(0,n.jsx)(R.aV,{marginLeft:{sm:"auto"},display:"grid",gridAutoFlow:"column",columnGap:2,children:q.map(e=>{let{icon:t,url:a}=e;return(0,n.jsx)(M.r,{"aria-label":"Link to ".concat(a),title:a,href:a,display:"flex",alignItems:"center",justifyContent:"center",isExternal:!0,w:10,h:10,children:(0,n.jsx)(G.Z,{name:t,w:"20px",h:"20px",display:"block"})},a)})})]})]})]})},V=a(10191),marketplace_MarketplaceDisclaimerModal=e=>{let{isOpen:t,onClose:a,appId:i}=e,r=(0,k.Z)(),l=m.useCallback(()=>{window.localStorage.setItem("marketplace-disclaimer-shown","true")},[]);return(0,n.jsxs)(y.u_,{isOpen:t,onClose:a,size:r?"full":"md",isCentered:!0,children:[(0,n.jsx)(C.Z,{}),(0,n.jsxs)(w.h,{children:[(0,n.jsx)(V.x,{children:(0,n.jsx)(_.X,{as:"h2",fontSize:"2xl",fontWeight:"medium",lineHeight:1,color:(0,v.ff)("blackAlpha.800","whiteAlpha.800"),children:"Disclaimer"})}),(0,n.jsx)(T.f,{children:(0,n.jsxs)(L.x,{color:(0,v.ff)("gray.800","whiteAlpha.800"),children:["You are now accessing a third-party app. Blockscout does not own, control, maintain, or audit 3rd party apps,"," ","and is not liable for any losses associated with these interactions. Please do so at your own risk.",(0,n.jsx)("br",{}),(0,n.jsx)("br",{}),"By clicking continue, you agree that you understand the risks and have read the Disclaimer."]})}),(0,n.jsxs)(E.m,{display:"flex",flexDirection:"row",alignItems:"center",children:[(0,n.jsx)(O(),{href:{pathname:"/apps/[id]",query:{id:i}},passHref:!0,legacyBehavior:!0,children:(0,n.jsx)(N.z,{variant:"solid",colorScheme:"blue",mr:6,py:"10px",onClick:l,children:"Continue to app"})}),(0,n.jsx)(N.z,{variant:"outline",colorScheme:"blue",onClick:a,children:"Cancel"})]})]})]})},H=a(31708),P=a(19020),U=a(30721);let K=f.Z.features.marketplace;var q=m.memo(e=>{let{favoriteApps:t,selectedCategoryId:a}=e;return(0,n.jsx)(P.Z,{text:a!==x.Te.FAVORITES||t.length?(0,n.jsxs)(n.Fragment,{children:["No matching apps found.","suggestIdeasFormUrl"in K&&(0,n.jsxs)(n.Fragment,{children:[" ","Have a groundbreaking idea or app suggestion?"," ",(0,n.jsx)(U.Z,{href:K.suggestIdeasFormUrl,children:"Share it with us"})]})]}):(0,n.jsxs)(n.Fragment,{children:["You don",Z.Iy,"t have any favorite apps. Click on the ",(0,n.jsx)(G.Z,{name:"star_outline",w:4,h:4,mb:-.5})," icon on the app",Z.Iy,"s card to add it to Favorites."]})})}),X=a(85931),marketplace_MarketplaceAppCardLink=e=>{let{url:t,external:a,id:i,title:r,onClick:l}=e,o=m.useCallback(e=>{null==l||l(e,i)},[l,i]);return a?(0,n.jsx)(X.A,{href:t,isExternal:!0,marginRight:2,children:r}):(0,n.jsx)(O(),{href:{pathname:"/apps/[id]",query:{id:i}},passHref:!0,legacyBehavior:!0,children:(0,n.jsx)(X.A,{onClick:o,marginRight:2,children:r})})},marketplace_MarketplaceAppIntegrationIcon=e=>{let{external:t,internalWallet:a}=e,[i,r,l]=m.useMemo(()=>{let e="integration/partial",i="gray.400",r="This app opens in Blockscout without Blockscout wallet functionality. Use your external web3 wallet to connect directly to this application";return t?(e="arrows/north-east",r="This app opens in a separate tab"):a&&(e="integration/full",i="green.500",r="This app opens in Blockscout and your Blockscout wallet connects automatically"),[e,i,r]},[t,a]);
1return(0,n.jsx)(B.u,{label:l,textAlign:"center",padding:2,openDelay:300,maxW:400,children:(0,n.jsx)(G.Z,{name:i,boxSize:5,color:r,position:"relative",cursor:"pointer",verticalAlign:"middle",marginBottom:1})})},Y=m.memo(e=>{let{id:t,url:a,external:i,title:r,logo:l,logoDarkMode:o,shortDescription:c,categories:d,onInfoClick:u,isFavorite:x,onFavoriteClick:f,isLoading:g,internalWallet:b,onAppClick:k}=e,j=d.join(", "),y=(0,m.useCallback)(e=>{e.preventDefault(),z.Kz(z.GM.PAGE_WIDGET,{Type:"More button",Info:t,Source:"Discovery view"}),u(t)},[u,t]),C=(0,m.useCallback)(()=>{f(t,x,"Discovery view")},[f,t,x]),w=(0,v.ff)(l,o||l);return(0,n.jsx)(X.f,{_hover:{boxShadow:g?"none":"md"},_focusWithin:{boxShadow:g?"none":"md"},borderRadius:"md",height:"100%",padding:{base:3,sm:"20px"},border:"1px",borderColor:(0,v.ff)("gray.200","gray.600"),role:"group",children:(0,n.jsxs)(p.xu,{display:{base:"grid",sm:"flex"},flexDirection:"column",gridTemplateColumns:{base:"64px 1fr",sm:"1fr"},gridTemplateRows:{base:"none",sm:"none"},gridRowGap:{base:2,sm:0},gridColumnGap:{base:4,sm:0},height:"100%",alignContent:"start",children:[(0,n.jsx)(h.O,{isLoaded:!g,gridRow:{base:"1 / 4",sm:"auto"},marginBottom:4,w:{base:"64px",sm:"96px"},h:{base:"64px",sm:"96px"},display:"flex",alignItems:"center",justifyContent:"center",children:(0,n.jsx)(S.E,{src:g?void 0:w,alt:"".concat(r," app icon"),borderRadius:"8px"})}),(0,n.jsxs)(h.O,{isLoaded:!g,gridColumn:{base:2,sm:"auto"},as:"h3",marginBottom:{base:0,sm:2},fontSize:{base:"sm",sm:"lg"},fontWeight:"semibold",fontFamily:"heading",display:"inline-block",children:[(0,n.jsx)(marketplace_MarketplaceAppCardLink,{id:t,url:a,external:i,title:r,onClick:k}),(0,n.jsx)(marketplace_MarketplaceAppIntegrationIcon,{external:i,internalWallet:b})]}),(0,n.jsx)(h.O,{isLoaded:!g,marginBottom:{base:0,sm:2},color:"text_secondary",fontSize:"xs",children:(0,n.jsx)("span",{children:j})}),(0,n.jsx)(h.O,{isLoaded:!g,fontSize:{base:"xs",sm:"sm"},lineHeight:"20px",noOfLines:3,children:c}),!g&&(0,n.jsx)(p.xu,{display:"flex",position:{base:"absolute",sm:"relative"},bottom:{base:3,sm:0},left:{base:3,sm:0},marginTop:{base:0,sm:"auto"},paddingTop:{base:0,sm:4},children:(0,n.jsx)(M.r,{fontSize:{base:"xs",sm:"sm"},paddingRight:{sm:2},href:"#",onClick:y,children:"More info"})}),!g&&(0,n.jsx)(s.h,{display:"block",position:"absolute",right:{base:3,sm:"10px"},top:{base:3,sm:"14px"},"aria-label":"Mark as favorite",title:"Mark as favorite",variant:"ghost",colorScheme:"gray",w:9,h:8,onClick:C,icon:x?(0,n.jsx)(G.Z,{name:"star_filled",w:5,h:5,color:"yellow.400"}):(0,n.jsx)(G.Z,{name:"star_outline",w:5,h:5,color:"gray.400"})})]})})}),J=m.memo(e=>{let{apps:t,showAppInfo:a,favoriteApps:i,onFavoriteClick:r,isLoading:l,selectedCategoryId:o,onAppClick:s}=e;return t.length>0?(0,n.jsx)(H.r,{templateColumns:{sm:"repeat(auto-fill, minmax(178px, 1fr))",lg:"repeat(auto-fill, minmax(260px, 1fr))"},autoRows:"1fr",gap:{base:"16px",sm:"24px"},children:t.map((e,t)=>(0,n.jsx)(Y,{onInfoClick:a,id:e.id,external:e.external,url:e.url,title:e.title,logo:e.logo,logoDarkMode:e.logoDarkMode,shortDescription:e.shortDescription,categories:e.categories,isFavorite:i.includes(e.id),onFavoriteClick:r,isLoading:l,internalWallet:e.internalWallet,onAppClick:s},e.id+(l?t:"")))}):(0,n.jsx)(q,{selectedCategoryId:o,favoriteApps:i})}),Q=a(83686),$=a(720),ee=a(39468),et=a(40299),MarketplaceListWithScores_AppLink=e=>{let{app:t,isLoading:a,onAppClick:i,isLarge:r=!1}=e,{id:l,url:o,external:s,title:c,logo:d,logoDarkMode:p,internalWallet:m,categories:x}=t,f=(0,v.ff)(d,p||d),g=x.join(", ");return(0,n.jsxs)(X.f,{display:"flex",height:"100%",width:"100%",role:"group",alignItems:"center",mb:r?0:4,children:[(0,n.jsx)(h.O,{isLoaded:!a,w:r?"56px":"48px",h:r?"56px":"48px",display:"flex",alignItems:"center",justifyContent:"center",mr:r?3:4,children:(0,n.jsx)(S.E,{src:a?void 0:f,alt:"".concat(c," app icon"),borderRadius:"8px"})}),(0,n.jsxs)(u.k,{direction:"column",children:[(0,n.jsxs)(h.O,{isLoaded:!a,marginBottom:0,fontSize:"sm",fontWeight:"semibold",fontFamily:"heading",display:"inline-block",mb:1,children:[(0,n.jsx)(marketplace_MarketplaceAppCardLink,{id:l,url:o,external:s,title:c,onClick:i}),(0,n.jsx)(marketplace_MarketplaceAppIntegrationIcon,{external:s,internalWallet:m})]}),(0,n.jsx)(h.O,{isLoaded:!a,color:"text_secondary",fontSize:r?"sm":"xs",children:(0,n.jsx)("span",{children:g})})]})]})},MarketplaceListWithScores_MoreInfoButton=e=>{let{onClick:t,isLoading:a}=e;return(0,n.jsx)(h.O,{isLoaded:!a,display:"inline-flex",alignItems:"center",height:"30px",borderRadius:"base",children:(0,n.jsx)(M.r,{fontSize:"sm",onClick:t,fontWeight:"500",display:"inline-flex",children:"More info"})})},MarketplaceListWithScores_ListItem=e=>{var t,a;
1let{app:i,onInfoClick:l,isFavorite:o,onFavoriteClick:c,isLoading:d,onAppClick:p,showContractList:h}=e,{id:f,securityReport:g}=i,b=m.useCallback(e=>{e.preventDefault(),z.Kz(z.GM.PAGE_WIDGET,{Type:"More button",Info:f,Source:"Security view"}),l(f)},[l,f]),k=m.useCallback(()=>{c(f,o,"Security view")},[c,f,o]),j=m.useCallback(()=>{z.Kz(z.GM.PAGE_WIDGET,{Type:"Total contracts",Info:f,Source:"Security view"}),h(f,x.Gf.ALL)},[h,f]),v=m.useCallback(()=>{z.Kz(z.GM.PAGE_WIDGET,{Type:"Verified contracts",Info:f,Source:"Security view"}),h(f,x.Gf.VERIFIED)},[h,f]),y=m.useCallback(()=>{h(f,x.Gf.ANALYZED)},[h,f]);return(0,n.jsx)(et.Z,{rowGap:3,py:3,_first:{borderTop:"none",paddingTop:0},_last:{borderBottom:"none",paddingBottom:0},children:(0,n.jsxs)(u.k,{direction:"column",justifyContent:"stretch",padding:3,width:"100%",children:[(0,n.jsxs)(u.k,{position:"relative",children:[(0,n.jsx)(MarketplaceListWithScores_AppLink,{app:i,isLoading:d,onAppClick:p}),!d&&(0,n.jsx)(s.h,{position:"absolute",right:-1,top:-1,"aria-label":"Mark as favorite",title:"Mark as favorite",variant:"ghost",colorScheme:"gray",w:9,h:8,onClick:k,icon:o?(0,n.jsx)(G.Z,{name:"star_filled",w:5,h:5,color:"yellow.400"}):(0,n.jsx)(G.Z,{name:"star_outline",w:5,h:5,color:"gray.400"})})]}),(0,n.jsxs)(u.k,{alignItems:"center",children:[(0,n.jsx)(u.k,{flex:1,gap:3,alignItems:"center",children:g||d?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(D.Z,{id:f,isLoading:d,securityReport:g,showContractList:y,height:"30px",source:"Security view"}),(0,n.jsx)(marketplace_ContractListButton,{onClick:j,variant:r.ALL_CONTRACTS,isLoading:d,children:null!==(t=null==g?void 0:g.overallInfo.totalContractsNumber)&&void 0!==t?t:0}),(0,n.jsx)(marketplace_ContractListButton,{onClick:v,variant:r.VERIFIED_CONTRACTS,isLoading:d,children:null!==(a=null==g?void 0:g.overallInfo.verifiedNumber)&&void 0!==a?a:0})]}):(0,n.jsx)(L.x,{variant:"secondary",fontSize:"sm",fontWeight:500,children:"Data will be available soon"})}),(0,n.jsx)(MarketplaceListWithScores_MoreInfoButton,{onClick:b,isLoading:d})]})]})})},ea=a(36557),ei=a(36526),er=a(75421),en=a(28650),el=a(87900),eo=a(577),MarketplaceListWithScores_TableItem=e=>{var t,a;let{app:i,isLoading:l,isFavorite:o,onFavoriteClick:c,onAppClick:d,onInfoClick:u,showContractList:p}=e,{id:f,securityReport:g}=i,b=m.useCallback(e=>{e.preventDefault(),z.Kz(z.GM.PAGE_WIDGET,{Type:"More button",Info:f,Source:"Security view"}),u(f)},[u,f]),k=m.useCallback(()=>{c(f,o,"Security view")},[c,f,o]),j=m.useCallback(()=>{z.Kz(z.GM.PAGE_WIDGET,{Type:"Total contracts",Info:f,Source:"Security view"}),p(f,x.Gf.ALL)},[p,f]),v=m.useCallback(()=>{z.Kz(z.GM.PAGE_WIDGET,{Type:"Verified contracts",Info:f,Source:"Security view"}),p(f,x.Gf.VERIFIED)},[p,f]),y=m.useCallback(()=>{p(f,x.Gf.ANALYZED)},[p,f]);return(0,n.jsxs)(ei.Tr,{children:[(0,n.jsx)(eo.Td,{verticalAlign:"middle",px:2,children:(0,n.jsx)(h.O,{isLoaded:!l,children:(0,n.jsx)(s.h,{"aria-label":"Mark as favorite",title:"Mark as favorite",variant:"ghost",colorScheme:"gray",w:9,h:8,onClick:k,icon:o?(0,n.jsx)(G.Z,{name:"star_filled",w:5,h:5,color:"yellow.400"}):(0,n.jsx)(G.Z,{name:"star_outline",w:5,h:5,color:"gray.400"})})})}),(0,n.jsx)(eo.Td,{verticalAlign:"middle",children:(0,n.jsx)(MarketplaceListWithScores_AppLink,{app:i,isLoading:l,onAppClick:d,isLarge:!0})}),g||l?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eo.Td,{verticalAlign:"middle",children:(0,n.jsx)(D.Z,{id:f,securityReport:g,showContractList:y,isLoading:l,source:"Security view"})}),(0,n.jsx)(eo.Td,{verticalAlign:"middle",children:(0,n.jsx)(marketplace_ContractListButton,{onClick:j,variant:r.ALL_CONTRACTS,isLoading:l,children:null!==(t=null==g?void 0:g.overallInfo.totalContractsNumber)&&void 0!==t?t:0})}),(0,n.jsx)(eo.Td,{verticalAlign:"middle",children:(0,n.jsx)(marketplace_ContractListButton,{onClick:v,variant:r.VERIFIED_CONTRACTS,isLoading:l,children:null!==(a=null==g?void 0:g.overallInfo.verifiedNumber)&&void 0!==a?a:0})})]}):(0,n.jsx)(eo.Td,{verticalAlign:"middle",colSpan:3,children:(0,n.jsx)(L.x,{variant:"secondary",fontSize:"sm",fontWeight:500,children:"Data will be available soon"})}),(0,n.jsx)(eo.Td,{verticalAlign:"middle",isNumeric:!0,children:(0,n.jsx)(MarketplaceListWithScores_MoreInfoButton,{onClick:b,isLoading:l})})]})},MarketplaceListWithScores_Table=e=>{let{apps:t,isLoading:a,favoriteApps:i,onFavoriteClick:r,onAppClick:l,onInfoCl
1ick:o,showContractList:s}=e;return(0,n.jsxs)(ea.i,{children:[(0,n.jsx)(el.Z,{children:(0,n.jsxs)(ei.Tr,{children:[(0,n.jsx)(er.Th,{w:"5%"}),(0,n.jsx)(er.Th,{w:"40%",children:"App"}),(0,n.jsx)(er.Th,{w:"15%",children:"Contracts score"}),(0,n.jsx)(er.Th,{w:"10%",children:"Total"}),(0,n.jsx)(er.Th,{w:"10%",children:"Verified"}),(0,n.jsx)(er.Th,{w:"20%"})]})}),(0,n.jsx)(en.p,{children:t.map((e,t)=>(0,n.jsx)(MarketplaceListWithScores_TableItem,{app:e,isLoading:a,isFavorite:i.includes(e.id),onFavoriteClick:r,onAppClick:l,onInfoClick:o,showContractList:s},e.id+(a?t:"")))})]})},marketplace_MarketplaceListWithScores=e=>{let{apps:t,showAppInfo:a,favoriteApps:i,onFavoriteClick:r,isLoading:l,selectedCategoryId:o,onAppClick:s,showContractList:c}=e,d=m.useMemo(()=>t.sort((e,t)=>e.securityReport?t.securityReport?t.securityReport.overallInfo.securityScore-e.securityReport.overallInfo.securityScore:-1:1),[t]),u=t.length>0?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Q.d,{below:"lg",ssr:!1,children:d.map((e,t)=>(0,n.jsx)(MarketplaceListWithScores_ListItem,{app:e,onInfoClick:a,isFavorite:i.includes(e.id),onFavoriteClick:r,isLoading:l,onAppClick:s,showContractList:c},e.id+(l?t:"")))}),(0,n.jsx)($.c,{below:"lg",ssr:!1,children:(0,n.jsx)(MarketplaceListWithScores_Table,{apps:d,isLoading:l,onAppClick:s,favoriteApps:i,onFavoriteClick:r,onInfoClick:a,showContractList:c})})]}):null;return t.length>0?(0,n.jsx)(ee.Z,{isError:!1,items:t,emptyText:"No apps found.",content:u}):(0,n.jsx)(q,{selectedCategoryId:o,favoriteApps:i})},es=a(28194),ec=a(56048),ed=a(77417),eu=a(42850),ep=a(86631),eh=a(35937),em=a.n(eh),ex=a(11163),ef=a(12208),eg=a(97526),eb=a(97060),ek=a(10777),ej=a(89321),ev=a(17220);let ey=f.Z.features.marketplace,eC=ey.isEnabled&&ey.categoriesUrl||"",ew="favoriteApps";function getFavoriteApps(){try{return JSON.parse(localStorage.getItem(ew)||"[]")}catch(e){return[]}}let eS=f.Z.features.marketplace,e_=[];eS.isEnabled&&(eS.submitFormUrl&&e_.push({label:"Submit app",href:eS.submitFormUrl,icon:"plus"}),eS.suggestIdeasFormUrl&&e_.push({label:"Suggest ideas",href:eS.suggestIdeasFormUrl,icon:"edit"}));var pages_Marketplace=()=>{var e;let{isPlaceholderData:t,isError:a,error:i,selectedCategoryId:r,categories:f,onCategoryChange:v,filterQuery:y,onSearchInputChange:C,showAppInfo:w,displayedApps:S,selectedAppId:_,clearSelectedAppId:L,favoriteApps:I,onFavoriteClick:T,isAppInfoModalOpen:A,isDisclaimerModalOpen:E,showDisclaimer:M,appsTotal:R,isCategoriesPlaceholderData:Z,showContractList:D,contractListModalType:B,selectedDisplayType:W,onDisplayTypeChange:N,hasPreviousStep:F}=function(){let e=(0,ex.useRouter)(),t=(0,eg.Z)(e.query.category),a=(0,eg.Z)(e.query.filter),i=(0,eg.Z)(e.query.tab),[r,n]=m.useState(null),[l,o]=m.useState(x.Te.ALL),[s,c]=m.useState(Object.values(x.Tx).includes(i)?i:x.Tx.DEFAULT),[d,u]=m.useState(a),[p,h]=m.useState([]),[f,g]=m.useState(!1),[b,k]=m.useState(!1),[j,v]=m.useState(!1),[y,C]=m.useState(null),[w,S]=m.useState(!1),_=m.useCallback((e,t,a)=>{z.Kz(z.GM.PAGE_WIDGET,{Type:"Favorite app",Info:e,Source:a});let i=getFavoriteApps();if(t){let t=i.filter(t=>t!==e);h(t),localStorage.setItem(ew,JSON.stringify(t))}else i.push(e),localStorage.setItem(ew,JSON.stringify(i)),h(i)},[]),L=m.useCallback(e=>{n(e),k(!0)},[]),I=m.useCallback(e=>{n(e),v(!0)},[]),T=m.useCallback((e,t,a)=>{n(e),C(t),a&&S(!0)},[]),A=(0,ef.Z)(d,500),E=m.useCallback(()=>{n(null),k(!1),v(!1),C(null),S(!1)},[]),M=m.useCallback(e=>{z.Kz(z.GM.FILTERS,{Source:"Marketplace","Filter name":e}),o(e)},[]),R=m.useCallback(e=>{c(e)},[]),{isPlaceholderData:Z,isError:G,error:D,data:B,displayedApps:W}=(0,eb.Z)(A,l,p,f),{isPlaceholderData:N,data:F}=function(e,t){let a=(0,ej.Z)(),{isPlaceholderData:i,data:r}=(0,ek.a)({queryKey:["marketplace-categories"],queryFn:async()=>a(eC,void 0,{resource:"marketplace-categories"}),placeholderData:eC?ev.a:void 0,staleTime:1/0,enabled:!!eC}),n=m.useMemo(()=>{if(t||i)return ev.a.map(e=>({name:e,count:0}));let a={};return null==e||e.forEach(e=>{e.categories.forEach(e=>{void 0===a[e]&&(a[e]=0),a[e]++})}),((null==r?void 0:r.length)&&!i?r:Object.keys(a)).map(e=>({name:e,count:a[e]||0})).filter(e=>e.count>0)},[e,t,r,i]);return m.useMemo(()=>({isPlaceholderData:t||i,data:n}),[i,t,n])}(B,Z);return m.useEffect(()=>{h(getFavoriteApps()),g(!0)},[]),m.useEffect(()=>{if(!Z&&!G){let e=F.map(e=>e.name).includes(t);e&&o(t)}},[Z]),m.useEffect(()=>{let t=em()({category:l===x.Te.ALL?void 0:l,filter:A,tab:s===x.Tx.DEFAULT?void 0:s},Boolean);A.length>0&&z.Kz(z.GM.LOCAL_SEARCH,{Source:"Marketplace","Search query":A}),e.replace({pathname:"/apps",query:t},void 0,{shallow:!0})},[A,l,s]),m.useMemo(()=>({selectedCategoryId:l,onCategoryChange:M,filterQuery:A,onSearchInputChange:u,isPlaceholderData:Z,isError:G,error:D,categories:F,displayedApps:W,showAppInfo:L,selectedAppId:r,clearSelectedAppId:E,favoriteApps:p,onF
1avoriteClick:_,isAppInfoModalOpen:b,isDisclaimerModalOpen:j,showDisclaimer:I,appsTotal:(null==B?void 0:B.length)||0,isCategoriesPlaceholderData:N,showContractList:T,contractListModalType:y,selectedDisplayType:s,onDisplayTypeChange:R,hasPreviousStep:w}),[l,F,E,r,W,D,p,M,_,G,Z,L,A,b,j,I,null==B?void 0:B.length,N,T,y,s,R,w])}(),O=(0,k.Z)(),{value:V}=(0,b.Z)("security_score_exp",!1),H=m.useMemo(()=>{let e=f.map(e=>({id:e.name,title:e.name,count:e.count,component:null}));return e.unshift({id:x.Te.ALL,title:x.Te.ALL,count:R,component:null}),e.unshift({id:x.Te.FAVORITES,title:()=>(0,n.jsx)(G.Z,{name:"star_outline",w:5,h:5}),count:null,component:null}),e},[f,R]),P=m.useMemo(()=>{let e=H.findIndex(e=>e.id===r);return -1===e?0:e},[H,r]),K=S.find(e=>e.id===_),q=m.useCallback(e=>{v(H[e].id)},[H,v]),X=m.useCallback((e,t)=>{let a=window.localStorage.getItem("marketplace-disclaimer-shown");a||(e.preventDefault(),M(t))},[M]),Y=m.useCallback(()=>{L(),K&&w(K.id)},[L,w,K]);return((0,g.Z)(a&&i?{isError:a,error:i}:{isError:!1,error:null}),eS.isEnabled)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ec.Z,{title:"DAppscout",contentAfter:O&&e_.length>1?(0,n.jsxs)(l.v,{children:[(0,n.jsx)(o.j,{as:s.h,size:"sm",variant:"outline",colorScheme:"gray",px:"9px",ml:"auto",icon:(0,n.jsx)(G.Z,{name:"dots",boxSize:"18px"})}),(0,n.jsx)(c.q,{minW:"max-content",children:e_.map(e=>{let{label:t,href:a,icon:i}=e;return(0,n.jsxs)(d.s,{as:"a",href:a,target:"_blank",py:2,px:4,children:[(0,n.jsx)(G.Z,{name:i,boxSize:4,mr:2.5}),t,(0,n.jsx)(G.Z,{name:"arrows/north-east",boxSize:4,color:"gray.400",ml:2})]},t)})})]}):(0,n.jsx)(u.k,{ml:"auto",children:e_.map(e=>{let{label:t,href:a}=e;return(0,n.jsx)(U.Z,{href:a,variant:"subtle",fontSize:"sm",lineHeight:5,ml:2,children:t},t)})})}),(0,n.jsx)(p.xu,{marginTop:{base:0,lg:8},children:Z?(0,n.jsx)(eu.Z,{tabs:H}):(0,n.jsx)(ep.Z,{tabs:H,onTabChange:q,defaultTabIndex:P,marginBottom:-2})}),(0,n.jsxs)(u.k,{direction:{base:"column",lg:"row"},mb:{base:4,lg:6},gap:{base:4,lg:3},children:[eS.securityReportsUrl&&V&&(0,n.jsx)(h.O,{isLoaded:!t,children:(0,n.jsx)(ed.Z,{onChange:N,defaultValue:W,name:"type",options:[{title:"Discovery",value:x.Tx.DEFAULT,icon:"apps_xs",onlyIcon:!1},{title:"Apps scores",value:x.Tx.SCORES,icon:"apps_list",onlyIcon:!1,contentAfter:(0,n.jsx)(G.Z,{name:O?"beta_xs":"beta",h:3,w:O?3:7,ml:1})}],autoWidth:!0})}),(0,n.jsx)(es.Z,{initialValue:y,onChange:C,placeholder:"Find app by name or keyword...",isLoading:t,size:eS.securityReportsUrl&&V?"xs":"sm",flex:"1"})]}),W===x.Tx.SCORES&&eS.securityReportsUrl&&V?(0,n.jsx)(marketplace_MarketplaceListWithScores,{apps:S,showAppInfo:w,favoriteApps:I,onFavoriteClick:T,isLoading:t,selectedCategoryId:r,onAppClick:X,showContractList:D}):(0,n.jsx)(J,{apps:S,showAppInfo:w,favoriteApps:I,onFavoriteClick:T,isLoading:t,selectedCategoryId:r,onAppClick:X}),K&&A&&(0,n.jsx)(marketplace_MarketplaceAppModal,{onClose:L,isFavorite:I.includes(K.id),onFavoriteClick:T,data:K,showContractList:D}),K&&E&&(0,n.jsx)(marketplace_MarketplaceDisclaimerModal,{isOpen:E,onClose:L,appId:K.id}),K&&B&&(0,n.jsx)(j.Z,{type:B,contracts:null==K?void 0:null===(e=K.securityReport)||void 0===e?void 0:e.contractsData,onClose:L,onBack:F?Y:void 0})]}):null}},19819:function(e,t,a){var i=a(85893),r=a(31507),n=a(56837),l=a(75350);a(67294),t.Z=(0,l.m)(e=>{let{className:t}=e;return(0,i.jsx)(r.b,{status:"warning",width:"fit-content",className:t,children:(0,i.jsx)(n.X,{children:"Something went wrong. Try refreshing the page or come back later."})})})},40299:function(e,t,a){var i=a(85893),r=a(204),n=a(75350),l=a(24262);a(67294),t.Z=(0,n.m)(e=>{let{children:t,className:a,isAnimated:n}=e;return(0,i.jsx)(r.k,{as:l.E.div,initial:n?{opacity:0,scale:.97}:{opacity:1,scale:1},animate:{opacity:1,scale:1},transitionDuration:"normal",transitionTimingFunction:"linear",rowGap:6,alignItems:"flex-start",flexDirection:"column",paddingY:6,borderColor:"divider",borderTopWidth:"1px",_last:{borderBottomWidth:"1px"},className:a,fontSize:"16px",lineHeight:"20px",children:t})})},56048:function(e,t,a){var i=a(85893),r=a(93344),n=a(47523),l=a(33838),o=a(62723),s=a(204),c=a(14418),d=a(75350),u=a(23279),p=a.n(u),h=a(67294),m=a(55036),x=a(96026),f=a(76215);let BackLink=e=>{if(!e)return null;if(e.isLoading)return(0,i.jsx)(r.O,{boxSize:6,display:"inline-block",borderRadius:"base",mr:3,my:2,verticalAlign:"text-bottom",isLoaded:!e.isLoading});let t=(0,i.jsx)(x.Z,{name:"arrows/east",boxSize:6,transform:"rotate(180deg)",margin:"auto",color:"gray.400"});return"url"in e?(0,i.jsx)(n.u,{label:e.label,children:(0,i.jsx)(f.Z,{display:"inline-flex",href:e.url,h:"40px",mr:3,children:t})}):(0,i.jsx)(n.u,{label:e.label,children:(0,i.jsx)(l.r,{display:"inline-flex",onClick:e.onClick,h:"40px",mr:3,children:t})})};t.Z=(0,d.m)(e=>{let{title:t,contentAfter:a,withTextAd:l,backLink:d,className:u,isLoading:x,afterTitle:f,beforeTitle:g,secondRow:b}=e,k=(0,o.q)(),j=(0,m.Z)(),[v,y]=h.useState(!1),C=h.useRef(null),w=h.useRef(null),S=h.useCallback(()=>
1{if(!C.current||!w.current)return;let e=C.current.getBoundingClientRect(),t=w.current.getBoundingClientRect();2*e.height<=t.height?y(!0):y(!1)},[]);return h.useEffect(()=>{x||S()},[x,S]),h.useEffect(()=>{let e=p()(S,1e3);return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[S]),(0,i.jsxs)(s.k,{className:u,flexDir:"column",rowGap:3,mb:6,children:[(0,i.jsxs)(s.k,{flexDir:"row",flexWrap:"wrap",rowGap:3,columnGap:3,alignItems:"center",children:[(0,i.jsxs)(s.k,{h:{base:"auto",lg:x?10:"auto"},maxW:"100%",alignItems:"center",children:[d&&(0,i.jsx)(BackLink,{...d,isLoading:x}),g,(0,i.jsx)(r.O,{isLoaded:!x,overflow:"hidden",children:(0,i.jsx)(n.u,{label:t,isOpen:k.isOpen,onClose:k.onClose,maxW:{base:"calc(100vw - 32px)",lg:"500px"},closeOnScroll:!!j,isDisabled:!v,children:(0,i.jsx)(c.X,{ref:C,as:"h1",size:"lg",whiteSpace:"normal",wordBreak:"break-all",style:{WebkitLineClamp:1,WebkitBoxOrient:"vertical",display:"-webkit-box"},overflow:"hidden",textOverflow:"ellipsis",onMouseEnter:k.onOpen,onMouseLeave:k.onClose,onClick:j?k.onToggle:void 0,children:(0,i.jsx)("span",{ref:w,children:t})})})}),f]}),a]}),b&&(0,i.jsx)(s.k,{alignItems:"center",minH:10,overflow:"hidden",_empty:{display:"none"},children:b})]})})},42850:function(e,t,a){var i=a(85893),r=a(93344),n=a(12498),l=a(204),o=a(23100),s=a(75350);a(67294);var c=a(88539);let SkeletonTabText=e=>{let{size:t,title:a}=e;return(0,i.jsx)(r.O,{borderRadius:"base",borderWidth:"sm"===t?"2px":0,fontWeight:600,mx:"sm"===t?3:4,flexShrink:0,children:"string"==typeof a?a:a()})};t.Z=(0,s.m)(e=>{let{className:t,tabs:a,size:r="md"}=e,s=(0,n.ff)("blackAlpha.50","whiteAlpha.50"),d=(0,c.Z)(a||[]);return 1===a.length?null:(0,i.jsxs)(l.k,{className:t,my:8,alignItems:"center",overflow:"hidden",children:[a.slice(0,d).map(e=>{let{title:t,id:a}=e;return(0,i.jsx)(SkeletonTabText,{title:t,size:r},a)}),a.slice(d,d+1).map(e=>{let{title:t,id:a}=e;return(0,i.jsx)(o.xu,{bgColor:s,py:"sm"===r?1:2,borderRadius:"base",flexShrink:0,children:(0,i.jsx)(SkeletonTabText,{title:t,size:r},a)},a)}),a.slice(d+1).map(e=>{let{title:t,id:a}=e;return(0,i.jsx)(SkeletonTabText,{title:t,size:r},a)})]})})},87900:function(e,t,a){var i=a(85893),r=a(12498),n=a(24304),l=a(23493),o=a.n(l),s=a(67294);t.Z=e=>{let{top:t,children:a,...l}=e,c=s.useRef(null),[d,u]=s.useState(!1),p=s.useCallback(()=>{var e;Number(null===(e=c.current)||void 0===e?void 0:e.getBoundingClientRect().y)<=(t||0)?u(!0):u(!1)},[t]);s.useEffect(()=>{let e=o()(p,300);return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[p]);let h={...l,top:"".concat(t,"px")||0,backgroundColor:(0,r.ff)("white","black"),boxShadow:d?"md":"none",zIndex:"1"};return(0,i.jsx)(n.h,{...h,ref:c,children:a})}},28194:function(e,t,a){var i=a(85893),r=a(12498),n=a(93344),l=a(93863),o=a(43775),s=a(28129),c=a(75350),d=a(67294),u=a(37362),p=a(96026);t.Z=(0,c.m)(e=>{let{onChange:t,className:a,size:c="sm",placeholder:h,initialValue:m,isLoading:x}=e,[f,g]=(0,d.useState)(m||""),b=d.useRef(null),k=(0,r.ff)("blackAlpha.600","whiteAlpha.600"),j=(0,d.useCallback)(e=>{let{value:a}=e.target;g(a),t(a)},[t]),v=(0,d.useCallback)(()=>{var e;g(""),t(""),null==b||null===(e=b.current)||void 0===e||e.focus()},[t]);return(0,i.jsx)(n.O,{isLoaded:!x,className:a,minW:"250px",borderRadius:"base",children:(0,i.jsxs)(l.B,{size:c,children:[(0,i.jsx)(o.Z,{pointerEvents:"none",children:(0,i.jsx)(p.Z,{name:"search",color:k,boxSize:4})}),(0,i.jsx)(s.I,{ref:b,size:c,value:f,onChange:j,placeholder:h,borderWidth:"2px",textOverflow:"ellipsis",whiteSpace:"nowrap"}),f?(0,i.jsx)(o.x,{children:(0,i.jsx)(u.Z,{onClick:v})}):null]})})})},77417:function(e,t,a){a.d(t,{Z:function(){return radioButtonGroup_RadioButtonGroup}});var i=a(85893),r=a(67294),n=a(46927),l=a(12498),o=a(96272),s=a(204),c=a(40918),d=a(17215),u=a(35059),p=a(75350),h=a(25432),m={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},x={horizontal:e=>({"& > *:not(style) ~ *:not(style)":{marginStart:e}}),vertical:e=>({"& > *:not(style) ~ *:not(style)":{marginTop:e}})}
1,f=(0,u.G)(function(e,t){let{size:a,colorScheme:n,variant:l,className:o,spacing:s="0.5rem",isAttached:c,isDisabled:u,orientation:f="horizontal",...g}=e,b=(0,h.cx)("chakra-button__group",o),k=(0,r.useMemo)(()=>({size:a,colorScheme:n,variant:l,isDisabled:u}),[a,n,l,u]),j={display:"inline-flex",...c?m[f]:x[f](s)};return(0,i.jsx)(d.D,{value:k,children:(0,i.jsx)(p.m.div,{ref:t,role:"group",__css:j,className:b,"data-attached":c?"":void 0,"data-orientation":f,flexDir:"vertical"===f?"column":void 0,...g})})});f.displayName="ButtonGroup";var g=a(96026);let RadioButton=e=>{let{getInputProps:t,getRadioProps:a}=(0,n.x)(e),r=(0,l.ff)("blue.50","gray.800"),c=(0,l.ff)("blue.700","gray.50"),d=t(),u=a(),p={flex:1,variant:"outline",fontWeight:500,cursor:e.isChecked?"initial":"pointer",borderColor:r,backgroundColor:e.isChecked?r:"none",_hover:{borderColor:r,...e.isChecked?{}:{color:"link_hovered"}},_active:{backgroundColor:"none"},...e.isChecked?{color:c}:{}};return e.onlyIcon?(0,i.jsxs)(o.z,{as:"label","aria-label":e.title,...p,children:[(0,i.jsx)("input",{...d}),(0,i.jsx)(s.k,{...u,children:(0,i.jsx)(g.Z,{name:e.icon,boxSize:5})})]}):(0,i.jsxs)(o.z,{as:"label",leftIcon:e.icon?(0,i.jsx)(g.Z,{name:e.icon,boxSize:5,mr:-1}):void 0,...p,children:[(0,i.jsx)("input",{...d}),(0,i.jsxs)(s.k,{alignItems:"center",...u,children:[e.title,e.contentAfter]})]})};var radioButtonGroup_RadioButtonGroup=e=>{let{onChange:t,name:a,defaultValue:n,options:l,autoWidth:o=!1}=e,{getRootProps:s,getRadioProps:d}=(0,c.a)({name:a,defaultValue:n,onChange:t}),u=s();return(0,i.jsx)(f,{...u,isAttached:!0,size:"sm",display:"grid",gridTemplateColumns:"repeat(".concat(l.length,", ").concat(o?"auto":"1fr",")"),children:l.map(e=>{let t=d({value:e.value});return(0,r.createElement)(RadioButton,{...t,key:e.value,...e})})})}},85931:function(e,t,a){a.d(t,{A:function(){return o},f:function(){return s}});var i=a(35059),r=a(75350),n=a(25432),l=a(85893),o=(0,i.G)(function(e,t){let{isExternal:a,target:i,rel:o,className:s,...c}=e;return(0,l.jsx)(r.m.a,{...c,ref:t,className:(0,n.cx)("chakra-linkbox__overlay",s),rel:a?"noopener noreferrer":o,target:a?"_blank":i,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})}),s=(0,i.G)(function(e,t){let{className:a,...i}=e;return(0,l.jsx)(r.m.div,{ref:t,position:"relative",...i,className:(0,n.cx)("chakra-linkbox",a),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})})},21179:function(e,t,a){a.d(t,{E:function(){return Visibility}});var i=a(4453);function Visibility(e){let{breakpoint:t,hide:a,children:r,ssr:n}=e,[l]=(0,i.a)(t,{ssr:n});return(a?!l:l)?r:null}},83686:function(e,t,a){a.d(t,{d:function(){return Show}});var i=a(21179),r=a(65278),n=a(85893);function Show(e){let{children:t,ssr:a}=e,l=(0,r.a)(e);return(0,n.jsx)(i.E,{breakpoint:l,ssr:a,children:t})}Show.displayName="Show"},65278:function(e,t,a){a.d(t,{a:function(){return useQuery}});var i=a(75119),getBreakpoint=(e,t)=>{var a,i;return null!=(i=null==(a=null==e?void 0:e.breakpoints)?void 0:a[t])?i:t};function useQuery(e){let{breakpoint:t="",below:a,above:r}=e,n=(0,i.F)(),l=getBreakpoint(n,a),o=getBreakpoint(n,r),s=t;return l?s=`(max-width: ${l})`:o&&(s=`(min-width: ${o})`),s}},720:function(e,t,a){a.d(t,{c:function(){return Hide}});var i=a(21179),r=a(65278),n=a(85893);function Hide(e){let{children:t,ssr:a}=e,l=(0,r.a)(e);return(0,n.jsx)(i.E,{breakpoint:l,hide:!0,ssr:a,children:t})}Hide.displayName="Hide"},23428:function(e,t,a){a.d(t,{s:function(){return p}});var i=a(36953),r=a(35059),n=a(75350),l=a(85893),o=(0,r.G)((e,t)=>{let a=(0,i.x)();return(0,l.jsx)(n.m.span,{ref:t,...e,__css:a.command,className:"chakra-menu__command"})});o.displayName="MenuCommand";var s=a(13589),c=a(15900),d=a(80610),u=a(25432),p=(0,r.G)((e,t)=>{let{icon:a,iconSpacing:i="0.75rem",command:r,commandSpacing:n="0.75rem",children:p,...h}=e,m=(0,c.iX)(h,t),x=a||r?(0,l.jsx)("span",{style:{pointerEvents:"none",flex:1},children:p}):p;return(0,l.jsxs)(s.C,{...m,className:(0,u.cx)("chakra-menu__menuitem",m.className),children:[a&&(0,l.jsx)(d.O,{fontSize:"0.8em",marginEnd:i,children:a}),x,r&&(0,l.jsx)(o,{marginStart:n,children:r})]})});p.displayName="MenuItem"},57386:function(e,t,a){a.d(t,{m:function(){return s}});var i=a(34151),r=a(25432),n=a(35059),l=a(75350),o=a(85893),s=(0,n.G)((e,t)=>{let{className:a,...n}=e,s=(0,r.cx)("chakra-modal__footer",a),c=(0,i.I_)(),d={display:"flex",alignItems:"center",justifyContent:"flex-end",...c.footer};return(0,o.jsx)(l.m.footer,{ref:t,...n,__css:d,className:s})});s.displayName="ModalFooter"},10191:function(e,t,a){a.d(t,{x:function(){return c}});var i=a(34151),r=a(25432),n=a(35059),l=a(75350),o=a(67294),s=a(85893),c=(0,n.G)((e,t)=>{let{className:a,...n}=e,{headerId:c,setHeaderMounted:d}=(0,i.vR)();(0,o.useEffect)(()=>(d(!0),()=>d(!1)),[d]);let u=(0,r.cx)("chakra-modal__header",a),p=(0,i.I_)(),h={flex:0,...p.header};return(0,s.jsx)(l.m.header,{ref:t,className:u,id:c,...n,__css:h})});c.displayName="ModalHeader"},24304:function(e,t,a){a.d(t,{h:function(){return o}});var i=a(36557),r=a(35059),n=a(75350),l=a(85893),o=(0,r.G)((e,t)=>{let a=(0,i.p)();return(0,l.jsx)(n.m.thead,{...e,ref:t,__css:a.thead})})},80333:function(e,t,a){a.d(t,{n:function(){return c}});var i=a(1004),r=a(55086),n=a(25432),l=a(35059),o=a(75350),s=a(85893),c=(0,l.G)(function(e,t){let a=(0,r.bt)(e),l=(0,i.s)();return(0,s.jsx)(o.m.div,{...a,width:"100%",ref:t,className:(0,n.cx)("chakra-tabs__tab-panels",e.className),__css:l.tabpanels})});c.displayName="TabPanels"},69558:function(e,t,a){a.d(t,{x:function(){return c}});var i=a(1004),r=a(55086),n=a(25432),l=a(35059),o=a(75350),s=a(85893),c=(0,l.G)(function(e,t){let a=(0,r.WE)({...e,ref:t}),l=(0,i.s)();return(0,s.jsx)(o.m.div,{outline:"0",...a,className:(0,n.cx)("chakra-tabs__tab-panel",e.className),__css:l.tabpanel})});c.displayName="TabPanel"}}]); 2//# sourceMappingURL=942.ec50d6b31e1e5a06.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.