PageSourceSearch

https://nftbiker.xyz/_next/static/chunks/pages/pin-ceabf6c6f42e6671.js

js nftbiker.xyz collected 2026-10-03 19:32:54 UTC 22,755 bytes, 40 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1933],{27928:(e,t,n)=>{"use strict";n.d(t,{wl:()=>w,l9:()=>b,yo:()=>v,HI:()=>j});var a=n(37876),r=n(78944),s=n(13666),i=n(7110);n(14232);var l=n(41089),o=n(10164),d=n(48230),c=n.n(d),u=n(35321),p=n(96523);let h=e=>{let t=e.menu,n=e.wallet;return(0,a.jsxs)(o.A,{id:"menu",expand:"md",children:[(0,a.jsx)(o.A.Toggle,{"aria-controls":"basic-navbar-nav"}),(0,a.jsx)(o.A.Collapse,{id:"basic-navbar-nav",children:(0,a.jsxs)(l.A,{className:"me-auto",children:[(0,a.jsx)(c(),{href:"/",className:"nav-link",children:(0,a.jsx)(p.gc,{icon:"home"})}),t.map((e,t)=>{let r=e.href;return(0,s.Ie)(n)||(r+="?wallet="+n),(0,a.jsx)(c(),{href:r,className:"nav-link",children:(0,a.jsxs)(a.Fragment,{children:[!(0,s.Ie)(e.icon)&&(0,a.jsx)(p.gc,{icon:e.icon}),!(0,s.Ie)(e.img)&&(0,a.jsx)(a.Fragment,{children:e.img}),(0,a.jsx)("span",{children:e.title})]})},t)})]})}),(0,a.jsx)("div",{id:"wallet_connector_container",children:(0,a.jsx)(o.A.Text,{children:(0,a.jsx)(u.l,{})})})]})};var m=n(45701),f=n(89099),y=n.n(f),_=n(75067),g=null;function x(e,t){let n=document.getElementById("menu_container");if(!n){(n=document.createElement("div")).id="menu_container";let e=document.getElementById("wrapper");e&&e.insertAdjacentElement("afterbegin",n),g=(0,r.createRoot)(n)}g||(g=(0,r.createRoot)(n)),g.render((0,a.jsx)(_.RouterContext.Provider,{value:y(),children:(0,a.jsx)(h,{menu:t,wallet:e})}))}async function b(){let e=[];return e.push({title:"Gas Station",href:"/mempool",icon:"gas-pump"}),e.push({title:"Drop analysis",href:"/mempool/drop",icon:"chart-bar"}),x("",e)}async function w(e=""){let t=[];t.push({title:"Sales",href:"/fxhash/sales",icon:"money-bill"}),t.push({title:"Secondary",href:"/fxhash/follow",icon:"hand-holding-usd"}),t.push({title:"Offers",href:"/fxhash/offers",icon:"comment-dollar"}),t.push({title:"Project",href:"/fxhash/generative",icon:"clipboard-list"}),t.push({title:"Holders",href:"/fxhash/holders",icon:"users"}),t.push({title:"Broom",href:"/fxhash/floor",icon:"broom"}),t.push({title:"Stats",href:"/fxhash/top",icon:"chart-area"});let n=(0,s.Ie)(e)?await (0,i.connectedWalletAddress)():e;return(0,s.Ie)(n)||n!=m.hQ||t.push({title:"Bids",href:"/fxhash/bids",icon:"gavel"}),x(e,t)}async function j(){let e=s._S.get("wallet"),t=[];return t.push({title:"FXHash",href:"/sales/fxhash"}),t.push({title:"Teia",href:"/sales/teia"}),t.push({title:"Objkt",href:"/sales/objkt"}),t.push({title:"Invalid",href:"/sales/invalid"}),x(e,t)}async function v(e){let t=s._S.get("hide");if((0,s.Ie)(t)||"1"!=t){(0,s.Ie)(e)&&(e=await (0,i.connectedWalletAddress)());let t=[];(0,s.Ie)(e)&&(e=""),t.push({title:"Gallery",href:"/gallery",icon:"palette"}),t.push({title:"Artist",href:"/artist",icon:"chart-bar"}),t.push({title:"Collected",href:"/resale",icon:"hand-holding-usd"}),t.push({title:"Fans",href:"/fans",icon:"users"}),t.push({title:"Gifted",href:"/gifted",icon:"gifts"}),t.push({title:"Flex",href:"/flex",icon:"grin-stars"}),t.push({title:"Activity",href:"/activity",icon:"file-invoice-dollar"}),t.push({title:"Offers",href:"/offers/manage",icon:"comment-dollar"}),t.push({title:"Linked",href:"/discovery",icon:"eye"}),x(e,t)}}},29570:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/pin",function(){return n(88330)}])},63346:(e,t,n)=>{"use strict";n.d(t,{y:()=>u});var a=n(37876),r=n(14232),s=n(13666),i=n(7110),l=n(86615),o=n(66741),d=n(27928),c={};let u=e=>{let[t,n]=(0,r.useState)("");(0,r.useEffect)(()=>{e.monitoring&&p(e.monitoring)},[]),(0,r.useEffect)(()=>{(0,s.Ie)(t)||h(t)},[t]);let u=e=>{let t=document.getElementById("wallet").value;"onBlur"!=e._reactName&&("Enter"!=e.key||e.shiftKey)?"onChange"==e._reactName&&t.match(/(tz|kt).{34}/i)&&!c.multiple&&h(t):h(t)};async function p(t){c=t;let a=s._S.get("wallet");if((0,s.Ie)(a)&&!c.skip_default&&(a=await (0,i.connectedWalletAddress)()),!c.allow_banned&&(0,o.restrictedWallet)(a)){let e=await (0,i.connectedWalletAddress)();((0,s.Ie)(e)||!(0,o.voirPlus)(e))&&(a=null)}if((0,s.Ie)(a)){let t=document.getElementById("wallet");if((a=(0,s.Ie)(t?.value)?null:t.value)&&(0,o.restrictedWallet)(a)){let e=await (0,i.connectedWalletAddress)();((0,s.Ie)(e)||!(0,o.voirPlus)(e))&&(a=null)}if((0,s.Ie)(a)?s._S.delete("wallet"):s._S.set("wallet",a),(0,s.wQ)(),n(a),e.skip_menu)return;let r=d.yo;c.menu&&(r=c.menu),r(a)}else n(a)}async function h(t){let a=d.yo;if(c.menu&&(a=c.menu),String(t).match(/^\s*https?:/im))t=t.replace(/\s+/gi,""),c.hide||(document.getElementById("wallet").value=t,s._S.set("wallet",t),(0,s.wQ)()),c.method&&await c.method(),((0,s.Ie)(e.skip_menu)||!e.skip_menu)&&a(await (0,i.connectedWalletAddress)());else{let r=await (0,s.tS)(t),l=null,d=await (0,i.connectedWalletAddress)();!c.allow_banned&&((0,s.Ie)(d)||!(0,o.voirPlus)(d))&&(r=r.filter(e=>!(0,o.restrictedWallet)(e))),l=c.multiple?r.join(","):r[0],(0,s.Ie)(l)&&n(l=""),c.hide||(document.getElementById("wallet").value=l,(0,s.Ie)(l)?s._S.delete("wallet"):s._S.set("wallet",l),(0,s.wQ)()),((0,s.Ie)(e.skip_menu)||!e.skip_menu)&&a(r[0]),c.method&&await c.method()}}let m=e.monitoring?.multiple||e.multiple?"address1 (tz... or wallet.tez), address2, ..., addressN":"tz... or wallet.tez";e.placeholder&&(m=e.placeholder);let f="80%",y="block";return(e.inline?(f="40%",y+=" inline"):(0,s.Ie)(e.inline)&&(y+=" inline"),(0,s.Ie)(e.width)||(f=e.width),e.monitoring?.hide)?(0,a.jsx)("p",{}):(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:y,children:[(0,a.jsx)(l.A.Label,{children:(0,s.Ie)(e.label)?"Wallet":e.label}),e.textarea?(0,a.jsx)(l.A.Control,{id:"wallet",name:"wallet",as:"textarea",rows:e.rows||3,placeholder:m,onCh
1ange:e=>u(e),onKeyDown:e=>u(e),style:{width:f}}):(0,a.jsx)(l.A.Control,{id:"wallet",name:"wallet",type:"text",placeholder:m,onChange:e=>u(e),onKeyDown:e=>u(e),style:{width:f}}),e.children]})})}},88330:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>q});var a=n(37876),r=n(14232),s=n(77328),i=n.n(s),l=n(91040),o=n(4452),d=n.n(o),c=n(63346),u=n(45701),p=n(13666),h=n(86615),m=n(94220),f=n(74078),y=n(78944),_=n(64228),g=n(93007),x=n(48590);let b=new(d())({maxConcurrent:1,minTime:500}),w=new(d())({maxConcurrent:1,minTime:2e3}),j=`
2query qryNftBiker($address: String!, $skip_contracts: [String!] = [], $limit: Int = 100, $offset: Int = 0) {
3  token(
4    where: {creators: {creator_address: {_eq: $address}, verified: {_eq: true}}, supply: {_gt: 0}, fa_contract: {_nin: $skip_contracts}}
5    order_by: {pk: asc}
6    limit: $limit
7    offset: $offset
8  ) {
9    id: token_id
10    fa2_id: fa_contract
11    title: name
12    supply
13    timestamp
14    mime
15    metadata
16    thumbnail_uri
17    display_uri
18    artifact_uri
19  }
20}
21`,v=`
22query qryNftBiker($address: String!) {
23  onchain {
24    user: user_by_pk(id: $address) {
25      generative_tokens(where: { flag: { _in: ["NONE", "CLEAN"] } }) {
26        id
27        version
28        title: name
29        supply
30        timestamp: created_at
31        slug
32        metadata: metadata_uri
33        thumbnail_uri
34        display_uri
35        artifact_uri: generative_uri
36      }
37    }
38  }
39}
40`;var I=[],k=[],A=!1;let N=e=>null==e?"--":e.pinned?e.timetamps?(0,p.t7)(e.timetamps,"date"):"Yes":"NO",E=e=>(0,p.Ie)(e)?null:e.replace("ipfs://","").split("?")[0].replace(/\/+$/,"");class P{constructor(e){this.can_update_name=!1,this.api_key=e}async do_request(e,t="get",n=null){return(0,l.A)({url:e,method:t,data:n,headers:{Authorization:`Bearer ${this.api_key}`,"Content-Type":"application/json"}}).then(function(e){return e.data}).catch(function(e){return console.error(e),{error:e}})}async pinByHash(e,t){return{error:"Not implemented"}}async getLastPins(e){return{error:"Not implemented"}}async renamePin(e,t){return!this.can_update_name||{error:"Not implemented"}}async getJobs(){return[]}async doPin(e,t,n){if((0,p.Ie)(n))return`${e} error (empty url)`;let a=null,r=null,s=null,i=null;if(a=E(n),r=I.find(e=>e.ipfs_pin_hash==a),s=k.find(e=>e.ipfs_pin_hash==a),r){this.can_update_name&&r.metadata.name!=t&&(i=await b.schedule(()=>this.renamePin(a,t)));let n=r.date_pinned?(0,p.t7)(new Date(r.date_pinned),"date"):"Yes";return`${e} pinned (${n})`}return s?`${e} in queue (${s.status})`:(i=await b.schedule(()=>this.pinByHash(a,t))).error?`${e} error (${i.error})`:`${e} sent (${i.result.status})`}}class $ extends P{constructor(e){super(e),this.base_url="https://rpc.filebase.io/api/v0"}async pinByHash(e,t){let n=`${this.base_url}/pin/add`;return n+=`?arg=${e.replace("ipfs://","")}`,l.A.post(n,null,{headers:{Authorization:`Bearer ${this.api_key}`,"Content-Type":"application/json"}}).then(function(e){return{result:{status:"OK",...e.data}}}).catch(function(e){if(e.response)console.error(e.response),500==e.response.status&&(A=!0);else{if(e.request)return{error:{message:"no response from server"}};console.error(e.message)}return{error:e}})}async getLastPins(e){let t=`${this.base_url}/pin/ls`,n=await this.do_request(t,"post"),a=[];for(let e of Object.keys(n.Keys))a.push({ipfs_pin_hash:e,date_pinned:null,ok:!0,type:n.Keys[e]?.Type});return{pins:a}}}class S extends P{constructor(e){super(e),this.base_url="https://api.4everland.dev"}async pinByHash(e,t){let n=`${this.base_url}/pins`,a={cid:e.replace("ipfs://",""),name:t};return l.A.post(n,a,{headers:{Authorization:`Bearer ${this.api_key}`,"Content-Type":"application/json"}}).then(function(e){return{result:e.data}}).catch(function(e){if(e.response)console.error(e.response),500==e.response.status&&(A=!0);else{if(e.request)return{error:{message:"no response from server"}};console.error(e.message)}return{error:e}})}async getLastPins(e=0){let t=`${this.base_url}/pins?limit=1000`,n=await this.do_request(t,"get"),a=[];for(let e of n.results)e.ipfs_pin_hash=e.pin.cid,e.date_pinned=e.created,e.metadata=e.pin.metas||{},e.metadata.name=e.pin.name,a.push(e);return{pins:a}}}class B extends P{constructor(e,t){super(e),this.need_paid_account=!1,this.group_id=t}async pinByHash(e,t){let n={hashToPin:e.replace("ipfs://",""),pinataMetadata:{name:t}};return(0,p.Ie)(this.group_id)||(n.pinataOptions={groupId:this.group_id}),l.A.post("https://api.pinata.cloud/pinning/pinByHash",n,{headers:{Authorization:`Bearer ${this.api_key}`}}).then(e=>({result:e.data}
40)).catch(e=>{let t=e.response?.data?.error;return e.response?(403==e.response.status&&t?.reason=="PAID_FEATURE_ONLY"&&(this.need_paid_account=!0),500==e.response.status&&(A=!0),{error:t?.details||t?.reason||e}):e.request?{error:{message:"no response from server"}}:(console.error(e.message),{error:t||e})})}async getLastPins(e){e=(0,p.Ie)(e)?0:parseInt(e);let t="https://api.pinata.cloud/data/pinList?status=pinned&pageLimit=1000";e>0&&(t+=`offset=${1e3*e}`);let n=await w.schedule(()=>this.do_request(t));if((0,p.Ie)(n.rows))return{pins:[]};let a={pins:n.rows};if(a.pins.length<1e3)return a;let r=await this.getLastPins(e+1);return r.rows&&(a.pins=a.pins.concat(r.rows)),r.error&&(a.error=r.error),a}async getJobs(){return(await w.schedule(()=>this.do_request("https://api.pinata.cloud/pinning/pinJobs?limit=1000"))).rows||[]}async renamePin(e,t){return l.A.put("https://api.pinata.cloud/pinning/hashMetadata",{ipfsPinHash:e,name:t},{headers:{Authorization:`Bearer ${this.pinataJWT}`}}).then(function(e){return{result:!0}}).catch(function(e){if(e.response)console.error(e.response),500==e.response.status&&(A=!0);else{if(e.request)return{error:{message:"no response from server"}};console.error(e.message)}return{error:e}})}}async function T(e){let[t,n]=await Promise.all([C(e),L(e)]),a=t.concat(n);return a.sort((e,t)=>t.timestamp-e.timestamp),a}async function C(e,t=0){if((0,p.Ie)(e))return[];let{errors:n,data:a}=await (0,p.R_)(j,"qryNftBiker",{address:e,limit:u.vZ,offset:t*u.vZ,skip_contracts:u.yZ});if(n)return(0,p.Qg)(n),[];let r=a.token||[];return(r.forEach(e=>{e.uuid=`${e.fa2_id}_${e.id}`,e.timestamp=new Date(e.timestamp),e.pinned={}}),r.length<u.vZ)?r:r.concat(await C(e,t+1))}async function L(e){if((0,p.Ie)(e))return[];let{errors:t,data:n}=await (0,p.Kh)(v,"qryNftBiker",{address:e});if(t)return(0,p.Qg)(t),[];let a=n.onchain?.user?.generative_tokens||[];return a.forEach(e=>{e.fa2_id=(0,x.yu)(e.id),e.uuid=`${e.fa2_id}_${e.id}`,e.mime="application/x-directory",e.timestamp=new Date(e.timestamp),e.pinned={}}),a}function q(){let[e,t]=(0,r.useState)(),[n,s]=(0,r.useState)(),[l,o]=(0,r.useState)(),[d,u]=(0,r.useState)(),[x,b]=(0,r.useState)(),[w,j]=(0,r.useState)(),[v,P]=(0,r.useState)();(0,r.useEffect)(()=>{let e=localStorage.getItem("pinata_key");(0,p.Ie)(e)||t(e),e=localStorage.getItem("pinata_group"),(0,p.Ie)(e)||s(e),e=localStorage.getItem("filebase_key"),(0,p.Ie)(e)||o(e),e=localStorage.getItem("everland_key"),(0,p.Ie)(e)||u(e),e=localStorage.getItem("use_api"),(0,p.Ie)(e)&&(e="filebase"),b(e),"1"==String(p._S.get("pin_thumb"))&&j(!0)},[]),(0,r.useEffect)(()=>{(0,p.Ie)(x)||"pinata"==x&&(0,p.Ie)(e)||"filebase"==x&&(0,p.Ie)(l)||"everland"==x&&(0,p.Ie)(d)||!(0,p.Ie)(v)&&(0,p.Ie)(I)&&W()},[e,l,d,x,v]);let C=e=>{let t=document.querySelector('input[name="use_api"]:checked').value;localStorage.setItem("use_api",t),I=null,b(t)},L=e=>{if(!e||"Enter"===e.key||"onBlur"==e._reactName){let e=document.getElementById("pinata_key").value.trim();localStorage.setItem("pinata_key",e),t(e)}},q=e=>{if(!e||"Enter"===e.key||"onBlur"==e._reactName){let e=document.getElementById("filebase_key").value.trim();localStorage.setItem("filebase_key",e),o(e)}},F=e=>{if(!e||"Enter"===e.key||"onBlur"==e._reactName){let e=document.getElementById("everland_key").value.trim();localStorage.setItem("everland_key",e),u(e)}},K=e=>{if(!e||"Enter"===e.key||"onBlur"==e._reactName){let e=document.getElementById("pinata_group").value.trim();localStorage.setItem("pinata_group",e),s(e)}};function H(e){if((0,p.Ie)(e))return{pinned:!1};let t=E(e),n=I.find(e=>e.ipfs_pin_hash==t);return n?{pinned:n.ok||!!n.date_pinned,timetamps:n.date_pinned?new Date(n.date_pinned):null}:{pinned:!1}}function D(){return"pinata"==x?new B(e,n):"everland"==x?new S(d):new $(l)}async function W(){if(!(0,p.Ie)(I))return!0;let e=D(),t=await e.getLastPins();if(t.error)return I=[],(0,p.Qg)({message:"Unable to retrieve pinned content from your account. It can be because of a network error, or because you are overquota (if so, upgrade your subscription) - "+t.error.status},{raw:!0}),!1;if(I=t.pins,!((0,p.Ie)(v)||(0,p.Ie)(I))){for(let e of v)e.pinned={},e.pinned.metadata=H(e.metadata),e.pinned.artifact=H(e.artifact_uri),e.pinned.display=H(e.display_uri),e.pinned.thumbnail=H(e.thumbnail_uri);P([...v])}return k=await e.getJobs(),(0,p.Ie)(k)&&(k=[]),!0}async function R(){(0,p.Lq)(!0);let e=(0,p.lk)(!0);if(!e)return!1;P(await T(e)),I=[],(0,p.Vw)()}async function M(e,t,n){let r=document.createElement("div"),s=`#${t.uuid} - ${t.title}`,i=[];i.push(await e.doPin("artifact",`${t.uuid}_artifact`,t.artifact_uri)),i.push(await e.doPin("display",`${t.uuid}_display`,t.display_uri)),i.push(await e.doPin("metas",`${t.uuid}_metas`,t.metadata)),w&&i.push(await e.doPin("thumbnail",`${t.uuid}_thumbnail`,t.thumbnail_uri)),(0,y.createRoot)(r).render((0,a.jsxs)(a.Fragment,{children:[s," - ",i.join(" - ")]})),n.append(r),A&&((r=document.createElement("p")).innerHTML="Error - cooling down and will continue automatically in 5 minutes. Exit/Reload the page to abort.",n.append(r),await new Promise(e=>setTimeout(e,3e5)),A=!1,M(e,t,n))}async function O(t){let n;if(n=(0,p.lk)(!0),(0,p.Ie)(n)?((0,p.Qg)({message:"You must provide a wallet"},{raw:!0}),!0):"pinata"==x&&(0,p.Ie)(e)?((0,p.Qg)({message:"You must provide your pinata JWT Key"},{raw:!0}),!0):"filebase"==x&&(0,p.Ie)(l)?((0,p.Qg)({message:"You must provide your Filebase API Key"},{raw:!0}),!0):"everland"==x&&(0,p.Ie)(d)?((0,p.Qg)({message:"You must provide your Everland API Key"},{raw:!0}),!0):!n)return;let a=document.getElementById("pin_results");if(t?a.innerHTML="<br/>":a.innerHTML="",a.innerHTML=`<b>Start pinning minted artworks : ${v.length} tokens found</b><br/>`,(0,p.Ie)(v)){let e=document.createElement("p");return e.innerHTML="We can't find any artwork minted by this wallet",a.append(e),!0}let r=D();for(let e of v)if(await M(r,e,a),r.need_paid_account){let e=document.createElement("p");e.innerHTML="Pinning failed because of quota limits. Please upgrade your Pinata subscription.",a.append(e);break}let s=document.createElement("p");return s.innerHTML="<b>Pinning done</b>",a.append(s),!0}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i(),{children:(0,a.jsx)("title",{children:"Pin your art - Tezos NFT Tools"})}),(0,a.jsxs)("div",{id:"input",children:[(0,a.jsx)("h2",{children:"Pin your art"}),(0,a.jsx)("div",{children:"This tool allows you to pin your own creations to various ipfs pinning services. You can use this tool as many time as you wish, only unpinned artworks will be added."}),(0,a.jsx)("p",{children:(0,a.jsx)("b",{children:"IMPORTANT: If you are going to pin a lot of artworks, make sure to upgrade your subscription, otherwise, pinning will start to mass fail if you go above your free quota."})}),(0,a.jsx)(c.y,{monitoring:{noop:!0}}),(0,a.jsx)("div",{className:"block",children:(0,a.jsxs)("div",{className:"btn-group",role:"group",children:[(0,a.jsx)("input",{type:"radio",className:"btn-check",name:"use_api",id:"api_filebase",checked:"filebase"==x,onChange:C,value:"filebase"}),(0,a.jsx)("label",{className:"btn btn-sm btn-outline-secondary",htmlFor:"api_filebase",children:"Filebase"}),(0,a.jsx)("input",{type:"radio",className:"btn-check",name:"use_api",id:"api_pinata",checked:"pinata"==x,onChange:C,value:"pinata"}),(0,a.jsx)("label",{className:"btn btn-sm btn-outline-secondary",htmlFor:"api_pinata",children:"Pinata"}),(0,a.jsx)("input",{type:"radio",className:"btn-check",name:"use_api",id:"api_everland",checked:"everland"==x,onChange:C,value:"everland"}),(0,a.jsx)("label",{className:"btn btn-sm btn-outline-secondary",htmlFor:"api_everland",children:"4Everland"})]})}),"pinata"==x&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"block",children:["To use Pinata, you need to"," ",(0,a.jsx)("a",{href:"https://app.pinata.cloud/developers/api-keys",target:"_blank",children:"generate an api key"})," ","with the ",(0,a.jsx)("b",{children:"following legacy endpoint activated"}),":",(0,a.jsxs)("ul",{children:[(0,a.jsx)("li",{children:"Key name : whatever helps you to remember that the api key is for use on this tool"}),(0,a.jsx)("li",{children:"Pinning : hashMetadata, pinByHash, pinJobs, unpin"}),(0,a.jsx)("li",{children:"Data : pinList, userPinnedDataTotal"})]}),"You can also provide a pinata Group ID to get all your artworks pinned in that group for organization purposes."]}),(0,a.jsxs)(m.A,{children:[(0,a.jsx)(f.A,{xs:"6",md:"4",children:(0,a.jsxs)(h.A.Group,{controlId:"pinata_key",children:[(0,a.jsx)(h.A.Label,{children:"Pinata JWT Key"}),(0,a.jsx)(h.A.Control,{type:"text",defaultValue:e,onKeyDown:e=>L(e),onBlur:e=>L(e)})]})}),(0,a.jsx)(f.A,{xs:"6",md:"4",children:(0,a.jsxs)(h.A.Group,{controlId:"pinata_group",children:[(0,a.jsx)(h.A.Label,{children:"Pinata Group ID"}),(0,a.jsx)(h.A.Control,{type:"text",defaultValue:n,onKeyDown:e=>K(e),onBlur:e=>K(e)})]})})]})]}),"filebase"==x&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"block",children:["To use Filebase, you need to"," ",(0,a.jsx)("a",{href:"https://console.filebase.com/signup?ref=0cfb8b0c7019",target:"_blank",children:"create an account"}),", then create a bucket and generate an IPFS RPC API Keys for this bucket."]}),(0,a.jsx)(m.A,{children:(0,a.jsx)(f.A,{xs:"6",md:"4",children:(0,a.jsxs)(h.A.Group,{controlId:"filebase_key",children:[(0,a.jsx)(h.A.Label,{children:"Filebase RPC API Key"}),(0,a.jsx)(h.A.Control,{type:"text",defaultValue:l,onKeyDown:e=>q(e),onBlur:e=>q(e)})]})})})]}),"everland"==x&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"block",children:["To use Everland, you need to"," ",(0,a.jsx)("a",{href:"https://dashboard.4everland.org/bucket/pinning-service",target:"_blank",children:"get a pinning Access key"})]}),(0,a.jsx)(m.A,{children:(0,a.jsx)(f.A,{xs:"6",md:"4",children:(0,a.jsxs)(h.A.Group,{controlId:"everland_ke
40y",children:[(0,a.jsx)(h.A.Label,{children:"Everland Access Key"}),(0,a.jsx)(h.A.Control,{type:"text",defaultValue:d,onKeyDown:e=>F(e),onBlur:e=>F(e)})]})})})]}),(0,a.jsx)(m.A,{children:(0,a.jsx)(f.A,{xs:"12",children:(0,a.jsx)(h.A.Check,{inline:!0,type:"switch",id:"pin_thumb",label:"Pin thumbnails (it may speed up pages showing list of artworks)",className:"secondary",defaultChecked:w,onChange:()=>{let e=document.getElementById("pin_thumb").checked;e?p._S.set("pin_thumb",1):p._S.delete("pin_thumb"),j(e),(0,p.wQ)()}})})}),(0,a.jsx)(m.A,{children:(0,a.jsx)(f.A,{xs:"12",children:(0,a.jsx)("div",{className:"multi-btn block",children:(0,p.Ie)(v)?(0,a.jsx)("a",{href:"#",onClick:e=>R(),className:"btn btn-secondary",children:"GET CREATIONS"}):(0,a.jsx)("a",{href:"#",onClick:e=>O(),className:"btn btn-secondary",children:"PIN ARTWORKS"})})})})]}),(0,a.jsx)("div",{id:"pin_results"}),(0,a.jsx)(_.Q,{children:!(0,p.Ie)(v)&&(0,a.jsxs)("table",{id:"tokens",className:"sortable",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Title"}),(0,a.jsx)("th",{className:"right sorttable_numeric",children:"Supply"}),(0,a.jsx)("th",{className:"right sorttable_nosort",children:"Metadata"}),(0,a.jsx)("th",{className:"right sorttable_nosort",children:"Artifact"}),(0,a.jsx)("th",{className:"right sorttable_nosort",children:"Display"}),(0,a.jsx)("th",{className:"right sorttable_nosort",children:"Thumbnail"}),(0,a.jsx)("th",{className:"right sorttable_nosort",children:"Mime"}),(0,a.jsx)("th",{children:"Created"}),(0,a.jsx)("th",{children:"History"})]})}),(0,a.jsx)("tbody",{children:v.map((e,t)=>{let n=e.pinned||{};return(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:(0,g.Mz)(e.uuid,e.title)}),(0,a.jsx)("td",{className:"right",children:e.supply}),(0,a.jsx)("td",{className:"right",children:N(n.metadata)}),(0,a.jsx)("td",{className:"right",children:N(n.artifact)}),(0,a.jsx)("td",{className:"right",children:N(n.display)}),(0,a.jsx)("td",{className:"right",children:N(n.thumbnail)}),(0,a.jsx)("td",{className:"right",children:e.mime}),(0,a.jsx)("td",{children:(0,p.t7)(e.timestamp)}),(0,a.jsx)("td",{children:(0,g.QX)(e.uuid)})]},e.uuid)})})]})})]})}q.layout="skip_result",q.acl="artist"},94220:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var a=n(15039),r=n.n(a),s=n(14232),i=n(64272),l=n(37876);let o=s.forwardRef(({bsPrefix:e,className:t,as:n="div",...a},s)=>{let o=(0,i.oU)(e,"row"),d=(0,i.gy)(),c=(0,i.Jm)(),u=`${o}-cols`,p=[];return d.forEach(e=>{let t,n=a[e];delete a[e],null!=n&&"object"==typeof n?{cols:t}=n:t=n;let r=e!==c?`-${e}`:"";null!=t&&p.push(`${u}${r}-${t}`)}),(0,l.jsx)(n,{ref:s,...a,className:r()(t,o,...p)})});o.displayName="Row";let d=o}},e=>{e.O(0,[8802,9140,4452,636,6593,8792],()=>e(e.s=29570)),_N_E=e.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.