PageSourceSearch

https://techwebsound.com/assets/Admin-bqy0Iczc.js

js techwebsound.com collected 2026-10-02 05:15:29 UTC 8,230 bytes, 1 lines download raw bytes

1import{l as r,r as g,n as h,h as p,j as e,s as f,t as b,A as u,m as c,v as x,L as w}from"./index-DaVPQP0x.js";import{U as k}from"./users-vArdjtEl.js";import{B as y,M as v}from"./message-square-6nftirGG.js";import{M as l}from"./message-circle-EAFjEPtn.js";import{C as j,a as N}from"./chart-column-jrYYMoOR.js";import{S as C}from"./sparkles-DhXOuSs1.js";import{C as M}from"./chevron-down-STVT5rDc.js";import{D as S}from"./disc-CjGuOShN.js";import{I as E}from"./image-plus-BVeo4EUQ.js";const $=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],_=r("house",$);const A=[["path",{d:"M16.247 7.761a6 6 0 0 1 0 8.478",key:"1fwjs5"}],["path",{d:"M19.075 4.933a10 10 0 0 1 0 14.134",key:"ehdyv1"}],["path",{d:"M4.925 19.067a10 10 0 0 1 0-14.134",key:"1q22gi"}],["path",{d:"M7.753 16.239a6 6 0 0 1 0-8.478",key:"r2q7qm"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],I=r("radio",A);const L=[["circle",{cx:"9",cy:"12",r:"3",key:"u3jwor"}],["rect",{width:"20",height:"14",x:"2",y:"5",rx:"7",key:"g7kal2"}]],q=r("toggle-left",L);const T=[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],O=r("user-check",T),B=[{href:"/backstage/artists",label:"Artist Management",description:"Add, edit and manage artist entries in the Psychepedia",icon:k,color:{from:"#ff00ff",to:"#cc00cc",glow:"rgba(255,0,255,0.4)"}},{href:"/backstage/guestbook",label:"Guestbook Manager",description:"Edit, delete and manage all guest reflections",icon:y,color:{from:"#ccff00",to:"#88bb00",glow:"rgba(204,255,0,0.4)"}},{href:"/backstage/comments",label:"Comments Manager",description:"Edit, delete and manage all artist comments",icon:l,color:{from:"#00cccc",to:"#008888",glow:"rgba(0,204,204,0.4)"}},{href:"/backstage/analytics",label:"Site Analytics",description:"View visitor traffic, popular pages & artist insights",icon:j,color:{from:"#6633ff",to:"#4422aa",glow:"rgba(102,51,255,0.4)"}},{href:"/backstage/settings",label:"Settings",description:"Global color themes and display customization options",icon:b,color:{from:"#ff9900",to:"#cc6600",glow:"rgba(255,153,0,0.4)"}},{href:"/backstage/pillow-experiences",label:"Pillow Experiences",description:"Toggle Surrealistic Pillow rooms on/off for mobile & desktop",icon:q,color:{from:"#ff6699",to:"#cc3366",glow:"rgba(255,102,153,0.4)"}},{href:"/backstage/djg",label:"DJG Management",description:"Add, edit and order DJ Gregarious past episodes",icon:I,color:{from:"#ff9900",to:"#cc6600",glow:"rgba(255,153,0,0.4)"}},{href:"/backstage/members",label:"Members",description:"View all signed-up members and manage blocked accounts",icon:O,color:{from:"#00ccff",to:"#0088aa",glow:"rgba(0,204,255,0.4)"}},{href:"/backstage/dream-lab",label:"Dream Lab",description:"A cosmic notebook for future features & wild ideas",icon:C,color:{from:"#cc66ff",to:"#9933cc",glow:"rgba(204,102,255,0.4)"}},{href:"/",label:"View Live Site",description:"Return to the live experience!",icon:_,color:{from:"#33cc33",to:"#228822",glow:"rgba(51,204,51,0.4)"}}],D=[{href:"/backstage/import-artists",label:"Import Artists",description:"Bulk import artist data from external sources",icon:S,color:{from:"#00ffff",to:"#009999",glow:"rgba(0,255,255,0.4)"}},{href:"/backstage/import-guestbook",label:"Import Guestbook",description:"Bulk import guest reflections and messages",icon:v,color:{from:"#ff9933",to:"#cc6600",glow:"rgba(255,153,51,0.4)"}},{href:"/backstage/import-comments",label:"Import Comments",description:"Bulk import artist comments from JSON data",icon:l,color:{from:"#00aa
1aa",to:"#006666",glow:"rgba(0,170,170,0.4)"}},{href:"/backstage/image-upload",label:"Image Upload",description:"Upload and manage artist images and gallery photos",icon:E,color:{from:"#9933ff",to:"#551199",glow:"rgba(153,51,255,0.4)"}},{href:"/backstage/import-track-months",label:"Import Track Months",description:"Bulk import month_recorded data for tracks",icon:N,color:{from:"#ff6699",to:"#cc3366",glow:"rgba(255,102,153,0.4)"}}];function n({tile:t,index:i}){return e.jsx(c.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:i*.1},children:e.jsx(w,{href:t.href,"data-testid":`link-${t.label.toLowerCase().replace(/\s+/g,"-")}`,children:e.jsxs("div",{"data-testid":`tile-${t.label.toLowerCase().replace(/\s+/g,"-")}`,className:"group relative rounded-2xl bg-white/5 border border-white/10 p-8 hover:border-white/20 transition-all duration-300 hover:bg-white/[0.07]",style:{cursor:"pointer"},children:[e.jsx("div",{className:"absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500",style:{boxShadow:`0 0 40px ${t.color.glow}, inset 0 0 40px ${t.color.glow}`}}),e.jsxs("div",{className:"relative flex items-start gap-5",children:[e.jsx("div",{className:"flex-shrink-0 w-14 h-14 rounded-xl flex items-center justify-center transition-transform duration-300 group-hover:scale-110",style:{background:`linear-gradient(135deg, ${t.color.from}, ${t.color.to})`},children:e.jsx(t.icon,{className:"w-7 h-7 text-white"})}),e.jsxs("div",{children:[e.jsx("h2",{className:"text-lg font-display text-white group-hover:text-primary transition-colors",children:t.label}),e.jsx("p",{className:"text-white/40 text-sm mt-1 font-mono",children:t.description})]})]})]})})},t.href)}function K(){const[t,i]=g.useState(!1),{enabled:o,setEnabled:d}=h(),m=p({mutationFn:async()=>{await fetch("/api/auth/logout",{method:"POST"})},onSuccess:()=>{x.invalidateQueries({queryKey:["/api/auth/check"]})}});return e.jsxs("div",{className:"container mx-auto px-4 py-12 max-w-4xl",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("button",{onClick:()=>d(!o),className:`relative flex items-center gap-2 px-4 py-2 rounded-lg border font-mono text-xs uppercase tracking-widest transition-all duration-300 ${o?"bg-primary/20 border-primary/50 text-primary shadow-[0_0_15px_rgba(255,0,255,0.2)]":"bg-white/5 border-white/10 text-white/50 hover:border-white/20 hover:bg-white/[0.07]"}`,"data-testid":"button-toggle-contextual-editing",children:[e.jsx("div",{className:`w-8 h-4 rounded-full transition-colors duration-300 ${o?"bg-primary":"bg-white/20"}`,children:e.jsx("div",{className:`w-3 h-3 rounded-full bg-white transition-transform duration-300 mt-0.5 ${o?"translate-x-4.5 ml-0.5":"translate-x-0.5"}`})}),"Contextual Editing"]}),o&&e.jsx("span",{className:"text-primary/60 font-mono text-[10px] animate-pulse",children:"ACTIVE"})]}),e.jsxs("button",{onClick:()=>m.mutate(),className:"flex items-center gap-2 px-4 py-2 rounded-lg bg-white/5 border border-white/10 hover:border-white/20 hover:bg-white/[0.07] text-white/50 hover:text-white/80 font-mono text-xs uppercase tracking-widest transition-all duration-300","data-testid":"button-logout",children:[e.jsx(f,{className:"w-4 h-4"}),"Sign Out"]})]}),e.jsx("p",{className:"text-white/50 text-center font-mono text-sm mb-8",children:"Welcome to the backstage where you can manage content, view site performance and more!"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:B.map((a,s)=>e.jsx(n,{tile:a,index:s},a.href))}),e.jsxs("div",{className:"mt-8",children:[e.jsxs("button",{onClick:()=>i(!t),className:"w-full flex items-center justify-between px-6 py-4 rounded-xl bg-white/5 border border-white/10 hover:border-white/20 hover:bg-white/[0.07] transition-all duration-300","data-testid":"button-toggle-import-utilities",children:[e.jsx("span",{className:"text-white/60 font-mono text-sm uppercase tracking-widest",children:"Import Utilities"}),e.jsx(M,{className:`w-5 h-5 text-white/40 transition-transform duration-300 ${t?"rotate-180":""}`})]}),e.jsx(u,{children:t&&e.jsx(c.div,{initial:{height:0,opacity:0}
1,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3},className:"overflow-hidden",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6 pt-6",children:D.map((a,s)=>e.jsx(n,{tile:a,index:s},a.href))})})})]})]})}export{K as default};

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.