PageSourceSearch

https://nextcode.my/_next/static/chunks/548-af01b889290f6fc0.js

js nextcode.my collected 2026-10-06 19:08:23 UTC 8,378 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[548],{2206:(e,n,a)=>{a.d(n,{Aq:()=>s,DN:()=>r,EO:()=>g,F7:()=>J,G7:()=>y,KH:()=>O,Kp:()=>S,M8:()=>w,O3:()=>T,Qn:()=>D,RJ:()=>m,S:()=>v,UO:()=>N,Uw:()=>p,V6:()=>$,WD:()=>C,YV:()=>c,ZP:()=>u,aK:()=>b,dz:()=>h,jE:()=>P,kp:()=>l,sH:()=>o,so:()=>x,yd:()=>_});var t=a(5896);function i(e){return e.data}let r=f("faq_intro"),o={list:()=>(0,t.n)("/admin/faqs").then(i),create:e=>(0,t.n)("/admin/faqs",{method:"POST",body:JSON.stringify(e)}).then(i),update:(e,n)=>(0,t.n)(`/admin/faqs/${e}`,{method:"PUT",body:JSON.stringify(n)}).then(i),remove:e=>(0,t.n)(`/admin/faqs/${e}`,{method:"DELETE"}),reorder:e=>(0,t.n)("/admin/faqs-reorder",{method:"PATCH",body:JSON.stringify({order:e})})};function d(e){let{winTitle:n,iconKey:a,...t}=e;return{...t,win_title:n,icon_key:a}}let s={list:()=>(0,t.n)("/admin/features").then(i),create:e=>(0,t.n)("/admin/features",{method:"POST",body:JSON.stringify(d(e))}).then(i),update:(e,n)=>(0,t.n)(`/admin/features/${e}`,{method:"PUT",body:JSON.stringify(d(n))}).then(i),remove:e=>(0,t.n)(`/admin/features/${e}`,{method:"DELETE"}),reorder:e=>(0,t.n)("/admin/features-reorder",{method:"PATCH",body:JSON.stringify({order:e})})},l=f("features_intro"),m=f("testimonials_intro"),h=f("cta");f("pricing");let c={list:()=>(0,t.n)("/admin/team").then(i),create:e=>(0,t.n)("/admin/team",{method:"POST",body:JSON.stringify(e)}).then(i),update:(e,n)=>(0,t.n)(`/admin/team/${e}`,{method:"PUT",body:JSON.stringify(n)}).then(i),remove:e=>(0,t.n)(`/admin/team/${e}`,{method:"DELETE"}),reorder:e=>(0,t.n)("/admin/team-reorder",{method:"PATCH",body:JSON.stringify({order:e})})};function f(e){return{get:()=>(0,t.n)(`/admin/content/${e}`),update:n=>(0,t.n)(`/admin/content/${e}`,{method:"PUT",body:JSON.stringify({data:n})})}}let u=f("hero"),y=f("footer"),p=f("nav"),g=f("about"),b=f("settings"),N=f("google_analytics"),v={get:()=>(0,t.n)("/admin/google-analytics/report")},S=f("seo"),T=f("tech_partners");f("branding_apps");let O=f("brand_preview"),P=f("gallery"),w=f("deploy");function j(e){let{desc:n,...a}=e;return{...a,description:n}}let x={list:()=>(0,t.n)("/admin/notices").then(i),create:e=>(0,t.n)("/admin/notices",{method:"POST",body:JSON.stringify(j(e))}).then(i),update:(e,n)=>(0,t.n)(`/admin/notices/${e}`,{method:"PUT",body:JSON.stringify(j(n))}).then(i),remove:e=>(0,t.n)(`/admin/notices/${e}`,{method:"DELETE"}),reorder:e=>(0,t.n)("/admin/notices-reorder",{method:"PATCH",body:JSON.stringify({order:e})})};function E(e){let{videoUrl:n,...a}=e;return{...a,video_url:n||null}}let J={list:()=>(0,t.n)("/admin/testimonials").then(i),create:e=>(0,t.n)("/admin/testimonials",{method:"POST",body:JSON.stringify(E(e))}).then(i),update:(e,n)=>(0,t.n)(`/admin/testimonials/${e}`,{method:"PUT",body:JSON.stringify(E(n))}).then(i),remove:e=>(0,t.n)(`/admin/testimonials/${e}`,{method:"DELETE"}),reorder:e=>(0,t.n)("/admin/testimonials-reorder",{method:"PATCH",body:JSON.stringify({order:e})})};function _(e){let n=new FormData;return n.append("video",e),(0,t.n)("/admin/uploads/video",{method:"POST",body:n})}function $(e){let n=new FormData;return n.append("image",e),(0,t.n)("/admin/uploads/image",{method:"POST",body:n})}let C={list:()=>(0,t.n)("/admin/partners").then(i),create:e=>(0,t.n)("/admin/partners",{method:"POST",body:JSON.stringify(e)}).then(i),update:(e,n)=>(0,t.n)(`/admin/partners/${e}`,{method:"PUT",body:JSON.stringify(n)}).then(i),remove:e=>(0,t.n)(`/admin/partners/${e}`,{method:"DELETE"}),reorder:e=>(0,t.n)("/admin/partners-reorder",{method:"PATCH",body:JSON.stringify({order:e})})};function A(e){let{src:n,modalSrc:a,modalAlt:t,modalTitle:i,modalLead:r,modalDetails:o,detailContent:d,...s}=e;return{...s,image:n,modal_image:a,modal_alt:t,modal_title:i,modal_lead:r,modal_details:o,detail_content:d}}let D={list:()=>(0,t.n)("/admin/gallery-photos").then(i),create:e=>(0,t.n)("/admin/gallery-photos",{method:"POST",body:JSON.stringify(A(e))}).then(i),update:(e,n)=>(0,t.n)(`/admin/gallery-photos/${e}`,{method:"PUT",body:JSON.stringify(A(n))}).then(i),remove:e=>(0,t.n)(`/admin/gallery-photos/${e}`,{method:"DELETE"}),reorder:e=>(0,t.n)("/admin/gallery-photos-reorder",{method:"PATCH",body:JSON.stringify({order:e})})}},5896:(e,n,a)=>{a.d(n,{h:()=>o,n:()=>d});
1var t=a(7546);let i="https://nextcode.my",r=i?.includes("localhost")?"":i??"";class o extends Error{constructor(e,n,a){super(n),this.status=e,this.errors=a}}async function d(e,n={}){let a=(0,t.gf)(),i=new Headers(n.headers);i.set("Accept","application/json"),!n.body||n.body instanceof FormData||i.has("Content-Type")||i.set("Content-Type","application/json"),a&&i.set("Authorization",`Bearer ${a}`);let s=await fetch(`${r}/api${e}`,{...n,headers:i});if(401===s.status)throw(0,t.L)(),window.location.pathname.startsWith("/login")||(window.location.href="/login"),new o(401,"Unauthorized");let l=s.headers.get("content-type")?.includes("application/json")?await s.json():null;if(!s.ok)throw new o(s.status,l?.message??"Request failed",l?.errors);return l}},7546:(e,n,a)=>{a.d(n,{L:()=>o,WG:()=>r,gf:()=>i});let t="nextcode_cms_token";function i(){return window.localStorage.getItem(t)}function r(e){window.localStorage.setItem(t,e)}function o(){window.localStorage.removeItem(t)}},9043:(e,n,a)=>{a.d(n,{U:()=>y});var t=a(7876),i=a(4232),r=a(9099),o=a(5896),d=a(7546);function s({children:e}){let n=(0,r.useRouter)(),[a,l]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{let e=!1;return async function(){if(!(0,d.gf)())return n.replace("/login");try{await (0,o.n)("/auth/me"),e||l(!0)}catch(e){e instanceof o.h&&(0,d.L)(),n.replace("/login")}}(),()=>{e=!0}},[n]),a)?(0,t.jsx)(t.Fragment,{children:e}):(0,t.jsx)("div",{className:"admin-loading",children:"Loading…"})}var l=a(8230),m=a.n(l);let h=[{label:"Overview",links:[{href:"/admin",label:"Dashboard"},{href:"/admin/seo",label:"SEO"},{href:"/admin/settings",label:"Google Analytics"}]},{label:"Page Sections",links:[{href:"/admin/hero",label:"Hero"},{href:"/admin/about",label:"About"},{href:"/admin/notifications",label:"Notifications"},{href:"/admin/testimonials",label:"Testimonials"},{href:"/admin/tech-partners",label:"Tech Partners"},{href:"/admin/gallery",label:"Gallery"},{href:"/admin/brand-preview",label:"Brand Preview"},{href:"/admin/cta",label:"Pipeline CTA"},{href:"/admin/deploy",label:"Branding Page"},{href:"/admin/features",label:"Features"},{href:"/admin/faq",label:"FAQ / Docs"},{href:"/admin/footer",label:"Footer"},{href:"/admin/nav",label:"Navigation"}]},{label:"Content",links:[{href:"/admin/team",label:"Team"}]}];function c(){let e=(0,r.useRouter)(),n=e.pathname;async function a(){try{await (0,o.n)("/auth/logout",{method:"POST"})}catch{}(0,d.L)(),e.replace("/login")}return(0,t.jsxs)("aside",{className:"admin-sidebar",children:[(0,t.jsxs)("div",{className:"admin-brand",children:[(0,t.jsx)("span",{className:"admin-brand-mark",children:"N"}),"NextCode CMS"]}),(0,t.jsx)("nav",{className:"admin-nav",children:h.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"admin-nav-group-label",children:e.label}),e.links.map(e=>(0,t.jsx)(m(),{href:e.href,className:`admin-nav-link${n===e.href?" active":""}`,children:e.label},e.href))]},e.label))}),(0,t.jsx)("div",{className:"admin-nav-spacer"}),(0,t.jsx)("button",{type:"button",className:"admin-logout",onClick:a,children:"Sign out"})]})}let f={"/admin":"Dashboard","/admin/hero":"Hero","/admin/about":"About","/admin/features":"Features","/admin/faq":"FAQ / Docs","/admin/footer":"Footer","/admin/nav":"Navigation","/admin/team":"Team","/admin/company-info":"Company Info","/admin/brand-preview":"Brand Preview","/admin/deploy":"Branding Page"};function u(){let e=f[(0,r.useRouter)().pathname]??"Admin";return(0,t.jsxs)("header",{className:"admin-topbar",children:[(0,t.jsxs)("div",{className:"admin-traffic",children:[(0,t.jsx)("span",{className:"admin-dot red"}),(0,t.jsx)("span",{className:"admin-dot yellow"}),(0,t.jsx)("span",{className:"admin-dot green"})]}),(0,t.jsxs)("div",{className:"admin-breadcrumb",children:["NextCode / ",(0,t.jsx)("strong",{children:e})]}),(0,t.jsx)("div",{className:"admin-topbar-spacer"})]})}function y({children:e}){return(0,t.jsx)(s,{children:(0,t.jsxs)("div",{className:"admin-shell",children:[(0,t.jsx)(c,{}),(0,t.jsxs)("div",{className:"admin-main",children:[(0,t.jsx)(u,{}),(0,t.jsx)("main",{className:"admin-content",children:e})]})]})})}}}]);

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.