import { hookstate } from "@hookstate/core";
import { RefObject } from "react";
import { IGlobalTema } from './type_global';

export const pwd_key_config = "fchgvjknlmdfnbvghhujlaknsdvjbhknlkmsdbdyu567t8y9u30r4587638y9uipkoeghjvuyi89ipkoefmnrjbhtiu4or9ipkoemnjfbhjiuoijdklnjhbviufojkejnshbiuojijknehgruyu"
export const globalRole = hookstate<string>('')
export const DIR = {
   parentDir: "cm0x8a1as0001bp5te7354yrp",
   task: "cm0xhcqf0000dacbbixjb09yn",
   project: "cm0xhc9sv000bacbb7rfikw1k",
   document: "cm0xhbkf50009acbbtw03qo4l",
   village: "cm0xhb91o0007acbbkx8rk8hj",
   user: "cm0x8dbwn0005bp5tgmfcthzw",
   banner: "cm1sxex19004938bjvyaq8vta",
   announcement: "cmkdfkze4005hkhjgunsroi4t",
   discussion: "cmkf5h7ic006jkhjgyrkog7ut",
   discussionDivision: "cmkdfktfm005fkhjggjvnqly5"
}

export const keyWibu = 'padahariminggukuturutayahkekotanaikdelmanistimewakududukdimuka'

export const TEMA = hookstate<IGlobalTema>({
   utama: "#19345E",
   bgUtama: "#F4F9FD",
   bgIcon: "#384288",
   bgFiturHome: "#FCAA4B",
   bgFiturDivision: "#FCAA4B",
   bgTotalKegiatan: "#DCEED8"
})

export const globalNotifPage = hookstate({
   load: false,
   category: ''
})

export const currentScroll = hookstate<RefObject<HTMLDivElement> | null>(null);