<!-- Rekapitulasi Gangguan/Jenis Gangguan -->
<template>
    <div id="data">
        <DxDataGrid class="max-h-[calc(100vh-140px)]" :data-source="data" :show-column-lines="true" :show-row-lines="false"
            :show-borders="true" :row-alternation-enabled="true" :hover-state-enabled="true"
            @selection-changed="onSelectionChanged" :column-width="100" @exporting="onExporting"
            :allow-column-resizing="true" column-resizing-mode="widget">
            <DxSelection mode="single" />
            <DxPaging :enabled="false" />
            <DxScrolling column-rendering-mode="virtual" mode="virtual" />
            <DxLoadPanel  :position="position" :show-indicator="showIndicator" :show-pane="showPane" :shading="shading"
                v-model:visible.sync="loading" :enabled="true" />
            <DxSearchPanel :visible="true" :highlight-case-sensitive="true" />
            <DxExport :enabled="true" :formats="['pdf', 'xlsx', 'document']" :allow-export-selected-data="false" />
            <DxColumnFixing :enabled="true" />
            <DxGroupPanel :visible="true" />
            <DxGrouping :auto-expand-all="true" />

            <DxColumn :width="60" alignment="center" data-field="no" caption="NO" css-class="custom-table-column" />
            <DxColumn :width="120" alignment="center" data-field="kode" caption="Kode" css-class="custom-table-column" />
            <DxColumn :width="150" alignment="center" name="jenisGangguanGroup" data-field="jenisGangguan"
                caption="Jenis Gangguan" css-class="custom-table-column" :group-index="0" />
            <DxColumn :width="150" alignment="center" data-field="jenisGangguan" caption="Jenis Gangguan"
                css-class="custom-table-column" />
            <DxColumn alignment="center" caption="Laporan" css-class="custom-table-column">
                <DxColumn :width="120" alignment="center" data-field="laporan.total" data-type="number" caption="Total"
                    css-class="custom-table-column" />
                <DxColumn alignment="center" caption="Sudah Selesai" css-class="custom-table-column">
                    <DxColumn :width="120" alignment="center" data-field="laporan.sudahSelesai.jml" data-type="number"
                        caption="Jml" css-class="custom-table-column" />
                    <DxColumn :width="120" alignment="center" data-field="laporan.sudahSelesai.persen" data-type="number"
                        caption="%" css-class="custom-table-column" />
                </DxColumn>
                <DxColumn alignment="center" caption="Belum Selesai" css-class="custom-table-column">
                    <DxColumn :width="120" alignment="center" data-field="laporan.belumSelesai.jml" data-type="number"
                        caption="Jml" css-class="custom-table-column" />
                    <DxColumn :width="120" alignment="center" data-field="laporan.belumSelesai.persen" data-type="number"
                        caption="%" css-class="custom-table-column" />
                </DxColumn>
            </DxColumn>
            <DxColumn alignment="center" caption="Response Time" css-class="custom-table-column">
                <DxColumn alignment="center" caption="Menit" css-class="custom-table-column">
                    <DxColumn :width="120" alignment="center" data-field="responseTime.menit.total" data-type="number"
                        caption="Total" css-class="custom-table-column" />
                    <DxColumn :width="120" alignment="center" data-field="responseTime.menit.rataRata" data-type="number"
                        caption="Rata-Rata" css-class="custom-table-column" />
                    <DxColumn :width="120" alignment="center" data-field="responseTime.menit.max" data-type="number"
                        caption="Max" css-class="custom-table-column" />
                    <DxColumn :width="120" alignment="center" data-field="responseTime.menit.min" data-type="number"
                        caption="Min" css-class="custom-table-column" />
                </DxColumn>
                <DxColumn alignment="center" caption="Laporan" css-class="custom-table-column">
                    <DxColumn :width="120" alignment="center" data-field="responseTime.laporan.lebihSla" data-type="number"
                        caption=">SLA" css-class="custom-table-column" />
                    <DxColumn :width="120" alignment="center" data-field="responseTime.laporan.kurangSla" data-type="number"
                        caption="≤SLA" css-class="custom-table-column" />
                </DxColumn>
            </DxColumn>
            <DxColumn alignment="center" caption="Recovery Time" css-class="custom-table-column">
                <DxColumn alignment="center" caption="Menit" css-class="custom-table-column">
                    <DxColumn :width="120" alignment="center" data-field="recoveryTime.menit.total" data-type="number"
                        caption="Total" css-class="custom-table-column" />
                    <DxColumn :width="120" alignment="center" data-field="recoveryTime.menit.rataRata" data-type="number"
                        caption="Rata-Rata" css-class="custom-table-column" />
                    <DxColumn :width="120" alignment="center" data-field="recoveryTime.menit.max" data-type="number"
                        caption="Max" css-class="custom-table-column" />
                    <DxColumn :width="120" alignment="center" data-field="recoveryTime.menit.min" data-type="number"
                        caption="Min" css-class="custom-table-column" />
                </DxColumn>
                <DxColumn alignment="center" caption="Laporan" css-class="custom-table-column">
                    <DxColumn :width="120" alignment="center" data-field="recoveryTime.laporan.lebihSla" data-type="number"
                        caption=">SLA" css-class="custom-table-column" />
                    <DxColumn :width="120" alignment="center" data-field="recoveryTime.laporan.kurangSla" data-type="number"
                        caption="≤SLA" css-class="custom-table-column" />
                </DxColumn>
            </DxColumn>

            <DxSummary>
                <DxGroupItem :show-in-group-footer="true" column="no" display-format="Total" />
                <DxGroupItem :show-in-group-footer="true" column="laporan.total" summary-type="sum" display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="laporan.sudahSelesai.jml" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="laporan.sudahSelesai.persen" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="laporan.belumSelesai.jml" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="laporan.belumSelesai.persen" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="responseTime.menit.total" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="responseTime.menit.rataRata" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="responseTime.menit.max" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="responseTime.menit.min" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="responseTime.laporan.lebihSla" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="responseTime.laporan.kurangSla" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="recoveryTime.menit.total" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="recoveryTime.menit.rataRata" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="recoveryTime.menit.max" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="recoveryTime.menit.min" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="recoveryTime.laporan.lebihSla" summary-type="sum"
                    display-format="{0}" />
                <DxGroupItem :show-in-group-footer="true" column="recoveryTime.laporan.kurangSla" summary-type="sum"
                    display-format="{0}" />
            </DxSummary>
        </DxDataGrid>
    </div>
</template>

<script setup lang="ts">
import { computed, onMounted, ref, watch } from 'vue'
import { useFiltersStore } from '@/stores/filters'
import { DxDataGrid } from 'devextreme-vue'
import { DxColumn, DxColumnFixing, DxExport, DxGroupItem, DxGroupPanel, DxGrouping, DxLoadPanel, DxPaging, DxScrolling, DxSearchPanel, DxSelection, DxSummary } from 'devextreme-vue/data-grid'
import { jsPDF } from 'jspdf'
import { exportDataGrid as exportToPdf } from 'devextreme/pdf_exporter'
import { exportDataGrid as exportToExcel } from 'devextreme/excel_exporter'
import { saveAs } from 'file-saver'
import { Workbook } from 'exceljs'
import gql from 'graphql-tag';
import { useDateStore } from '@/stores/date'
import { useSearchStore } from '@/stores/filtersAction'
import { usePostsStore } from '@/stores/posts'
import { useRegionStore } from '@/stores/region'
import { useUp3Store } from '@/stores/up3'
import { useQuery } from '@vue/apollo-composable'
const position = { of: '#data' };
const showIndicator = ref(true);
const shading = ref(true);
const showPane = ref(true);
const dataReal = ref<any[]>([])

const GET_DAFTAR_GANGGUAN_RECOVERY_TIME = gql`
query daftarGangguanRecoveryTime(
    $dateFrom: Date!
    $dateTo: Date!
    $posko: String!
    $idUid: Int!
    $idUp3: Int!
) {
    daftarKeluhanRecoveryTime(
        dateFrom: $dateFrom
        dateTo: $dateTo
        minDurasiRecoveryTime: $minDurasiRecoveryTime
        maxDurasiRecoveryTime: $maxDurasiRecoveryTime
        posko: $posko
        idUid: $idUid
        idUp3: $idUp3
    ) {
        alamat_pelapor
        durasi_recovery_time
        durasi_response_time
        id_gangguan
        idpel_nometer
        keterangan_pelapor
        media
        nama_pelapor
        no_laporan
        no_telp_pelapor
        posko
        status_akhir
        waktu_recovery
        waktu_response
        }
}`;
const { onResult, onError, loading, refetch } = useQuery(GET_DAFTAR_GANGGUAN_RECOVERY_TIME, {
    dateFrom: new Date().toISOString().slice(0, 10),
    dateTo: new Date().toISOString().slice(0, 10),
    posko: "",
    idUid: 0,
    idUp3: 0,
})
const onExporting = (e: any) => {
    if (e.format === 'pdf') {
        const doc = new jsPDF()

        exportToPdf({
            jsPDFDocument: doc,
            component: e.component,
            indent: 5,
        }).then(() => {
            doc.save(`.pdf`)
        })
    } else {
        const workbook = new Workbook()
        const worksheet = workbook.addWorksheet('Employees')

        exportToExcel({
            component: e.component,
            worksheet,
            autoFilterEnabled: true,
        }).then(() => {
            workbook.xlsx.writeBuffer().then((buffer: any) => {
                saveAs(new Blob([buffer], { type: 'application/octet-stream' }), 'DataGrid.xlsx')
            })
        })

        e.cancel = true
    }
}

const onSelectionChanged = ({ selectedRowsData }: any) => {
    const data = selectedRowsData[0]
    console.log(data)
}

const data = [
    {
        no: 1,
        kode: 'A',
        jenisGangguan: 'Gangguan A',
        laporan: {
            total: 10,
            sudahSelesai: {
                jml: 5,
                persen: 50,
            },
            belumSelesai: {
                jml: 5,
                persen: 50,
            },
        },
        responseTime: {
            menit: {
                total: 10,
                rataRata: 10,
                max: 10,
                min: 10,
            },
            laporan: {
                lebihSla: 5,
                kurangSla: 5,
            },
        },
        recoveryTime: {
            menit: {
                total: 10,
                rataRata: 10,
                max: 10,
                min: 10,
            },
            laporan: {
                lebihSla: 5,
                kurangSla: 5,
            },
        }
    },
    {
        no: 2,
        kode: 'A',
        jenisGangguan: 'Gangguan A',
        laporan: {
            total: 10,
            sudahSelesai: {
                jml: 5,
                persen: 50,
            },
            belumSelesai: {
                jml: 5,
                persen: 50,
            },
        },
        responseTime: {
            menit: {
                total: 10,
                rataRata: 10,
                max: 10,
                min: 10,
            },
            laporan: {
                lebihSla: 5,
                kurangSla: 5,
            },
        },
        recoveryTime: {
            menit: {
                total: 10,
                rataRata: 10,
                max: 10,
                min: 10,
            },
            laporan: {
                lebihSla: 5,
                kurangSla: 5,
            },
        }
    },
    {
        no: 3,
        kode: 'B',
        jenisGangguan: 'Gangguan B',
        laporan: {
            total: 10,
            sudahSelesai: {
                jml: 5,
                persen: 50,
            },
            belumSelesai: {
                jml: 5,
                persen: 50,
            },
        },
        responseTime: {
            menit: {
                total: 10,
                rataRata: 10,
                max: 10,
                min: 10,
            },
            laporan: {
                lebihSla: 5,
                kurangSla: 5,
            },
        },
        recoveryTime: {
            menit: {
                total: 10,
                rataRata: 10,
                max: 10,
                min: 10,
            },
            laporan: {
                lebihSla: 5,
                kurangSla: 5,
            },
        }
    },
    {
        no: 4,
        kode: 'B',
        jenisGangguan: 'Gangguan B',
        laporan: {
            total: 12,
            sudahSelesai: {
                jml: 6,
                persen: 50,
            },
            belumSelesai: {
                jml: 6,
                persen: 50,
            },
        },
        responseTime: {
            menit: {
                total: 15,
                rataRata: 12.5,
                max: 18,
                min: 10,
            },
            laporan: {
                lebihSla: 7,
                kurangSla: 5,
            },
        },
        recoveryTime: {
            menit: {
                total: 18,
                rataRata: 15,
                max: 20,
                min: 12,
            },
            laporan: {
                lebihSla: 8,
                kurangSla: 4,
            },
        }
    },
    {
        no: 5,
        kode: 'C',
        jenisGangguan: 'Gangguan C',
        laporan: {
            total: 8,
            sudahSelesai: {
                jml: 4,
                persen: 50,
            },
            belumSelesai: {
                jml: 4,
                persen: 50,
            },
        },
        responseTime: {
            menit: {
                total: 14,
                rataRata: 14,
                max: 16,
                min: 12,
            },
            laporan: {
                lebihSla: 6,
                kurangSla: 2,
            },
        },
        recoveryTime: {
            menit: {
                total: 22,
                rataRata: 16,
                max: 26,
                min: 14,
            },
            laporan: {
                lebihSla: 9,
                kurangSla: 3,
            },
        }
    },
    {
        no: 6,
        kode: 'A',
        jenisGangguan: 'Gangguan A',
        laporan: {
            total: 8,
            sudahSelesai: {
                jml: 4,
                persen: 50,
            },
            belumSelesai: {
                jml: 4,
                persen: 50,
            },
        },
        responseTime: {
            menit: {
                total: 12,
                rataRata: 15,
                max: 18,
                min: 10,
            },
            laporan: {
                lebihSla: 6,
                kurangSla: 2,
            },
        },
        recoveryTime: {
            menit: {
                total: 16,
                rataRata: 18,
                max: 22,
                min: 14,
            },
            laporan: {
                lebihSla: 8,
                kurangSla: 0,
            },
        }
    },
    {
        no: 7,
        kode: 'C',
        jenisGangguan: 'Gangguan C',
        laporan: {
            total: 15,
            sudahSelesai: {
                jml: 10,
                persen: 66.67,
            },
            belumSelesai: {
                jml: 5,
                persen: 33.33,
            },
        },
        responseTime: {
            menit: {
                total: 20,
                rataRata: 13.33,
                max: 24,
                min: 10,
            },
            laporan: {
                lebihSla: 9,
                kurangSla: 6,
            },
        },
        recoveryTime: {
            menit: {
                total: 25,
                rataRata: 16.67,
                max: 30,
                min: 14,
            },
            laporan: {
                lebihSla: 12,
                kurangSla: 3,
            },
        }
    },
    {
        no: 8,
        kode: 'D',
        jenisGangguan: 'Gangguan D',
        laporan: {
            total: 7,
            sudahSelesai: {
                jml: 2,
                persen: 28.57,
            },
            belumSelesai: {
                jml: 5,
                persen: 71.43,
            },
        },
        responseTime: {
            menit: {
                total: 18,
                rataRata: 9,
                max: 20,
                min: 6,
            },
            laporan: {
                lebihSla: 1,
                kurangSla: 6,
            },
        },
        recoveryTime: {
            menit: {
                total: 28,
                rataRata: 14,
                max: 30,
                min: 10,
            },
            laporan: {
                lebihSla: 4,
                kurangSla: 3,
            },
        }
    },
    {
        no: 9,
        kode: 'D',
        jenisGangguan: 'Gangguan D',
        laporan: {
            total: 12,
            sudahSelesai: {
                jml: 8,
                persen: 66.67,
            },
            belumSelesai: {
                jml: 4,
                persen: 33.33,
            },
        },
        responseTime: {
            menit: {
                total: 24,
                rataRata: 20,
                max: 28,
                min: 16,
            },
            laporan: {
                lebihSla: 9,
                kurangSla: 3,
            },
        },
        recoveryTime: {
            menit: {
                total: 32,
                rataRata: 26,
                max: 36,
                min: 22,
            },
            laporan: {
                lebihSla: 11,
                kurangSla: 1,
            },
        }
    },
    {
        no: 10,
        kode: 'E',
        jenisGangguan: 'Gangguan E',
        laporan: {
            total: 15,
            sudahSelesai: {
                jml: 12,
                persen: 80,
            },
            belumSelesai: {
                jml: 3,
                persen: 20,
            },
        },
        responseTime: {
            menit: {
                total: 22,
                rataRata: 14.67,
                max: 26,
                min: 10,
            },
            laporan: {
                lebihSla: 11,
                kurangSla: 4,
            },
        },
        recoveryTime: {
            menit: {
                total: 30,
                rataRata: 20,
                max: 36,
                min: 16,
            },
            laporan: {
                lebihSla: 13,
                kurangSla: 2,
            },
        }
    },
    {
        no: 11,
        kode: 'F',
        jenisGangguan: 'Gangguan F',
        laporan: {
            total: 9,
            sudahSelesai: {
                jml: 6,
                persen: 66.67,
            },
            belumSelesai: {
                jml: 3,
                persen: 33.33,
            },
        },
        responseTime: {
            menit: {
                total: 18,
                rataRata: 12,
                max: 22,
                min: 10,
            },
            laporan: {
                lebihSla: 8,
                kurangSla: 1,
            },
        },
        recoveryTime: {
            menit: {
                total: 28,
                rataRata: 18.67,
                max: 34,
                min: 16,
            },
            laporan: {
                lebihSla: 10,
                kurangSla: 2,
            },
        }
    },
    {
        no: 12,
        kode: 'G',
        jenisGangguan: 'Gangguan G',
        laporan: {
            total: 11,
            sudahSelesai: {
                jml: 7,
                persen: 63.64,
            },
            belumSelesai: {
                jml: 4,
                persen: 36.36,
            },
        },
        responseTime: {
            menit: {
                total: 20,
                rataRata: 14.29,
                max: 24,
                min: 12,
            },
            laporan: {
                lebihSla: 8,
                kurangSla: 3,
            },
        },
        recoveryTime: {
            menit: {
                total: 32,
                rataRata: 22.86,
                max: 36,
                min: 18,
            },
            laporan: {
                lebihSla: 11,
                kurangSla: 1,
            },
        }
    },
    {
        no: 13,
        kode: 'H',
        jenisGangguan: 'Gangguan H',
        laporan: {
            total: 7,
            sudahSelesai: {
                jml: 5,
                persen: 71.43,
            },
            belumSelesai: {
                jml: 2,
                persen: 28.57,
            },
        },
        responseTime: {
            menit: {
                total: 16,
                rataRata: 12.8,
                max: 20,
                min: 10,
            },
            laporan: {
                lebihSla: 4,
                kurangSla: 3,
            },
        },
        recoveryTime: {
            menit: {
                total: 26,
                rataRata: 20.8,
                max: 30,
                min: 18,
            },
            laporan: {
                lebihSla: 7,
                kurangSla: 0,
            },
        }
    },
    {
        no: 14,
        kode: 'I',
        jenisGangguan: 'Gangguan I',
        laporan: {
            total: 14,
            sudahSelesai: {
                jml: 10,
                persen: 71.43,
            },
            belumSelesai: {
                jml: 4,
                persen: 28.57,
            },
        },
        responseTime: {
            menit: {
                total: 22,
                rataRata: 15.71,
                max: 28,
                min: 10,
            },
            laporan: {
                lebihSla: 5,
                kurangSla: 6,
            },
        },
        recoveryTime: {
            menit: {
                total: 32,
                rataRata: 22.86,
                max: 36,
                min: 18,
            },
            laporan: {
                lebihSla: 7,
                kurangSla: 7,
            },
        }
    },
    {
        no: 15,
        kode: 'J',
        jenisGangguan: 'Gangguan J',
        laporan: {
            total: 10,
            sudahSelesai: {
                jml: 8,
                persen: 80,
            },
            belumSelesai: {
                jml: 2,
                persen: 20,
            },
        },
        responseTime: {
            menit: {
                total: 20,
                rataRata: 16,
                max: 26,
                min: 12,
            },
            laporan: {
                lebihSla: 6,
                kurangSla: 4,
            },
        },
        recoveryTime: {
            menit: {
                total: 30,
                rataRata: 23,
                max: 36,
                min: 18,
            },
            laporan: {
                lebihSla: 8,
                kurangSla: 2,
            },
        }
    },
    {
        no: 16,
        kode: 'K',
        jenisGangguan: 'Gangguan K',
        laporan: {
            total: 13,
            sudahSelesai: {
                jml: 9,
                persen: 69.23,
            },
            belumSelesai: {
                jml: 4,
                persen: 30.77,
            },
        },
        responseTime: {
            menit: {
                total: 24,
                rataRata: 18.46,
                max: 28,
                min: 16,
            },
            laporan: {
                lebihSla: 6,
                kurangSla: 7,
            },
        },
        recoveryTime: {
            menit: {
                total: 34,
                rataRata: 25.38,
                max: 40,
                min: 20,
            },
            laporan: {
                lebihSla: 9,
                kurangSla: 4,
            },
        }
    },
    {
        no: 17,
        kode: 'L',
        jenisGangguan: 'Gangguan L',
        laporan: {
            total: 16,
            sudahSelesai: {
                jml: 11,
                persen: 68.75,
            },
            belumSelesai: {
                jml: 5,
                persen: 31.25,
            },
        },
        responseTime: {
            menit: {
                total: 26,
                rataRata: 19.38,
                max: 32,
                min: 16,
            },
            laporan: {
                lebihSla: 7,
                kurangSla: 4,
            },
        },
        recoveryTime: {
            menit: {
                total: 36,
                rataRata: 24,
                max: 42,
                min: 20,
            },
            laporan: {
                lebihSla: 8,
                kurangSla: 5,
            },
        }
    },
    {
        no: 18,
        kode: 'M',
        jenisGangguan: 'Gangguan M',
        laporan: {
            total: 12,
            sudahSelesai: {
                jml: 8,
                persen: 66.67,
            },
            belumSelesai: {
                jml: 4,
                persen: 33.33,
            },
        },
        responseTime: {
            menit: {
                total: 22,
                rataRata: 18.33,
                max: 28,
                min: 14,
            },
            laporan: {
                lebihSla: 5,
                kurangSla: 7,
            },
        },
        recoveryTime: {
            menit: {
                total: 32,
                rataRata: 24,
                max: 36,
                min: 18,
            },
            laporan: {
                lebihSla: 6,
                kurangSla: 6,
            },
        }
    },
]
const reportButton = useSearchStore()
const detected = computed(() => reportButton.isTriggerChange)
watch(detected, () => {
    const dateValue = useDateStore().getDateValue().split(' s/d ');
    const posko = usePostsStore().getData() ? usePostsStore().getData() : ""
    const up3 = useUp3Store().getData() ? useUp3Store().getData() : 0
    const uid = useRegionStore().getData() ? useRegionStore().getData() : 0
    refetch({
        dateFrom: dateValue[0].split('-').reverse().join('-'),
        dateTo: dateValue[1].split('-').reverse().join('-'),
        posko,
        idUid: uid,
        idUp3: up3,
    })
    onResult(queryResult => {
        if (queryResult.data != undefined) {
            queryResult.data.rekapitulasiAllGangguan.forEach((item: any) => {
                dataReal.value = [...dataReal.value, {
                    ...item,
                    nama_unit: 'UNIT'
                }];

            })
        }
        console.log(queryResult.loading)
        console.log(queryResult.networkStatus)
    })
    onError(queryError => {
        console.log(queryError)
    })
})

onMounted(() => {
    const filters = useFiltersStore()
    filters.setConfig({
        type: 'type-1',
        reportButton: true
    })
})
</script>