                                       <!-- Dynamic content -->
                                    </tbody>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        // Device Analytics Functions
        let currentDeviceId = null;
        let currentDeviceData = null;
        let deviceRevenueChart = null;

        function openDeviceAnalytic