1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="398a4ad3-0554-405f-877a-da4d25c3ffe3",e._sentryDebugIdIdentifier="sentry-dbid-398a4ad3-0554-405f-877a-da4d25c3ffe3")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"d2911879bc35c39df91a8e85b8eeba45c19f4ad7"},(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3539],{93068:function(e,a,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/coin/[slug]",function(){return n(55834)}])},39161:function(e,a){"use strict";a.Z={src:"/_next/static/media/wallet.6f2defcb.png",height:512,width:512,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAG1BMVEX///////////////////////////////////8HBRbfAAAACHRSTlPGVOBXJ3KoJp6AQUkAAAAJcEhZcwAADdcAAA3XAUIom3gAAAAmSURBVHicY2BhZmRkZGRmZ2DiAAMmBijFAGYwsLKhMcBScMUw7QAtaAE9YmU0VQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8}},94284:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return DatePicker}});var t=n(82729),l=n(85893),r=n(70714),i=n(9198),o=n.n(i),s=n(69119),c=n(83894);function _templateObject(){let e=(0,t._)(["\n background: transparent;\n color: inherit;\n border: initial;\n padding: 11px;\n margin: 0;\n border-radius: 4px;\n font-size: 16px;\n width: 100px;\n"]);return _templateObject=function(){return e},e}n(65973);let d=(0,r.default)(o()).withConfig({componentId:"sc-517ce282-0"})(_templateObject());function DatePicker(e){let{value:a,onChange:n,policy:t="startOfDay",...r}=e;return(0,l.jsx)(d,{selected:a,onChange:e=>{n(e&&("startOfDay"===t?(0,s.Z)(e):"endOfDay"===t?(0,c.Z)(e):e))},...r})}},59748:function(e,a,n){"use strict";n.d(a,{Z:function(){return DateTimePicker}});var t=n(85893),l=n(74201),r=n(1238),i=n(94200),o=n(82729),s=n(99517),c=n.n(s),d=n(70714);function _templateObject(){let e=(0,o._)(["\n background: transparent;\n color: inherit;\n border: initial;\n padding: 11px;\n margin: 0;\n border-radius: 4px;\n font-size: 16px;\n width: 44px !important;\n"]);return _templateObject=function(){return e},e}let h=(0,d.default)(c()).withConfig({componentId:"sc-5bb5efd3-0"})(_templateObject());function TimePicker(e){return(0,t.jsx)(h,{...e})}var u=n(94284);function DateTimePicker(e){let{value:a,onChange:n}=e,o=(0,l.Z)(a,"HH:mm");return(0,t.jsxs)(i.x,{direction:"row",children:[(0,t.jsx)(TimePicker,{value:o,onChange:(e,t)=>
1{let l=(0,r.Z)(t,"HH:mm",a);n(l)}}),(0,t.jsx)(u.default,{value:a,onChange:n,policy:""})]})}},81075:function(e,a){"use strict";a.Z=["BNB","ETH","MATIC","USDT","BUSD","DOGE","AVAX","Other"]},6543:function(e,a){"use strict";a.Z=["Normal Presale","Fair launch","Manual list","Auction","Subscription"]},46816:function(e,a,n){"use strict";n.d(a,{K:function(){return getGithubKycUrl},b:function(){return getCoinscopeKycLink}});let getGithubKycUrl=(e,a)=>"premium"===a?"https://github.com/cyberscope-io/kyc/blob/main/".concat(e,"/kyc.png"):"https://github.com/coinscope-co/kyc/blob/main/".concat(e,"/kyc.png"),getCoinscopeKycLink=e=>"https://www.coinscope.co/coin/".concat(e,"/kyc")},15053:function(e,a,n){"use strict";var t=n(85893),l=n(81392),r=n(1958),i=n(67294);let o=(0,i.forwardRef)((e,a)=>(0,t.jsx)(l.N.Extend,{value:{button:{border:{width:"1px",color:"#313d5b"}}},children:(0,t.jsx)(r.z,{size:"small",gap:"xsmall",ref:a,...e})}));a.Z=o},84706:function(e,a,n){"use strict";var t=n(85893),l=n(5152),r=n.n(l),i=n(77985),o=n(89755),s=n.n(o),c=n(14915),d=n(94200),h=n(41664),u=n.n(h),p=n(43090),x=n(15053),g=n(54419),b=n(39161),m=n(61597);let j=r()(()=>n.e(5366).then(n.bind(n,35366)),{loadableGenerated:{webpack:()=>[35366]}}),f=r()(()=>n.e(2080).then(n.bind(n,62080)),{loadableGenerated:{webpack:()=>[62080]}});a.Z=e=>{let{suffix:a,networksPicker:n=!0,...l}=e,{isActivating:r,isActive:o,account:h}=(0,i.useWeb3React)(),k=(0,p.RE)();return r?(0,t.jsx)(x.Z,{icon:(0,t.jsx)(c.$,{pad:"4px",size:"xsmall"}),label:"Activating",disabled:!0,...l}):o&&h?k?(0,t.jsx)(f,{...l}):(0,t.jsx)(j,{suffix:a,...l}):(0,t.jsxs)(d.x,{direction:"row",gap:"xsmall",justify:"center",...l,children:[n&&(0,t.jsx)(m.Z,{}),(0,t.jsx)(u(),{href:{hash:"providers"},passHref:!0,legacyBehavior:!0,children:(0,t.jsx)(x.Z,{icon:(0,t.jsx)(s(),{width:"18px",height:"18px",src:b.Z,alt:"Wallet Connect"}),label:(0,g.Z)("Connect",a)})})]})}},54419:function(e,a){"use strict";a.Z=(e,a)=>[e,a].filter(Boolean).join(" ")},61597:function(e,a,n){"use strict";n.d(a,{Z:function(){return networksPicker}});var t=n(82729),l=n(85893),r=n(70714),i=n(78560),o=n(14915),s=n(94200),c=n(18087),d=n(7),h=n(77985),u=n(88216),p=n(43090),x=n(17373),g=n(89755),b=n.n(g),m=n(44895),j=n(85162),icon=e=>{let{chainId:a,...n}=e,{icon:t,name:r}=j.s[a];return(0,l.jsx)(m.Box,{round:"20px",overflow:"hidden",children:(0,l.jsx)(b(),{alt:r,width:"28px",height:"28px",objectFit:"cover",src:t,...n})})};function _templateObject(){let e=(0,t._)(["\n border: 1px solid\n ",";\n border-radius: 30px;\n > div {\n padding: ",";\n }\n"]);return _templateObject=function(){return e},e}let f=(0,r.default)(i.v).withConfig({componentId:"sc-987be81-0"})(_templateObject(),e=>{let{theme:a,supportedNetwork:n}=e;return n?a.global.colors.border.dark:a.global.colors["status-warning"]},e=>{let{supportedNetwork:a}=e;return a?"0":"4px 18px"});var networksPicker=e=>{let{label:a,rest:n}=e,{chainId:t,isActivating:r,isActive:i}=(0,h.useWeb3React)(),g=(0,p.gm)(),b=(0,p.RE)(),m=(0,x.Z)();if(r||!i)return(0,l.jsx)(o.$,{pad:"xsmmall",alignSelf:"center"});if(1===g.length)return(0,l.jsx)(icon,{chainId:t,...n});let j=g.map(e=>{let{name:a}=u.networkById[e];return{label:(0,l.jsxs)(s.x,{gap:"xsmall",align:"center",direction:"row",children:[(0,l.jsx)(icon,{chainId:e}),(0,l.jsx)(c.x,{size:"small",children:a})]}),onClick:()=>m(e),disabled:e===t}},[g]),k=b?"border":"status-warning";return(0,l.jsx)(f,{alignSelf:"center",supportedNetwork:b,items:j,color:k,dropProps:{elevation:"none",background:"white",border:{side:"bottom"},round:"xsmall",stretch:!0,margin:{top:"xsmall"},zIndex:200,align:{top:"bottom",right:"right"}},size:"small",icon:(0,l.jsxs)(s.x,{direction:"row",align:"center",children:[!a&&(0,l.jsx)(icon,{chainId:t}),(0,l.jsx)(d.I,{color:k})]}),label:a,...n})}},17373:function(e,a,n){"use strict";n.d(a,{Z:function(){return connect_useSwitch}});var t=n(37918),l=n(77985),r=n(94299),i=n(21155),o=n(9279),s=n(85162),web3_getChainIdParameter=e=>{let{name:a,symbol:n,rpc:l,makeExplorerAddressLink:r}=s.s[e];return{chainId:t.utils.toHex(e),chainName:a,nativeCurrency:{name:a,symbol:n,decimals:18},rpcUrls:[l],blockExplorerUrls:[new URL(r(o.d)).origin]}}
1,c=n(43090),connect_useSwitch=()=>{let e=(0,i.zn)(),{connector:a,provider:n,account:o}=(0,l.useWeb3React)(),s=(0,c.A3)();return o?async l=>{let addNetwork=async()=>{try{await n.provider.request({method:"wallet_addEthereumChain",params:[web3_getChainIdParameter(l)]})}catch(n){let a=(null==n?void 0:n.message)||"Something Went Wrong.";e.warning(a)}};try{if(s(!0),a instanceof r.MetaMask)return await n.provider.request({method:"wallet_switchEthereumChain",params:[{chainId:t.utils.toHex(l)}]});await a.activate(web3_getChainIdParameter(l))}catch(t){if(4902===t.code)return await addNetwork();let n=(null==t?void 0:t.message.indexOf("wallet_switchEthereumChain"))?"WalletConnect"===a.name?"Please change network from your wallet.":"Pending switch network request.":(null==t?void 0:t.message)||"Something Went Wrong.";e.error(n)}finally{s(!1)}}:async e=>await a.activate(e)}},55834:function(e,a,n){"use strict";n.r(a),n.d(a,{default:function(){return CoinPage}});var t=n(85893),l=n(11163),r=n(32704),i=n(10251),o=n.n(i),s=n(64370),c=n(94200),d=n(1958),h=n(77310),u=n(59459),p=n(89592),x=n(58769),g=n(18087),b=n(5152),m=n.n(b),j=n(41664),f=n.n(j),k=n(67294),v=n(16723),w=n(21155),C=n(94284),y=n(7523),A=n(81075),W=n(6543),D=n(49734),E=n(69119),T=n(71441);function FieldSet(e){return(0,t.jsx)(c.x,{pad:"medium",gap:"medium",border:{color:"dark-3"},animation:"fadeIn",...e})}var S=n(65326),P=n(46816),B=n(6154),_=n(91521),Z=n(97407);function ConfirmDeliver(e){let{coin:a,slug:n}=e,{type:l}=a.kyc,[r,i]=(0,S.Wc)(a),[o,s,h]=function(e,a){let n=(0,Z.Z)(),t=(0,w.zn)(),[l,r,i]=(0,_.Z)({action:(a,l)=>n.user.getIdToken().then(n=>B.Z.post("/api/admin/kyc/".concat(e,"/deliver"),{deliver:l,...a},{headers:{authorization:n}}).then(e=>({...e.data,deliver:l})).catch(e=>{let a=e.response&&e.response.data&&e.response.data.message||e.toString();t.error(a)}))},[n,e]);return[l,r,i]}(n),u=h||!r.name,p=(null==s?void 0:s.deliver)&&["Hello,","Your KYC certification is ready\n",(0,P.K)(n,l)+"\n",(0,P.b)(n)+"\n",(null==s?void 0:s.twitterLink)?s.twitterLink+"\n":"",r.promotedDays>0&&"We will now move you to promoted list for the next ".concat(1===r.promotedDays?"24 hours":"".concat(r.promotedDays," days"),", to help build hype to your project and celebrate the KYC Result!\n"),"Good luck with your project.","Thank you for choosing Cyberscope!"].filter(Boolean).join("\n");return(0,t.jsxs)(c.x,{gap:"small",border:!0,pad:"medium",background:h?"status-disabled":void 0,children:[(0,t.jsx)(S.jf,{values:r,onChange:i}),(0,t.jsxs)(c.x,{children:[(0,t.jsx)(g.x,{weight:"bold",children:"What will happen"}),(0,t.jsxs)(c.x,{as:"ul",children:[(0,t.jsx)("li",{children:"Check the github pdf link"}),(0,t.jsx)("li",{children:"Save as finished"}),r.promotedDays>0&&(0,t.jsxs)("li",{children:["Schedule promotion for the next ",r.promotedDays," days"]}),(0,t.jsx)("li",{children:"Create kyc image"}),r.enableTwitter&&r.twitter&&(0,t.jsxs)("li",{children:["Post on Twitter,
1check if"," ",(0,t.jsx)("a",{rel:"noreferrer",target:"_blank",href:"https://twitter.com/".concat(r.twitter),children:r.twitter})," ","is valid"]}),r.enableTelegram&&(0,t.jsx)("li",{children:"Post on telegram channel"})]})]}),(0,t.jsx)(d.z,{onClick:()=>o({type:l,...r},!1),label:"1. Generate KYC Image",disabled:u}),(0,t.jsx)(d.z,{onClick:()=>o({type:l,...r},!0),label:"2. Deliver",disabled:u||!s}),s&&(0,t.jsx)(S.Xv,{deliveryText:p,deliverData:s,deliveryImageName:"kyc.png"})]})}function Deliver(e){let{slug:a,coin:n}=e,[l,r]=(0,k.useState)(!1);return l?(0,t.jsx)(ConfirmDeliver,{slug:a,coin:n}):(0,t.jsx)(d.z,{onClick:()=>r(!0),label:"Start Deliver Process"})}function Kyc(e){let{value:a,onChange:n,coin:l,...r}=e,change=(e,t)=>n({...a,[e]:t});return(0,t.jsxs)(FieldSet,{...r,children:[(0,t.jsx)(Deliver,{slug:l.slug,coin:l}),(0,t.jsx)(h.W,{label:"Type",contentProps:{border:!1},...r,children:(0,t.jsxs)(c.x,{direction:"row",gap:"small",margin:{top:"xsmall"},children:[(0,t.jsx)(T.E,{name:"kycType",checked:"basic"===a.type,label:"Basic",onChange:()=>change("type","basic")}),(0,t.jsx)(T.E,{name:"kycType",checked:"premium"===a.type,label:"Premium",onChange:()=>change("type","premium")})]})}),(0,t.jsx)(s.J,{label:"Finished",checked:!!a.finished,onChange:()=>n({...!a.finished&&!a.finishedAt&&{finishedAt:(0,E.Z)(new Date)},finished:!a.finished})}),a.finishedAt&&(0,t.jsx)(h.W,{label:"Finish date",children:(0,t.jsx)(C.default,{value:a.finishedAt,onChange:e=>change("finishedAt",e)})})]})}var V=n(98647),I=n(84706),z=n(43090);let U=m()(()=>Promise.all([n.e(5057),n.e(7762),n.e(2983),n.e(8936),n.e(9824)]).then(n.bind(n,29824)),{loadableGenerated:{webpack:()=>[29824]}}),H=m()(()=>Promise.all([n.e(5057),n.e(7762),n.e(2983),n.e(7757),n.e(8936),n.e(9878)]).then(n.bind(n,79878)),{loadableGenerated:{webpack:()=>[79878]}});function Airdrops(e){let{slug:a,network:n,value:l,onChange:r,...i}=e,o=(0,z.h9)(),c=n===o,change=(e,a)=>r({...l,[e]:a});return(0,t.jsxs)(FieldSet,{...i,children:[(0,t.jsx)(h.W,{label:"Airdrop Contract",children:(0,t.jsx)(u.o,{value:l.airdropContract,onChange:e=>change("airdropContract",e.target.value)})}),(0,t.jsx)(h.W,{label:"Amount",children:(0,t.jsx)(u.o,{value:l.amount,onChange:e=>change("amount",+e.target.value),type:"number"})}),(0,t.jsx)(h.W,{label:"Winners",children:(0,t.jsx)(u.o,{value:l.winners,onChange:e=>change("winners",+e.target.value),type:"number"})}),(0,t.jsx)(h.W,{label:"Total Votes",children:(0,t.jsx)(u.o,{value:l.totalVotes,onChange:e=>change("totalVotes",+e.target.value),type:"number"})}),(0,t.jsx)(h.W,{label:"Twitter",children:(0,t.jsx)(u.o,{value:l.twitter||"",onChange:e=>change("twitter",e.target.value)})}),(0,t.jsx)(h.W,{label:"Telegram",children:(0,t.jsx)(u.o,{value:l.telegram||"",onChange:e=>change("telegram",e.target.value)})}),(0,t.jsx)(h.W,{label:"Start Date",children:(0,t.jsx)(C.default,{value:l.startDate,onChange:e=>change("startDate",e)})}),(0,t.jsx)(h.W,{label:"Airdrop End Date",name:"endDate",required:!0,children:(0,t.jsx)(C.default,{value:l.endDate,onChange:e=>change("endDate",e),policy:"endOfDay"})}),(0,t.jsx)(s.J,{label:"merkle",checked:!!l.merkle,onChange:()=>change("merkle",!l.merkle)}),(0,t.jsx)(I.Z,{}),!c&&(0,t.jsxs)(g.x,{children:["Connect to ",n]}),c&&!l.merkle&&(0,t.jsx)(U,{airdrop:l}),c&&l.merkle&&(0,t.jsx)(H,{slug:a,airdrop:l})]})}var R=n(59748);function Ama(e){let{value:a,onChange:n,...l}=e,change=(e,t)=>
1n({...a,[e]:t});return(0,t.jsxs)(FieldSet,{...l,children:[(0,t.jsx)(s.J,{label:"Created",checked:!!a.createdAt,onChange:()=>change("createdAt",a.createdAt?null:(0,E.Z)(new Date))}),a.createdAt&&(0,t.jsx)(h.W,{label:"Created date",children:(0,t.jsx)(C.default,{value:a.createdAt,onChange:e=>change("createdAt",e)})}),(0,t.jsx)(s.J,{label:"Started",checked:!!a.startedAt,onChange:()=>change("startedAt",a.startedAt?null:(0,E.Z)(new Date))}),a.startedAt&&(0,t.jsx)(R.Z,{label:"Started date",value:a.startedAt,onChange:e=>change("startedAt",e)})]})}var O=n(77318);function Banner(e){let{value:a,onChange:n,...l}=e,change=(e,t)=>n({...a,[e]:t.target.value});return(0,t.jsxs)(c.x,{gap:"medium",...l,children:[a.promoted&&(0,t.jsx)(O.W,{}),(0,t.jsx)(h.W,{label:"Uri 320x128",children:(0,t.jsx)(u.o,{placeholder:"320x128",value:a.uri||"",onChange:e=>change("uri",e)})}),(0,t.jsx)(h.W,{label:"Fallback 320x128",children:(0,t.jsx)(u.o,{placeholder:"320x128",value:a.fallback||"",onChange:e=>change("fallback",e)})}),(0,t.jsx)(h.W,{label:"Href",children:(0,t.jsx)(u.o,{value:a.href||"",onChange:e=>change("href",e)})}),(0,t.jsx)(h.W,{label:"Priority",children:(0,t.jsx)(u.o,{value:a.priority||0,onChange:e=>n({...a,priority:+e.target.value}),type:"number"})})]})}var G=n(43047),remove=e=>{let{slug:a,...n}=e,r=(0,l.useRouter)(),[i,,o]=(0,D.mt)(a,{onSuccess:()=>{r.push({pathname:"/admin"})}});return(0,t.jsx)(G.Z,{onRemove:i,loading:o,label:"Type the coin slug",buttonLabel:"Delete Coin",value:a,...n})},trending=e=>{let{value:a,onChange:n}=e,change=(e,t)=>
1n({...a,[e]:t.target.value});return(0,t.jsxs)(FieldSet,{children:[a.promoted&&(0,t.jsx)(O.W,{}),(0,t.jsx)(h.W,{label:"Position",children:(0,t.jsx)(u.o,{placeholder:"1-8",value:a.position||0,onChange:e=>change("position",e),type:"number"})})]})};function WideBanner(e){let{value:a,onChange:n}=e,change=(e,t)=>n({...a,[e]:t.target.value});return(0,t.jsxs)(FieldSet,{children:[a.promoted&&(0,t.jsx)(O.W,{}),(0,t.jsx)(h.W,{label:"Mobile uri",children:(0,t.jsx)(u.o,{placeholder:"320x128",value:a.uri||"",onChange:e=>change("uri",e)})}),(0,t.jsx)(h.W,{label:"Mobile fallback",children:(0,t.jsx)(u.o,{placeholder:"320x128",value:a.fallback||"",onChange:e=>change("fallback",e)})}),(0,t.jsx)(h.W,{label:"Desktop uri",children:(0,t.jsx)(u.o,{placeholder:"1296x90",value:a.wideUri||"",onChange:e=>change("wideUri",e)})}),(0,t.jsx)(h.W,{label:"Desktop fallback",children:(0,t.jsx)(u.o,{placeholder:"1296x90",value:a.wideFallback||"",onChange:e=>change("wideFallback",e)})}),(0,t.jsx)(h.W,{label:"Href",children:(0,t.jsx)(u.o,{value:a.href||"",onChange:e=>change("href",e)})}),(0,t.jsx)(h.W,{label:"Priority",children:(0,t.jsx)(u.o,{value:a.priority||0,onChange:e=>n({...a,priority:+e.target.value}),type:"number"})})]})}let F=m()(()=>Promise.all([n.e(1540),n.e(4406)]).then(n.bind(n,34406)),{loadableGenerated:{webpack:()=>[34406]}}),K=m()(()=>Promise.all([n.e(1540),n.e(6559)]).then(n.bind(n,26559)),{loadableGenerated:{webpack:()=>[26559]}});function Toggle(e){let{value:a,onChange:n,defaultValue:l={},falsy:r=null,...i}=e;return(0,t.jsx)(s.J,{checked:null!=a,onChange:e=>n(e.target.checked?l:r),...i})}function Coin(e){let{slug:a}=e,[n,l]=(0,k.useState)({}),[r,i]=(0,k.useState)({}),b=(0,w.zn)(),[m,,j]=(0,D.yo)(a,{onSuccess:i}),[E,,T]=(0,D.Dv)(a,{onSuccess:()=>{l(e=>(i(a=>({...a,...e})),{})),b.info("Updated")}}),[S,,P]=(0,D.D)(a,{onSuccess:e=>{let{updated:a}=e;if(a)return b.info("Updated");b.warning("Count not update price")}}),B={...r,...n},[_,,Z]=(0,V.KB)({onSuccess:m}),onChange=(e,a)=>{l(n=>{if(!o()(a,r[e]))return{...n,[e]:a};let t={...n};return delete t[e],t})},makeEvent=e=>({value:B[e],onChange:a=>{let{type:n,value:t,checked:l}=a.target;onChange(e,"number"===n?+t:"checkbox"===n?l:t)}}),makeValue=e=>({value:B[e],onChange:a=>onChange(e,a)}),I=Object.keys(n),z=0===I.length,U=j||T||P||Z,goTo=e=>document.getElementById(e).scrollIntoView({behavior:"smooth",block:"start"});return(0,t.jsxs)(c.x,{gap:"medium",background:U?"#222":"none",children:[(0,t.jsxs)(c.x,{direction:"row",align:"center",justify:"between",gap:"small",children:[(0,t.jsxs)(c.x,{direction:"row",gap:"small",children:[(0,t.jsx)(d.z,{onClick:()=>goTo("kyc"),label:"KYC"}),(0,t.jsx)(d.z,{onClick:()=>goTo("airdrop"),label:"Airdrop"}),(0,t.jsx)(d.z,{onClick:()=>goTo("ama"),label:"AMA"}),!B.audit&&(0,t.jsx)(d.z,{label:"Initiate Audit",onClick:()=>_({coinSlug:a,slug:a,name:B.name}),disabled:U,alignSelf:"start"}),B.audit&&(0,t.jsx)(f(),{href:"/admin/audit/".concat(a),passHref:!0,legacyBehavior:!0,children:(0,t.jsx)(d.z,{color:"brand",label:"Audit page",alignSelf:"start"})})]}),(0,t.jsxs)(c.x,{gap:"small",direction:"row",children:[(0,t.jsx)(f(),{href:"/admin",passHref:!0,legacyBehavior:!0,children:(0,t.jsx)(d.z,{target:"_blank",label:"Admin"})}),(0,t.jsx)(f(),{href:"/admin/scheduler",passHref:!0,legacyBehavior:!0,children:(0,t.jsx)(d.z,{target:"_blank",label:"Scheduler"})}),(0,t.jsx)(f(),{href:"/coin/".concat(a),passHref:!0,legacyBehavior:!0,children:(0,t.jsx)(d.z,{target:"_blank",label:"View coin"})})]})]}),(0,t.jsx)(h.W,{margin:{top:"medium"},label:"Name *",children:(0,t.jsx)(u.o,{placeholder:"Bitcoin",...makeEvent("name")})}),(0,t.jsx)(h.W,{label:"Symbol *",children:(0,t.jsx)(u.o,{placeholder:"BTC",...makeEvent("symbol")})}),(0,t.jsx)(h.W,{label:"Icon *",children:(0,t.jsx)(K,{setIcon:e=>onChange("icon",e),icon:B.icon})}),(0,t.jsx)(h.W,{label:"Network *",children:(0,t.jsx)(p.P,{value:B.network,onChange:e=>{let{value:a}=e;return onChange("network",a)},options:v.LP,width:"200px"})}),(0,t.jsx)(h.W,{label:"Address *",children:(0,t.jsx)(u.o,{placeholder:"0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c",...makeEvent("address")})}),(0,t.jsx)(h.W,{label:"Description *",children:(0,t.jsx)(x.K,{resize:"vertical",rows:"15",...makeEvent("description")})}),(0,t.jsx)(h.W,{label:"Launched At",children:(0,t.jsx)(C.default,{...makeValue("deployedAt")})}),(0,t.jsx)(h.W,{label:"Created Date",children:(0,t.jsx)(C.default,{...makeValue("createdAt")})}),(0,t.jsx)(h.W,{label:"Website *",children:(0,t.jsx)(u.o,{placeholder:"https://coinscope.co",...makeEvent("website")})}),(0,t.jsx)(h.W,{label:"Telegram Channel",children:(0,t.jsx)(u.o,{placeholder:"https://t.me/coinscope",...makeEvent("telegram")})}),(0,t.jsx)(h.W,{label:"Telegram Group",children:(0,t.jsx)(u.o,{placeholder:"https://t.me/coinscope",...makeEvent("telegramGroup")})}),(0,t.jsx)(h.W,{label:"Facebook",children:(0,t.jsx)(u.o,{placeholder:"https://facebook.com/coinscope",...makeEvent("facebook")})}),(0,t.jsx)(h.W,{label:"Instagram",children:(0,t.jsx)(u.o,{placeholder:"https://instagram.com/coinscope",...makeEvent("instagram")})}),(0,t.jsx)(h.W,{label:"Twitter",children:(0,t.jsx)(u.o,{placeholder:"https://twitter.com/coinscope",...makeEvent("twitter")})}),(0,t.jsx)(h.W,{label:"Discord",children:(0,t.jsx)(u.o,{placeholder:"https://discord.gg/coinscope",...makeEvent("discord")})}),(0,t.jsx)(h.W,{label:"Reddit",children:(0,t.jsx)(u.o,{placeholder:"https://www.reddit.com/r/coinscope",...makeEvent("reddit")})}),(0,t.jsx)(h.W,{label:"Custom chart link",children:(0,t.jsx)(u.o,{placeholder:"https://app.polychart.io
1/explorer/...",...makeEvent("customChart")})}),(0,t.jsx)(h.W,{label:"Custom swap link",children:(0,t.jsx)(u.o,{placeholder:"https://app.apeswap.finance/...",...makeEvent("customSwap")})}),(0,t.jsx)(h.W,{label:"CoinMarketCap name",children:(0,t.jsx)(u.o,{...makeEvent("cmc")})}),(0,t.jsx)(h.W,{label:"CoinGecko name",children:(0,t.jsx)(u.o,{...makeEvent("coingecko")})}),(0,t.jsx)(h.W,{label:"Total votes",children:(0,t.jsx)(u.o,{...makeEvent("totalVotes"),type:"number"})}),(0,t.jsx)(h.W,{label:"Extra daily votes",children:(0,t.jsx)(y.Z,{value:B.extraDailyVotes||0,onChange:e=>onChange("extraDailyVotes",e)})}),(0,t.jsx)(s.J,{label:"Presale",checked:B.presale,onChange:e=>{let{checked:a}=e.target;onChange("presale",a),onChange("presaleLink",""),onChange("presaleSoftcap",0),onChange("presaleHardcap",0),onChange("presaleType",""),onChange("presaleCurrency",""),onChange("presaleWhitelistLink","")}}),B.presale&&(0,t.jsxs)(c.x,{border:!0,pad:"small",children:[(0,t.jsx)(h.W,{label:"Presale link",children:(0,t.jsx)(u.o,{placeholder:"https://dxsale.com/presale-link",...makeEvent("presaleLink")})}),(0,t.jsx)(h.W,{label:"Presale Whitelist link",children:(0,t.jsx)(u.o,{placeholder:"https://dxsale.com/presale-link",...makeEvent("presaleWhitelistLink")})}),(0,t.jsx)(h.W,{label:"Presale Start Date",children:(0,t.jsx)(C.default,{...makeValue("presaleStartsAt"),isClearable:!0})}),(0,t.jsx)(h.W,{label:"Presale End Date",children:(0,t.jsx)(C.default,{...makeValue("presaleEndsAt"),isClearable:!0})}),(0,t.jsx)(h.W,{label:"Presale Softcap",children:(0,t.jsx)(u.o,{type:"number",min:0,...makeEvent("presaleSoftcap")})}),(0,t.jsx)(h.W,{label:"Presale Hardcap",children:(0,t.jsx)(u.o,{type:"number",min:0,...makeEvent("presaleHardcap")})}),(0,t.jsx)(h.W,{label:"Presale Type",children:(0,t.jsx)(p.P,{value:B.presaleType,onChange:e=>{let{value:a}=e;return onChange("presaleType",a)},options:W.Z,width:"200px"})}),(0,t.jsx)(h.W,{label:"Presale Currency",children:(0,t.jsx)(p.P,{value:B.presaleCurrency,onChange:e=>{let{value:a}=e;return onChange("presaleCurrency",a)},options:A.Z,width:"200px"})})]}),(0,t.jsx)(s.J,{label:"Warning",checked:B.warning||!1,...makeEvent("warning")}),(0,t.jsx)(Toggle,{label:"Banner",...makeValue("banner")}),B.banner&&(0,t.jsx)(FieldSet,{children:(0,t.jsx)(Banner,{...makeValue("banner")})}),(0,t.jsx)(Toggle,{label:"Popup banner",...makeValue("popupBanner")}),B.popupBanner&&(0,t.jsx)(FieldSet,{children:(0,t.jsx)(Banner,{...makeValue("popupBanner")})}),(0,t.jsx)(Toggle,{label:"Wide banner",...makeValue("wideBanner")}),B.wideBanner&&(0,t.jsx)(WideBanner,{...makeValue("wideBanner")}),(0,t.jsx)(Toggle,{label:"Trending",...makeValue("trending")}),B.trending&&(0,t.jsx)(trending,{...makeValue("trending")}),(0,t.jsx)(Toggle,{label:"KYC",id:"kyc",...makeValue("kyc")}),B.kyc&&(0,t.jsx)(Kyc,{coin:B,...makeValue("kyc")}),(0,t.jsx)(Toggle,{label:"AMA",id:"ama",...makeValue("ama")}),B.ama&&(0,t.jsx)(Ama,{...makeValue("ama")}),(0,t.jsx)(Toggle,{label:"Airdrop",id:"airdrop",...makeValue("airdrop")}),B.airdrop&&(0,t.jsx)(Airdrops,{slug:a,network:B.network,...makeValue("airdrop")}),(0,t.jsx)(F,{}),(0,t.jsxs)(c.x,{gap:"small",direction:"row",align:"center",margin:{top:"large"},children:[(0,t.jsx)(d.z,{label:"Update",primary:!0,onClick:()=>E(n),disabled:U||z}),(0,t.jsx)(d.z,{label:"Cancel",onClick:()=>l({}),disabled:U||z}),(0,t.jsx)(d.z,{label:"Update price & marketcap",onClick:S,disabled:U,margin:{left:"auto"}}),(0,t.jsx)(remove,{slug:a})]}),!z&&(0,t.jsxs)(g.x,{color:"status-disabled",children:[I.join(", ")," will be updated"]})]})}function CoinPage(){let{query:e}=(0,l.useRouter)(),{slug:a}=e;return(0,t.jsx)(z.ZP,{disabled:!0,children:(0,t.jsx)(r.Z,{children:(0,t.jsx)(Coin,{slug:a})})})}}},function(e){e.O(0,[5336,8543,8766,4281,1817,9409,4201,3353,6133,4895,2422,1198,7146,4518,5551,2704,1802,1666,9774,2888,179],function(){return e(e.s=93068)}),_N_E=e.O()}]); 2//# sourceMappingURL=[slug]-60487d6f1e940ee1.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.