PageSourceSearch

https://www.stylemepretty.com/_next/static/chunks/8121.ef66edd29950e021.js

js stylemepretty.com collected 2026-09-24 17:44:56 UTC 2,407 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a01295-7834-7f31-b5ea-8cc0e6ba1168")}catch(e){}}();(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8121],{18121:(e,a,r)=>{"use strict";r.r(a),r.d(a,{UserNav:()=>u});var s=r(95155),n=r(12115),t=r(6874),o=r.n(t),l=r(39608),d=r.n(l),i=r(38399),c=r.n(i),h=r(35695),m=r(11057);let u=e=>{let{username:a,vendor:r,isAdmin:t,isVendor:l,additionalVendors:i,isMobile:u=!1}=e;(0,h.usePathname)();let[f,p]=(0,n.useState)(!1),v=a.replaceAll(" ","+"),g=[{name:"Settings",href:"/dashboard/".concat(v,"/settings/")},{name:"Boards",href:"/dashboard/".concat(v,"/boards/")},{name:"Favorites",href:"/dashboard/".concat(v,"/favorites/")},{name:"Sign Out",href:"#"}],b=[{name:"Settings",href:"/dashboard/".concat(v,"/settings/")},{name:"Favorites",href:"/dashboard/".concat(v,"/favorites/")},{name:"Sign Out",href:"#"}],x=[];return t?x.push({name:"Wordpress",href:"/wp-admin"},...g):l?x.push({name:"Vendor Dashboard",href:"/vendor-profile-dashboard/".concat(null==r?void 0:r.slug),additional:i&&i.length>0},...b):x.push(...b),(0,s.jsx)("div",{className:"user-menu",children:(u?x:c()(x)).map((e,a)=>e.additional?(0,s.jsxs)(n.Fragment,{children:[(0,s.jsxs)("div",{onClick:()=>
1p(!f),className:"user-menu-item-container",children:[(0,s.jsx)("div",{className:"user-menu-item",children:e.name}),(0,s.jsx)(m.A,{className:"user-menu-item-carrot",scale:1,color:"#f09184",transform:f?"rotate(180)":""})]}),f&&!d()(r)?(0,s.jsxs)("div",{className:"vendor-dashboard-group-container",children:[(0,s.jsx)(o(),{href:"/vendor-profile-dashboard/".concat(null==r?void 0:r.slug),style:{marginTop:0},children:null==r?void 0:r.name}),i&&i.map((e,a)=>(0,s.jsx)(o(),{href:"/vendor-profile-dashboard/".concat(e.slug),children:e.name},a))]}):null]},a):"Sign Out"===e.name?(0,s.jsx)("a",{href:"/auth/logout",className:"user-menu-item",children:e.name},a):e.to?(0,s.jsx)(o(),{href:e.to,className:"user-menu-item",children:e.name},a):(0,s.jsx)("a",{href:e.href,className:"user-menu-item",children:e.name},a))})}},38399:e=>{var a=Array.prototype.reverse;e.exports=function(e){return null==e?e:a.call(e)}},39608:e=>{e.exports=Array.isArray}}]);
2//# chunkId=01a01295-7834-7f31-b5ea-8cc0e6ba1168

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.