dsql-admin/dsql-app/.local_dist/server/chunks/9600.js

1 line
17 KiB
JavaScript
Raw Normal View History

2024-12-09 09:39:09 +00:00
exports.id=9600,exports.ids=[9600],exports.modules={32415:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(8732),r=a(82015),l=a.n(r);function n({width:e,position:t,style:a,borderWidth:r,screen:n,title:i}){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"+(n?" fixed":" absolute"),style:{...a,position:t,zIndex:2e4},children:[(0,s.jsx)("span",{className:"general_loader",style:e?{width:e,height:e,minWidth:e,borderWidth:r||"4px"}:{}}),i?(0,s.jsx)("span",{children:i}):(0,s.jsx)(l().Fragment,{})]})}},93353:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s=a(8732),r=a(66759);function l({size:e,adminAside:t,collapseAsideMobile:a,setCollapseAsideMobile:l}){return(0,s.jsxs)("a",{href:"/",className:"logo",onClick:e=>{let t=e.target;if(t?.closest("button"))return e.preventDefault()},children:[t&&(0,s.jsxs)("button",{className:"flex lg:hidden small-text mr-2 primary-light",onClick:e=>{a&&l?l(!1):l&&l(!0)},children:[(0,s.jsx)("div",{className:"-mt-0.5",children:(0,s.jsx)(r.A,{})}),(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(82015)},87472:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(8732),r=a(82015),l=a.n(r);function n({pageTitle:e,pageDescription:t,pagePathname:a,aceEditor:r}){return(0,s.jsxs)(l().Fragment,{children:[(0,s.jsx)("link",{rel:"canonical",href:"http://localhost:7070"+a}),(0,s.jsx)("meta",{property:"og:url",content:"http://localhost:7070"+a}),(0,s.jsx)("meta",{itemProp:"url",content:"http://localhost:7070"+a}),(0,s.jsx)("meta",{name:"twitter:url",content:"http://localhost:7070"+a}),(0,s.jsx)("meta",{property:"og:title",content:e}),(0,s.jsx)("meta",{property:"og:description",content:t}),(0,s.jsx)("meta",{itemProp:"name",content:e}),(0,s.jsx)("meta",{itemProp:"description",content:t}),(0,s.jsx)("meta",{name:"twitter:title",content:e}),(0,s.jsx)("meta",{name:"twitter:description",content:t}),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"})]})]})}},34254:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var s=a(8732),r=a(82015),l=a.n(r);function n(e){let[t,a]=l().useState("Light Mode");return(0,s.jsx)("div",{className:"",id:"theme-selector-wrapper",onClick:()=>{let e=document.getElementById("theme-selector-graphic-wrapper"),t=localStorage.getItem("theme"),s=e?.querySelector("img.sun"),r=e?.querySelector("img.moon");!t||t?.match(/light/)?(document.documentElement.className="dark",localStorage.setItem("theme","dark"),t="dark",s?.classList.add("hidden"),r?.classList.remove("hidden"),e?.firstChild?.classList.add("ml-auto"),a("Dark Mode")):t?.match(/dark/)&&(document.documentElement.className="light",localStorage.setItem("theme","light"),t="light",r?.classList.add("hidden"),s?.classList.remove("hidden"),e?.firstChild?.classList.remove("ml-auto"),a("Light Mode"))},children:(0,s.jsx)("div",{className:"p-1 rounded-full w-12 transition-all",id:"theme-selector-graphic-wrapper",children:(0,s.jsxs)("div",{className:"pointer-events-none transition-all dark:ml-auto",children:[(0,s.jsx)("img",{src:"/images/sun.png",alt:"Sun Icon",width:18,className:"sun dark:hidden"}),(0,s.jsx)("img",{src:"/images/new-moon.png",alt:"Sun Icon",width:18,className:"moon hidden dar