(function(){function k(n){return n==null||n==""||n==undefined?!0:!1}function st(n,t){var i=document.createElement("link");t&&(i.onload=function(){li=!0;t()});i.setAttribute("rel","stylesheet");i.setAttribute("type","text/css");i.setAttribute("href",n);document.getElementsByTagName("head")[0].appendChild(i)}function ut(n,t){var i,r;document.readyState==="complete"||document.readyState==="interactive"?(i=document.createElement("script"),i.src=n,i.type="text/javascript",i.onload=i.onreadystatechange=function(){this.readyState&&this.readyState!=="loaded"&&this.readyState!=="complete"||(t&&t(),i.onload=i.onreadystatechange=null)},r=document.getElementsByTagName("script")[0],r.parentNode.insertBefore(i,r)):setTimeout(function(){ut(n,t)},100)}function or(){return window.sm_overrides&&window.sm_overrides.baseAPI&&window.sm_overrides.baseAPI.indexOf("google")==-1?!1:!0}function ft(){clearTimeout(dt);dt=setTimeout(function(){y()},250)}function sr(){for(var n=0;n<nt.length;n++)if(nt[n].opts.useStatic&&(!window.L||!window.L.Map))return ft(),!1;return(u=="google"||u=="googleEnterprise"||u=="googleKey")&&or()?window.google!=null&&window.google.maps!=null?!0:(ft(),!1):u=="bing"?window.Microsoft&&window.Microsoft.Maps?!0:(ft(),!1):u=="arcgis"?window.esri&&window.esri.layers?!0:(ft(),!1):u=="cesium"?window.Cesium?!0:(ft(),!1):window.L&&window.L.Map?!0:(ft(),!1)}function y(){return ci&&ht&&li&&sr()?(clearTimeout(dt),hr(),window[et]&&!gt&&(gt=!0,window[et]()),!0):!1}function hr(){for(var n=0;n<nt.length;n++)nt[n].makeReal();nt=[];h=[]}function ai(){for(var n=0;n<nt.length;n++)nt[n].createLoader()}function pi(n,t,i,r,u,f){var e;if(si.indexOf(t)==-1){if(si.push(t),l[t].css)for(e=0;e<l[t].css.length;e++)st(n+l[t].css[e]);if(window.sm_overrides&&window.sm_overrides.baseAPI)ut(window.sm_overrides.baseAPI.replace("{gurl}",yi).replace("{key}",i).replace("{clientId}",r).replace("{libraries}",u).replace("{lang}",f),function(){y()});else for(t=="bing"&&wt=="https://"&&(l[t].scripts[0]+="&s=1"),e=0;e<l[t].scripts.length;e++)ut((n+l[t].scripts[e]).replace("{gurl}",yi).replace("{key}",i).replace("{clientId}",r).replace("{libraries}",u).replace("{lang}",f),function(){y()})}}function wi(){var i="",t;return i!=""&&g!="null"?i:n.projectId||n.pId?n.projectId||n.pId:ii&&(t=ii.src.match(/pId=([0-9a-zA-Z-]+)/),t&&t[1])?t[1]:null}function ar(){var t=p&&p!=""?"?d="+p:"";n.theme=="dark"?st(b+"css/dark.css"+t,function(){y()}):n.theme=="light"?st(b+"css/light.css"+t,function(){y()}):st(b+"css/modern.css"+t,function(){y()});st(b+"css/glyphicons.css");ut(rr);ut(ur,function(){ci=!0;y()})}function di(n){return n==null||n==""?!0:!1}function gi(){var t=n.key,i=n.libraries,r=n.clientId,f=di(oi)?di(n.lang)?"":n.lang:oi,e=navigator.languages?navigator.languages[0]:navigator.language||navigator.userLanguage;pi(kt,u,t,r,i,f);ar()}var a,t,v,r,ot,at,o,e,d,i,vt,s,yt,gt,ni,ct,ti,pt,c,tt,rt,w,ri,ui,u,g,bi,ki,nr;window.scribblemaps=window.scribblemaps||{};var nt=[],wt="https:"==document.location.protocol?"https://":"http://",ei=!0,bt="1.562",oi="",et="";et=et==""?null:et;var p="",kt="",si=[],tr=document.URL.indexOf("http://")===-1&&document.URL.indexOf("https://")===-1;tr&&(kt="http:");var ir="cdn.scribblemaps.com",b=wt+ir+"/api/js/"+bt+"/",rr=b+"scripts/sanitizer.js"+(p&&p!=""?"?d="+p:""),hi=wt+"www.scribblemaps.com/",ur=b+"scripts/main.js"+(p&&p!=""?"?d="+p:""),f=function(n,t,i){window.scribblemaps[n]=t;i||(window[n]||window[n]==t?window[n]!=t&&console.log("Could not register global variable "+n+" variable available using scribblemaps."+n):window[n]=t)};a={};a.SEARCH="0";a.ZOOM="1";a.TOOLBOX="2";a.LINE_SETTINGS="3";a.LINE_COLOR="4";a.FILL_COLOR="5";a.MAP_TYPE="6";a.LEGEND="7";a.GPS="10";a.LAYERS="undefined";a.OVERLAY_LIST="8";f("ControlType",a,!0);t={};t.NONE="none";t.MENU="menu";t.DRAG="drag";t.DRAGEDIT="dragEdit";t.DRAGEDITADVANCED="dragEditAdvanced";t.DRAW="scribble";t.DRAWSNAP="scribbleSnap";t.LINE="line";t.LINESNAP="lineSnap";t.PEN="pen";t.FLIGHT_LINE="flightLine";t.EDIT="edit";t.EDITADVANCED="editAdvanced";t.LABEL="label";t.LABELMULTI="labelMulti";t.POLYGON="polygon";t.MARKER="marker";t.SINGLE_MARKER="singleMarker";t.ERASER="eraser";t.CIRCLE="circle";t.RECTANGLE="rectangle";t.FILL="fill";t.SELECT="select";t.IMAGE="image";t.CONNECTED_LINE="connectedLine";t.ROUTE="route";t.ROTATE="rotate";t.SPLIT_LINE="splitLine";t.SPLIT="splitLine";t.STYLE_PICKER="stylePicker";t.DIMENSION_LINE="dimensionLine";f("ToolType",t,!0);v={};v.LINE="1";v.RECT="2";v.CIRCLE="3";v.POLYGON="4";v.LABEL="5";v.MARKER="6";v.IMAGE="7";v.FLIGHT_LINE="16";v.INFO_BUBBLE="17";v.MEDIA_MARKER="18";v.POINT="19";f("OverlayType",v,!0);r={};r.MARKER="1";r.TEXT_EDITOR="2";r.SETTINGS="3";r.LOAD_MAP="4";r.SAVE_MAP="5";r.WIDGET="6";r.MAP_INFO="7";r.MENU="8";r.SAVE_IMAGE="9";r.SEND_TO_FRIEND="10";r.LEGEND_CREATOR="11";r.DIRECTIONS_CREATOR="12";r.MANAGE_USERS="13";r.REGION_HIGHLIGHTER="15";r.GIS="18";r.SAVE_POSTER="19";r.LAYERS="20";r.LIST_IMPORT="25";r.FILTER="27";r.GEOJSON_IMPORT="28";r.SATELLITE="29";r.IMAGE_OVERLAY="30";r.CATALOG="31";f("PanelType",r,!0);ot={};ot.NONE="none";ot.MGRS="mgrs";ot.UKNG="ukng";f("GridType",ot,!0);at={};at.DEFAULT=0;at.SMALL=1;f("ControlModes",at,!0);o={};o.NEW_MAP="newMap";o.LOAD_MAP="loadMap";o.SAVE_MAP="saveMap";o.OFFLINE_LOAD_MAP="offlineLoadMap";o.OFFLINE_SAVE_MAP="offlineSaveMap";o.WIDGET="getWidget";o.SEND_TO_FRIEND="sendToFriend";o.SAVE_IMAGE="saveImage";o.SAVE_PDF="savePDF";o.FACEBOOK="facebook";o.KML_DOWNLOAD="saveKML";o.GPX_DOWNLOAD="saveGPX";o.DXF_DOWNLOAD="saveDXF";o.SHP_DOWNLOAD="saveSHP";o.JSON_DOWNLOAD="saveJSON";o.CSV_DOWNLOAD="saveCSV";o.MANAGE_USERS="manageUsers";f("MenuType",o,!0);e={};e.MILLIMETRE="mm";e.CENTIMETRE="cm";e.METRE="m";e.KILOMETRE="km";e.INCH="mm";e.FOOT="ft";e.YARD="yd";e.MILE="mi";e.NAUTICAL_MILE="nmi";e.SQUARE_CENTIMETRE="sqcm";e.SQUARE_METRE="sqm";e.SQUARE_KILOMETRE="sqkm";e.HECTARE="ha";e.SQUARE_INCH="sqin";e.SQUARE_FOOT="sqft";e.SQUARE_YARD="sqyd";e.SQUARE_MILE="sqmi";e.ACRE="acre";f("MeasureType",e,!0);d={};d.ZOOM_START="zoom_start";d.ZOOM_END="zoom_end";d.CHANGED="view_changed";d.TILES_LOADED="tiles_loaded";d.MOVED="view_moved";d.RENDERED="view_rendered";d.GRID_CHANGED="grid_changed";f("ViewEvent",d,!0);i={};i.NEW_MAP="new_map";i.MAP_SAVE_ERROR="save_error";i.MAP_SAVE_START="save_start";i.MAP_SAVED="save_complete";i.DATA_IMPORTED="data_imported";i.MAP_LOADED="map_loaded";i.MAP_LOAD_ERROR="map_load_error";i.MAP_NOT_AUTHORIZED="map_not_authorized";i.MAP_PASSWORD_ERROR="map_password_error";i.MAP_PASSWORD_REQUIRED="map_password_required";i.SMJSON_ERROR="smjson_error";i.BASE_TYPE_CHANGED="basetype_changed";i.OVERLAY_HIDDEN="overlay_hidden";i.OVERLAY_SHOWN="overlay_shown";i.OVERLAY_ADDED="overlay_added";i.OVERLAY_REMOVED="overlay_removed";i.OVERLAY_CHANGED="overlay_changed";i.OVERLAY_META_CHANGED="overlay_meta_changed";i.OVERLAY_OVER="overlay_over";i.OVERLAY_OUT="overlay_out";i.OVERLAY_CLICK="overlay_click";i.OVERLAY_MOVE="overlay_move";i.OVERLAY_UP="overlay_up";i.OVERLAY_DOWN="overlay_down";i.GROUP_ADDED="group_added";i.GROUP_REMOVED="group_removed";i.GROUP_META_CHANGED="group_meta_changed";f("MapEvent",i,!0);vt={};vt.STYLE_CHANGED="style_changed";vt.MARKER_CHANGED="marker_changed";f("DrawEvent",vt,!0);s={};s.VIEWLOADER_OPEN="viewloader_open";s.VIEWLOADER_CLOSE="viewloader_close";s.ALERT_CLOSE="alert_close";s.ALERT_OPEN="alert_open";s.PANEL_CLOSE="panel_close";s.PANEL_OPEN="panel_open";s.PANEL_MARKER_SELECT="marker_select";s.LEGEND_CREATED="legend_created";s.LEGEND_REMOVED="legend_removed";s.TOOL_SELECT="tool_select";s.GIS_RUN="gis_run";s.LIST_MAPPED="list_mapped";s.MENU_SELECT="menu_select";s.THEME_CHANGED="theme_changed";s.SUBMENU_SELECT="submenu_select";s.SEARCH_ITEM_SELECT="search_item_select";f("UIEvent",s,!0);yt={};yt.ALL_READY="ready";yt.SETTINGS_CHANGED="settings_changed";f("CoreEvent",yt,!0);f("CapType",{SQUARE:1,ROUND:0},!0);f("JoinType",{MITER:1,ROUND:0},!0);f("LineType",{SOLID:0,DASHED:1,ARROW:2,ARROW_ONLY:3,DOTS:4,DOTS_ONLY:5,ARROW_END:6,ARROW_ENDS:7},!0);var fr=!1,er=!1,ci=!1,ht=!1,li=!1,dt=-1;gt=!1;ni=new XMLHttpRequest;ni.open("GET","https://www.scribblemaps.com/api/trackjs",!0);ni.send(null);ct=document.onreadystatechange;document.readyState!=="complete"&&document.readyState!=="interactive"||ht?document.onreadystatechange=function(){ht||((document.readyState==="complete"||document.readyState==="interactive")&&(ht=!0,ai(),y()),ct&&ct())}:(ht=!0,ai(),y(),ct&&ct());var h=[],vi=function(n,t,i){return function(){return h.push({group:n,fname:t,args:arguments,sm:i}),i}},lt={clustering:["setSize","setRangePixels","enable","disable","clusterViewOverride"],data:["addListener","removeListener","getSMJSON","importGeoJSON","getGeoJSON"],view:["getUICenter","addListener","removeListener","pixelToLatLng","latLngToPixel","getZoom","getMaxZoom","setZoom","lockView","unlockView","lockToBounds","render","getBounds","setBounds","getCenter","setCenter","fitContent","setGrid","getGridCenter","getGridType"],draw:["setGroup","setStyle","rectangle","circle","polygon","line","infoBubble","label","mediaMarker","marker","point","image"],map:["setFilters","clearFilters","dataProviders","setType","openInfoWindow","closeInfoWindow","getOverlays","addOverlay","getGroups","addOverlayToGroup","createOverlayGroup","removeOverlay","wipe","import","importById","load","loadById","save","startAutoSave","stopAutoSave","getMapType","saveCurrent","importKML","loadSmJSON","importSmJSON","addListener","removeListener","createNewMap","isFresh","hasUpdates"],layers:["setBase","add","remove","addAt","removeAt","clear","createTileLayer"],utils:["unitTypes","convertUnit","geoCode","distances","bindEvent","unbindEvent","optimizeRoute"],ui:["setMode","setSettings","setSearchEngine","enableImageryUpload","enableOLRendering","disableOLRendering","enableCtrlZoom","forceEnable","addTooltip","enableMarkerUpload","disableMarkerUpload","getCurrentTool","getControlElement","showCrosshairs","hideCrosshairs","setMapTypes","editMarker","addListener","removeListener","setStyle","hideDomElements","showDomElements","showControls","hideControls","enableOverlayUpload","disableOverlayUpload","setSearchControlMode","showLoader","hideLoader","showAlert","hideAlert","closeGallery","setAvailableTools","setMapInfoIcons","setMenuIcons","enableOverlayListEdit","enableUserGIS","disableUserGIS","setMapTypeControlMode","getSearchControls","setTool","createTool","styleControl","createLegend","removeLegend","setMarkerLibrary","enableAdvancedSearch","runScript","disableAdvancedSearch","setTheme","showMenu","showMenuIcon","addDomElement","hidePanel","showColorPicker","showCustomPanel","hideNotice","showNotice","hideMenuIcon","setSearchRegion","setSearchBounds","enableLegendEdit","disableLegendEdit","enableFullPolygonErase","disableFullPolygonErase","enableManageUsers","enableLayersModule"],settings:["setCRS","setInternalSettings","disableDevCatch","clearListeners","setToImperial","noPasswordSkip","updateCredentials","disableChangesHalt","enableChangesHalt","setToMetric","setFrameRate","toggleFullScreen","disableZoom","enableZoom","disableLineSnap","disableInteractivity","enableInteractivity","enableLineSnap","resize","setMeasurementUnits","getMeasurementUnits","set","get"],addListener:[],removeListener:[],getBaseAPIMap:[]},cr=function(n){for(var t=0;t<h.length;t++)h[t].sm===n&&(h[t].fname?n[h[t].group][h[t].fname].apply(n[h[t].group],h[t].args):n[h[t].group].apply(n[h[t].group],h[t].args))},yi="maps.googleapis.com";ti=!1;pt=function(t,i,r){var f,o,u,e;i=k(i)?{}:i;this.opts=i;i.sm_date=p;i.sm_version=bt;f=document.createElement("div");this.createLoader=function(){f.className=n.theme=="dark"?"sm_loader sm_dark":"sm_loader sm_light";Object.prototype.toString.call(t)=="[object String]"?document.getElementById(t).appendChild(f):t instanceof Array?t[0].appendChild(f):t.appendChild(f)};this.makeReal=function(){for(var s,u,e=[],n=0;n<h.length;n++)h[n].sm==this&&e.push(h[n]);s=this;o=new window.ScribbleMapCore(t,i,r,e);o.placeHolder=this;for(u in o)this[u]=o[u];cr(this);f.parentNode&&f.parentNode.removeChild(f);delete this.makeReal;delete this.createLoader};for(u in lt){for(this[u]={},e=0;e<lt[u].length;e++)this[u][lt[u][e]]=vi(u,lt[u][e],this);lt[u].length==0&&(this[u]=vi(u,null,this))}nt.push(this);i&&i.useStatic&&window.L==null&&(ti||(ti=!0,pi(kt,"leaflet")));y()};window.ScribbleMap||(window.ScribbleMap=pt);var c=document.getElementsByTagName("script"),ii,n={libraries:"places"},it=window.scribblemaps.settings;if(window.scribblemaps&&window.scribblemaps.settings){!it.baseAPI&&(it.key||it.clientId)&&(it.baseAPI="google",it.libraries="places");for(c in it)n[c]=it[c]}else{for(tt=0;tt<c.length;tt++)if(c[tt].innerHTML.toString().indexOf("{")!=-1&&(ii=c[tt],c[tt].innerHTML&&c[tt].innerHTML!=null))try{if(rt=eval("("+c[tt].innerHTML+")"),window.scribblemaps.settings){for(w in rt)window.scribblemaps.settings[w]=rt[w];for(w in n)window.scribblemaps.settings[w]||(window.scribblemaps.settings[w]=n[w]);n=window.scribblemaps.settings}else{for(w in n)rt[w]||(rt[w]=n[w]);n=rt;window.scribblemaps.settings=rt}break}catch(vr){}f("settings",n)}window.scribblemaps.settings.baseLoc=b;ri="sm_goog_mapLoadCallback";window[ri]=function(){fr=!0;y()};ui="sm_bing_mapLoadCallback";window[ui]=function(){er=!0;y()};var fi=function(){return ei?"&callback="+ri:""},lr=function(){return ei?"callback="+ui:""},l={};l.bing={scripts:["//www.bing.com/api/maps/mapcontrol?"+lr()]};l.leaflet={scripts:[b+"scripts/apis/leaflet/leaflet.js"],css:[b+"scripts/apis/leaflet/leaflet.css"]};l.mapquest={scripts:["//cdnjs.cloudflare.com/ajax/libs/leaflet/0.6.4/leaflet.js","//www.mapquestapi.com/sdk/leaflet/v1.0/mq-map.js?key={key}"],css:["//cdnjs.cloudflare.com/ajax/libs/leaflet/0.6.4/leaflet.css"]};l.google={scripts:["//{gurl}/maps/api/js?v=3&language={lang}&libraries={libraries}&key={key}"+fi()]};l.googleKey={scripts:["//{gurl}/maps/api/js?v=3&language={lang}&libraries={libraries}&key={key}"+fi()]};l.googleEnterprise={scripts:["//{gurl}/maps/api/js?v=3&language={lang}&libraries={libraries}&client={clientId}"+fi()]};l.arcgis={scripts:["//serverapi.arcgisonline.com/jsapi/arcgis/3.4/"],css:["//serverapi.arcgisonline.com/jsapi/arcgis/3.4/js/esri/css/esri.css"]};n.baseLoc=b;u=n.baseAPI;g=wi();g&&g!=""&&g!="null"&&(n.projectId=g);bi=["google","googleEnterprise","bing","nokia","arcgis","mapquest"];u&&u!=""?u=="google"&&n.clientId?u="googleEnterprise":u=="google"&&n.key&&(u="googleKey"):n.clientId?(u="googleEnterprise",n.baseAPI="google"):n.key?(u="google",n.baseAPI="google"):u="leaflet";g&&g!=""&&g!="null"?(window.$SMLicense=function(t){t?(u=bi[t.providerId-1],n.license=t,n.baseAPI=u,n.key=t.apiKey,n.clientId=t.clientId,n.appID=t.otherKey):n.projectId=null;u=="google"&&n.clientId?u="googleEnterprise":u=="google"&&n.key&&(u="googleKey");window.scribblemaps.settings=n;c=document.getElementsByTagName("script");for(var i=0;i<c.length;i++)if(c[i].src.indexOf(hi)!=-1){c[i].parentNode.removeChild(c[i]);break}window.$SMLicense=undefined;gi()},ki=hi+"api/projects/"+wi()+"/license?callback=$SMLicense&v="+(new Date).getTime(),ut(ki)):gi();nr=function(n,t,i,r){t=k(t)?{}:t;t.sm_date=p;t.sm_version=bt;t.mode="viewer";k(t.tools)&&(t.tools=[]);k(t.fillColorControl)&&(t.fillColorControl=!1);k(t.undoControl)&&(t.undoControl=!1);k(t.lineColorControl)&&(t.lineColorControl=!1);k(t.searchControl)&&(t.searchControl=!1);k(t.lineSettingsControl)&&(t.lineSettingsControl=!1);var u=new pt(n,t,r);return k(i)||i.password==null||i.password==undefined?k(i)||u.map.loadById(i):u.map.load(i),u};f("ScribbleMapsAPIs",l);f("ScribbleMap",pt,!0);f("ScribbleMapViewer",nr)})()//Saturday, January 2, 2021 4:15:16 PM