PageSourceSearch

https://offtheave.com/_next/static/chunks/pages/help/[categorySlug]-6cf4663667142a3d.js

js offtheave.com collected 2026-09-28 11:58:47 UTC 6,256 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4335],{3738:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(79065).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},11233:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var r=s(14232);let a=function(e,t){let[s,a]=(0,r.useState)(e);return(0,r.useEffect)(()=>{let s=setTimeout(()=>{a(e)},t);return()=>{clearTimeout(s)}},[e,t]),s}},11745:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/help/[categorySlug]",function(){return s(73423)}])},15722:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(79065).A)("circle-help",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},25104:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(79065).A)("credit-card",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]])},25198:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(79065).A)("messages-square",[["path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z",key:"p1xzt8"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1",key:"1cx29u"}]])},30155:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(79065).A)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]])},30359:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(79065).A)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},43304:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(79065).A)("message-circle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]])},72554:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});let r=(0,s(79065).A)("circle-user",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]])},73423:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>q});var r=s(37876),a=s(14232),l=s(89099),c=s(77328),i=s.n(c),n=s(48230),d=s.n(n),o=s(25104),h=s(78539),u=s(30155),x=s(9674),m=s(72554),y=s(89903),g=s(20101),p=s(20965),A=s(43304),b=s(25198),f=s(49809),v=s(15722),k=s(39393),j=s(57009),N=s(3738),w=s(17734),_=s(28364),S=s(30359),z=s(83592),M=s(11233);let E={"credit-card":o.A,billing:o.A,shield:h.A,security:h.A,dmca:h.A,upload:u.A,users:x.A,account:x.A,"account-info":m.A,settings:y.A,music:g.A,video:p.A,"message-circle":A.A,support:A.A,forums:b.A,subscriptions:f.A,general:v.A,lock:k.A,privacy:k.A,mail:j.A};function q(){let e=(0,l.useRouter)(),{categorySlug:t}=e.query,[s,c]=(0,a.useState)([]),[n,o]=(0,a.useState)(""),[h,u]=(0,a.useState)(null),[x,m]=(0,a.useState)(!0),[y,g]=(0,a.useState)(""),p=(0,M.A)(y,400);(0,a.useEffect)(()=>{e.isReady&&t&&(async()=>{m(!0);try{let e=new URLSearchParams({category:t,limit:50});p.trim()&&e.set("q",p.trim());let s=(await z.Ay.get("/api/help/articles?".concat(e.toString()))).data.articles||[];c(s),!p.trim()&&s.length>0&&(o(s[0].category_name),u(s[0].category_icon))}catch(e){console.error(e)}finally{m(!1)}})()},[e.isReady,t,p]);let A=E[(h||"").toLowerCase()]||v.A;return(0,r.jsxs)("div",{className:"min-h-screen",children:[(0,r.jsx)(i(),{children:(0,r.jsx)("title",{children:"".concat(n||"Help"," | Help Center | offtheave")})}),(0,r.jsxs)("div",{className:"container w-full mx-auto px-4 py-10",children:[(0,r.jsxs)("nav",{className:"flex items-center gap-1.5 text-xs text-gray-500 mb-6",children:[(0,r.jsx)(d(),{href:"/help",className:"hover:text-blue-500 hover:underline",children:"Help Center"}),n&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(N.A,{size:12,className:"opacity-50"}),(0,r.jsx)("span",{className:"text-gray-700 dark:text-gray-300 font-medium",children:n})]})]}),(0,r.jsxs)("div",{className:"flex items-center gap-4 mb-8",children:[(0,r.jsx)("div",{className:"w-12 h-12 rounded-2xl bg-blue-50 dark:bg-blue-900/20 flex items-center justify-center flex-shrink-0",children:(0,r.jsx)(A,{size:22,className:"text-blue-500",strokeWidth:2.25})}),(0,r.jsx)("h1",{className:"text-2xl sm:text-3xl font-bold text-gray-900 dark:text-white",children:n||"Loading..."})]}),(0,r.jsxs)("div",{className:"relative mb-6",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none",children:(0,r.jsx)(w.A,{className:"h-4 w-4 text-gray-400"})}),(0,r.jsx)("input",{type:"text",value:y,onChange:e=>g(e.target.value),placeholder:"Search ".concat(n||"this category","..."),className:"block w-full pl-11 pr-4 py-3 bg-white dark:bg-neutral-800 border border-gray-200 dark:border-gray-800 rounded-2xl text-sm shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-400/30 focus:border-blue-400 transition-all"})]}),x?(0,r.jsx)("p",{className:"text-gray-400 text-sm",children:"Loading articles..."}):0===s.length?(0,r.jsx)("p",{className:"text-gray-400 text-sm",children:y.trim()?'No articles matched "'.concat(y,'" in this category.'):"No articles in this category yet."}):(0,r.jsx)("div",{className:"space-y-3",children:s.map(e=>(0,r.jsxs)(d(),{href:"/help/".concat(t,"/").concat(e.id,"/").concat(e.slug),className:"flex items-center gap-4 p-4 bg-white dark:bg-neutral-800 border border-gray-100 dark:border-white/5 rounded-xl hover:border-blue-300 dark:hover:border-blue-500/50 hover:shadow-sm transition-all group",children:[(0,r.jsx)("div",{className:"w-9 h-9 rounded-lg bg-blue-50 dark:bg-blue-900/20 flex items-center justify-center flex-shrink-0",children:(0,r.jsx)(_.A,{size:16,className:"text-blue-500"})}),(0,r.jsx)("div",{className:"flex-1 min-w-0",children:(0,r.jsx)("p",{className:"font-semibold text-gray-900 dark:text-white group-hover:text-blue-500 transition-colors truncate",children:e.title})}),(0,r.jsxs)("div",{className:"flex items-center gap-1 text-xs text-gray-400 flex-shrink-0",children:[(0,r.jsx)(S.A,{size:12})," ",e.view_count]}),(0,r.jsx)(N.A,{size:16,className:"text-gray-300 group-hover:text-blue-400 group-hover:translate-x-0.5 transition-all flex-shrink-0"})]},e.id))})]})]})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=11745)),_N_E=e.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.