PageSourceSearch

https://www.coinscope.co/_next/static/chunks/pages/portfolio-eca52ab2d72a4da8.js

js coinscope.co collected 2026-09-26 13:56:00 UTC 4,519 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9eb5f204-a604-41fb-9d1d-cad24018b6af",e._sentryDebugIdIdentifier="sentry-dbid-9eb5f204-a604-41fb-9d1d-cad24018b6af")}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([[7371],{41641:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/portfolio",function(){return n(27430)}])},62277:function(e,t,n){"use strict";n.d(t,{Z:function(){return Breadcrumb}});var r=n(82729),o=n(85893),l=n(67294),i=n(94200),u=n(13952),a=n(18087),s=n(41664),d=n.n(s),c=n(11163),f=n(70714),b=n(81379);function _templateObject(){let e=(0,r._)(["\n  justify-content: ",";\n  list-style: none;\n  padding: 0;\n  margin: 0;\n  display: flex;\n  flex-direction: row;\n"]);return _templateObject=function(){return e},e}let p=f.default.ol.withConfig({componentId:"sc-50d9eec9-0"})(_templateObject(),e=>{let{justify:t="flex-start"}=e;return t}),h={label:"Home",title:"Go to Home",href:"/"};function Breadcrumb(e){let{links:t,justify:n,...r}=e,{asPath:s}=(0,c.useRouter)(),f=(0,b.default)(),g=(0,l.useMemo)(()=>{var e;let[n,...r]=t,o=r.length&&!f;return[h,o?{...n,label:(e=n.label).length>9?e.substring(0,9)+"...":e}:n,...r]},[t,f]);return(0,o.jsx)(i.x,{as:"nav","aria-label":"Breadcrumb",...r,children:(0,o.jsx)(p,{justify:n,children:g.map((e,t)=>{let{href:n,...r}=e,l=g.length===t+1;return(0,o.jsxs)("li",{children:[(0,o.jsx)(d(),{href:n||s,passHref:!0,legacyBehavior:!0,children:(0,o.jsx)(u.e,{size:f?"small":"xsmall","data-ga":"breadcrumb::click::".concat(r.label.toLowerCase()),...l&&{"aria-current":"page",color:"#bbb"},...r})}),!l&&(0,o.jsx)(a.x,{size:"small",color:"dark-4",margin:{horizontal:"xsmall"},children:"/"})]},t)})})})}},29662:function(e,t,n){"use strict";var r=n(85893),o=n(5152),l=n.n(o),i=n(97407);let u=l()(()=>Promise.all([n.e(8717),n.e(8208),n.e(2742)]).then(n.bind(n,12742)),{loadableGenerated:{webpack:()=>[12742]}});t.Z=e=>{let{children:t,prompt:n,...o}=e,{user:l,loading:a}=(0,i.Z)();return l&&!a?t():(0,r.jsx)(u,{...o,children:n()})}},4321:function(e,t,n){"use strict";n.d(t,{Q$:function(){return useSlugHoldings},cP:function(){return b},h1:function(){return c},pG:function(){return useSlugPNL},rJ:function(){return f},tJ:function(){return p}});var r=n(67294),o=n(94426),l=n(10407);let{Provider:i,useCollection:u,useResource:a,useCollectionDispatch:s,useResourceDispatch:d}=(0,o.default)();t.ZP=i;let c=u,f=a,b=s,p=d;function useSlugHoldings(e){let t=(0,l.YO)(),n=c(),{price:o}=t[e];return(0,r.useMemo)(()=>{let r=0,l=0;Object.keys(n).forEach(o=>{let{price:i}=t[n[o].slug];if(i){let e=n[o].quantity*i;l="buy"===n[o].type?l+e:l-e}n[o].slug===e&&(r="buy"===n[o].type?r+n[o].quantity:r-n[o].quantity)},0);let i=o*r;return[r,i,l<=0?0:(i/l*100).toFixed(1)]},[n])}function useSlugPNL(e){let t=c(),n=(0,l.s$)(e,"price");return(0,r.useMemo)(()=>0===n?0:Object.keys(t).reduce((r,o)=>{if(t[o].slug!==e)return r;let{quantity:l,price:i}=t[o];return r+(l*n-l*i)},0),[t])}},27430:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Portfolio}});var r=n(85893),o=n(5152),l=n.n(o),i=n(57670),u=n(83121),a=n(18087),s=n(32704),d=n(29662),c=n(62277),f=n(4321);let b=l()(()=>Promise.all([n.e(5336),n.e(1817),n.e(4297)]).then(n.bind(n,94297)),{loadableGenerated:{webpack:()=>[94297]}}),p={title:"Portfolio",description:"Your personal crypto portfolio tracker. Keep track of your profits, losses and portfolio valuation."};function Portfolio(){return(0,r.jsxs)(s.Z,{seo:p,children:[(0,r.jsx)(c.Z,{links:[{label:"Portfolio",title:"Portfolio"}]}),(0,r.jsx)(i.X,{margin:{top:"medium",bottom:"none"},children:"Portfolio"}),(0,r.jsx)(u.n,{margin:{top:"small",bottom:"medium"},color:"dark-6",children:"Watch the profits, losses and portfolio valuation with our easy to use platform. Add the coins that you hold in portfolio and track them."}),(0,r.jsx)(d.Z,{prompt:()=>(0,r.jsx)(a.x,{children:"Login to see your portfolio."}),margin:{vertical:"large"},children:()=>(0,r.jsx)(f.ZP,{children:(0,r.jsx)(b,{})})})]})}}},function(e){e.O(0,[4281,2704,9774,2888,179],function(){return e(e.s=41641)}),_N_E=e.O()}]);
2//# sourceMappingURL=portfolio-eca52ab2d72a4da8.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.