PageSourceSearch

https://nfthive.io/_next/static/chunks/pages/links-5188d55d5a201934.js

js nfthive.io collected 2026-10-03 21:22:37 UTC 3,231 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[935],{30176:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/links",function(){return t(3981)}])},3981:function(e,n,t){"use strict";t.r(n);var s=t(30137),r=t(76341),a=t(67462),i=t(98732),u=t(97582),c=t(85893),o=t(48070),l=t(67294),d=t(42551),f=t(14503),h=t(8163),v=t(84723),y=t(70416),_=t(49785);n.default=function(e){var n,t,p=(0,i._)((0,l.useState)(!1),2),m=p[0],b=p[1],k=(0,i._)((0,_.Oc)(),1)[0],w=null==k?void 0:k.activeUser,x=(null==w?void 0:w.accountName)?null==k?void 0:k.activeUser.accountName:null,K=(n=(0,s._)(function(e){var n,t,s,r,a,i,c,l,d,v,y,_,p,m,k,N,P,g,E,I,S,j,q,O,U,C,Z,z;return(0,u.Jh)(this,function(u){switch(u.label){case 0:n=[],t=!0,s=!1,r=void 0,u.label=1;case 1:u.trys.push([1,6,7,8]),a=e[Symbol.iterator](),u.label=2;case 2:if(t=(i=a.next()).done)return[3,5];return c=i.value,[4,o.Keygen.generateMasterKeys()];case 3:l=u.sent(),n.push({assetIds:c.assetIds,publicKey:l.publicKeys.active,privateKey:l.privateKeys.active}),u.label=4;case 4:return t=!0,[3,2];case 5:return[3,8];
1case 6:return d=u.sent(),s=!0,r=d,[3,8];case 7:try{t||null==a.return||a.return()}finally{if(s)throw r}return[7];case 8:v=!0,y=!1,_=void 0,u.label=9;case 9:u.trys.push([9,16,17,18]),p=n[Symbol.iterator](),u.label=10;case 10:if(v=(m=p.next()).done)return[3,15];return k=m.value,(N=[]).push({account:"atomictoolsx",name:"announcelink",authorization:[{actor:x,permission:w.requestPermission?w.requestPermission:"active"}],data:{creator:x,key:k.publicKey,asset_ids:k.assetIds,memo:"Berlin Web3"}}),N.push({account:"atomicassets",name:"transfer",authorization:[{actor:x,permission:w.requestPermission?w.requestPermission:"active"}],data:{from:x,to:"atomictoolsx",asset_ids:k.assetIds,memo:"link"}}),[4,w.session.transact({actions:N},{expireSeconds:300,blocksBehind:0})];case 11:P=u.sent(),g=null,u.label=12;case 12:if(g)return[3,14];return[4,(0,f.fo)(null===(I=P)||void 0===I?void 0:null===(E=I.response)||void 0===E?void 0:E.transaction_id)];case 13:if((g=u.sent())||(0,h._v)(1e3),g&&Object.keys(g).includes("actions")){S=!1,j=!0,q=!1,O=void 0;try{for(U=g.actions[Symbol.iterator]();!(j=(C=U.next()).done);j=!0)Z=C.value,"lognewlink"===Z.act.name&&(z=Z.act.data.link_id,(0,f.U2)("loglink?asset_ids=".concat(k.assetIds,"&link_id=").concat(z,"&key=").concat(k.privateKey)).then(K),S=!0)}catch(e){q=!0,O=e}finally{try{j||null==U.return||U.return()}finally{if(q)throw O}}S||(g=null)}else g=null;return[3,12];case 14:return v=!0,[3,10];case 15:return[3,18];case 16:return d=u.sent(),y=!0,_=d,[3,18];case 17:try{v||null==p.return||p.return()}finally{if(y)throw _}return[7];case 18:return b(!1),[2]}})}),function(e){return n.apply(this,arguments)}),N=(t=(0,s._)(function(){return(0,u.Jh)(this,function(e){return b(!0),(0,f.U2)("giveaway-nfts").then(K),[2]})}),function(){return t.apply(this,arguments)});return(0,c.jsx)(y.Z,(0,a._)((0,r._)({id:"LinkPage",banners:!1},e),{children:m?(0,c.jsx)(v.Z,{}):(0,c.jsx)(d.Z,{onClick:N,children:"Generate"})}))}},20067:function(){},52361:function(){},94616:function(){}},function(e){e.O(0,[5733,8802,7470,5890,8070,8426,9774,2888,179],function(){return e(e.s=30176)}),_N_E=e.O()}]);
2//# sourceMappingURL=links-5188d55d5a201934.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.