PageSourceSearch

https://lan.go.id/_next/static/chunks/3w7_edwsnkqsc.js

js lan.go.id collected 2026-10-02 06:23:49 UTC 33,740 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,8341,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={cancelIdleCallback:function(){return n},requestIdleCallback:function(){return i}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let i="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},19083,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={ESCAPE_REGEX:function(){return n},htmlEscapeAttributeString:function(){return c},htmlEscapeJsonString:function(){return u}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let i={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},n=/[&><\u2028\u2029]/g,l={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},o=/[&"'<>]/g;function u(e){return e.replace(n,e=>i[e])}function c(e){return e.replace(o,e=>l[e])}},79520,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return v},handleClientScriptLoad:function(){return x},initScriptLoader:function(){return y}};for(var s in a)Object.defineProperty(r,s,{enumerable:!0,get:a[s]});let i=e.r(55682),n=e.r(90809),l=e.r(18050),o=i._(e.r(74080)),u=n._(e.r(71645)),c=e.r(42732),d=e.r(22737),h=e.r(8341),f=e.r(19083),m=new Map,g=new Set,p=e=>{let{src:t,id:r,onLoad:a=()=>{},onReady:s=null,dangerouslySetInnerHTML:i,children:n="",strategy:l="afterInteractive",onError:u,stylesheets:c}=e,h=r||t;if(h&&g.has(h))return;if(m.has(t)){g.add(h),m.get(t).then(a,u);return}let f=()=>{s&&s(),g.add(h)},p=document.createElement("script"),x=new Promise((e,t)=>{p.addEventListener("load",function(t){e(),a&&a.call(this,t),f()}),p.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});i?(p.innerHTML=i.__html||"",f()):n?(p.textContent="string"==typeof n?n:Array.isArray(n)?n.join(""):"",f()):t&&(p.src=t,m.set(t,x)),(0,d.setAttributesFromProps)(p,e),"worker"===l&&p.setAttribute("type","text/partytown"),p.setAttribute("data-nscript",l),c&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(c),document.body.appendChild(p)};function x(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>p(e))}):p(e)}function y(e){e.forEach(x),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");g.add(t)})}function b(e){let{id:t,src:r="",onLoad:a=()=>{},onReady:s=null,strategy:i="afterInteractive",onError:n,stylesheets:d,...m}=e,{updateScripts:x,scripts:y,getIsSsr:b,appDir:v,nonce:j}=(0,u.useContext)(c.HeadManagerContext);j=m.nonce||j;let w=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||r;w.current||(s&&e&&g.has(e)&&s(),w.current=!0)},[s,t,r]);let N=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{if(!N.current){if("afterInteractive"===i)p(e);else"lazyOnload"===i&&("complete"===document.readyState?(0,h.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,h.requestIdleCallback)(()=>p(e))}));N.current=!0}},[e,i]),("beforeInteractive"===i||"worker"===i)&&(x?(y[i]=(y[i]||[]).concat([{id:t,src:r,onLoad:a,onReady:s,onError:n,...m,nonce:j}]),x(y)):b&&b()?g.add(t||r):b&&!b()&&p({...e,nonce:j})),v){if(d&&d.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===i)if(!r)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:j,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,f.htmlEscapeJsonString)(JSON.stringify([0,{...m,id:t}]))})`}});else return o.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:j,crossOrigin:m.crossOrigin}:{as:"script",nonce:j,crossOrigin:m.crossOrigin}),(0,l.jsx)("script",{nonce:j,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,f.htmlEscapeJsonString)(JSON.stringify([r,{...m,id:t}]))})`}});"afterInteractive"===i&&r&&o.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:j,crossOrigin:m.crossOrigin}:{as:"script",nonce:j,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(b,"__nextScript",{value:!0});let v=b;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},92345,e=>{"use strict";var t=e.i(18050),r=e.i(75254);let a=(0,r.default)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),s=(0,r.default)("Ban",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.9 4.9 14.2 14.2",key:"1m5liu"}]]),i=(0,r.default)("RefreshCcw",[["path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"14sxne"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16",key:"1hlbsb"}],["path",{d:"M16 16h5v5",key:"ccwih5"}]]);var n=e.i(71645);class l extends n.Component{constructor(e){super(e),this.state={hasError:!1,errorMessage:""}}static getDerivedStateFromError(e){return{hasError:!0,errorMessage:e.message}}componentDidCatch(e,t){console.error(e,t)}getErrorMessage=()=>{let e={en:{title:"An Error Occurred",description:"An unexpected error has occurred. Please try again later.",refreshPage:"Refresh Page",backToHome:"Back to Home"},id:{title:"Terjadi Kesalahan",description:"Terjadi kesalahan yang tidak diharapkan. Silakan coba lagi nanti.",refreshPage:"Muat Ulang Halaman",backToHome:"Kembali ke Beranda"}};return e[this.props.locale]||e.en};render(){if(this.state.hasError){let{title:e,description:r,refreshPage:n,backToHome:l}=this.getErrorMessage();return(0,t.jsx)("section",{className:"min-h-screen flex flex-col items-center justify-center p-4 bg-gray-50 font-poppins",children:(0,t.jsx)("div",{className:"w-full max-w-xl min-w-lg p-8 bg-white rounded-lg shadow-lg",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,t.jsx)("div",{className:"p-4 bg-secondary/10 rounded-full",children:(0,t.jsx)(s,{className:"size-8 text-secondary"})}),(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("h1",{className:"text-xl font-semibold text-gray-900 mb-2",children:e}),(0,t.jsx)("p",{className:"text-gray-600 mb-4",children:r}),"en"===this.props.locale&&(0,t.jsxs)("div",{className:"text-sm text-gray-500",children:["If this problem persists, please contact our support",(0,t.jsx)("span",{className:"flex justify-center",children:(0,t.jsx)("a",{href:"mailto:[email protected]",className:"w-max relative flex items-center justify-center gap-2 text-sm text-secondary hover:text-secondary-hovered transition-all duration-300 after:absolute after:bottom-0 after:left-0 after:w-0 after:h-[1.5px] after:bg-secondary-hovered hover:after:w-full after:transition-all after:duration-300",children:"[email protected]"})}),"or try refreshing the page."]}),"id"===this.props.locale&&(0,t.jsxs)("div",{className:"text-sm text-gray-500",children:["Jika masalah ini tetap terjadi, silakan hubungi kami",(0,t.jsx)("span",{className:"flex justify-center",children:(0,t.jsx)("a",{href:"mailto:[email protected]",className:"w-max relative flex items-center justify-center gap-2 text-sm text-primary hover:text-primary-hovered transition-all duration-300 after:absolute after:bottom-0 after:left-0 after:w-0 after:h-[1.5px] after:bg-primary-hovered hover:after:w-full after:transition-all after:duration-300",children:"[email protected]"})}),"atau coba muat ulang halaman."]})]}),(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row gap-2 justify-center items-center",children:[(0,t.jsxs)("button",{onClick:()=>window.location.replace("/"),className:"px-4 py-2 bg-primary text-white rounded-md hover:bg-primary-hovered transition-colors duration-200 mr-2 flex items-center justify-center gap-2",children:[(0,t.jsx)(a,{className:"size-4 mr-2"}),l]}),(0,t.jsxs)("button",{"aria-label":"refresh-page",onClick:()=>window.location.reload(),className:"px-4 py-2 bg-secondary text-white text-left rounded-md hover:bg-secondary-hovered transition-colors duration-200 flex items-center justify-center gap-2",children:[n,(0,t.jsx)(i,{className:"size-4 ml-2"})]})]})]})})})}return this.props.children}}let o=()=>(0,t.jsx)("section",{className:"h-screen flex items-center justify-center",children:(0,t.jsx)("img",{src:"/image/logo.png",alt:"loading",width:100,height:100,loading:"lazy",className:"animate-bounce animate-infinite drop-shadow-md"})});e.i(92936);var u=e.i(45969),c=e.i(22016);let d=({setting:e,isLoading:r})=>{let{label:a}=(0,u.useLanguage)();return(0,t.jsx)("footer",{className:"w-full bg-white font-poppins dark:bg-background shadow-md mt-auto",children:(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)("div",{className:"bg-[#303030] text-white",children:(0,t.jsxs)("div",{className:"container mx-auto px-8 py-16 lg:py-12 grid grid-cols-1 gap-16 xl:grid-cols-3 xl:gap-6",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2 pr-0 lg:pr-16",children:[(0,t.jsx)("h3",{className:"font-semibold text-lg mb-4",children:a.contact_us}),r?(0,t.jsx)("div",{className:"h-8 bg-gray-200 animate-pulse rounded"}):(0,t.jsx)("p",{className:"font-medium",children:e?.data.app_name}),r?(0,t.jsx)("div",{className:"h-8 bg-gray-200 animate-pulse rounded"}):(0,t.jsx)("p",{children:e?.data.addresss}),r?(0,t.jsx)("div",{className:"h-8 bg-gray-200 animate-pulse rounded"}):(0,t.jsx)("p",{children:e?.data.phone}),r?(0,t.jsx)("div",{className:"h-8 bg-gray-200 animate-pulse rounded"}):(0,t.jsx)("p",{children:e?.data.email})]}),(0,t.jsx)("div",{className:"flex justify-center lg:w-[80%] w-full",children:(0,t.jsx)("iframe",{title:"office-location",src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3966.7160865173623!2d106.82384767567544!3d-6.168759493818541!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x2e69f5d0f93e22ab%3A0xb068468c95b3ffee!2sLembaga%20Administrasi%20Negara!5e0!3m2!1sen!2sid!4v1725238244009!5m2!1sen!2sid",width:"100%",height:"250",allowFullScreen:!1,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade",className:"rounded-sm"})}),(0,t.jsxs)("div",{className:"flex flex-col gap-2 pl-0 xl:pl-16",children:[(0,t.jsx)("h3",{className:"font-bold text-lg mb-4",children:a.follow_us}
1),r?(0,t.jsx)("div",{className:"flex gap-2",children:[void 0,void 0,void 0,void 0].map((e,r)=>(0,t.jsx)("div",{className:"w-[48px] h-[48px] bg-gray-200 animate-pulse rounded-full"},r))}):(0,t.jsx)("div",{className:"flex gap-2",children:[{id:"facebook",icon:"/image/facebook.png",url:"https://www.facebook.com/HumasLANRI/"},{id:"twitter",icon:"/image/twitter.png",url:"https://x.com/lan_ri?lang=id"},{id:"instagram",icon:"/image/instagram.png",url:"https://www.instagram.com/humas_lan/?hl=id"},{id:"youtube",icon:"/image/youtube.png",url:"https://www.youtube.com/channel/UCw8daGbSlbUspE2Au-6iyWQ"}].map(e=>(0,t.jsx)(c.default,{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-80 transition-opacity !cursor-pointer",children:(0,t.jsx)("img",{src:e.icon,alt:e.id,width:48,height:48,loading:"lazy",className:"rounded-lg"})},e.id))})]})]})}),(0,t.jsx)("div",{className:"bg-[#1a1a1a] text-white",children:(0,t.jsx)("div",{className:"container mx-auto flex justify-center items-center lg:py-8 px-8 py-16",children:r?(0,t.jsx)("div",{className:"w-[80%] h-8 bg-gray-200 animate-pulse rounded"}):(0,t.jsxs)("p",{className:"text-center lg:text-base text-sm",children:["Copyright © ",new Date().getFullYear()," - ",e?.data.app_name]})})})]})})};function h(){return(0,n.useEffect)(()=>{if(window.googleTranslateScriptAdded)return;let e=document.createElement("script");e.src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit",e.async=!0,document.body.appendChild(e),window.googleTranslateScriptAdded=!0,window.googleTranslateElementInit=()=>{new window.google.translate.TranslateElement({pageLanguage:"id",includedLanguages:"id,en",layout:window.google.translate.TranslateElement.InlineLayout.SIMPLE},"google_translate_element")}},[]),(0,t.jsx)("div",{className:"p-2",children:(0,t.jsx)("div",{id:"google_translate_element"})})}let f=[{id:"en",icon:"/image/english.png",title:"English"},{id:"id",icon:"/image/indonesia.png",title:"Indonesia"}],m=()=>{let e=(0,n.useRef)(null),{isPending:r,lang:a,onChangeLanguage:s}
1=(0,u.useLanguage)(),[i,l]=(0,n.useState)(!1);f.filter(e=>e.id===a)[0];let o=t=>{e.current&&!e.current.contains(t.target)&&l(!1)};return(0,n.useEffect)(()=>(window.addEventListener("mousedown",o),()=>{window.removeEventListener("mousedown",o)}),[]),(0,t.jsx)("div",{className:"relative",ref:e,children:(0,t.jsx)(h,{})})};var g=e.i(85149),p=e.i(75157);let x=(0,r.default)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);var y=e.i(63059);let b=(0,r.default)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);var v=e.i(55436),j=e.i(18566);let w=({setting:e,menus:r,isLoading:a,onHandleSidebar:s})=>{let{push:i,replace:l}=(0,j.useRouter)(),o=(0,j.usePathname)(),u=o?.split("/")[1],[d,h]=(0,n.useState)(!1),f=e=>{sessionStorage.setItem(g.KEY.STORAGE.DOCUMENT_ID,e)},w=()=>{h(window.scrollY>10)},{grandParentSlug:N,parentSlug:C}=(0,n.useMemo)(()=>{let e=null,t=null;if(!u||0===r.length||!r)return{grandParentSlug:e,parentSlug:t};for(let a of r)if(a.children&&a.children?.length>0){for(let r of a.children??[])if(r.slug===u&&(t=a.slug),r.children&&r.children?.length>0)for(let s of r.children??[])s.slug===u&&(e=a.slug,t=r.slug)}return{grandParentSlug:e,parentSlug:t}},[o,r]);return(0,n.useEffect)(()=>{let e=sessionStorage.getItem(g.KEY.STORAGE.DOCUMENT_ID);if(e&&r.length>0)for(let t of r){if(t.page?.documentId===e)return void l(`/${t.slug}`);if(t.children&&t.children.length>0)for(let r of t.children){if(r.page?.documentId===e)return void l(`/${r.slug}`);if(r.children&&r.children.length>0){for(let t of r.children)if(t.page?.documentId===e)return void l(`/${t.slug}`)}}}},[r]),(0,n.useEffect)(()=>(window.addEventListener("scroll",w),()=>window.removeEventListener("scroll",w)),[]),(0,t.jsx)("header",{className:(0,p.cn)("fixed top-0 left-0 right-0 z-40 xl:h-[120px] h-[100px] w-full font-poppins bg-white transition-all duration-300 shadow-none text-[#171717]",{"shadow-md":d}),children:(0,t.jsxs)("section",{className:"container h-full px-8 py-3 mx-auto w-full flex items-center justify-between",children:[a&&(0,t.jsx)("div",{className:"w-[100px] h-[75px] md:w-[150px] xl:w-[200px] xl:h-[100px] bg-gray-200 rounded animate-pulse"}),!a&&e&&(0,t.jsx)("div",{className:"w-[100px] h-[75px] md:w-[150px] xl:w-[200px] xl:h-[100px] flex items-center justify-center",children:(0,t.jsx)("img",{src:g.GENERAL.CMS.BASE_URL+e?.data.icon.url,alt:e?.data.icon.name??"lan-ri",width:"100%",height:"100%",loading:"lazy",className:"cursor-pointer",onClick:()=>{sessionStorage.removeItem(g.KEY.STORAGE.DOCUMENT_ID),i("/")}})}),!a&&r.length>0&&(0,t.jsx)("nav",{className:"hidden xl:flex",children:(0,t.jsx)("ul",{className:"flex items-center gap-6",children:r.map(e=>{let r=""===e.slug?"/"===o:N===e.slug||C===e.slug;return(0,t.jsxs)("li",{className:"relative group",children:[(0,t.jsxs)("div",{className:(0,p.cn)("flex text-sm items-center justify-between gap-2 py-2 px-1 transition-all relative after:absolute after:bottom-0 after:left-0 after:w-0 after:h-0.5 after:bg-primary hover:after:w-full group-hover:after:w-full after:transition-all after:duration-300",{"font-semibold text-primary":r}),children:[(e.page||""===e.slug)&&(0,t.jsx)(c.default,{href:""===e.slug?"/":`/${e.slug}`,className:"flex-1",onClick:()=>{""===e.slug&&sessionStorage.removeItem(g.KEY.STORAGE.DOCUMENT_ID),e.page&&""!==e.slug&&f(e.page.documentId)},children:e.title}),e.url&&(0,t.jsx)(c.default,{href:e.url,className:"flex-1",children:e.title}),!e.page&&!e.url&&""!==e.slug&&(0,t.jsx)("p",{className:"flex-1",children:e.title}),e.children&&e.children?.length>0&&(0,t.jsx)(x,{className:"size-4 "})]}),e.children&&e.children?.length>0&&(0,t.jsx)("div",{className:"absolute top-full left-0 mt-2 w-[240px] text-sm bg-white shadow-lg rounded-md opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all duration-300",children:(0,t.jsx)("ul",{className:"py-2",children:e.children.map(e=>(0,t.jsxs)("li",{className:"relative group/child",children:[(0,t.jsxs)("div",{className:(0,p.cn)("flex items-center justify-between gap-2 px-4 py-2 hover:bg-gray-100 transition-colors",{"font-semibold text-primary":C===e.slug||o===`/${e.slug}`}),children:[e.page&&(0,t.jsx)(c.default,{href:`/${e.slug}`,className:(0,p.cn)("flex-1"),onClick:()=>{e.page&&f(e.page.documentId)},children:e.title}),e.url&&(0,t.jsx)(c.default,{href:e.url,className:(0,p.cn)("flex-1"),children:e.title}),!e.page&&!e.url&&(0,t.jsx)("p",{className:"flex-1",children:e.title}),e.children&&e.children?.length>0&&(0,t.jsx)(y.ChevronRight,{className:"size-4"})]}),e.children&&e.children?.length>0&&(0,t.jsx)("ul",{className:"absolute left-full top-0 w-[240px] py-2 bg-white shadow-lg rounded-md opacity-0 invisible group-hover/child:opacity-100 group-hover/child:visible transition-all duration-300",children:e.children.map(e=>(0,t.jsx)("li",{className:"relative group/grand-child",children:(0,t.jsxs)("div",{className:(0,p.cn)("flex items-center justify-between gap-2 px-4 py-2 hover:bg-gray-100 transition-colors",{"font-semibold text-primary":o===`/${e.slug}`}),children:[e.page&&(0,t.jsx)(c.default,{href:`/${e.slug}`,className:(0,p.cn)("flex-1"),onClick:()=>{e.page&&f(e.page.documentId)},children:e.title}),e.url&&(0,t.jsx)(c.default,{href:e.url,className:(0,p.cn)("flex-1"),children:e.title}),!e.page&&!e.url&&(0,t.jsx)("p",{className:"flex-1",children:e.title})]})},e.id))})]},e.id))})})]},e.id)})})}),(0,t.jsxs)("div",{className:"flex items-center gap-0 xl:gap-4",children:[(0,t.jsx)("button",{"aria-label":"search",onClick:()=>{sessionStorage.removeItem(g.KEY.STORAGE.DOCUMENT_ID),i("/search")},className:"p-2 rounded-full hover:bg-gray-100 hover:text-secondary transition-all duration-300",children:(0,t.jsx)(v.Search,{className:"size-6"})}),(0,t.jsx)("button",{"aria-label":"menu",onClick:s,className:"xl:hidden flex p-2 rounded-full hover:bg-gray-100 hover:text-secondary transition-all duration-300",children:(0,t.jsx)(b,{className:"size-6"})}),(0,t.jsx)(m,{})]})]})})};var N=e.i(37727);let C=({menus:e,isLoading:r,isOpen:a,onClose:s})=>{let{replace:i}=(0,j.useRouter)(),l=(0,j.usePathname)(),o=l?.split("/")[1],[u,d]=(0,n.use
1State)({}),h=e=>{d(t=>({...t,[e.id]:!t[e.id]}))},f=e=>{sessionStorage.setItem(g.KEY.STORAGE.DOCUMENT_ID,e)},{grandParentSlug:m,parentSlug:y}=(0,n.useMemo)(()=>{let t=null,r=null;if(!o||0===e.length||!e)return{grandParentSlug:t,parentSlug:r};for(let a of e)if(a.children&&a.children?.length>0){for(let e of a.children??[])if(e.slug===o&&(r=a.slug),e.children&&e.children?.length>0)for(let s of e.children??[])s.slug===o&&(t=a.slug,r=e.slug)}return{grandParentSlug:t,parentSlug:r}},[l,e]);return(0,n.useEffect)(()=>{let t=sessionStorage.getItem(g.KEY.STORAGE.DOCUMENT_ID);if(t&&e.length>0)for(let r of e){if(r.page?.documentId===t)return void i(`/${r.slug}`);if(r.children&&r.children.length>0)for(let e of r.children){if(e.page?.documentId===t)return void i(`/${e.slug}`);if(e.children&&e.children.length>0){for(let r of e.children)if(r.page?.documentId===t)return void i(`/${r.slug}`)}}}},[e]),(0,n.useEffect)(()=>(document.body.style.overflow=a?"hidden":"unset",()=>{document.body.style.overflow="unset"}),[a]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:(0,p.cn)("flex xl:hidden w-full fixed inset-0 bg-black/30 dark:bg-black/30 backdrop-blur-sm z-40 transition-opacity duration-300",a?"opacity-100":"opacity-0 pointer-events-none"),onClick:s}),(0,t.jsxs)("aside",{className:(0,p.cn)("flex flex-col xl:hidden fixed top-0 right-0 h-full w-full md:w-[500px] font-poppins bg-white dark:bg-background z-50 shadow-xl transition-transform duration-300 overflow-y-auto",a?"translate-x-0":"translate-x-full"),children:[(0,t.jsx)("div",{className:"p-4 flex justify-end",children:(0,t.jsx)("button",{"aria-label":"close",onClick:s,className:"p-2 rounded-full hover:bg-gray-100 dark:hover:text-background transition-all duration-300 hover:text-secondary dark:hover:text-secondary hover:rotate-90 ",children:(0,t.jsx)(N.X,{className:"size-6"})})}),!r&&e.length>0&&(0,t.jsx)("nav",{className:"px-6 pb-6",children:(0,t.jsx)("ul",{className:"flex flex-col gap-2",children:e.map(e=>{let r=""===e.slug?"/"===l:m===e.slug||y===e.slug;return(0,t.jsxs)("li",{children:[(0,t.jsxs)("button",{onClick:t=>{t.preventDefault(),h(e)},className:(0,p.cn)("flex items-center justify-between gap-2 hover:bg-gray-100 dark:hover:bg-primary-highlight transition-colors rounded-md w-full min-h-[56px]",{"font-semibold text-primary hover:dark:text-white":r}),children:[(e.page||""===e.slug)&&(0,t.jsx)(c.default,{href:""===e.slug?"/":`/${e.slug}`,onClick:t=>{t.stopPropagation(),s(),""===e.slug&&sessionStorage.removeItem(g.KEY.STORAGE.DOCUMENT_ID),e.page&&""!==e.slug&&f(e.page.documentId)},className:"flex-1 text-left px-4 py-3",children:e.title}),e.url&&(0,t.jsx)(c.default,{href:e.url,className:"flex-1 text-left px-4 py-3",children:e.title}),!e.page&&!e.url&&""!==e.slug&&(0,t.jsx)("p",{className:"flex-1 text-left px-4 py-3",children:e.title}),e.children&&e.children?.length>0&&(0,t.jsx)(x,{className:(0,p.cn)("size-4 transition-transform duration-200 mr-4",{"rotate-180":u[e.id]})})]}),e.children&&e.children?.length>0&&(0,t.jsx)("div",{className:(0,p.cn)("ml-4 mt-1 overflow-hidden transition-all duration-300",{"h-max opacity-100":u[e.id],"max-h-0 opacity-0":!u[e.id]}),children:(0,t.jsx)("ul",{className:"flex flex-col gap-1",children:e.children.map(e=>(0,t.jsxs)("li",{children:[(0,t.jsxs)("button",{onClick:t=>{t.preventDefault(),h(e)},className:(0,p.cn)("flex items-center justify-between gap-2 hover:bg-gray-100 dark:hover:bg-primary-highlight transition-colors rounded-md w-full min-h-[56px]",{"font-semibold text-primary hover:dark:text-white":y===e.slug||l===`/${e.slug}`}),children:[e.page&&(0,t.jsx)(c.default,{href:`/${e.slug}`,onClick:t=>{t.stopPropagation(),s(),e.page&&f(e.page.documentId)},className:(0,p.cn)("flex-1 text-left px-4 py-3"),children:e.title}),e.url&&(0,t.jsx)(c.default,{href:e.url,className:(0,p.cn)("flex-1 text-left px-4 py-3"),children:e.title}),!e.page&&!e.url&&(0,t.jsx)("p",{className:"flex-1 text-left px-4 py-3",children:e.title}),e.children&&e.children?.length>0&&(0,t.jsx)(x,{className:(0,p.cn)("size-4 transition-transform duration-200 mr-4",{"rotate-180":u[e.id]})})]}),e.children&&e.children?.length>0&&(0,t.jsx)("div",{className:(0,p.cn)("ml-4 mt-1 overflow-hidden transition-all duration-300",{"h-max opacity-100":u[e.id],"max-h-0 opacity-0":!u[e.id]}),children:(0,t.jsx)("ul",{className:"flex flex-col gap-1",children:e.children.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)("div",{className:(0,p.cn)("flex items-center justify-between gap-2 hover:bg-gray-100 dark:hover:bg-primary-highlight transition-colors rounded-md w-full min-h-[56px]",{"font-semibold text-primary hover:dark:text-white":l===`/${e.slug}`}),children:[e.page&&(0,t.jsx)(c.default,{href:`/${e.slug}`,className:(0,p.cn)("flex-1 text-left px-4 py-3"),onClick:t=>{t.stopPropagation(),s(),e.page&&f(e.page.documentId)},children:e.title}),e.url&&(0,t.jsx)(c.default,{href:e.url,className:"flex-1 text-left px-4 py-3",children:e.title}),!e.page&&!e.url&&(0,t.jsx)("p",{className:"flex-1 text-left px-4 py-3",children:e.title})]})},e.id))})})]},e.id))})})]},e.id)})})})]})]})};var E=e.i(50147);e.i(98659);var O=e.i(60598),k=e.i(1657);let M=({children:e})=>
1{let[r,a]=(0,n.useState)(!1),s=()=>{a(e=>!e)},{data:i,isLoading:l}=(0,k.useSettingQuery)(),{data:o,isLoading:u}=(0,O.useMenusQuery)(),c=(0,n.useMemo)(()=>o?(0,E.regroupMenu)(o):[],[o]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w,{setting:i,menus:c,isLoading:u,onHandleSidebar:s}),(0,t.jsx)(C,{menus:c,isLoading:u,isOpen:r,onClose:s}),e,(0,t.jsx)(d,{setting:i,isLoading:l})]})},I=(0,r.default)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),S=()=>{let[e,r]=(0,n.useState)(!1),a=()=>{r(window.scrollY>150)};return(0,n.useEffect)(()=>(window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)),[]),(0,t.jsx)("button",{onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:`${e?"animate-jump-in":"animate-jump-out"} z-20 fixed bottom-4 right-4 p-3 rounded-full bg-gradient-to-br from-primary to-primary-highlight text-white shadow-md transition-all duration-300 ease-in-out hover:shadow-lg hover:bg-gradient-to-br hover:from-primary-highlight hover:to-primary`,"aria-label":"Scroll to top",children:(0,t.jsx)(I,{className:"md:size-8 size-6"})})};var _=e.i(19273),q=e.i(75555),A=e.i(40143),D=e.i(14448),Q=e.i(15823),T=e.i(14272),P=class extends Q.Subscribable{#e;#t;#r;constructor(e={}){super(),this.config=e,this.#e=new Set,this.#t=new Map,this.#r=0}build(e,t,r){let a=new T.Mutation({client:e,mutationCache:this,mutationId:++this.#r,options:e.defaultMutationOptions(t),state:r});return this.add(a),a}add(e){this.#e.add(e);let t=L(e);if("string"==typeof t){let r=this.#t.get(t);r?r.push(e):this.#t.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#e.delete(e)){let t=L(e);if("string"==typeof t){let r=this.#t.get(t);if(r)if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#t.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=L(e);if("string"!=typeof t)return!0;{let r=this.#t.get(t)?.find(e=>"pending"===e.state.status);return!r||r===e}}runNext(e){let t=L(e);return"string"==typeof t?this.#t.get(t)?.find(t=>
1t!==e&&t.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){A.notifyManager.batch(()=>{this.#e.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#e.clear(),this.#t.clear()})}getAll(){return Array.from(this.#e)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,_.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,_.matchMutation)(e,t))}notify(e){A.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return A.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(_.noop))))}};function L(e){return e.options.scope?.id}var R=Q,z=e.i(86491),K=class extends R.Subscribable{#a;constructor(e={}){super(),this.config=e,this.#a=new Map}build(e,t,r){let a=t.queryKey,s=t.queryHash??(0,_.hashQueryKeyByOptions)(a,t),i=this.get(s);return i||(i=new z.Query({client:e,queryKey:a,queryHash:s,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(a)}),this.add(i)),i}add(e){this.#a.has(e.queryHash)||(this.#a.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){this.#a.get(e.queryHash)===e&&(e.destroy(),this.#a.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){A.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#a.get(e)}getAll(){return[...this.#a.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,_.matchQuery)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,_.matchQuery)(e,t)):t}notify(e){A.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){A.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){A.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},H=class{#s;#i;#n;#l;#o;#u;#c;#d;constructor(e={}){this.#s=e.queryCache||new K,this.#i=e.mutationCache||new P,this.#n=e.defaultOptions||{},this.#l=new Map,this.#o=new Map,this.#u=0}mount(){this.#u++,1===this.#u&&(this.#c=q.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#s.onFocus())}),this.#d=D.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#s.onOnline())}))}unmount(){this.#u--,0===this.#u&&(this.#c?.(),this.#c=void 0,this.#d?.(),this.#d=void 0)}isFetching(e){return this.#s.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#i.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#s.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=this.#s.build(this,t),a=r.state.data;return void 0===a?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime((0,_.resolveQueryValue)(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(a))}getQueriesData(e){return this.#s.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let a=this.defaultQueryOptions({queryKey:e}),s=this.#s.get(a.queryHash)?.state.data,i=(0,_.functionalUpdate)(t,s);if(void 0!==i)return this.#s.build(this,a).setData(i,{...r,manual:!0})}setQueriesData(e,t,r){return A.notifyManager.batch(()=>this.#s.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#s.get(t.queryHash)?.state}removeQueries(e){let t=this.#s;A.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=this.#s;return A.notifyManager.batch(()=>{let a=r.findAll(e),s=new Set(a);return a.forEach(e=>{e.reset()}),this.refetchQueries({type:"active",predicate:e=>s.has(e)},t)})}cancelQueries(e,t={}){let r={revert:!0,...t};return Promise.all(A.notifyManager.batch(()=>this.#s.findAll(e).map(e=>e.cancel(r)))).then(_.noop).catch(_.noop)}invalidateQueries(e,t={}){return A.notifyManager.batch(()=>(this.#s.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let r={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(A.notifyManager.batch(()=>this.#s.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(_.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}
1))).then(_.noop)}async query(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#s.build(this,t),a=r.isStaleByTime((0,_.resolveQueryValue)(t.staleTime,r))?await r.fetch(t):r.state.data,s=t.select;return s?s(a):a}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#s.build(this,t);return r.isStaleByTime((0,_.resolveQueryValue)(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(_.noop).catch(_.noop)}infiniteQuery(e){return e._type="infinite",this.query(e)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(_.noop).catch(_.noop)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return D.onlineManager.isOnline()?this.#i.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#s}getMutationCache(){return this.#i}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#l.set((0,_.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#l.values()],r={};return t.forEach(t=>{(0,_.partialMatchKey)(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#o.set((0,_.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#o.values()],r={};return t.forEach(t=>{(0,_.partialMatchKey)(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,_.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===_.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#s.clear(),this.#i.clear()}},$=e.i(12598);let F=function(){return null};var U=e.i(61745);function B({locale:e,...r}){if(!e)throw Error(void 0);return(0,t.jsx)(U.IntlProvider,{locale:e,...r})}let G=new H({defaultOptions:{queries:{refetchOnWindowFocus:!1}}}),Y=({children:e,locale:r,messages:a})=>(0,t.jsx)(B,{locale:r,messages:a,timeZone:"Asia/Jakarta",children:(0,t.jsxs)($.QueryClientProvider,{client:G,children:[e,(0,t.jsx)(F,{initialIsOpen:!1})]})});var J=e.i(46696);e.s(["default",0,({children:e,locale:r,messages:a})=>(0,t.jsx)(l,{locale:r,children:(0,t.jsx)(n.Suspense,{fallback:(0,t.jsx)(o,{}),children:(0,t.jsxs)(Y,{locale:r,messages:a,children:[(0,t.jsx)(M,{children:e}),(0,t.jsx)(S,{}),(0,t.jsx)(J.Toaster,{richColors:!0,position:"top-right",duration:3e3,expand:!0})]})})})],92345)}]);

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.