// import React from 'react';
// import { useMemo, useState, useEffect, useRef } from 'react';
// import Image from '~/components/ui/image';
// import InformasiPerusahaan from './InformasiPerusahaan';
// import InformasiVendor from './InformasiVendor';
// import SyaratDagang from './SyaratDagang';
// import Dokumen from './Dokumen';
// import Konfirmasi from './Konfirmasi';
// import { getAuth } from '~/libs/auth';
// import { setAuth } from '@/core/utils/auth';
// import useAuth from '@/core/hooks/useAuth';
// import { useRouter } from 'next/router';
// import { Controller, useForm } from 'react-hook-form';
// import { ChevronRightIcon, ChevronLeftIcon } from '@heroicons/react/24/outline';
// import { Button, Checkbox, Spinner, Tooltip } from '@chakra-ui/react';
// import clsxm from '~/libs/clsxm';
// import { toast } from 'react-hot-toast';
// import useDevice from '@/core/hooks/useDevice';
// import odooApi from '~/libs/odooApi';
// import BottomPopup from '@/core/components/elements/Popup/BottomPopup';
// import PageContent from '@/lib/content/components/PageContent';
// const Merchant = () => {
// const { isDesktop, isMobile } = useDevice();
// const [currentStep, setCurrentStep] = React.useState(0);
// const NUMBER_OF_STEPS = 5;
// const [isLoading, setIsLoading] = useState(false);
// const [bigData, setBigData] = useState();
// const [idTempo, setIdTempo] = useState(0);
// const { control, watch, setValue } = useForm();
// const auth = useAuth();
// const router = useRouter();
// const [BannerTempo, setBannerTempo] = useState();
// const [notValid, setNotValid] = useState(false);
// const [buttonSubmitClick, setButtonSubmitClick] = useState(false);
// const [error, setError] = useState(false);
// const handleIsError = (value) => {
// if (!value) {
// goToNextStep();
// }
// setError(value); // Memperbarui state berdasarkan isError
// };
// const stepDivs = [
//
// Pembayaran tempo adalah layanan pembayaran berjangka yang difasilitasi // indoteknik.com untuk konsumen akun bisnis yang terdaftar dengan waktu // pembayaran mulai dari 7, 14, 21 hingga 30 Hari. //
//