PageSourceSearch

https://starborne.com/_next/static/chunks/pages/frontiers/units/[slug]-31c425b8def1b669.js

js starborne.com collected 2026-09-26 02:27:47 UTC 6,903 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8184],{89710:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/frontiers/units/[slug]",function(){return n(26887)}])},75208:function(t,e,n){"use strict";var a=n(82729),r=n(85893);n(67294);var i=n(964),o=n(59238),c=n(83559),l=n(67599);function _templateObject(){let t=(0,a._)(["\n  background: rgb(2, 0, 36);\n  background: linear-gradient(\n    180deg,\n    rgba(0, 0, 0, 1) 30%,\n    rgba(32, 32, 32, 1) 70%,\n    rgba(0, 0, 0, 1) 100%\n  );\n  width: 100%;\n  max-width: 100vw;\n  overflow-x: hidden;\n"]);return _templateObject=function(){return t},t}let s=i.ZP.main.withConfig({componentId:"sc-c4f39ad2-0"})(_templateObject()),d=(0,c.Z)({...o.Z,palette:{...o.Z.palette,type:"dark",primary:{main:"#ee6f1a",dark:"#1c0f04",light:"#ee6f1a",contrastText:"#FFE172"},secondary:{main:"#EE6F1A",light:"#FFD53C",contrastText:"#000"},error:{main:"#e92662",light:"#d500f9"},text:{primary:"#C7C7C7",secondary:"#FFD53C"},success:{light:"#EE6F1A",main:"#FFD53C"}}});e.Z=t=>{let{children:e,showParallax:n=!0}=t;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(i.f6,{theme:d,children:(0,r.jsxs)(s,{children:[n&&(0,r.jsx)(l.Z,{}),e]})})})}},67599:function(t,e,n){"use strict";n.d(e,{Z:function(){return frontiers_ParallaxBackground}});var a=n(82729),r=n(85893);n(67294);var i=n(964),o=n(89755),c=n.n(o),l=n(60222),s={src:"/_next/static/media/triangle_2.82a41bf7.png",height:550,width:277,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAICAMAAADp7a43AAAABlBMVEVycnJMaXFLFCtdAAAAAnRSTlMEABL/CDwAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAaSURBVHicY2BgZGRkYGAAEwxgAgFgEoyMjAABDgANeAjDjgAAAABJRU5ErkJggg==",blurWidth:4,blurHeight:8},d={src:"/_next/static/media/Decor_Overlay_4k_v2.ade73330.png",height:2160,width:3840,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAABlBMVEV6UEgsJyJXn2R0AAAAAnRSTlMBBR/iCPYAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAWSURBVHicY2BABYwoFAMjCEAYDIwMAACnAAuFAx1CAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5};function _templateObject(){let t=(0,a._)(["\n  position: absolute;\n  z-index: 0;\n  pointer-events: none;\n"]);return _templateObject=function(){return t},t}function _templateObject1(){let t=(0,a._)(["\n  transform: scaleX(-1);\n"]);return _templateObject1=function(){return t},t}function _templateObject2(){let t=(0,a._)(["\n  position: absolute;\n  z-index: 1;\n  height: 100%;\n"]);return _templateObject2=function(){return t},t}let A=(0,i.ZP)(l.VS).withConfig({componentId:"sc-437ebd54-0"})(_templateObject()),u=(0,i.ZP)(c()).withConfig({componentId:"sc-437ebd54-1"})(_templateObject1()),g=i.ZP.div.withConfig({componentId:"sc-437ebd54-2"})(_templateObject2());var frontiers_ParallaxBackground=t=>{let{showDecorOverlay:e=!0}=t;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(A,{translateY:["0px","500px"],style:{zIndex:5,width:"100%"},children:(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,r.jsx)(c(),{src:s,alt:"Parallax level 1"}),(0,r.jsx)("div",{style:{width:"50px"}}),(0,r.jsx)(u,{src:s,alt:"Parallax level 1"})]})}),e&&(0,r.jsx)(A,{translateY:["-500px","800px"],style:{height:"900px",width:"100%",zIndex:1},children:(0,r.jsx)(g,{children:(0,r.jsx)(c(),{src:d,alt:"Parallax level 2"})})})]})}},81735:function(t,e,n){"use strict";n.d(e,{_c:function(){return a},dV:function(){return compareFactionIndexUnits}});let a=["Legendary","Epic","Rare","Uncommon","Common"],rarityIndex=t=>{let e=a.indexOf(t);return -1===e?a.length:e},compareFactionIndexUnits=(t,e)=>rarityIndex(t.rarity)-rarityIndex(e.rarity)||t.name.localeCompare(e.name)||t.slug.localeCompare(e.slug)},26887:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSG:function(){return m}});var a=n(85893);n(67294);var r=n(9008),i=n.n(r),o=n(54415),c=n(41849),l=n(75208),s=n(35307),d=n(66013),A=n(59205),u=n(44724),g=n(7363),p=n(81735),m=!0;e.default=t=>{var e,n,r;let{unit:m,manifest:f,statusEffects:x,labels:h,locale:j,units:b}=t,y=(0,A.b)(m.faction,h),_=(0,u.qz)(m.rarity,h),w=(0,u.SY)(m.affinity,h),v=m.role?(0,u.p7)(m.role,h):void 0,C=v?" ".concat(v):"",F="".concat(m.name," — ").concat(_).concat(C," | Starborne Frontiers Unit Database"),E=null===(e=m.skills[0])||void 0===e?void 0:e.levels[0],B=(null==E?void 0:null===(n=E.descriptionSegments)||void 0===n?void 0:n.map(t=>t.text).join("").trim())||"",O="".concat(m.name," is a ").concat(_," ").concat(w).c
1oncat(C," unit from the ").concat(y," in Starborne: Frontiers.").concat(B?" ".concat(B):""," View full stats, skills, refit progression and gameplay tags.").slice(0,300),P="https://starborne.com/frontiers/units/".concat(m.slug),U=(null===(r=m.images.bigPortrait)||void 0===r?void 0:r.startsWith("http"))?m.images.bigPortrait:"https://starborne.com".concat(m.images.bigPortrait),k=b.filter(t=>t.faction===m.faction).sort(p.dV),S=k.findIndex(t=>t.id===m.id),V=[...new Set(b.map(t=>t.faction))].sort(),I=V.indexOf(m.faction),adjacentFactionUnits=t=>{if(I<0||V.length<2)return[];let e=(I+t+V.length)%V.length;return b.filter(t=>t.faction===V[e]).sort(p.dV)},R=adjacentFactionUnits(-1),Z=adjacentFactionUnits(1),D=S>0?k[S-1]:R[R.length-1],M=S>=0&&S<k.length-1?k[S+1]:Z[0],N={"@context":"https://schema.org","@type":"VideoGameCharacter",name:m.name,description:O,image:U,url:P,characterAttribute:[_,w,v].filter(Boolean).join(", "),additionalProperty:[{"@type":"PropertyValue",name:"Faction",value:y},{"@type":"PropertyValue",name:"Rarity",value:_},{"@type":"PropertyValue",name:"Affinity",value:w},...v?[{"@type":"PropertyValue",name:"Role",value:v}]:[]]};return(0,a.jsxs)(l.Z,{children:[(0,a.jsx)(s.O1,{}),(0,a.jsxs)(i(),{children:[(0,a.jsx)("title",{children:F},"title"),(0,a.jsx)("meta",{name:"description",content:O},"description"),(0,a.jsx)("meta",{property:"og:title",content:F},"og:title"),(0,a.jsx)("meta",{property:"og:description",content:O},"og:description"),(0,a.jsx)("meta",{property:"og:url",content:P},"og:url"),(0,a.jsx)("meta",{property:"og:image",content:U},"og:image"),(0,a.jsx)("meta",{property:"og:image:secure_url",content:U},"og:image:secure_url"),(0,a.jsx)("meta",{name:"twitter:title",content:F},"twitter:title"),(0,a.jsx)("meta",{name:"twitter:description",content:O},"twitter:description"),(0,a.jsx)("meta",{name:"twitter:image",content:U},"twitter:image"),(0,a.jsx)("link",{rel:"canonical",href:P},"canonical"),g.RF.map(t=>(0,a.jsx)("link",{rel:"alternate",hrefLang:t.code,href:"".concat(P,"?lang=").concat(t.code)},"alternate-".concat(t.code))),(0,a.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:P},"alternate-x-default"),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(N)}},"jsonld")]}),(0,a.jsx)(o.Z,{}),(0,a.jsx)(d.UG,{unit:m,manifest:f,statusEffects:x,labels:h,locale:j,previousUnit:D,nextUnit:M,navigationUnits:k}),(0,a.jsx)(c.Z,{})]})}}},function(t){t.O(0,[414,3788,2588,3026,6013,9774,2888,179],function(){return t(t.s=89710)}),_N_E=t.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.