1 line
20 KiB
JavaScript
1 line
20 KiB
JavaScript
|
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{6170:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return a(9232)}])},620:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(4848),l=a(6540);function n(e){let{width:t,position:a,style:n,borderWidth:r,screen:i,title:o}=e;return(0,s.jsxs)("div",{className:" top-0 left-0 w-full h-full flex items-center justify-center gap-4 bg-white/80 dark:bg-slate-800/80 z-50"+(i?" fixed":" absolute"),style:{...n,position:a,zIndex:2e4},children:[(0,s.jsx)("span",{className:"general_loader",style:t?{width:t,height:t,minWidth:t,borderWidth:r||"4px"}:{}}),o?(0,s.jsx)("span",{children:o}):(0,s.jsx)(l.Fragment,{})]})}},7869:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(4848);let l=(0,a(5737).A)("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"}]]);function n(e){let{size:t,adminAside:a,collapseAsideMobile:n,setCollapseAsideMobile:r}=e;return(0,s.jsxs)("a",{href:"/",className:"logo",onClick:e=>{let t=e.target;if(null==t?void 0:t.closest("button"))return e.preventDefault()},children:[a&&(0,s.jsxs)("button",{className:"flex lg:hidden small-text mr-2 primary-light",onClick:e=>{n&&r?r(!1):r&&r(!0)},children:[(0,s.jsx)("div",{className:"-mt-0.5",children:(0,s.jsx)(l,{})}),(0,s.jsx)("span",{className:"dark:text-white",children:"Menu"})]}),(0,s.jsx)("img",{src:"/images/logo-icon-alt-2.webp",alt:"Datasquirel Logo",width:35,className:"dark:hidden -mt-1.5 -mr-1.5"}),(0,s.jsx)("img",{src:"/images/logo-icon-alt-2.webp",alt:"Datasquirel Logo",width:35,className:"hidden dark:flex -mt-1.5 -mr-1.5"}),(0,s.jsx)("span",{className:"text-slate-800 dark:text-white text-[20px] font-bold hidden sm:flex -mt-[1px]",children:"Datasquirel"})]})}a(6540)},6411:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(4848),l=a(6540);function n(e){let{pageTitle:t,pageDescription:a,pagePathname:n,aceEditor:r}=e;return(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("link",{rel:"canonical",href:"http://localhost:7070"+n}),(0,s.jsx)("meta",{property:"og:url",content:"http://localhost:7070"+n}),(0,s.jsx)("meta",{itemProp:"url",content:"http://localhost:7070"+n}),(0,s.jsx)("meta",{name:"twitter:url",content:"http://localhost:7070"+n}),(0,s.jsx)("meta",{property:"og:title",content:t}),(0,s.jsx)("meta",{property:"og:description",content:a}),(0,s.jsx)("meta",{itemProp:"name",content:t}),(0,s.jsx)("meta",{itemProp:"description",content:a}),(0,s.jsx)("meta",{name:"twitter:title",content:t}),(0,s.jsx)("meta",{name:"twitter:description",content:a}),r&&(0,s.jsxs)(l.Fragment,{children:[(0,s.jsx)("script",{src:"https://cdnjs.cloudflare.com/ajax/libs/ace/1.22.0/ace.min.js",integrity:"sha512-q6CTB0jS+VuJnSct82rVcWlI06LGzNjaG3CWenHWVUncRvc4UQMFkA3a5Ip880xr+lBx38FcHDclOxPdSg+sBw==",crossOrigin:"anonymous",referrerPolicy:"no-referrer"}),(0,s.jsx)("script",{src:"https://cdnjs.cloudflare.com/ajax/libs/ace/1.22.0/ext-language_tools.min.js",integrity:"sha512-6g6cvocV7eT/J8L44lL8gJKqq9onqQeYGgJO0DmrsYFcCfRl6wYkYA/KHS768r4QVTB4JxsCcMQ9gIezxpTCZw==",crossOrigin:"anonymous",referrerPolicy:"no-referrer"})]})]})}},4819:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(4848),l=a(6540);function n(e){let[t,a]=l.useState("Light Mode");return l.useEffect(()=>{let e=localStorage.getItem("theme");(null==e?void 0:e.match(/dark/))&&a("Dark Mode")},[]),(0,s.jsx)("div",{className:"",id:"theme-selector-wrapper",onClick:()=>{var e,t;let s=document.getElementById("theme-selector-graphic-wrapper"),l=localStorage.getItem("theme"),n=null==s?void 0:s.querySelector("img.sun"),r=null==s?void 0:s.querySelector("img.moon");!l||(null==l?void 0:l.match(/light/))?(document.documentElement.className="dark",localStorage.setItem("theme","dark"),l="dark",null==n||n.classList.add("hidden"),null==r||r.classList.remove("hidden"),null==s||null===(e=s.firstChild)||void 0===e||e.classList.add("ml-auto"),a("Dark Mode")):(null==l?void 0:l.match(/dark/))&&(document.documentElement.className="light",localStorage.setItem("theme","light"),l="light",null==r||
|