mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-11-28 18:28:04 -08:00
capture dist
This commit is contained in:
1 parent
deb107e4ec
commit
97f8eda236
3 files changed
+3
-3
No files matched your search
Vendored
+1
-1
@@ -1 +1 @@
|
||||
<!DOCTYPE html><html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8"><title>WeatherStar 4000+</title><meta name="description" content="Web based WeatherStar 4000 simulator that reports current and forecast weather conditions plus a few extras!"><meta name="keywords" content="WeatherStar 4000+"><meta name="author" content="Matt Walsh"><meta name="application-name" content="WeatherStar 4000+"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><link rel="manifest" href="manifest.json"><link rel="icon" href="images/Logo192.png"><link rel="stylesheet" type="text/css" href="resources/ws.min.css?_=5.8.0"><script type="text/javascript" src="resources/data.min.js?_=5.8.0"></script><script type="text/javascript" src="resources/vendor.min.js?_=5.8.0"></script><script type="text/javascript" src="resources/ws.min.js?_=5.8.0"></script><script type="text/javascript" src="scripts/custom.js?_=5.8.0"></script></head><body><div id="divQuery"><form id="frmGetLatLng"><input id="txtAddress" type="text" value="" placeholder="Zip or City, State"><button id="btnGetGps" type="button" title="Get GPS Location"><img src="images/nav/ic_gps_fixed_black_18dp_1x.png" class="light"><img src="images/nav/ic_gps_fixed_white_18dp_1x.png" class="dark"></button> <input id="btnGetLatLng" type="submit" value="GO"> <input id="btnClearQuery" type="reset" value="Reset"></form><div id="divLat"></div><div id="divLng"></div></div><br><img id="imgPause1x" src="images/nav/ic_pause_white_24dp_1x.png"> <img id="imgPause2x" src="images/nav/ic_pause_white_24dp_2x.png"><div id="version" style="display:none">5.8.0</div><div id="divTwc"><div id="container"><div id="loading" width="640" height="480"><div><div class="title">WeatherStar 4000+</div><div class="version">v5.8.0</div><div class="instructions">Enter your location above to continue</div></div></div><div id="progress-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title dual"><div class="top">WeatherStar</div><div class="bottom">4000+ v5.8.0</div></div><div class="date-time date"></div><div class="date-time time"></div></div><div class="main has-box progress"><div class="container"><div class="item template"><div class="name">Current Conditions</div><div class="links loading"><div class="loading">Loading</div><div class="press-here">Press Here</div><div class="failed">Failed</div><div class="no-data">No Data</div><div class="disabled">Disabled</div><div class="retrying">Retrying</div></div></div></div></div><div class="scroll"><div class="progress-bar-container show"><div class="progress-bar"></div><div class="cover"></div></div></div></div><div id="hourly-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title single">Hourly Forecast</div><div class="date-time date"></div><div class="date-time time"></div></div><div class="main has-scroll hourly"><div class="column-headers"><div class="temp">TEMP</div><div class="like">LIKE</div><div class="wind">WIND</div></div><div class="hourly-lines"><div class="hourly-row template"><div class="hour"></div><div class="icon"><img></div><div class="temp"></div><div class="like"></div><div class="wind"></div></div></div></div><div class="scroll"><div class="scrolling template"></div><div class="fixed"></div></div></div><div id="hourly-graph-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title single">Hourly Graph</div><div class="right"></div></div><div class="main has-scroll hourly-graph"><div class="top-right template"><div class="temperature">Temperature</div><div class="cloud">Cloud %</div><div class="rain">Precip %</div></div><div class="y-axis"><div class="label l-1">75</div><div class="label l-2">65</div><div class="label l-3">55</div></div><div class="chart"><img id="chart-area"></div><div class="x-axis"><div class="label l-1">12a</div><div class="label l-2">6a</div><div class="label l-3">12p</div><div class="label l-4">6p</div><div class="label l-5">12a</div></div></div><div class="scroll"><div class="scrolling template"></div><div class="fixed"></div></div></div><div id="travel-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title dual"><div class="top">Travel Forecast</div><div class="bottom">For</div></div><div class="date-time date"></div><div class="date-time time"></div></div><div class="main has-scroll travel"><div class="column-headers"><div class="temp low">LOW</div><div class="temp high">HIGH</div></div><div class="travel-lines"><div class="travel-row template"><div class="city"></div><div class="icon"><img></div><div class="temp low"></div><div class="temp high"></div></div></div></div>Line truncated
|
||||
<!DOCTYPE html><html lang="en" xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8"><title>WeatherStar 4000+</title><meta name="description" content="Web based WeatherStar 4000 simulator that reports current and forecast weather conditions plus a few extras!"><meta name="keywords" content="WeatherStar 4000+"><meta name="author" content="Matt Walsh"><meta name="application-name" content="WeatherStar 4000+"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><link rel="manifest" href="manifest.json"><link rel="icon" href="images/Logo192.png"><link rel="stylesheet" type="text/css" href="resources/ws.min.css?_=5.9.0"><script type="text/javascript" src="resources/data.min.js?_=5.9.0"></script><script type="text/javascript" src="resources/vendor.min.js?_=5.9.0"></script><script type="text/javascript" src="resources/ws.min.js?_=5.9.0"></script><script type="text/javascript" src="scripts/custom.js?_=5.9.0"></script></head><body><div id="divQuery"><form id="frmGetLatLng"><input id="txtAddress" type="text" value="" placeholder="Zip or City, State"><button id="btnGetGps" type="button" title="Get GPS Location"><img src="images/nav/ic_gps_fixed_black_18dp_1x.png" class="light"><img src="images/nav/ic_gps_fixed_white_18dp_1x.png" class="dark"></button> <input id="btnGetLatLng" type="submit" value="GO"> <input id="btnClearQuery" type="reset" value="Reset"></form><div id="divLat"></div><div id="divLng"></div></div><br><img id="imgPause1x" src="images/nav/ic_pause_white_24dp_1x.png"> <img id="imgPause2x" src="images/nav/ic_pause_white_24dp_2x.png"><div id="version" style="display:none">5.9.0</div><div id="divTwc"><div id="container"><div id="loading" width="640" height="480"><div><div class="title">WeatherStar 4000+</div><div class="version">v5.9.0</div><div class="instructions">Enter your location above to continue</div></div></div><div id="progress-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title dual"><div class="top">WeatherStar</div><div class="bottom">4000+ v5.9.0</div></div><div class="date-time date"></div><div class="date-time time"></div></div><div class="main has-box progress"><div class="container"><div class="item template"><div class="name">Current Conditions</div><div class="links loading"><div class="loading">Loading</div><div class="press-here">Press Here</div><div class="failed">Failed</div><div class="no-data">No Data</div><div class="disabled">Disabled</div><div class="retrying">Retrying</div></div></div></div></div><div class="scroll"><div class="progress-bar-container show"><div class="progress-bar"></div><div class="cover"></div></div></div></div><div id="hourly-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title single">Hourly Forecast</div><div class="date-time date"></div><div class="date-time time"></div></div><div class="main has-scroll hourly"><div class="column-headers"><div class="temp">TEMP</div><div class="like">LIKE</div><div class="wind">WIND</div></div><div class="hourly-lines"><div class="hourly-row template"><div class="hour"></div><div class="icon"><img></div><div class="temp"></div><div class="like"></div><div class="wind"></div></div></div></div><div class="scroll"><div class="scrolling template"></div><div class="fixed"></div></div></div><div id="hourly-graph-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title single">Hourly Graph</div><div class="right"></div></div><div class="main has-scroll hourly-graph"><div class="top-right template"><div class="temperature">Temperature</div><div class="cloud">Cloud %</div><div class="rain">Precip %</div></div><div class="y-axis"><div class="label l-1">75</div><div class="label l-2">65</div><div class="label l-3">55</div></div><div class="chart"><img id="chart-area"></div><div class="x-axis"><div class="label l-1">12a</div><div class="label l-2">6a</div><div class="label l-3">12p</div><div class="label l-4">6p</div><div class="label l-5">12a</div></div></div><div class="scroll"><div class="scrolling template"></div><div class="fixed"></div></div></div><div id="travel-html" class="weather-display"><div class="header"><div class="logo"><img src="images/Logo3.png"></div><div class="title dual"><div class="top">Travel Forecast</div><div class="bottom">For</div></div><div class="date-time date"></div><div class="date-time time"></div></div><div class="main has-scroll travel"><div class="column-headers"><div class="temp low">LOW</div><div class="temp high">HIGH</div></div><div class="travel-lines"><div class="travel-row template"><div class="city"></div><div class="icon"><img></div><div class="temp low"></div><div class="temp high"></div></div></div></div>Line truncated
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
@font-face{font-family:"Star4000";src:url("../fonts/Star4000.woff") format("woff")}body{font-family:"Star4000"}@media(prefers-color-scheme: dark){body{background-color:#000;color:#fff}}@media(prefers-color-scheme: dark){body a{color:#add8e6}}input,button{font-family:"Star4000"}#imgGetGps{height:13px;vertical-align:middle}#txtAddress{width:490px;font-size:16pt;max-width:calc(100% - 8px)}@media(prefers-color-scheme: dark){#txtAddress{background-color:#000;color:#fff;border:1px solid #a9a9a9}}#btnGetGps,#btnGetLatLng,#btnClearQuery{font-size:16pt;border:1px solid #a9a9a9}@media(prefers-color-scheme: dark){#btnGetGps,#btnGetLatLng,#btnClearQuery{background-color:#000;color:#fff}}#btnGetGps img.dark{display:none}@media(prefers-color-scheme: dark){#btnGetGps img.dark{display:inline-block}}@media(prefers-color-scheme: dark){#btnGetGps img.light{display:none}}#btnGetGps.active{background-color:#000}@media(prefers-color-scheme: dark){#btnGetGps.active{background-color:#fff}}#btnGetGps.active img{filter:invert(1)}.autocomplete-suggestions{background-color:#fff;border:1px solid #000}@media(prefers-color-scheme: dark){.autocomplete-suggestions{background-color:#000}}.autocomplete-suggestion{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16pt}.autocomplete-selected{background-color:blue;color:#fff}#divTwc{display:block;background-color:#000;color:#fff;width:100%;max-width:640px}#divTwcLeft{display:none;text-align:right;flex-direction:column;vertical-align:middle}#divTwcLeft>div{flex:1;padding-right:12px;display:flex;flex-direction:column;justify-content:center}#divTwcRight{text-align:left;display:none;flex-direction:column;vertical-align:middle}#divTwcRight>div{flex:1;padding-left:12px;display:flex;flex-direction:column;justify-content:center}#divTwcBottom{display:flex;flex-direction:row;background-color:#000;color:#fff;width:100%}@media(prefers-color-scheme: dark){#divTwcBottom{background-color:#303030}}#divTwcBottom>div{padding-left:6px;padding-right:6px}#divTwcBottomLeft{flex:1;text-align:left}#divTwcBottomMiddle{flex:0;text-align:center}#divTwcBottomRight{flex:1;text-align:right}#divTwcNavContainer{display:none}#divTwcNav{width:100%;display:flex;flex-direction:row;background-color:#000;color:#fff;max-width:640px}#divTwcNav>div{padding-left:6px;padding-right:6px}#divTwcNavLeft{flex:1;text-align:left}#divTwcNavMiddle{flex:0;text-align:center}#divTwcNavRight{flex:1;text-align:right}#imgPause1x,#imgPause2x{visibility:hidden;position:absolute}.HideCursor{cursor:none !important}#txtScrollText{width:475px}@font-face{font-family:"Star4000";src:url("../fonts/Star4000.woff") format("woff")}@font-face{font-family:"Star 4 Radar";src:url("../fonts/Star 4 Radar.woff") format("woff")}@font-face{font-family:"Star4000 Extended";src:url("../fonts/Star4000 Extended.woff") format("woff")}@font-face{font-family:"Star4000LCN";src:url("../fonts/Star4000LCN.woff") format("woff")}@font-face{font-family:"Star4000 Large Compressed";src:url("../fonts/Star4000 Large Compressed.woff") format("woff")}@font-face{font-family:"Star4000 Large";src:url("../fonts/Star4000 Large.ttf") format("truetype")}@font-face{font-family:"Star4000 Small";src:url("../fonts/Star4000 Small.woff") format("woff")}#display{font-family:"Star4000";margin:0 0 0 0;width:100%}#container{position:relative;width:100%;height:100%;background-image:url(../images/BackGround1_1.png)}#divTwc:-webkit-full-screen #container{background-image:none;width:unset;height:unset}#divTwc:-ms-fullscreen #container{background-image:none;width:unset;height:unset}#divTwc:fullscreen #container{background-image:none;width:unset;height:unset}#loading{width:640px;height:480px;max-width:100%;text-shadow:4px 4px #000;display:flex;align-items:center;text-align:center;justify-content:center}#loading .title{font-family:Star4000 Large;font-size:36px;color:#ff0;margin-bottom:0px}#loading .version{margin-bottom:35px}#loading .instructions{font-size:18pt}.heading{font-weight:bold;margin-top:15px}#enabledDisplays{margin-bottom:15px}#enabledDisplays .loading,#enabledDisplays .retrying{color:#ff0}#enabledDisplays .press-here{color:lime;cursor:pointer}#enabledDisplays .failed{color:red}#enabledDisplays .no-data{color:silver}#enabledDisplays .disabled{color:silver}#enabledDisplays .press-here{color:#fff}#enabledDisplays label{display:block;max-width:300px}#divTwcBottom img{zoom:150%}#divTwc:-webkit-full-screen{display:flex;align-items:center;justify-content:center;align-content:center}#divTwc:-ms-fullscreen{display:flex;align-items:center;justify-content:center;align-content:center}#divTwc:fullscreen{display:flex;align-items:center;justify-content:center;align-content:center}#divTwc:-webkit-full-screen #display{position:relative}#divTwc:-ms-fullscreen #display{position:relative}#divTwc:fullscreen #display{position:relative}#divTwc:-webkit-full-screen #divTwcBottom{display:flex;flex-direction:row;background-color:rgba(0,0,0,.5);color:#fff;width:100%;position:absolute;bottom:0px}#divTwc:-ms-fullscLine truncated
|
||||
@font-face{font-family:"Star4000";src:url("../fonts/Star4000.woff") format("woff")}body{font-family:"Star4000"}@media(prefers-color-scheme: dark){body{background-color:#000;color:#fff}}@media(prefers-color-scheme: dark){body a{color:#add8e6}}input,button{font-family:"Star4000"}#imgGetGps{height:13px;vertical-align:middle}#txtAddress{width:490px;font-size:16pt;max-width:calc(100% - 8px)}@media(prefers-color-scheme: dark){#txtAddress{background-color:#000;color:#fff;border:1px solid #a9a9a9}}#btnGetGps,#btnGetLatLng,#btnClearQuery{font-size:16pt;border:1px solid #a9a9a9}@media(prefers-color-scheme: dark){#btnGetGps,#btnGetLatLng,#btnClearQuery{background-color:#000;color:#fff}}#btnGetGps img.dark{display:none}@media(prefers-color-scheme: dark){#btnGetGps img.dark{display:inline-block}}@media(prefers-color-scheme: dark){#btnGetGps img.light{display:none}}#btnGetGps.active{background-color:#000}@media(prefers-color-scheme: dark){#btnGetGps.active{background-color:#fff}}#btnGetGps.active img{filter:invert(1)}.autocomplete-suggestions{background-color:#fff;border:1px solid #000}@media(prefers-color-scheme: dark){.autocomplete-suggestions{background-color:#000}}.autocomplete-suggestion{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16pt}.autocomplete-selected{background-color:blue;color:#fff}#divTwc{display:block;background-color:#000;color:#fff;width:100%;max-width:640px}#divTwcLeft{display:none;text-align:right;flex-direction:column;vertical-align:middle}#divTwcLeft>div{flex:1;padding-right:12px;display:flex;flex-direction:column;justify-content:center}#divTwcRight{text-align:left;display:none;flex-direction:column;vertical-align:middle}#divTwcRight>div{flex:1;padding-left:12px;display:flex;flex-direction:column;justify-content:center}#divTwcBottom{display:flex;flex-direction:row;background-color:#000;color:#fff;width:100%}@media(prefers-color-scheme: dark){#divTwcBottom{background-color:#303030}}#divTwcBottom>div{padding-left:6px;padding-right:6px}#divTwcBottomLeft{flex:1;text-align:left}#divTwcBottomMiddle{flex:0;text-align:center}#divTwcBottomRight{flex:1;text-align:right}#divTwcNavContainer{display:none}#divTwcNav{width:100%;display:flex;flex-direction:row;background-color:#000;color:#fff;max-width:640px}#divTwcNav>div{padding-left:6px;padding-right:6px}#divTwcNavLeft{flex:1;text-align:left}#divTwcNavMiddle{flex:0;text-align:center}#divTwcNavRight{flex:1;text-align:right}#imgPause1x,#imgPause2x{visibility:hidden;position:absolute}.HideCursor{cursor:none !important}#txtScrollText{width:475px}@font-face{font-family:"Star4000";src:url("../fonts/Star4000.woff") format("woff")}@font-face{font-family:"Star 4 Radar";src:url("../fonts/Star 4 Radar.woff") format("woff")}@font-face{font-family:"Star4000 Extended";src:url("../fonts/Star4000 Extended.woff") format("woff")}@font-face{font-family:"Star4000LCN";src:url("../fonts/Star4000LCN.woff") format("woff")}@font-face{font-family:"Star4000 Large Compressed";src:url("../fonts/Star4000 Large Compressed.woff") format("woff")}@font-face{font-family:"Star4000 Large";src:url("../fonts/Star4000 Large.ttf") format("truetype")}@font-face{font-family:"Star4000 Small";src:url("../fonts/Star4000 Small.woff") format("woff")}#display{font-family:"Star4000";margin:0 0 0 0;width:100%}#container{position:relative;width:640px;height:480px;overflow:hidden;background-image:url(../images/BackGround1_1.png)}#divTwc:-webkit-full-screen #container{background-image:none;width:unset;height:unset}#divTwc:-ms-fullscreen #container{background-image:none;width:unset;height:unset}#divTwc:fullscreen #container{background-image:none;width:unset;height:unset}#loading{width:640px;height:480px;max-width:100%;text-shadow:4px 4px #000;display:flex;align-items:center;text-align:center;justify-content:center}#loading .title{font-family:Star4000 Large;font-size:36px;color:#ff0;margin-bottom:0px}#loading .version{margin-bottom:35px}#loading .instructions{font-size:18pt}.heading{font-weight:bold;margin-top:15px}#enabledDisplays{margin-bottom:15px}#enabledDisplays .loading,#enabledDisplays .retrying{color:#ff0}#enabledDisplays .press-here{color:lime;cursor:pointer}#enabledDisplays .failed{color:red}#enabledDisplays .no-data{color:silver}#enabledDisplays .disabled{color:silver}#enabledDisplays .press-here{color:#fff}#enabledDisplays label{display:block;max-width:300px}#enabledDisplays label .alert{display:none}#enabledDisplays label .alert.show{display:inline;color:red}#divTwcBottom img{zoom:150%}#divTwc:-webkit-full-screen{display:flex;align-items:center;justify-content:center;align-content:center}#divTwc:-ms-fullscreen{display:flex;align-items:center;justify-content:center;align-content:center}#divTwc:fullscreen{display:flex;align-items:center;justify-content:center;align-content:center}#divTwc:-webkit-full-screen #display{position:relative}#divTwc:-ms-fullscreen #display{position:relative}#divTwc:fullscreen #display{position:relative}#divTwc:-webkit-full-screen #divTwcBottom{display:flexLine truncated
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
(()=>{"use strict";var e={407:(e,t,n)=>{var s=n(929),r=n(739),a=n(325),i=n(594);document.addEventListener("DOMContentLoaded",(()=>{c()}));let o=!1;const l=["Land Features","Bay","Channel","Cove","Dam","Delta","Gulf","Lagoon","Lake","Ocean","Reef","Reservoir","Sea","Sound","Strait","Waterfall","Wharf","Amusement Park","Historical Monument","Landmark","Tourist Attraction","Zoo","College","Beach","Campground","Golf Course","Harbor","Nature Reserve","Other Parks and Outdoors","Park","Racetrack","Scenic Overlook","Ski Resort","Sports Center","Sports Field","Wildlife Reserve","Airport","Ferry","Marina","Pier","Port","Resort","Postal","Populated Place"].join(","),c=()=>{document.getElementById("txtAddress").addEventListener("focus",(e=>{e.target.select()})),(0,a.uL)(y),document.getElementById("NavigateMenu").addEventListener("click",g),document.getElementById("NavigateRefresh").addEventListener("click",w),document.getElementById("NavigateNext").addEventListener("click",v),document.getElementById("NavigatePrevious").addEventListener("click",S),document.getElementById("NavigatePlay").addEventListener("click",I),document.getElementById("ToggleFullScreen").addEventListener("click",h);const e=document.getElementById("btnGetGps");e.addEventListener("click",M),navigator.geolocation||(e.style.display="none"),document.getElementById("divTwc").addEventListener("click",(()=>{document.fullscreenElement&&T()})),document.addEventListener("keydown",C),document.addEventListener("touchmove",(e=>{o&&e.preventDefault()})),$("#frmGetLatLng #txtAddress").devbridgeAutocomplete({serviceUrl:"https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest",deferRequestBy:300,paramName:"text",params:{f:"json",countryCode:"USA",category:l,maxSuggestions:10},dataType:"json",transformResult:e=>({suggestions:e.suggestions.map((e=>({value:e.text,data:e.magicKey})))}),minChars:3,showNoSuggestionNotice:!0,noSuggestionNotice:"No results found. Please try a different search string.",onSelect(e){u(e,this)},width:490}),$("#frmGetLatLng").on("submit",(()=>{const e=$("#frmGetLatLng #txtAddress").devbridgeAutocomplete();return e.suggestions[0]&&$(e.suggestionsContainer.children[0]).trigger("click"),!1}));const t=localStorage.getItem("latLonQuery"),n=localStorage.getItem("latLon"),s=localStorage.getItem("latLonFromGPS");if(t&&n&&!s){document.getElementById("txtAddress").value=t,y(JSON.parse(n))}s&&M();const r=localStorage.getItem("play");null!==r&&"true"!==r||x("navButton","play"),document.getElementById("btnClearQuery").addEventListener("click",(()=>{document.getElementById("spanCity").innerHTML="",document.getElementById("spanState").innerHTML="",document.getElementById("spanStationId").innerHTML="",document.getElementById("spanRadarId").innerHTML="",document.getElementById("spanZoneId").innerHTML="",document.getElementById("chkAutoRefresh").checked=!0,localStorage.removeItem("autoRefresh"),localStorage.removeItem("play"),x("navButton","play"),localStorage.removeItem("latLonQuery"),localStorage.removeItem("latLon"),localStorage.removeItem("latLonFromGPS"),document.getElementById("btnGetGps").classList.remove("active")})),document.getElementById("container").addEventListener("swiped-left",(()=>p("left"))),document.getElementById("container").addEventListener("swiped-right",(()=>p("right")))},u=async(e,t)=>{if(t.previousSuggestionValue===e.value)return;const n=(await(0,s.AV)("https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find",{data:{text:e.value,magicKey:e.data,f:"json"}})).locations[0];n?(localStorage.removeItem("latLonFromGPS"),document.getElementById("btnGetGps").classList.remove("active"),d(n.feature.geometry)):console.error("An unexpected error occurred. Please try a different search string.")},d=(e,t)=>{const n={lat:(0,i.Xp)(e.y,4),lon:(0,i.Xp)(e.x,4)};localStorage.setItem("latLonQuery",document.getElementById("txtAddress").value),localStorage.setItem("latLon",JSON.stringify(n)),y(n,t)},h=()=>(document.fullscreenElement?f():m(),(0,a.yA)()?(0,r.Z)(!0):(0,r.Z)(!1),T(),!1),m=()=>{const e=document.getElementById("divTwc"),t=e.requestFullScreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen;t?t.call(e,{navigationUI:"hide"}):(window.scrollTo(0,0),o=!0),(0,a.SI)(),T();const n=document.getElementById("ToggleFullScreen");n.src="images/nav/ic_fullscreen_exit_white_24dp_1x.png",n.title="Exit fullscreen"},f=()=>{o&&(o=!1),document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),(0,a.SI)();const e=document.getElementById("ToggleFullScreen");e.src="images/nav/ic_fullscreen_white_24dp_1x.png",e.title="Enter fullscreen"},g=()=>(x("navButton","menu"),T(),!1),y=(e,t)=>{e&&(y.latLon=e);const{latLon:n}=y;n&&(document.getElementById("txtAddress").blur(),(0,a.QE)(),(0,a.un)(n,t))},p=e=>{if("left"===e)v();else S()},w=()=>((0,a.HC)(),y(),T(),!Line truncated
|
||||
(()=>{"use strict";var e={407:(e,t,n)=>{var s=n(929),r=n(739),a=n(325),i=n(594);document.addEventListener("DOMContentLoaded",(()=>{c()}));let o=!1;const l=["Land Features","Bay","Channel","Cove","Dam","Delta","Gulf","Lagoon","Lake","Ocean","Reef","Reservoir","Sea","Sound","Strait","Waterfall","Wharf","Amusement Park","Historical Monument","Landmark","Tourist Attraction","Zoo","College","Beach","Campground","Golf Course","Harbor","Nature Reserve","Other Parks and Outdoors","Park","Racetrack","Scenic Overlook","Ski Resort","Sports Center","Sports Field","Wildlife Reserve","Airport","Ferry","Marina","Pier","Port","Resort","Postal","Populated Place"].join(","),c=()=>{document.getElementById("txtAddress").addEventListener("focus",(e=>{e.target.select()})),(0,a.uL)(y),document.getElementById("NavigateMenu").addEventListener("click",g),document.getElementById("NavigateRefresh").addEventListener("click",w),document.getElementById("NavigateNext").addEventListener("click",v),document.getElementById("NavigatePrevious").addEventListener("click",S),document.getElementById("NavigatePlay").addEventListener("click",I),document.getElementById("ToggleFullScreen").addEventListener("click",h);const e=document.getElementById("btnGetGps");e.addEventListener("click",x),navigator.geolocation||(e.style.display="none"),document.getElementById("divTwc").addEventListener("click",(()=>{document.fullscreenElement&&T()})),document.addEventListener("keydown",C),document.addEventListener("touchmove",(e=>{o&&e.preventDefault()})),$("#frmGetLatLng #txtAddress").devbridgeAutocomplete({serviceUrl:"https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest",deferRequestBy:300,paramName:"text",params:{f:"json",countryCode:"USA",category:l,maxSuggestions:10},dataType:"json",transformResult:e=>({suggestions:e.suggestions.map((e=>({value:e.text,data:e.magicKey})))}),minChars:3,showNoSuggestionNotice:!0,noSuggestionNotice:"No results found. Please try a different search string.",onSelect(e){u(e,this)},width:490}),$("#frmGetLatLng").on("submit",(()=>{const e=$("#frmGetLatLng #txtAddress").devbridgeAutocomplete();return e.suggestions[0]&&$(e.suggestionsContainer.children[0]).trigger("click"),!1}));const t=localStorage.getItem("latLonQuery"),n=localStorage.getItem("latLon"),s=localStorage.getItem("latLonFromGPS");if(t&&n&&!s){document.getElementById("txtAddress").value=t,y(JSON.parse(n))}s&&x();const r=localStorage.getItem("play");null!==r&&"true"!==r||M("navButton","play"),document.getElementById("btnClearQuery").addEventListener("click",(()=>{document.getElementById("spanCity").innerHTML="",document.getElementById("spanState").innerHTML="",document.getElementById("spanStationId").innerHTML="",document.getElementById("spanRadarId").innerHTML="",document.getElementById("spanZoneId").innerHTML="",document.getElementById("chkAutoRefresh").checked=!0,localStorage.removeItem("autoRefresh"),localStorage.removeItem("play"),M("navButton","play"),localStorage.removeItem("latLonQuery"),localStorage.removeItem("latLon"),localStorage.removeItem("latLonFromGPS"),document.getElementById("btnGetGps").classList.remove("active")})),document.getElementById("container").addEventListener("swiped-left",(()=>p("left"))),document.getElementById("container").addEventListener("swiped-right",(()=>p("right")))},u=async(e,t)=>{if(t.previousSuggestionValue===e.value)return;const n=(await(0,s.AV)("https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/find",{data:{text:e.value,magicKey:e.data,f:"json"}})).locations[0];n?(localStorage.removeItem("latLonFromGPS"),document.getElementById("btnGetGps").classList.remove("active"),d(n.feature.geometry)):console.error("An unexpected error occurred. Please try a different search string.")},d=(e,t)=>{const n={lat:(0,i.Xp)(e.y,4),lon:(0,i.Xp)(e.x,4)};localStorage.setItem("latLonQuery",document.getElementById("txtAddress").value),localStorage.setItem("latLon",JSON.stringify(n)),y(n,t)},h=()=>(document.fullscreenElement?f():m(),(0,a.yA)()?(0,r.Z)(!0):(0,r.Z)(!1),T(),!1),m=()=>{const e=document.getElementById("divTwc"),t=e.requestFullScreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen;t?t.call(e,{navigationUI:"hide"}):(window.scrollTo(0,0),o=!0),(0,a.SI)(),T();const n=document.getElementById("ToggleFullScreen");n.src="images/nav/ic_fullscreen_exit_white_24dp_1x.png",n.title="Exit fullscreen"},f=()=>{o&&(o=!1),document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen(),(0,a.SI)();const e=document.getElementById("ToggleFullScreen");e.src="images/nav/ic_fullscreen_white_24dp_1x.png",e.title="Enter fullscreen"},g=()=>(M("navButton","menu"),T(),!1),y=(e,t)=>{e&&(y.latLon=e);const{latLon:n}=y;n&&(document.getElementById("txtAddress").blur(),(0,a.QE)(),(0,a.un)(n,t))},p=e=>{if("left"===e)v();else S()},w=()=>((0,a.HC)(),y(),T(),!Line truncated
|
||||
Reference in new issue
Block a user