- var mediumDeviceWidth = window.getComputedStyle(document.documentElement).getPropertyValue("--bs-breakpoint-md");
- var isMediumDevice = window.matchMedia(`(max-width: ${mediumDeviceWidth})`).matches;
- var paneWidth = 250;
+ const mediumDeviceWidth = window.getComputedStyle(document.documentElement).getPropertyValue("--bs-breakpoint-md");
+ const isMediumDevice = window.matchMedia(`(max-width: ${mediumDeviceWidth})`).matches;
+ const paneWidth = 250;