1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5557:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return c(8751)}])},4783:function(c,b,a){"use strict";a.d(b,{Ai:function(){return g},FH:function(){return h},Lp:function(){return e},cp:function(){return f}});var d,e=(0,a(371).eI)({url:"https://api.lens.dev"}),f="\nquery RecommendedProfiles {\n recommendedProfiles {\n id\n name\n bio\n attributes {\n displayType\n traitType\n key\n value\n }\n followNftAddress\n metadata\n isDefault\n picture {\n ... on NftImage {\n contractAddress\n tokenId\n uri\n verified\n }\n ... on MediaSet {\n original {\n url\n mimeType\n }\n }\n __typename\n }\n handle\n coverPicture {\n ... on NftImage {\n contractAddress\n tokenId\n uri\n verified\n }\n ... on MediaSet {\n original {\n url\n mimeType\n }\n }\n __typename\n }\n ownedBy\n dispatcher {\n address\n canUseRelay\n }\n stats {\n totalFollowers\n totalFollowing\n totalPosts\n totalComments\n totalMirrors\n totalPublications\n totalCollects\n }\n followModule {\n ... on FeeFollowModuleSettings {\n type\n amount {\n asset {\n symbol\n name\n decimals\n address\n }\n value\n }\n recipient\n }\n ... on ProfileFollowModuleSettings {\n type\n }\n ... on RevertFollowModuleSettings {\n type\n }\n }\n }\n }\n",g="\nquery Profiles($id: ProfileId!) {\n profiles(request: { profileIds: [$id], limit: 25 }) {\n items {\n id\n name\n bio\n attributes {\n displayType\n traitType\n key\n value\n }\n metadata\n isDefault\n picture {\n ... on NftImage {\n contractAddress\n tokenId\n uri\n verified\n }\n ... on MediaSet {\n original {\n url\n mimeType\n }\n }\n __typename\n }\n handle\n coverPicture {\n ... on NftImage {\n contractAddress\n tokenId\n uri\n verified\n }\n ... on MediaSet {\n original {\n url\n mimeType\n }\n }\n __typename\n }\n ownedBy\n dispatcher {\n address\n canUseRelay\n }\n stats {\n totalFollowers\n totalFollowing\n totalPosts\n totalComments\n totalMirrors\n totalPublications\n totalCollects\n }\n }\n pageInfo {\n prev\n next\n totalCount\n }\n }\n }\n",h="\n query Publications($id: ProfileId!, $limit: LimitScalar) {\n publications(request: {\n profileId: $id,\n publicationTypes: [POST],\n limit: $limit\n }) {\n items {\n __typename \n ... on Post {\n ...PostFields\n }\n }\n }\n }\n fragment PostFields on Post {\n id\n metadata {\n ...MetadataOutputFields\n }\n createdAt\n }\n fragment MetadataOutputFields on MetadataOutput {\n name\n description\n content\n media {\n original {\n ...MediaFields\n }\n }\n attributes {\n displayType\n traitType\n value\n }\n }\n fragment MediaFields on Media {\n url\n mimeType\n }\n"},8751:function(g,b,a){"use strict";a.r(b),a.d(b,{default:function(){return q}});var h=a(7568),c=a(4051),i=a.n(c),j=a(5893),d=a(9008),k=a.n(d),l=a(7294),e=a(5675),m=a.n(e),f=a(1664),n=a.n(f);function o(b){var a=b.profiles;return(0,j.jsx)(j.Fragment,{children:a.length>0&&a.map(function(a,b){return(0,j.jsx)(n(),{href:"/profile/".concat(a.id),children:(0,j.jsxs)("div",{className:"max-w-md rounded-lg shadow-lg bg-white mt-5 mb-5 p-5 border border-radius-8 cursor-pointer hover:bg-gray-100 hover:shadow-lg ml-8",children:[(0,j.jsx)("div",{className:"flex flex-shrink-0 p-4 pb-0",children:(0,j.jsxs)("div",{className:"flex items-center",children:[(0,j.jsx)("div",{children:a&&a.picture&&a.picture.original&&a.picture.original.url?(0,j.jsx)(m(),{src:"".concat(a.picture.original.url),alt:a.name,width:64,height:64,className:"rounded-full"}):(0,j.jsx)("div",{className:"rounded-full bg-gray-500 h-12 w-12"})}),(0,j.jsx)("div",{className:"ml-3",children:(0,j.jsxs)("p",{className:"text-base leading-6 font-medium ",children:[a.name," ",(0,j.jsxs)("span",{className:"text-sm leading-5 font-medium text-gray-500 group-hover:text-gray-400 transition ease-in-out duration-150",children:["@",a.handle]})]})})]})}),(0,j.jsx)("div",{className:"pl-16",children:(0,j.jsx)("p",{className:"text-base width-auto font-small flex-shrink",children:a.bio?a.bio:"No bio available \uD83D\uDE22"})})]})},b)})})}var p=a(4783);function q(){var c,b=(0,l.useState)([]),a=b[0],d=b[1],e=(c=(0,h.Z)(i().mark(function a(){var b;return i().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.prev=0,a.next=3,p.Lp.query(p.cp).toPromise();case 3:d((b=a.sent).data.recommendedProfiles),console.log(b.data.recommendedProfiles),a.next=11;break;case 8:a.prev=8,a.t0=a.catch(0),console.log(a.t0);case 11:case"end":return a.stop()}},a,null,[[0,8]])})),function(){return c.apply(this,arguments)});return(0,l.useEffect)(function(){e()},[]),(0,j.jsxs)("div",{className:"grid grid-cols-3 divide-x",children:[(0,j.jsxs)(k(),{children:[(0,j.jsx)("title",{children:"Decentralized S
1ocial Network - Lens protocol"}),(0,j.jsx)("meta",{name:"description",content:"Decentralize Social Media App"}),(0,j.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,j.jsx)("div",{className:"col-span-3",children:(0,j.jsxs)("div",{className:"px-4 py-8",children:[(0,j.jsx)("h1",{className:"text-3xl font-bold leading-tight text-center",children:"Decentralized Social Network - Lens protocol"}),(0,j.jsx)("p",{className:"text-center",children:"This is a decentralized social network built on the Lens protocol."})]})}),a&&a.length>0?(0,j.jsx)(o,{profiles:a}):(0,j.jsx)("div",{className:"text-center text-gray-500 p-5 font-medium text-xl tracking-tight leading-tight",children:(0,j.jsx)("p",{children:"Loading..."})})]})}},9008:function(a,c,b){a.exports=b(5443)}},function(a){a.O(0,[445,774,888,179],function(){var b;return a(a.s=5557)}),_N_E=a.O()}])
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.