PageSourceSearch

https://www.tapbit.com/_next_app/price/0.1.227/_next/static/chunks…ns-layer-position-share.0f61449fcb96c194.js

js tapbit.com collected 2026-10-03 21:41:00 UTC 2,719 bytes, 1 lines download raw bytes

1try{!function(){var 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]="59b61360-658e-4877-992c-6df7982c5d1e",e._sentryDebugIdIdentifier="sentry-dbid-59b61360-658e-4877-992c-6df7982c5d1e")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4059],{31702:(e,t,a)=>{a.r(t),a.d(t,{buildCopyTradingPositionShareConfig:()=>b,default:()=>h});var r=a(79237),o=a(81742),l=a(66960),n=a(41760),i=a(96620),d=a(3529),p=a(89719),s=a(42959),c=a(18746),u=a(10447),f=a(29760);function g(e){let t=Number(e);return Number.isFinite(t)?t:0}function b(e){var t;let{$t:a,basePrice:r,currentTraderInfo:o,item:l,lastPrice:n,locale:i,origin:p,theme:s}=e,c="long"===l.side,u=function(e,t){if("trader"===e.tradeType&&(null==t?void 0:t.traderInfo))return{name:t.traderInfo.name,photo:t.traderInfo.photo,uid:t.traderInfo.uid,slippageShow:t.slippageShow};let a=e.trader||{};return{name:a.name,photo:a.photo,uid:a.uid,slippageShow:e.slippageShow}}(l,o),f=(0,d.A2)(l.symbol||"","")||"--",b=a("1"===r?"Mark Price":"Last Price"),h="1"===r?l.markPrice:n||l.last||0;return{theme:s,dialogTheme:"dark",dialogWidth:"420px",type:"copytrade",template:"positionFollowMain",payload:{posterBackground:"#0F1010",slippageShow:u.slippageShow},header:{label:"Copy Trading Perp"},top:{symbol:{coin:f,tags:[{type:"other",class:c?"is-up":"is-down",label:a(c?"Long":"Short")},{type:"leverage",class:"is-primary",label:void 0!==l.leverage&&null!==l.leverage?"".concat(l.leverage,"X"):"--"}]},inset:{type:"copytrade"}},core:{rate:[{type:"roe",label:a("ROE"),value:g(l.roe)},{type:"pnl",label:"".concat(a("PNL"),"(USDT)"),value:g(l.pnl)}],menu:[{type:"default",label:a("Entry Price"),value:l.avgPrice},{type:"default",label:b,value:h},{type:"trader",name:u.name||"--",avatar:(t=u.photo)?/^https?:\/\//.test(t)?t:"".concat("https://res.tapbit.mobi").concat(t):"https://cdn.tapbit.mobi/common/share/default-avatar.png"}]},referral:{link:"".concat(p,"/").concat(i,"/to-app?type=traderShare&uid=").concat(u.uid||"","&inviteCode={0}")},check:{leverage:!0,pnl:!0,referral:!0}}}function h(){var e;let{$t:t,locale:a}=(0,l.B)(),{theme:d}=(0,o.W)(),g=(0,p.wc)(),{traderInfo:h}=(0,f.H)(),y=(0,s.Z)(u.K.positionShare),m=null==(e=y.params)?void 0:e.item,v=(0,n.N1)((null==m?void 0:m.symbol)?i.p.USDT.SIMPLE_TICKER(m.symbol):"");if(!y.visible||!m)return null;let w=b({$t:t,basePrice:g,currentTraderInfo:h,item:m,lastPrice:null==v?void 0:v.last,locale:a,origin:window.location.origin,theme:"dark"===d?"dark":"light"});return(0,r.jsx)(c.A,{config:w,onClose:()=>y.close()})}}}]);

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.