Release 0.1.49: self-hosted maps and consented cloud location history
This commit is contained in:
File diff suppressed because one or more lines are too long
-2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
import"./modulepreload-polyfill-B5Qt9EMX.js";import{createFamilyMap as n}from"./controller-Je5cOZA3.js";const e=n(document.getElementById("map"),{onStatus:t=>document.getElementById("status").textContent=t});window.ZhaoMap={setItems:t=>e.setItems(t),setTrack:t=>e.setTrack(t),focus:t=>e.focus(t),fit:()=>e.fit(),setNight:t=>{document.documentElement.dataset.theme=t?"night":"day",e.setNight(t)}};document.addEventListener("visibilitychange",()=>{document.hidden&&(e.setItems([]),e.setTrack([]))});window.addEventListener("pagehide",()=>e.setItems([]));const s=()=>window.ZhaoMap.setNight(new Date().getHours()>=20||new Date().getHours()<7);s();setInterval(s,6e4);
|
||||
@@ -0,0 +1 @@
|
||||
html,body{margin:0;width:100%;height:100%;background:#e5efea;font-family:system-ui,sans-serif}#map{height:calc(100% - 28px);border-radius:0;min-height:0}#status{height:28px;box-sizing:border-box;padding:5px 9px;font-size:12px;color:#456354;background:#f3f7f4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}[data-theme=night] body,[data-theme=night] #status{background:#1d2d27;color:#a8bfb3}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function s(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(e){if(e.ep)return;e.ep=!0;const r=s(e);fetch(e.href,r)}})();
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user