{"id":101,"date":"2024-04-15T14:37:26","date_gmt":"2024-04-15T14:37:26","guid":{"rendered":"https:\/\/wpnfinite.com\/caching-1\/home\/"},"modified":"2024-05-08T13:16:49","modified_gmt":"2024-05-08T13:16:49","slug":"home","status":"publish","type":"page","link":"https:\/\/wordpress-speed-test.com\/042624-site2\/","title":{"rendered":"Home"},"content":{"rendered":"<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\" style=\"padding-top: 75px; padding-bottom: 75px;\">\n<div class=\"col-lg-12 col-md-12 col-xs-12 col-sm-12\">\n<div class=\"boldgrid-shortcode\" data-imhwpb-draggable=\"true\">\n\n\t<div style=\"height:98px;\">\t\n\t\t<a class=\"weatherwidget-io\" href=\"https:\/\/forecast7.com\/en\/40d71n74d01\/new-york\/\" data-label_1=\"NEW YORK\" data-label_2=\"WEATHER\" data-theme=\"original\">NEW YORK WEATHER<\/a>\n\t<\/div>\n\t<script>\n\t\t\/\/ !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=\"https:\/\/weatherwidget.io\/js\/widget.min.js\";fjs.parentNode.insertBefore(js,fjs);}}(document,\"script\",\"weatherwidget-io-js\");\n\t<\/script>\n\t<script src=\"https:\/\/weatherwidget.io\/js\/widget.min.js\" defer><\/script>\n\t\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\" style=\"background-color: var(--color-3); color: var(--color-3-text-contrast);\" data-bg-color=\"var(--color-3)\" data-image-url=\"\">\n<div class=\"container\">\n<div class=\"row\" style=\"padding-top: 75px; padding-bottom: 75px;\">\n<div class=\"col-lg-12 col-md-12 col-xs-12 col-sm-12\" style=\"text-align: center;\">\n\n    <script type='text\/javascript' src='https:\/\/www.gstatic.com\/charts\/loader.js'><\/script>\n    <script type='text\/javascript'>\n      \/\/ Interval to ensure Google Charts is loaded\n      var interval = setInterval(function() {\n        if (typeof google !== 'undefined') {\n          clearInterval(interval); \/\/ Stop the interval when Google Charts is available\n          console.log('Google Charts library loaded');\n\n          \/\/ Load Google Charts and define the chart drawing function\n          google.charts.load('current', {'packages':['corechart']});\n          google.charts.setOnLoadCallback(drawChart);\n\n          function drawChart() {\n            var data = google.visualization.arrayToDataTable([\n              ['Year', 'Sales', 'Expenses'],\n              ['2004',  1000,      400],\n              ['2005',  1170,      460],\n              ['2006',  660,      1120],\n              ['2007',  1030,      540]\n            ]);\n\n            var options = {\n              title: 'Company Performance',\n              curveType: 'function',\n              legend: { position: 'bottom' }\n            };\n\n            var chart = new google.visualization.LineChart(document.getElementById('curve_chart'));\n            chart.draw(data, options);\n          }\n        }\n      }, 500); \/\/ Check every 500 milliseconds\n\n      \/\/ Chart container\n      document.write(\"<div id='curve_chart' style='width: 900px; height: 500px'><\/div>\");\n    <\/script>\n    \n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\">\n<div class=\"container\">\n<div class=\"row\" style=\"padding-top: 75px; padding-bottom: 75px;\">\n<div class=\"col-lg-12 col-md-12 col-xs-12 col-sm-12\">\n<p class=\"\" style=\"text-align: center;\">\n        <link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/@event-calendar\/build@2.6.1\/event-calendar.min.css\">\n\t\t\n        <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/@event-calendar\/build@2.6.1\/event-calendar.min.js\" onload=\"load_calendar();\"><\/script>\n        \n        <div id=\"ec\"><\/div>\n        \n        <script type=\"text\/javascript\">\n            function load_calendar() {\n\t\t\t\tconsole.log( \"here in load_calendar\" );\n\t\t\t\tconst ec = new EventCalendar(document.getElementById(\"ec\"), {\n\t\t\t\t\tview: \"timeGridWeek\",\n\t\t\t\t\theaderToolbar: {\n\t\t\t\t\t\tstart: \"prev,next today\",\n\t\t\t\t\t\tcenter: \"title\",\n\t\t\t\t\t\tend: \"dayGridMonth,timeGridWeek,timeGridDay,listWeek resourceTimeGridWeek\"\n\t\t\t\t\t},\n\t\t\t\t\tbuttonText: function (texts) {\n\t\t\t\t\t\ttexts.resourceTimeGridWeek = \"resources\";\n\t\t\t\t\t\treturn texts;\n\t\t\t\t\t},\n\t\t\t\t\tresources: [\n\t\t\t\t\t\t{id: 1, title: \"Resource A\"},\n\t\t\t\t\t\t{id: 2, title: \"Resource B\"}\n\t\t\t\t\t],\n\t\t\t\t\tscrollTime: \"09:00:00\",\n\t\t\t\t\tevents: createEvents(),\n\t\t\t\t\tviews: {\n\t\t\t\t\t\ttimeGridWeek: {pointer: true},\n\t\t\t\t\t\tresourceTimeGridWeek: {pointer: true}\n\t\t\t\t\t},\n\t\t\t\t\tdayMaxEvents: true,\n\t\t\t\t\tnowIndicator: true,\n\t\t\t\t\tselectable: true\n\t\t\t\t});\n\t\t\t}\n        \n            function createEvents() {\n                let days = [];\n                for (let i = 0; i < 7; ++i) {\n                    let day = new Date();\n                    let diff = i - day.getDay();\n                    day.setDate(day.getDate() + diff);\n                    days[i] = day.getFullYear() + \"-\" + _pad(day.getMonth()+1) + \"-\" + _pad(day.getDate());\n                }\n        \n                return [\n                    {start: days[0] + \" 00:00\", end: days[0] + \" 09:00\", resourceId: 1, display: \"background\"},\n                    {start: days[1] + \" 12:00\", end: days[1] + \" 14:00\", resourceId: 2, display: \"background\"},\n                    {start: days[2] + \" 17:00\", end: days[2] + \" 24:00\", resourceId: 1, display: \"background\"},\n                    {start: days[0] + \" 10:00\", end: days[0] + \" 14:00\", resourceId: 1, title: \"The calendar can display background and regular events\", color: \"#FE6B64\"},\n                    {start: days[1] + \" 16:00\", end: days[2] + \" 08:00\", resourceId: 2, title: \"An event may span to another day\", color: \"#B29DD9\"},\n                    {start: days[2] + \" 09:00\", end: days[2] + \" 13:00\", resourceId: 2, title: \"Events can be assigned to resources and the calendar has the resources view built-in\", color: \"#779ECB\"},\n                    {start: days[3] + \" 14:00\", end: days[3] + \" 20:00\", resourceId: 1, title: \"\", color: \"#FE6B64\"},\n                    {start: days[3] + \" 15:00\", end: days[3] + \" 18:00\", resourceId: 1, title: \"Overlapping events are positioned properly\", color: \"#779ECB\"},\n                    {start: days[5] + \" 10:00\", end: days[5] + \" 16:00\", resourceId: 2, title: {html: \"You have complete control over the <i><b>display<\/b><\/i> of events\u2026\"}, color: \"#779ECB\"},\n                    {start: days[5] + \" 14:00\", end: days[5] + \" 19:00\", resourceId: 2, title: \"\u2026and you can drag and drop the events!\", color: \"#FE6B64\"},\n                    {start: days[5] + \" 18:00\", end: days[5] + \" 21:00\", resourceId: 2, title: \"\", color: \"#B29DD9\"},\n                    {start: days[1], end: days[3], resourceId: 1, title: \"All-day events can be displayed at the top\", color: \"#B29DD9\", allDay: true}\n                ];\n            }\n        \n            function _pad(num) {\n                let norm = Math.floor(Math.abs(num));\n                return (norm < 10 ? \"0\" : \"\") + norm;\n            }\n        <\/script><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"boldgrid-section\" style=\"background-color: var(--color-3); color: var(--color-3-text-contrast);\" data-bg-color=\"var(--color-3)\" data-image-url=\"\">\n<div class=\"container\">\n<div class=\"row\" style=\"padding-top: 75px; padding-bottom: 75px;\">\n<div class=\"col-lg-12 col-md-12 col-xs-12 col-sm-12\" style=\"text-align: center;\">\n<p class=\"\">\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"class_list":["post-101","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress-speed-test.com\/042624-site2\/wp-json\/wp\/v2\/pages\/101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress-speed-test.com\/042624-site2\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wordpress-speed-test.com\/042624-site2\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress-speed-test.com\/042624-site2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress-speed-test.com\/042624-site2\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":6,"href":"https:\/\/wordpress-speed-test.com\/042624-site2\/wp-json\/wp\/v2\/pages\/101\/revisions"}],"predecessor-version":[{"id":178,"href":"https:\/\/wordpress-speed-test.com\/042624-site2\/wp-json\/wp\/v2\/pages\/101\/revisions\/178"}],"wp:attachment":[{"href":"https:\/\/wordpress-speed-test.com\/042624-site2\/wp-json\/wp\/v2\/media?parent=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}