Share kiosk ambient presentation and add native Roku Raven controls

master
Carlo Costanzo 4 weeks ago committed by hass
parent fe3bc009b4
commit b08a756c86

1
.gitignore vendored

@ -42,6 +42,7 @@ homeassistant.code-workspace
# Configuration files
secrets.yaml
config/www/haven/kiosk-config.js
secrets
known_devices.yaml
entity_registry.yaml

File diff suppressed because one or more lines are too long

@ -0,0 +1,153 @@
######################################################################
# @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# Living Room TV - Native Roku Raven dashboard
# Related Issue: 2030
# Launch after two minutes on Roku Home while the TV and Raven are on.
# -------------------------------------------------------------------
# Notes: Never switches Samsung inputs or sends Samsung Exit.
# Notes: Manual exit pauses automatic launch for 15 minutes, across restarts.
# Notes: The restoring timer carries shared exit history that Roku lacks.
# Notes: The bridge verifies Home, TV power, Raven and cooldown again.
# Notes: Keep bridge URLs and the separate control header in secrets.yaml.
# Notes: Preserve the existing manual action and automation IDs for callers.
# Notes: Screensaver telemetry remains for the existing device panel only.
# Notes: Recover only this Roku integration after bridge-detected reconnects.
# Notes: Raven restores its state and is re-enabled daily at 03:00.
# Notes: TV-off is normal and remains outside always-on kiosk health alerts.
######################################################################
input_boolean:
haven:
name: Automatic Raven
icon: mdi:television-play
timer:
roku_haven_manual_exit:
name: Roku Raven manual exit pause
duration: '00:15:00'
restore: true
icon: mdi:pause-circle-outline
rest_command:
samsung_living_room_launch_haven:
url: !secret roku_haven_manual_launch_url
method: post
headers: !secret roku_haven_control_headers
timeout: 15
roku_haven_launch_when_idle:
url: !secret roku_haven_idle_launch_url
method: post
headers: !secret roku_haven_control_headers
timeout: 15
rest:
- resource: !secret roku_haven_status_url
headers: !secret roku_haven_control_headers
scan_interval: 5
timeout: 4
binary_sensor:
- name: Living Room Roku Screensaver
unique_id: living_room_roku_screensaver
icon: mdi:monitor-shimmer
value_template: '{{ value_json.screensaver | default(false) }}'
- name: Living Room Roku Reconnect Required
unique_id: living_room_roku_reconnect_required
device_class: problem
value_template: '{{ value_json.reconnectRequired | default(false) }}'
automation:
- id: samsung_living_room_haven_on_roku_screensaver
alias: Living Room TV - Raven after Roku Home Idle
description: Launch native Raven after two minutes on Home, respecting TV power and the restoring manual-exit pause.
mode: single
triggers:
- trigger: state
entity_id: sensor.living_room_ultra_active_app_id
to: '562859'
for:
minutes: 2
- trigger: state
entity_id: media_player.samsung_q70_series_65
to: 'on'
for:
minutes: 2
- trigger: state
entity_id: input_boolean.haven
to: 'on'
- trigger: event
event_type: timer.finished
event_data:
entity_id: timer.roku_haven_manual_exit
conditions:
- condition: state
entity_id: input_boolean.haven
state: 'on'
- condition: state
entity_id: media_player.samsung_q70_series_65
state: 'on'
for:
minutes: 2
- condition: state
entity_id: sensor.living_room_ultra_active_app_id
state: '562859'
for:
minutes: 2
- condition: state
entity_id: timer.roku_haven_manual_exit
state: idle
actions:
- action: rest_command.roku_haven_launch_when_idle
- id: samsung_living_room_exit_haven_on_roku_wake
alias: Living Room TV - Pause Raven after Manual Exit
description: Preserve time to choose another app after exiting Raven, including Roku's intermediate native menu state.
mode: restart
triggers:
- trigger: state
entity_id: sensor.living_room_ultra_active_app_id
from: dev
conditions:
- condition: not
conditions:
- condition: state
entity_id: sensor.living_room_ultra_active_app_id
state:
- unavailable
- unknown
actions:
- action: timer.start
target:
entity_id: timer.roku_haven_manual_exit
- id: living_room_roku_reconnect_recovery
alias: Living Room Roku - Recover Integration after Reconnect
description: Refresh only the living-room Roku config entry after a detected reboot or network recovery; fresh bridge sockets remain independent.
mode: single
max_exceeded: silent
triggers:
- trigger: state
entity_id: binary_sensor.living_room_roku_reconnect_required
to: 'on'
for:
seconds: 10
actions:
- action: homeassistant.reload_config_entry
data:
entry_id: "{{ config_entry_id('media_player.living_room_ultra') }}"
- delay:
minutes: 2
- id: samsung_living_room_haven_daily_reset
alias: Living Room TV - Re-enable Raven at 3 AM
description: Restore automatic Raven behavior each night without powering on the TV or launching an app.
mode: single
triggers:
- trigger: time
at: '03:00:00'
actions:
- action: input_boolean.turn_on
target:
entity_id: input_boolean.haven

@ -1,5 +1,5 @@
<!doctype html>
<!-- Bedroom wall-tablet renderer: fixed-dark status, cameras, and event takeovers. -->
<!-- Bedroom wall-tablet renderer: shared household notifications, cameras, and event takeovers. -->
<html lang="en">
<head>
<meta charset="utf-8">
@ -147,6 +147,8 @@
<div id="event-label"></div>
</section>
<script src="/local/kiosk/ambient.js?v=1.2.0"></script>
<script src="/local/haven/client.js?v=1.0.0"></script>
<script>
(function () {
'use strict';
@ -159,7 +161,6 @@
];
var states = {};
var imageUrls = {};
var stateRefreshRunning = false;
var imageRefreshRunning = false;
function getTokens() {
@ -242,6 +243,21 @@
var mode = active ? active.state : 'none';
var eventView = document.getElementById('event-view');
var defaultView = document.getElementById('default-view');
// Shared holiday palette; the default bands disappear during camera takeovers.
var seasonal = window.BearStoneKioskAmbient && window.BearStoneKioskAmbient.seasonal
? window.BearStoneKioskAmbient.seasonal(states) : {mode: 'standard', wash: 'none', edge: 'none'};
defaultView.setAttribute('data-seasonal-theme', seasonal.mode);
var bands = defaultView.querySelectorAll('.band');
for (var bandIndex = 0; bandIndex < bands.length; bandIndex++) {
bands[bandIndex].style.backgroundImage = seasonal.wash;
bands[bandIndex].style.boxShadow = seasonal.edge;
}
// Artwork sits beside the alarm text, never on top of it or the cameras.
bands[0].style.backgroundImage = seasonal.art ? 'url("' + seasonal.art + '"),' + seasonal.wash : 'none';
bands[0].style.backgroundPosition = 'right 12px center, center';
bands[0].style.backgroundSize = '112px 64px, cover';
bands[0].style.backgroundRepeat = 'no-repeat';
bands[0].style.paddingRight = seasonal.art ? '136px' : '24px';
if (mode === 'garage' || mode === 'front_door' || mode === 'driveway') {
defaultView.style.display = 'none';
@ -259,44 +275,16 @@
document.getElementById('header-headline').textContent = header.state;
document.getElementById('header-detail').textContent = header.attributes.detail || '';
}
if (alert) {
var slides = [{title: alert.state, detail: alert.attributes.detail || ''}];
var phoneFeed = states['sensor.kiosk_recent_phone_notifications'];
var notifications = phoneFeed && phoneFeed.attributes.items;
if (!alert.attributes.urgent && Array.isArray(notifications)) {
notifications.forEach(function (notification) {
if (Number(notification.expires_at) * 1000 <= Date.now()) return;
slides.push({
title: notification.title,
detail: notification.message + ' · Sent ' + notification.sent_time
});
});
}
if (window.BearStoneKioskAmbient || alert) {
var slides = window.BearStoneKioskAmbient
? window.BearStoneKioskAmbient.build(states, new Date()).items
: [{title: alert.state, detail: alert.attributes.detail || ''}];
var slide = slides[Math.floor(Date.now() / 10000) % slides.length];
document.getElementById('alert-headline').textContent = slide.title;
document.getElementById('alert-detail').textContent = slide.detail;
}
}
function refreshStates() {
if (stateRefreshRunning) return;
stateRefreshRunning = true;
Promise.all(stateEntities.map(function (entityId) {
return authorizedFetch('/api/states/' + entityId).then(function (response) {
return response.json();
}).then(function (value) {
states[entityId] = value;
});
})).then(function () {
clearConnectionError();
render();
}).catch(function (error) {
setConnectionError(error.message + ' — load Home Assistant once to renew the trusted session.');
}).then(function () {
stateRefreshRunning = false;
});
}
function updateImage(elementId, cameraEntity) {
return authorizedFetch('/api/camera_proxy/' + cameraEntity).then(function (response) {
return response.blob();
@ -337,9 +325,21 @@
});
}
refreshStates();
var client = new window.HavenKioskClient({
url: window.location.origin,
entities: stateEntities.concat(window.BearStoneKioskAmbient.dependencies),
getToken: function (done, failed, force) {
ensureToken(force).then(function (tokens) { done(tokens.access_token); }, failed);
},
onStates: function (nextStates) { states = nextStates; render(); },
onStatus: function (connected, message) {
if (connected) clearConnectionError();
else setConnectionError(message);
}
});
client.start();
window.setTimeout(refreshImages, 1000);
window.setInterval(refreshStates, 5000);
window.setInterval(render, 1000);
window.setInterval(refreshImages, 4000);
}());
</script>

@ -0,0 +1,140 @@
/* Haven read-only, filtered Home Assistant state client.
* Credentials are supplied by the caller and never persisted or logged here.
* Uses the native compressed entity subscription; ES5 syntax for older displays.
*/
(function (root) {
'use strict';
function Client(options) {
var self = this, socket = null, authenticated = false, stopped = true;
var sequence = 0, subscription = 0, requested = [], states = {}, pending = {}, listeners = {}, streams = [];
var retry = null, ping = null, notify = null, reconnectDelay = 1000, forceToken = false;
function status(connected, message) { if (options.onStatus) options.onStatus(connected, message || ''); }
function emit() {
if (notify) return;
notify = setTimeout(function () { notify = null; if (options.onStates) options.onStates(states); }, 150);
}
function unique(values) {
return values.filter(function (value, index) { return values.indexOf(value) === index; }).sort();
}
function send(message) {
if (!socket || socket.readyState !== 1) return 0;
message.id = ++sequence;
socket.send(JSON.stringify(message));
return message.id;
}
function subscribe() {
if (!authenticated) return;
if (subscription) send({type: 'unsubscribe_events', subscription: subscription});
subscription = send({type: 'subscribe_entities', entity_ids: requested});
}
function subscribeStream(stream) {
var message = {type: stream.type};
for (var key in stream.data) message[key] = stream.data[key];
var id = send(message); listeners[id] = stream.callback;
}
function apply(update) {
var id, raw, existing, patch, add, remove, key, extras = [];
for (id in update.a || {}) {
raw = update.a[id];
states[id] = {entity_id: id, state: raw.s, attributes: raw.a || {},
last_changed: new Date(raw.lc * 1000).toISOString(),
last_updated: new Date((raw.lu || raw.lc) * 1000).toISOString()};
}
for (id in update.c || {}) {
existing = states[id];
if (!existing) continue;
patch = update.c[id]; add = patch['+'] || {}; remove = patch['-'] || {};
if (add.s !== undefined) existing.state = add.s;
for (key in add.a || {}) existing.attributes[key] = add.a[key];
(remove.a || []).forEach(function (name) { delete existing.attributes[name]; });
if (add.lc) existing.last_changed = new Date(add.lc * 1000).toISOString();
if (add.lu || add.lc) existing.last_updated = new Date((add.lu || add.lc) * 1000).toISOString();
}
(update.r || []).forEach(function (name) { delete states[name]; });
requested.forEach(function (name) {
var members = states[name] && states[name].attributes.entity_id;
if (Array.isArray(members)) extras = extras.concat(members);
});
if (extras.some(function (name) { return requested.indexOf(name) < 0; })) {
requested = unique(requested.concat(extras));
subscribe();
}
emit();
}
function reconnect() {
if (stopped || retry) return;
retry = setTimeout(function () { retry = null; connect(); }, reconnectDelay);
reconnectDelay = Math.min(30000, reconnectDelay * 2);
}
function connect() {
if (stopped) return;
// Never reuse privacy switches from a previous connection.
states={};if(options.onStates)options.onStates(states);
options.getToken(function (token) {
if (stopped) return;
try { socket = new WebSocket(options.url.replace(/^http/, 'ws').replace(/\/+$/, '') + '/api/websocket'); }
catch (error) { status(false, 'Home Assistant connection unavailable'); reconnect(); return; }
socket.onmessage = function (event) {
var message;
try { message = JSON.parse(event.data); } catch (error) { return; }
if (message.type === 'auth_required') socket.send(JSON.stringify({type: 'auth', access_token: token}));
else if (message.type === 'auth_ok') {
authenticated = true; reconnectDelay = 1000; forceToken = false;
status(true); subscribe();
listeners = {}; streams.forEach(subscribeStream);
clearInterval(ping);
ping = setInterval(function () { send({type: 'ping'}); }, 30000);
} else if (message.type === 'auth_invalid') {
forceToken = true; status(false, 'Home Assistant session needs renewal'); socket.close();
} else if (message.type === 'event' && message.id === subscription) apply(message.event);
else if (message.type === 'event' && listeners[message.id]) listeners[message.id](message.event);
else if (message.type === 'result' && pending[message.id]) {
var request = pending[message.id];
delete pending[message.id]; clearTimeout(request.timer);
request.done(message.success, message.result, message.error);
} else if (message.type === 'result' && message.id === subscription && !message.success) {
status(false, 'Home Assistant state subscription unavailable');
}
};
socket.onclose = function () {
authenticated = false; clearInterval(ping);
for (var id in pending) {
clearTimeout(pending[id].timer);
pending[id].done(false, null, {message: 'Connection closed'});
}
pending = {};
if (!stopped) { status(false, 'Reconnecting to Home Assistant'); reconnect(); }
};
socket.onerror = function () { status(false, 'Home Assistant connection unavailable'); };
}, function () { status(false, 'Home Assistant session unavailable'); reconnect(); }, forceToken);
}
this.start = function () { if (!stopped) return; stopped = false; connect(); };
this.stop = function () {
stopped = true; clearTimeout(retry); retry = null; clearInterval(ping);
status(false);states={};if(options.onStates)options.onStates(states);
if (socket) socket.close();
};
this.setEntities = function (entities) {
var next = unique(entities.concat(requested));
if (next.join('|') === requested.join('|')) return;
requested = next; subscribe();
};
this.call = function (type, data, done) {
if (!authenticated) { done(false, null, {message: 'Home Assistant is not connected'}); return; }
var message = {type: type};
for (var key in data || {}) message[key] = data[key];
var id = send(message);
pending[id] = {done: done, timer: setTimeout(function () {
if (!pending[id]) return;
delete pending[id]; done(false, null, {message: 'Home Assistant request timed out'});
}, 15000)};
};
this.getStates = function () { return states; };
this.subscribe = function (type, data, callback) {
var stream = {type:type,data:data,callback:callback}; streams.push(stream);
if (authenticated) subscribeStream(stream);
};
this.setEntities(options.entities || []);
}
root.HavenKioskClient = Client;
}(window));

@ -0,0 +1,421 @@
/* Optional read-only household information panel. All entity mappings are private config.
* Daily energy comes from HA recorder day aggregates; forecasts use HA's native subscription.
* Plain ES5 for TV WebViews. No household identifiers or credentials are embedded here.
*/
(function (root) {
'use strict';
function escape(value) { return String(value == null ? '' : value).replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/"/g,'&quot;'); }
function valid(value) { return value !== undefined && value !== null && ['unknown','unavailable','none',''].indexOf(value) < 0; }
function number(value) { return valid(value) && isFinite(Number(value)) ? Number(value) : null; }
function initial(name) { return String(name || '?').slice(0,1).toUpperCase(); }
var paths = {
garage:'M3 10L12 3l9 7v11h-4V11H7v10H3z M9 14h6 M9 17h6 M9 20h6',
lock:'M7 10V7a5 5 0 0110 0v3 M5 10h14v12H5z M12 14v4',
window:'M3 3h18v18H3z M12 3v18 M3 12h18',
climate:'M9 14.5V5a3 3 0 016 0v9.5a5 5 0 11-6 0z M12 8v9',
home:'M2 11L12 3l10 8 M5 10v12h5v-7h4v7h5V10',
solar:'M4 9h16l2 11H2z M9 9L7 20 M15 9l2 11 M3 14h18 M12 2v3 M4 3l2 3 M20 3l-2 3',
grid:'M9 2h6l5 20 M9 2L4 22 M6 8h12 M4 14h16 M9 2l8 12 M15 2L7 14',
battery:'M4 6h16v15H4z M9 3h6v3 M8 10h8 M8 14h8 M8 18h5',
water:'M12 2C10 7 5 11 5 16a7 7 0 0014 0c0-5-5-9-7-14z'
};
function icon(name) { return '<svg viewBox="0 0 24 24" aria-hidden="true"><path d="'+(paths[name] || paths.home)+'" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linejoin="round" stroke-linecap="round"/></svg>'; }
function weatherIcon(condition) {
var name=String(condition || '');
if (/snow|sleet/.test(name)) return '❄';
if (/rain|pouring|lightning/.test(name)) return '☂';
if (/cloud|fog/.test(name)) return '☁';
return /night/.test(name) ? '☾' : '☀';
}
function Information(options) {
var self=this, config=options.config || {}, ha=options.ha, client=null, states={}, forecasts=[];
var cards=config.statusCards || [], people=(config.people || []).slice(0,4), energy=config.energy, agenda=config.agenda;
var lastAgenda='', activePages='', pageIndex=0, pageSince=0;
var weather=config.weatherEntity || options.weatherEntity, lastForecast='', lastAway='', lastEnergy='', lastEnergyAt=0;
var avatarSources={}, avatarObjects={}, energyValues=null, connected=false;
var ribbon=options.statusRoot, panel=options.panelRoot;
ribbon.innerHTML=cards.map(function(card,index){return '<div class="kiosk-status-card normal" id="kiosk-status-'+index+'"><span class="status-icon">'+icon(card.icon)+'</span><div class="status-copy"><div class="status-name">'+escape(card.name)+'</div><div class="status-value">Loading</div></div></div>';}).join('');
panel.innerHTML='<section class="kiosk-family-strip">'+people.map(function(person,index){return '<div class="kiosk-person unknown" id="kiosk-person-'+index+'"><div class="person-photo"><span class="person-initial">'+escape(initial(person.name))+'</span><img alt="'+escape(person.name)+'" hidden></div><div class="person-name">'+escape(person.name)+'</div><div class="person-state">Loading</div></div>';}).join('')+'</section>'+
'<section class="kiosk-details"><div class="info-page family-weather"><div class="weather-now"><div><div class="weather-condition"></div><div class="weather-temperature"></div><div class="weather-context"></div></div><div class="weather-symbol"></div></div><div class="info-forecast"><div class="info-heading">UPCOMING WEATHER</div><div class="forecast-days">Loading forecast</div></div><div class="info-away-list"></div></div><div class="info-page energy" hidden><div class="energy-heading">Energy'+(energy && energy.water?' &amp; water':'')+' today <span>kWh</span></div><div class="energy-body">Loading today’s totals</div></div><div class="kiosk-pagination"><i></i><i></i></div></section>';
function state(id) { return states[id] ? states[id].state : ''; }
function attributes(id) { return states[id] ? states[id].attributes : {}; }
var agendaPage=document.createElement('div');
agendaPage.className='info-page family-agenda';agendaPage.hidden=true;
agendaPage.innerHTML='<div class="agenda-heading">Upcoming <span>Family schedule</span></div><div class="agenda-list"></div>';
panel.querySelector('.kiosk-details').insertBefore(agendaPage,panel.querySelector('.kiosk-pagination'));
function renderAgenda() {
var data=agenda && attributes(agenda.entity)[agenda.attribute || 'familyAgenda'], items=[], now=Date.now();
var privacy=agenda && agenda.hideWhenEntities || [];
if (connected && agenda && state(agenda.entity)==='ok' && privacy.length && privacy.every(function(id){return state(id)==='off';})
&& data && data.status==='ok' && Date.parse(data.expiresAt)>now && now-Date.parse(data.fetchedAt)<600000) {
items=(Array.isArray(data.items)?data.items:[]).filter(function(item){return item && Date.parse(item.end)>now;}).slice(0,4);
}
var html=items.map(function(item){
var tone=['person-0','person-1','shared'].indexOf(item.tone)>=0?item.tone:'shared';
return '<div class="agenda-item '+tone+'"><div class="agenda-meta"><span class="agenda-when">'+escape(item.day)+' <b>·</b> '+escape(item.time)+'</span><span class="agenda-owner">'+escape(item.owner)+'</span></div><div class="agenda-title">'+escape(item.title)+'</div></div>';
}).join('');
if(html!==lastAgenda){agendaPage.querySelector('.agenda-list').innerHTML=html;lastAgenda=html;}
return items.length>0;
}
function rotate() {
var pages=['family-weather'];if(energy)pages.push('energy');if(renderAgenda())pages.push('family-agenda');
var key=pages.join('|'),now=Date.now();
if(key!==activePages){activePages=key;pageIndex=0;pageSince=now;}
if(now-pageSince>=(config.rotationSeconds || 20)*1000){pageIndex=(pageIndex+1)%pages.length;pageSince=now;}
['family-weather','energy','family-agenda'].forEach(function(name){panel.querySelector('.'+name).hidden=pages[pageIndex]!==name;});
panel.querySelector('.kiosk-pagination').innerHTML=pages.map(function(name,index){return '<i'+(index===pageIndex?' class="selected"':'')+'></i>';}).join('');
}
function avatar(person,index) {
var source=attributes(person.entity).entity_picture, image=panel.querySelector('#kiosk-person-'+index+' img');
if (!source || avatarSources[index]===source) return;
avatarSources[index]=source;
function show(url) {
image.onload=function(){image.hidden=false;image.parentNode.querySelector('.person-initial').hidden=true;if(avatarObjects[index])URL.revokeObjectURL(avatarObjects[index]);avatarObjects[index]=/^blob:/.test(url)?url:null;};
image.src=url;
}
if (/^https?:/i.test(source) && source.indexOf(ha.url+'/')!==0) {show(source);return;}
options.getToken(function(token){
var request=new XMLHttpRequest();request.open('GET',/^https?:/i.test(source)?source:ha.url+source,true);request.responseType='blob';request.timeout=10000;
request.setRequestHeader('Authorization','Bearer '+token);
request.onload=function(){if(request.status===200)show(URL.createObjectURL(request.response));};request.onerror=function(){};request.send();
},function(){});
}
function renderStatus() {
cards.forEach(function(card,index){
var node=ribbon.querySelector('#kiosk-status-'+index), value=state(card.entity), data=attributes(card.entity), tone='normal', label;
if (!valid(value)) {tone='warning';label='UNAVAILABLE';}
else if(card.mode==='climate') {
var current=number(data.current_temperature),target=number(data.temperature),humidity=number(state(card.humidityEntity));
var active=card.coolingEntity ? state(card.coolingEntity)==='on' : ['cooling','heating','drying','fan'].indexOf(data.hvac_action)>=0;
tone=active?'active':'normal';
label=(current===null?'--':Math.round(current))+'° / '+(target===null?'--':Math.round(target))+'°'+(humidity===null?'':' · '+Math.round(humidity)+'%');
} else {
if ((card.alertStates || []).indexOf(value)>=0) tone='alert';
else if ((card.warningStates || []).indexOf(value)>=0) tone='warning';
else if ((card.normalStates || []).indexOf(value)<0) tone='active';
label=card.labels && card.labels[value] || String(value).replace(/_/g,' ').toUpperCase();
}
node.className='kiosk-status-card '+tone;node.querySelector('.status-value').textContent=label;
});
}
function renderPeople() {
var away=[];
people.forEach(function(person,index){
var value=state(person.entity),node=panel.querySelector('#kiosk-person-'+index),home=(person.homeStates || ['home']).indexOf(value)>=0;
node.className='kiosk-person '+(!valid(value)?'unknown':home?'home':'away');
node.querySelector('.person-state').textContent=!valid(value)?'Unknown':home?'Home':'Away';
avatar(person,index);
if(person.showLocation && valid(value) && !home) {
var location=state(person.locationEntity), locationState=states[person.locationEntity] || states[person.entity];
if (!valid(location)) location=value==='not_home'?'Away from home':value;
var sinceMatch=location.match(/\s*\(since\s+([^)]+)\)\s*$/i);
location=location.replace(/\s*\(since\s+[^)]+\)\s*$/i,'').trim();
var changed=locationState && new Date(locationState.last_changed), since=sinceMatch?sinceMatch[1]:changed && isFinite(changed.getTime())?changed.toLocaleTimeString('en-US',{hour:'numeric',minute:'2-digit'}):'';
away.push('<div class="info-away-card"><div class="away-name">'+escape(person.name)+'</div><div class="away-location">'+escape(location)+'</div><div class="away-since">'+escape(since?'Since '+since:'Away from home')+'</div></div>');
}
});
var html=away.slice(0,2).join('');
if(html!==lastAway){panel.querySelector('.info-away-list').innerHTML=html;lastAway=html;}
}
function renderForecast() {
var data=attributes(weather),condition=state(weather),temperature=number(data.temperature),humidity=number(data.humidity),feels=number(data.apparent_temperature);
panel.querySelector('.weather-condition').textContent=valid(condition)?condition.replace(/-/g,' ').replace(/_/g,' '):'Weather unavailable';
panel.querySelector('.weather-temperature').textContent=(temperature===null?'--':Math.round(temperature))+'°';
panel.querySelector('.weather-context').textContent=(feels===null?'':'Feels like '+Math.round(feels)+'° · ')+(humidity===null?'':'Humidity '+Math.round(humidity)+'%');
panel.querySelector('.weather-symbol').textContent=weatherIcon(condition);
var key=JSON.stringify(forecasts);
if(key===lastForecast)return;lastForecast=key;
var days=forecasts.slice(0,3).map(function(day,index){
var when=new Date(day.datetime), name=when.toDateString()===new Date().toDateString()?'Today':when.toLocaleDateString('en-US',{weekday:'short'});
var high=number(day.temperature),low=number(day.templow),rain=number(day.precipitation_probability);
return '<div class="forecast-day"><div class="forecast-name">'+escape(name)+'</div><div class="forecast-icon">'+weatherIcon(day.condition)+'</div><div class="forecast-temperature">'+(high===null?'--':Math.round(high))+'° <span>'+(low===null?'':Math.round(low)+'°')+'</span></div><div class="forecast-rain">'+(rain===null?'':Math.round(rain)+'% rain')+'</div></div>';
}).join('');
panel.querySelector('.forecast-days').innerHTML=days || 'Forecast temporarily unavailable';
}
function total(rows,id) {
if(!id || !rows[id])return null;
var now=Date.now(),current=rows[id].filter(function(row){return row.start<=now && row.end>now;});
if(!current.length)return null;
return number(current[current.length-1].change);
}
function readEnergy() {
if(!client || !energy || !connected || Date.now()-lastEnergyAt<300000)return;
lastEnergyAt=Date.now();
var ids=Object.keys(energy).map(function(key){return energy[key];}).filter(function(id){return typeof id==='string' && id.indexOf('.')>0;});
client.call('recorder/statistics_during_period',{start_time:new Date(Date.now()-36*3600000).toISOString(),end_time:new Date().toISOString(),statistic_ids:ids,period:'day',types:['change']},function(ok,rows){
if(!ok){lastEnergyAt=Date.now()-285000;return;}
var values={solar:total(rows,energy.solar),gridImport:total(rows,energy.gridImport),gridExport:total(rows,energy.gridExport),batteryCharge:total(rows,energy.batteryCharge),batteryDischarge:total(rows,energy.batteryDischarge),water:total(rows,energy.water)};
values.home=[values.solar,values.gridImport,values.gridExport,values.batteryCharge,values.batteryDischarge].some(function(value){return value===null;})?null:Math.max(0,values.solar+values.gridImport-values.gridExport-values.batteryCharge+values.batteryDischarge);
energyValues=values;drawEnergy();
});
}
function drawEnergy() {
if(!energyValues)return;
var key=JSON.stringify(energyValues);if(key===lastEnergy)return;lastEnergy=key;
function value(number,precision){return number===null?'--':number.toFixed(precision==null?1:precision);}
function label(x,y,kind,valueText,color,detail){return '<g transform="translate('+x+' '+y+')"><text class="energy-label" y="-6">'+escape(kind)+'</text><text class="energy-value" y="43" style="fill:'+color+'">'+escape(valueText)+'</text>'+(detail?'<text class="energy-unit" y="78">'+escape(detail)+'</text>':'')+'</g>';}
function line(id,d,color,amount){return '<path id="'+id+'" d="'+d+'" fill="none" stroke="'+color+'" stroke-width="2.5" opacity=".65"/>'+(amount>0?'<circle r="5" fill="'+color+'"><animateMotion dur="6s" repeatCount="indefinite" path="'+d+'"/></circle>':'');}
var v=energyValues;
var svg='<svg class="energy-diagram" viewBox="0 0 560 420" role="img" aria-label="Today’s energy'+(energy.water?' and water':'')+' distribution">';
svg+=line('solar-flow','M280 90 V154','#e9c77c',v.solar);
svg+=line('grid-in','M126 202 H224','#91b9ef',v.gridImport);
svg+=line('grid-out','M224 220 H126','#ad89ed',v.gridExport);
svg+=line('battery-in','M336 202 H434','#f27bb4',v.batteryCharge);
svg+=line('battery-out','M434 220 H336','#83ceae',v.batteryDischarge);
if(energy.water)svg+=line('water-flow','M475 122 Q380 122 325 176','#6ac9df',v.water);
svg+='<circle cx="280" cy="210" r="56" fill="#1d3038" stroke="#44646c" stroke-width="2"/>';
svg+=label(280,35,'SOLAR',value(v.solar),'#e9c77c','');
svg+=label(280,195,'HOME',value(v.home),'#eff4f5','');
if(energy.water)svg+='<g class="energy-water">'+label(475,35,'WATER',value(v.water,0),'#6ac9df',energy.waterUnit || 'gal')+'</g>';
svg+=label(77,160,'GRID',value(v.gridImport),'#91b9ef','imported');
svg+=label(475,160,'BATTERY',value(v.batteryCharge),'#83ceae','charged');
svg+=label(77,295,'',value(v.gridExport),'#ad89ed','exported');
svg+=label(475,295,'',value(v.batteryDischarge),'#83ceae','discharged');
svg+='</svg><div class="energy-caption">Daily totals · since midnight</div>';
panel.querySelector('.energy-body').innerHTML=svg;
}
this.dependencies=function(){
var ids=[];cards.forEach(function(card){ids.push(card.entity);if(card.humidityEntity)ids.push(card.humidityEntity);if(card.coolingEntity)ids.push(card.coolingEntity);});
people.forEach(function(person){ids.push(person.entity);if(person.locationEntity)ids.push(person.locationEntity);});if(weather)ids.push(weather);
if(agenda){ids.push(agenda.entity);ids=ids.concat(agenda.hideWhenEntities || []);}return ids;
};
this.bind=function(connection){
client=connection;
if(weather)client.subscribe('weather/subscribe_forecast',{entity_id:weather,forecast_type:'daily'},function(event){forecasts=event.forecast || [];renderForecast();});
};
this.render=function(next){
states=next;renderStatus();renderPeople();renderForecast();readEnergy();
rotate();
};
this.setConnected=function(value){connected=value;if(value)lastEnergyAt=0;rotate();};
}
root.HavenKioskInformation=Information;
}(window));
/* Configurable Haven camera kiosk. Household mappings live in shell-config.js.
* Optional notification adapters return {items, dependencies}; no credentials in this file.
* Passive ES5 display: refreshed camera wall, one native live decoder for HA events.
*/
(function () {
'use strict';
var H = window.Haven, cfg = H.kiosk ? H.kiosk() : {}, ha = H.ha();
var cameras = (cfg.cameras || []).slice(0,4), states = {}, client = null, connected = false;
var feed = null, information = null, current = '';
var generation = 0, playerTimer = null, snapshotTimer = null, avActive = false;
var lastThumbs = 0, lastFeedCheck = 0, feedText = '', reconnectPlayback = false;
var stage = document.getElementById('stage');
function el(id) { return document.getElementById(id); }
function text(id, value) { el(id).textContent = value || ''; }
function state(id) { return states[id] ? states[id].state : ''; }
function script(url, done) {
var node = document.createElement('script'); node.src = url;
node.onload = function () { done(true); }; node.onerror = function () { done(false); };
document.head.appendChild(node);
}
function absolute(url) { return /^https?:/i.test(url) ? url : ha.url + url; }
function snapshotUrl(id) {
var camera = states[id], url = camera && camera.attributes.entity_picture;
return url ? absolute(url) + (url.indexOf('?') < 0 ? '?' : '&') + 't=' + Date.now() : '';
}
function setConnection(ok, message) {
if (ok && !connected) reconnectPlayback = true;
connected = ok; el('kiosk-connection').hidden = ok;
if (information) information.setConnected(ok);
text('kiosk-connection', message || 'Connecting to Home Assistant');
if (!ok) { reconnectPlayback = true; stopPlayback(); current = ''; }
}
stage.innerHTML = '<main id="kiosk"><div id="kiosk-connection">Connecting to Home Assistant</div>' +
'<section id="kiosk-status"></section><section id="kiosk-cameras"><div id="kiosk-visual"><div id="kiosk-wall"></div>' +
'<div id="kiosk-main" class="kiosk-camera" hidden><img id="kiosk-snapshot" alt="Active household camera"><video id="kiosk-video" autoplay muted playsinline hidden></video>' +
'<span id="kiosk-live" role="status" hidden>CONNECTING</span></div></div><aside id="kiosk-info"></aside></section>' +
'<section id="kiosk-notice"><div id="kiosk-kicker">HOUSEHOLD</div><div id="kiosk-notice-title">Loading household information</div><div id="kiosk-notice-detail"></div></section></main>';
cameras.forEach(function (camera, index) {
var node = document.createElement('div'); node.className = 'kiosk-camera';
var image = document.createElement('img'); image.id = 'kiosk-wall-image-' + index; image.alt = camera.name || 'Household camera';
node.appendChild(image); el('kiosk-wall').appendChild(node);
});
function roots() {
var ids = cameras.map(function (camera) { return camera.entity; });
if (cfg.weatherEntity) ids.push(cfg.weatherEntity);
if (cfg.notificationEntity) ids.push(cfg.notificationEntity);
if (cfg.events && cfg.events.entity) ids.push(cfg.events.entity);
if (information) ids = ids.concat(information.dependencies());
if (feed && Array.isArray(feed.dependencies)) ids = ids.concat(feed.dependencies);
if (cfg.events && cfg.events.views) Object.keys(cfg.events.views).forEach(function (key) { ids.push(cfg.events.views[key].entity); });
return ids;
}
function adoptFeed(code) {
try {
(0, eval)(code);
var candidate = window[cfg.feedGlobal || 'HavenKioskAmbient'];
if (!candidate || typeof candidate.build !== 'function') return;
feed = candidate; feedText = code; H.set('kioskFeed', code);
if (client) client.setEntities(roots());
} catch (error) { /* Keep the last valid adapter and camera layout. */ }
}
function checkFeed() {
if (!cfg.feedUrl || document.hidden || Date.now()-lastFeedCheck < 60000) return;
lastFeedCheck = Date.now();
H.fetchText(absolute(cfg.feedUrl) + '?t=' + lastFeedCheck, 6000, function (code) { if (code !== feedText) adoptFeed(code); }, function () {});
}
var cachedFeed = H.get('kioskFeed', '');
if (cachedFeed) adoptFeed(cachedFeed);
checkFeed();
function setAvMode(on) {
avActive = on;
document.documentElement.style.background = on ? 'transparent' : '#000';
document.body.style.background = on ? 'transparent' : '#000';
el('kiosk').className = on ? 'avplay-on' : '';
// The native video plane must not share its letterbox area with a still.
// An inline visibility value otherwise overrides the AVPlay stylesheet.
if (on) el('kiosk-snapshot').style.visibility = 'hidden';
}
function stopPlayback() {
generation++; clearTimeout(playerTimer); clearInterval(snapshotTimer); snapshotTimer = null;
var video = el('kiosk-video'); video.onplaying = video.onerror = null;
try { video.pause(); video.removeAttribute('src'); video.load(); } catch (error) {}
video.hidden = true;
if (avActive) closeNativePlayer();
setAvMode(false);
var snapshot = el('kiosk-snapshot');
snapshot.onload = snapshot.onerror = null;
snapshot.style.visibility = 'hidden'; snapshot.removeAttribute('src');
}
function avRect() {
return [24,140,1240,708];
}
function closeNativePlayer() {
// stop() can reject while preparing; close() must still release the decoder.
try {window.webapis.avplay.stop();} catch (error) {}
try {window.webapis.avplay.close();} catch (error) {}
}
function refreshMainSnapshot() {
var url = snapshotUrl(current), snapshot = el('kiosk-snapshot'), token = generation;
if (!url) return;
snapshot.onload = function () {
// A late still must never cover either live player or a newer event.
if (token === generation && !avActive && el('kiosk-live').textContent !== 'LIVE') {
snapshot.style.visibility = 'visible';
}
};
snapshot.onerror = function () {
if (token === generation) snapshot.style.visibility = 'hidden';
};
snapshot.src = url;
}
function useSnapshots(token) {
if (token !== generation) return;
if (avActive) closeNativePlayer();
clearTimeout(playerTimer); clearInterval(snapshotTimer); setAvMode(false); el('kiosk-video').hidden = true;
el('kiosk-snapshot').style.visibility = 'hidden'; text('kiosk-live','SNAPSHOTS');
refreshMainSnapshot(); snapshotTimer = setInterval(refreshMainSnapshot, 3000);
}
function tryAvplay(url, token) {
var av = window.webapis && window.webapis.avplay;
if (!av || token !== generation) { useSnapshots(token); return; }
el('kiosk-video').hidden = true;
if (!el('kiosk-avplayer')) {
var object = document.createElement('object'); object.id = 'kiosk-avplayer'; object.type = 'application/avplayer';
el('kiosk-main').insertBefore(object, el('kiosk-main').firstChild);
}
try {
setAvMode(true); av.open(url); av.setDisplayRect.apply(av, avRect());
av.setDisplayMethod('PLAYER_DISPLAY_MODE_LETTER_BOX');
av.setListener({onerror:function () {useSnapshots(token);}});
playerTimer = setTimeout(function () {useSnapshots(token);},20000);
av.prepareAsync(function () {
if (token !== generation) return;
clearTimeout(playerTimer); av.play(); text('kiosk-live','LIVE');
},function () {useSnapshots(token);});
} catch (error) { useSnapshots(token); }
}
function play(id) {
if (current === id && !reconnectPlayback) return;
stopPlayback(); current = id; reconnectPlayback = false;
text('kiosk-live','CONNECTING'); refreshMainSnapshot();
if (!connected || !client) return;
var token = generation;
client.call('camera/stream',{entity_id:id,format:'hls'},function (ok,result) {
if (token !== generation || document.hidden) return;
if (!ok || !result || !result.url) { useSnapshots(token); return; }
var url = absolute(result.url), video = el('kiosk-video'), settled = false;
// Some TVs advance HTML video and emit playing while the embedded plane stays blank.
// AVPlay gives the main panel an explicit native rectangle on Samsung hardware.
if (H.isTV && window.webapis && window.webapis.avplay) { tryAvplay(url,token); return; }
function fail() {
if (settled || token !== generation) return;
settled = true; clearTimeout(playerTimer); video.onplaying = video.onerror = null;
try {video.pause(); video.removeAttribute('src'); video.load();} catch(error) {}
tryAvplay(url,token);
}
video.hidden = false;
video.onplaying = function () {
if (token !== generation) return;
settled = true; clearTimeout(playerTimer); el('kiosk-snapshot').style.visibility = 'hidden'; text('kiosk-live','LIVE');
};
video.onerror = fail; playerTimer = setTimeout(fail,20000); video.src = url;
var promise = video.play(); if (promise && promise.catch) promise.catch(fail);
});
}
function render() {
if (document.hidden) return;
var root = el('kiosk'), eventCamera = cfg.events && cfg.events.views && cfg.events.views[state(cfg.events.entity)];
el('kiosk-main').hidden = !eventCamera; el('kiosk-wall').hidden = !!eventCamera;
if (eventCamera) play(eventCamera.entity);
else if (current) {stopPlayback(); current = '';}
if (information) information.render(states);
// Optional shared theme adapter; keep status/notice colors and native video intact.
var seasonal = !eventCamera && feed && typeof feed.seasonal === 'function'
? feed.seasonal(states) : {mode:'standard',wash:'none',edge:'none'};
root.setAttribute('data-seasonal-theme',seasonal.mode);
el('kiosk-status').style.backgroundImage = seasonal.wash;
el('kiosk-status').style.boxShadow = seasonal.edge;
el('kiosk-notice').style.backgroundImage = seasonal.wash;
el('kiosk-notice').style.boxShadow = seasonal.edge;
el('kiosk-notice').style.backgroundImage = seasonal.art ? 'url("' + absolute(seasonal.art) + '"),' + seasonal.wash : 'none';
el('kiosk-notice').style.backgroundPosition = 'right 28px center, center';
el('kiosk-notice').style.backgroundSize = '196px 112px, cover';
el('kiosk-notice').style.backgroundRepeat = 'no-repeat';
el('kiosk-notice').style.paddingRight = seasonal.art ? '246px' : '30px';
var notices = feed ? feed.build(states,new Date()).items : null;
if (!notices && cfg.notificationEntity && states[cfg.notificationEntity]) {
var entity = states[cfg.notificationEntity]; notices = entity.attributes.items || [{title:entity.state,detail:entity.attributes.detail}];
}
if (!notices || !notices.length) notices = [{kicker:'HOUSEHOLD',title:'Everything is handled',detail:''}];
var notice = notices[Math.floor(Date.now()/10000)%notices.length];
el('kiosk-notice-title').style.fontSize = String(notice.title || '').length > 75 ? '39px' : String(notice.title || '').length > 55 ? '43px' : '49px';
el('kiosk-notice').className = String(notice.title || '').length > 75 ? 'long-title' : '';
text('kiosk-kicker',notice.kicker || 'HOUSEHOLD'); text('kiosk-notice-title',notice.title); text('kiosk-notice-detail',notice.detail || notice.message);
root.style.setProperty('--notice-accent',/^#[0-9a-f]{6}$/i.test(notice.accent || '') ? notice.accent : '#56b6ee');
if (Date.now()-lastThumbs > 5000) {
lastThumbs = Date.now(); if (!eventCamera) cameras.forEach(function (item,index) {
var url = snapshotUrl(item.entity); if (url) el('kiosk-wall-image-'+index).src = url;
});
}
}
function startClient() {
if (window.HavenKioskInformation) information = new window.HavenKioskInformation({config:cfg.information,ha:ha,weatherEntity:cfg.weatherEntity,
getToken:function(done,failed){if(H.accessToken)H.accessToken(done,failed);else done(ha.token);},statusRoot:el('kiosk-status'),panelRoot:el('kiosk-info')});
client = new window.HavenKioskClient({url:ha.url,entities:roots(),
getToken:function (done,failed,force) {
if (H.accessToken) H.accessToken(done,failed,force); else done(ha.token);
},
onStates:function (next) {states=next; render();},onStatus:setConnection});
if (information) information.bind(client);
client.start();
}
function loadClient() {
if (window.HavenKioskClient) startClient();
else script(cfg.clientUrl ? absolute(cfg.clientUrl) : 'kiosk/client.js',function (ok) {
if (ok && window.HavenKioskClient) startClient(); else text('kiosk-connection','Camera kiosk connection module unavailable');
});
}
if (window.HavenKioskInformation) loadClient();
else script('kiosk/information.js',loadClient);
document.addEventListener('visibilitychange',function () {
if (document.hidden) {stopPlayback(); current=''; if(client) client.stop();}
else {if(client) client.start(); lastThumbs=0; checkFeed(); render();}
});
H.isIdle = function () {return !current;};
H.ready(); render(); setInterval(function () {render(); checkFeed();},1000);
}());

@ -0,0 +1,91 @@
/* Passive television layout. Fixed 1080p geometry; Chromium 69 compatible. */
#kiosk {position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;padding:24px;display:grid;grid-template-rows:100px 708px 192px;grid-gap:16px;color:#eff4f5;background:#0b121a;font-family:"SamsungOne","Segoe UI",Arial,sans-serif;}
#kiosk * {box-sizing:border-box;}
#kiosk [hidden] {display:none!important;}
#kiosk-status {display:grid;grid-template-columns:1fr 1fr 1fr 1.23fr 1.23fr;min-height:0;background:#15202b;border:1px solid #2a3741;border-radius:16px;overflow:hidden;}
.kiosk-status-card {display:flex;align-items:center;padding:12px 22px;border-right:1px solid #30404a;min-width:0;}
.kiosk-status-card:last-child {border:0;}
.status-icon {width:35px;height:35px;margin-right:17px;flex-shrink:0;color:#81c9a6;}
.status-icon svg {width:100%;height:100%;}
.status-copy {min-width:0;}
.status-name {font-size:23px;color:#a9b8c2;line-height:1.25;}
.status-value {font-size:28px;font-weight:600;line-height:1.3;white-space:nowrap;}
.kiosk-status-card.active {background:#172c3b;box-shadow:inset 0 -3px #73bde5;}
.kiosk-status-card.active .status-icon,.kiosk-status-card.active .status-value {color:#9bd7f7;}
.kiosk-status-card.alert {background:#3a2028;box-shadow:inset 0 -3px #ee8088;}
.kiosk-status-card.alert .status-icon,.kiosk-status-card.alert .status-value {color:#ffb3b8;}
.kiosk-status-card.warning .status-icon,.kiosk-status-card.warning .status-value {color:#e9c77c;}
#kiosk-cameras {display:grid;grid-template-columns:1240px 616px;grid-column-gap:16px;min-height:0;}
#kiosk-visual {position:relative;min-height:0;}
#kiosk-wall {height:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));grid-gap:12px;}
.kiosk-camera {position:relative;min-height:0;overflow:hidden;background:#070c11;border:1px solid #34434c;border-radius:12px;}
.kiosk-camera img,#kiosk-video {position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;}
#kiosk-main {height:100%;}
#kiosk-video {z-index:2;background:#000;}
#kiosk-info {display:grid;grid-template-rows:178px 514px;grid-row-gap:16px;min-height:0;}
.kiosk-family-strip {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:15px 12px;background:#15202b;border:1px solid #2a3741;border-radius:16px;}
.kiosk-person {text-align:center;min-width:0;}
.person-photo {position:relative;height:79px;width:79px;margin:0 auto 7px;border:3px solid #668f89;border-radius:50%;background:#395c62;}
.person-photo img {position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;object-fit:cover;}
.kiosk-person.away .person-photo img,.kiosk-person.unknown .person-photo img {filter:grayscale(100%);opacity:.5;}
.kiosk-person.away .person-photo,.kiosk-person.unknown .person-photo {border-color:#687884;background:#293540;}
.person-initial {display:block;font-size:34px;line-height:73px;color:#b9d5d0;}
.person-photo:after {content:"";position:absolute;bottom:-1px;right:-1px;width:17px;height:17px;border:3px solid #15202b;border-radius:50%;background:#81c9a6;}
.kiosk-person.away .person-photo:after {background:#88b7eb;}
.kiosk-person.unknown .person-photo:after {background:#e9c77c;}
.person-name {font-size:24px;font-weight:600;line-height:1.25;}
.person-state {font-size:20px;color:#a9b8c2;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.kiosk-details {position:relative;overflow:hidden;background:#15202b;border:1px solid #2a3741;border-radius:16px;padding:24px 26px;}
.info-page {height:100%;}
.family-weather {display:flex;flex-direction:column;}
.weather-now {display:flex;align-items:center;justify-content:space-between;height:145px;flex-shrink:0;}
.weather-condition {font-size:20px;letter-spacing:1px;color:#a9b8c2;text-transform:uppercase;}
.weather-temperature {font-size:72px;font-weight:500;line-height:1.05;letter-spacing:-3px;}
.weather-context {font-size:22px;color:#b8c6cf;margin-top:4px;}
.weather-symbol {font-size:82px;color:#e9c77c;margin-right:10px;}
.info-heading {font-size:19px;letter-spacing:1px;color:#a9b8c2;display:none;}
.forecast-days {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:15px 0 13px;border-top:1px solid #30404a;border-bottom:1px solid #30404a;}
.forecast-name {font-size:22px;color:#a9b8c2;margin-bottom:6px;}
.forecast-icon {display:inline-block;font-size:29px;color:#e9c77c;vertical-align:middle;margin-right:8px;}
.forecast-temperature {display:inline-block;font-size:27px;font-weight:600;vertical-align:middle;}
.forecast-temperature span {font-size:22px;color:#94a7b5;margin-left:3px;}
.forecast-rain {font-size:18px;color:#94a7b5;margin-top:2px;}
.info-away-list {margin-top:13px;overflow:hidden;}
.info-away-card {position:relative;padding:4px 0 8px 92px;min-height:72px;}
.away-name {position:absolute;left:0;top:6px;font-size:24px;font-weight:600;max-width:85px;}
.away-location {font-size:23px;color:#c4d4df;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.away-since {font-size:18px;color:#94a7b5;margin-top:3px;}
.energy-heading {display:flex;align-items:center;justify-content:space-between;font-size:27px;font-weight:600;letter-spacing:.2px;}
.energy-heading span {font-size:22px;color:#9eafbb;font-weight:400;}
.energy-body {height:418px;margin-top:5px;}
.energy-diagram {width:100%;height:390px;overflow:visible;}
.energy-value {font-size:38px;font-weight:600;fill:#eff4f5;text-anchor:middle;}
.energy-unit {font-size:22px;fill:#b0c1cb;text-anchor:middle;}
.energy-label {font-size:21px;letter-spacing:1px;fill:#b0c1cb;text-anchor:middle;}
.energy-caption {font-size:20px;color:#a9b8c2;text-align:center;margin-top:2px;}
.kiosk-pagination {position:absolute;bottom:13px;left:0;right:0;text-align:center;height:7px;}
.kiosk-pagination i {display:inline-block;width:7px;height:7px;margin:0 4px;border-radius:50%;background:#52636f;}
.kiosk-pagination i.selected {width:24px;border-radius:4px;background:#9dbbc7;}
.agenda-heading {display:flex;align-items:baseline;justify-content:space-between;font-size:30px;font-weight:600;line-height:36px;}
.agenda-heading span {font-size:19px;color:#a9b8c2;font-weight:400;}
.agenda-list {margin-top:13px;}
.agenda-item {height:99px;padding:10px 0 9px 15px;border-top:1px solid #30404a;position:relative;}
.agenda-item:before {content:"";position:absolute;left:0;top:15px;bottom:15px;width:3px;border-radius:2px;background:#8fc6ec;}
.agenda-item.person-1:before {background:#d5afea;}
.agenda-item.shared:before {background:#8cd1b1;}
.agenda-meta {display:flex;justify-content:space-between;align-items:center;line-height:24px;font-size:20px;color:#b8c6cf;}
.agenda-when b {font-weight:400;color:#708994;margin:0 3px;}
.agenda-owner {font-size:17px;font-weight:600;border-radius:6px;padding:0 8px;background:#243b4b;color:#abd9f7;line-height:24px;margin-left:12px;}
.person-1 .agenda-owner {background:#382d46;color:#e1c1f2;}
.shared .agenda-owner {background:#233d38;color:#a4ddc2;}
.agenda-title {font-size:28px;font-weight:500;line-height:30px;margin-top:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:break-word;}
#kiosk-notice {position:relative;overflow:hidden;border:1px solid #344a58;border-left:5px solid var(--notice-accent,#88bdce);border-radius:16px;background:#172735;padding:14px 30px;}
#kiosk-kicker {font-size:20px;color:#9fb8c7;letter-spacing:1.8px;font-weight:600;line-height:1.1;}
#kiosk-notice-title {font-size:49px;font-weight:600;line-height:1.1;margin:7px 0 6px;letter-spacing:-.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
#kiosk-notice-detail {font-size:31px;color:#c4d4df;line-height:1.15;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
#kiosk-notice.long-title #kiosk-notice-title {font-size:39px;}
#kiosk-notice.long-title #kiosk-notice-detail {font-size:25px;-webkit-line-clamp:1;}
#kiosk-connection {position:absolute;top:0;left:0;right:0;z-index:20;padding:8px 20px;text-align:center;background:#793c11;color:#fff;font-size:23px;}
#kiosk.avplay-on,#kiosk.avplay-on #kiosk-visual,#kiosk.avplay-on #kiosk-main {background:transparent;}
#kiosk.avplay-on #kiosk-main img {visibility:hidden;}
#kiosk-avplayer {position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;z-index:1;}

@ -0,0 +1,39 @@
/* Optional browser-preview settings. Copy to kiosk-config.js and keep it private.
* The preview reuses the signed-in Home Assistant browser session; never add a token.
* All names and entity IDs below are examples.
*/
window.HAVEN_KIOSK_PREVIEW = {
weatherEntity: 'weather.home',
notificationEntity: 'sensor.household_notification',
cameras: [
{entity: 'camera.entry', name: 'Entry'},
{entity: 'camera.lawn', name: 'Lawn'},
{entity: 'camera.drive', name: 'Driveway'},
{entity: 'camera.garage', name: 'Garage'}
],
events: {entity: 'sensor.kiosk_camera_view', views: {garage: {entity: 'camera.garage'}}},
information: {
rotationSeconds: 20,
// Optional: source attribute must contain only approved display fields.
// agenda: {entity:'sensor.household_status',attribute:'familyAgenda',hideWhenEntities:['input_boolean.guest_mode','input_boolean.vacation_mode']},
statusCards: [
{entity: 'cover.garage', name: 'Garage', icon: 'garage', normalStates: ['closed'], alertStates: ['open','opening','closing']},
{entity: 'lock.entry', name: 'Entry', icon: 'lock', normalStates: ['locked'], alertStates: ['unlocked','unlocking','locking','jammed']},
{entity: 'binary_sensor.windows', name: 'Windows', icon: 'window', normalStates: ['off'], alertStates: ['on'], labels: {off:'SECURE',on:'OPEN'}},
{entity: 'climate.downstairs', name: 'Downstairs', icon: 'climate', mode: 'climate'},
{entity: 'climate.upstairs', name: 'Upstairs', icon: 'climate', mode: 'climate'}
],
people: [
{entity: 'person.alex', name: 'Alex'},
{entity: 'person.jamie', name: 'Jamie'},
{entity: 'person.sam', name: 'Sam', homeStates: ['home','University Residence'], locationEntity: 'sensor.sam_location', showLocation: true},
{entity: 'person.riley', name: 'Riley', homeStates: ['home','City Apartment'], locationEntity: 'sensor.riley_location', showLocation: true}
],
energy: {
solar: 'sensor.solar_energy_total',
gridImport: 'sensor.grid_import_total', gridExport: 'sensor.grid_export_total',
batteryCharge: 'sensor.battery_charge_total', batteryDischarge: 'sensor.battery_discharge_total',
water: 'sensor.water_usage_daily', waterUnit: 'gal'
}
}
};

@ -0,0 +1,35 @@
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">
<title>Haven TV Kiosk Preview</title><link rel="stylesheet" href="design/style.css?v=1.2.3">
<style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#000}#stage{position:absolute;top:0;left:0;width:1920px;height:1080px;transform-origin:0 0;overflow:hidden}</style>
</head><body><div id="stage"></div>
<script src="kiosk-config.js?v=1.2.3"></script><script src="client.js?v=1.2.3"></script>
<script>
(function () {
'use strict';
function tokens() { try {return JSON.parse(localStorage.getItem('hassTokens') || 'null');} catch(error) {return null;} }
function access(done,failed,force) {
var saved=tokens(), expires=saved && new Date(saved.expires).getTime();
if (!saved || !saved.access_token) {failed(); return;}
if (!force && (!isFinite(expires) || expires-Date.now()>60000)) {done(saved.access_token); return;}
var body='grant_type=refresh_token&refresh_token='+encodeURIComponent(saved.refresh_token);
var clientId=saved.clientId || saved.client_id;
if(clientId) body+='&client_id='+encodeURIComponent(clientId);
fetch('/auth/token',{method:'POST',headers:{'Content-Type':'application/x-www-form-urlencoded'},body:body}).then(function(response){
if(!response.ok) throw new Error('Session renewal failed'); return response.json();
}).then(function(result){
saved.access_token=result.access_token; saved.expires=new Date(Date.now()+result.expires_in*1000).toISOString();
localStorage.setItem('hassTokens',JSON.stringify(saved)); done(saved.access_token);
}).catch(failed);
}
function fit(){var scale=Math.min(innerWidth/1920,innerHeight/1080);document.getElementById('stage').style.transform='translate('+(innerWidth-1920*scale)/2+'px,'+(innerHeight-1080*scale)/2+'px) scale('+scale+')';}
window.addEventListener('resize',fit); fit();
window.Haven={isTV:false,kiosk:function(){return window.HAVEN_KIOSK_PREVIEW || {};},
ha:function(){return {url:location.origin,token:''};}, accessToken:access,ready:function(){},
get:function(key,fallback){try{return JSON.parse(localStorage.getItem('haven.preview.'+key)) || fallback;}catch(error){return fallback;}},
set:function(key,value){localStorage.setItem('haven.preview.'+key,JSON.stringify(value));},
fetchText:function(url,timeout,ok,bad){var request=new XMLHttpRequest();request.open('GET',url,true);request.timeout=timeout;
request.onload=function(){if(request.status===200)ok(request.responseText);else bad();};request.onerror=bad;request.ontimeout=bad;request.send();}
};
}());
</script><script src="design/design.js?v=1.2.3"></script></body></html>

@ -0,0 +1,484 @@
/* Shared household kiosk notification model.
* Kitchen, Upstairs, Office, Bedroom and Haven consume this one list.
* Add notification types in build(); keep ES5 syntax for older displays.
* State and actions are data only; renderers decide presentation and interaction.
* Issue #2029: seasonal accents follow the lighting mode, never a second calendar.
*/
(function (root) {
'use strict';
function firstIndex(values, predicate) {
for (var index = 0; index < values.length; index++) {
if (predicate(values[index], index, values)) return index;
}
return -1;
}
function seasonal(states) {
// Palette values follow scene/monthly_colors.yaml and Joanna's approved art.
// Return decoration only: never recolor text, warning icons, or camera pixels.
var palettes = {
halloween: [[255,165,0], [0,128,0], [30,144,255]],
thanksgiving: [[255,165,0]],
christmas: [[204,0,0], [0,128,0]],
hanukkah: [[30,144,255], [255,255,255]],
rwb: [[204,0,0], [245,245,245], [30,144,255]],
new_years_day: [[255,165,0], [30,144,255], [0,128,0]],
valentine: [[220,20,60]],
mardi_gras: [[255,223,0], [128,0,128], [0,128,0]],
pi: [[3,14,159]],
st_patty: [[0,128,0]],
easter: [[244,187,255], [255,193,204], [255,255,0]],
starwars: [[204,0,0], [245,245,245]],
cinco_de_mayo: [[204,0,0], [245,245,245], [0,128,0]],
mothers_day: [[244,187,255]],
fathers_day: [[255,165,0], [30,144,255]],
veterans: [[0,128,0]]
};
var source = states && states['sensor.holiday_lighting_mode'];
var mode = String(source && source.state || '').trim().toLowerCase();
var colors = Object.prototype.hasOwnProperty.call(palettes, mode) ? palettes[mode] : null;
if (!colors) return {mode: 'standard', label: '', art: '', emblem: '', wash: 'none', edge: 'none', background: 'none', compactBackground: 'none'};
var labels = {
halloween: 'Halloween', thanksgiving: 'Thanksgiving', christmas: 'Christmas',
hanukkah: 'Hanukkah', rwb: 'Stars & Stripes', new_years_day: 'New Year',
valentine: "Valentine's Day", mardi_gras: 'Mardi Gras', pi: 'Pi Day',
st_patty: "St. Patrick's Day", easter: 'Easter', starwars: 'Star Wars Day',
cinco_de_mayo: 'Cinco de Mayo', mothers_day: "Mother's Day",
fathers_day: "Father's Day", veterans: 'Veterans Day'
};
function rgba(color, opacity) { return 'rgba(' + color.join(',') + ',' + opacity + ')'; }
var wash = 'linear-gradient(115deg,' + rgba(colors[0], 0.14) + ',' +
rgba(colors[Math.min(1, colors.length - 1)], 0.055) + ' 60%,' +
rgba(colors[colors.length - 1], 0.10) + ')';
var art = '/local/kiosk/seasonal/' + mode + '.svg';
return {
mode: mode,
label: labels[mode], art: art,
emblem: '/local/kiosk/seasonal/' + mode + '-emblem.svg',
wash: wash,
background: 'url("' + art + '") right 14px top 6px / 112px 64px no-repeat,' + wash,
compactBackground: 'url("' + art + '") right 8px top 4px / 63px 36px no-repeat,' + wash,
edge: 'inset 0 2px 0 ' + rgba(colors[0], 0.75)
};
}
function build(states, now) {
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
now = now || new Date();
var state = function (entityId) { var _a; return (_a = states[entityId]) === null || _a === void 0 ? void 0 : _a.state; };
var valid = function (value) { return ['unknown', 'unavailable', 'none', '', undefined].indexOf(value) < 0; };
var pretty = function (value) { return String(value || 'Unknown').split('_').join(' '); };
var dateKey = function (date) {
var year = date.getFullYear();
var month = ('0' + (date.getMonth() + 1)).slice(-2);
var day = ('0' + date.getDate()).slice(-2);
return "".concat(year, "-").concat(month, "-").concat(day);
};
var items = [];
var radarWeatherEvent = states['binary_sensor.kiosk_rain_radar_weather_event'];
var radarDisplayTimer = states['timer.kitchen_kiosk_radar_display'];
var radarReplayReady = (radarWeatherEvent === null || radarWeatherEvent === void 0 ? void 0 : radarWeatherEvent.state) === 'on' &&
state('binary_sensor.kiosk_rain_radar_active') !== 'on' &&
(radarDisplayTimer === null || radarDisplayTimer === void 0 ? void 0 : radarDisplayTimer.state) === 'idle' &&
new Date(radarDisplayTimer.last_changed).getTime() >
new Date(radarWeatherEvent.last_changed).getTime();
if (radarReplayReady) {
items.push({
kicker: 'WEATHER RADAR',
title: 'Storms Approaching',
detail: 'Tap for radar',
icon: 'mdi:radar',
accent: '#0288d1',
action: {
service: 'kitchen_kiosk_show_event',
data: { event_type: 'radar' }
}
});
}
var phynAlerts = [
'binary_sensor.garage_phyn_battery_alert',
'binary_sensor.garage_phyn_freeze_warning_alert',
'binary_sensor.garage_phyn_high_pressure_alert',
'binary_sensor.garage_phyn_leak_alert',
'binary_sensor.garage_phyn_offline_leak_shutoff_alert',
'binary_sensor.garage_phyn_pinhole_leak_alert',
'binary_sensor.garage_phyn_recurring_flow_alert',
'binary_sensor.garage_phyn_temperature_alert'
].filter(function (entityId) { return state(entityId) === 'on'; });
var phynValveState = state('valve.phyn_shutoff_valve');
if (phynAlerts.length > 0 || (valid(phynValveState) && phynValveState !== 'open')) {
var alertNames = phynAlerts.map(function (entityId) { var _a, _b; return ((_b = (_a = states[entityId]) === null || _a === void 0 ? void 0 : _a.attributes) === null || _b === void 0 ? void 0 : _b.friendly_name) || pretty(entityId.split('.')[1]); });
items.push({
kicker: 'WATER SYSTEM',
title: phynValveState === 'closed' ? 'Main water is off' : 'Phyn needs attention',
detail: "".concat(alertNames.join(' · ') || "Valve is ".concat(pretty(phynValveState)), " \u00B7 Tap for water details"),
icon: 'mdi:water-alert-outline',
accent: '#c62828',
action: {
service: 'kitchen_kiosk_show_detail',
data: { detail_type: 'phyn' }
}
});
}
var weatherAlertEntity = states['sensor.nws_alerts_alerts'];
var weatherAlertCount = Number.parseInt(weatherAlertEntity === null || weatherAlertEntity === void 0 ? void 0 : weatherAlertEntity.state, 10);
var weatherAlerts = Array.isArray((_a = weatherAlertEntity === null || weatherAlertEntity === void 0 ? void 0 : weatherAlertEntity.attributes) === null || _a === void 0 ? void 0 : _a.Alerts)
? weatherAlertEntity.attributes.Alerts
: [];
var cleanAlertText = function (value) { return String(value || '').replace(/\s+/g, ' ').trim(); };
var alertSection = function (description, label) {
var _a;
var pattern = new RegExp("\\*\\s*".concat(label, "\\.{3}\\s*([\\s\\S]*?)(?=\\n\\s*\\n\\s*\\*\\s*[A-Z ]+\\.{3}|$)"), 'i');
return cleanAlertText((_a = String(description || '').match(pattern)) === null || _a === void 0 ? void 0 : _a[1]);
};
var limitAlertText = function (value, maxLength) {
if (maxLength === void 0) { maxLength = 240; }
var text = cleanAlertText(value);
if (text.length <= maxLength)
return text;
return "".concat(text.slice(0, maxLength - 3).replace(/\s+\S*$/, ''), "...");
};
var severityOrder = { Extreme: 0, Severe: 1, Moderate: 2, Minor: 3, Unknown: 4 };
var severityColors = {
Extreme: '#b71c1c',
Severe: '#c62828',
Moderate: '#d84315',
Minor: '#f9a825',
Unknown: '#546e7a'
};
var uniqueWeatherAlerts = weatherAlerts
.filter(function (alert, index, alerts) {
var alertKey = alert.ID || alert.URL || "".concat(alert.Event, "|").concat(alert.Expires);
return firstIndex(alerts, function (candidate) {
return (candidate.ID || candidate.URL || "".concat(candidate.Event, "|").concat(candidate.Expires)) === alertKey;
}) === index;
})
.sort(function (left, right) {
var _a, _b;
return ((_a = severityOrder[left.Severity]) !== null && _a !== void 0 ? _a : severityOrder.Unknown)
- ((_b = severityOrder[right.Severity]) !== null && _b !== void 0 ? _b : severityOrder.Unknown);
});
if (uniqueWeatherAlerts.length > 0) {
uniqueWeatherAlerts.forEach(function (alert, index) {
var severity = severityColors[alert.Severity] ? alert.Severity : 'Unknown';
var detailParts = [
alertSection(alert.Description, 'WHAT'),
alertSection(alert.Description, 'WHERE'),
alertSection(alert.Description, 'WHEN')
].filter(Boolean);
var detail = detailParts.length > 0
? detailParts.join(' · ')
: alert.Headline || alert.Description || 'Active National Weather Service alert';
var position = uniqueWeatherAlerts.length > 1
? " ".concat(index + 1, "/").concat(uniqueWeatherAlerts.length)
: '';
items.push({
kicker: "WEATHER ALERT".concat(position, " \u00B7 ").concat(severity.toUpperCase()),
title: alert.Event || "".concat(weatherAlertCount, " active alerts"),
detail: limitAlertText(detail),
icon: 'mdi:weather-lightning-rainy',
accent: severityColors[severity],
action: {
service: 'kitchen_kiosk_show_detail',
data: {
detail_type: 'weather',
detail_subject: String(alert.ID || index)
}
}
});
});
}
else if (Number.isFinite(weatherAlertCount) && weatherAlertCount > 0) {
items.push({
kicker: 'WEATHER ALERT',
title: "".concat(weatherAlertCount, " active ").concat(weatherAlertCount === 1 ? 'alert' : 'alerts'),
detail: 'Alert details are temporarily unavailable',
icon: 'mdi:weather-lightning-rainy',
accent: severityColors.Unknown,
action: {
service: 'kitchen_kiosk_show_detail',
data: { detail_type: 'weather', detail_subject: '0' }
}
});
}
if (valid(state('group.garage_doors')) && ['closed', 'off'].indexOf(state('group.garage_doors')) < 0) {
var openGarages = ['cover.large_garage_door', 'cover.small_garage_door']
.filter(function (entityId) { return valid(state(entityId)) && state(entityId) !== 'closed'; })
.map(function (entityId) { var _a, _b; return ((_b = (_a = states[entityId]) === null || _a === void 0 ? void 0 : _a.attributes) === null || _b === void 0 ? void 0 : _b.friendly_name) || pretty(entityId.split('.')[1]); });
items.push({
kicker: 'GARAGE',
title: 'Garage door open',
detail: openGarages.join(' · ') || 'Check both garage doors',
icon: 'mdi:garage-open-variant',
accent: '#ef6c00'
});
}
if (state('group.entry_points') === 'on') {
var openEntries = (((_c = (_b = states['group.entry_points']) === null || _b === void 0 ? void 0 : _b.attributes) === null || _c === void 0 ? void 0 : _c.entity_id) || [])
.filter(function (entityId) { return state(entityId) === 'on'; })
.map(function (entityId) { var _a, _b; return ((_b = (_a = states[entityId]) === null || _a === void 0 ? void 0 : _a.attributes) === null || _b === void 0 ? void 0 : _b.friendly_name) || pretty(entityId.split('.')[1]); });
var extraCount = Math.max(0, openEntries.length - 3);
var entryDetail = openEntries.slice(0, 3).join(' · ') + (extraCount ? " \u00B7 +".concat(extraCount, " more") : '');
items.push({
kicker: 'ENTRY POINT',
title: openEntries.length === 1 ? 'Door or window open' : "".concat(openEntries.length, " openings detected"),
detail: entryDetail || 'Check the exterior doors and windows',
icon: 'mdi:door-open',
accent: '#ef6c00',
action: {
service: 'kitchen_kiosk_show_detail',
data: { detail_type: 'entry_points' }
}
});
}
if (valid(state('group.locks')) && state('group.locks') !== 'locked') {
items.push({
kicker: 'SECURITY',
title: 'Check the front door lock',
detail: "Lock group is ".concat(pretty(state('group.locks'))),
icon: 'mdi:lock-alert-outline',
accent: '#c62828'
});
}
if (state('binary_sensor.front_door_packages_present') === 'on') {
items.push({
kicker: 'FRONT DOOR',
title: 'Package waiting',
detail: 'Tap for the front door view',
icon: 'mdi:package-variant-closed',
accent: '#8e5a2b',
action: {
service: 'kitchen_kiosk_show_detail',
data: { detail_type: 'package' }
}
});
}
var rheemAlertCount = Number.parseInt(state('sensor.rheem_wh_alert_count'), 10);
var rheemStatus = state('sensor.rheem_wh_diagnostic_status');
var rheemProblem = state('binary_sensor.rheem_wh_problem') === 'on';
if (rheemProblem) {
var activeAlert = state('binary_sensor.rheem_wh_active_alert') === 'on';
var telemetryStale = state('binary_sensor.rheem_wh_telemetry_stale') === 'on';
items.push({
kicker: telemetryStale && !activeAlert ? 'WATER HEATER TELEMETRY' : 'WATER HEATER ALERT',
title: activeAlert && Number.isFinite(rheemAlertCount)
? "".concat(rheemAlertCount, " active ").concat(rheemAlertCount === 1 ? 'alert' : 'alerts')
: "Rheem status: ".concat(pretty(rheemStatus)),
detail: telemetryStale
? 'EcoNet data has been unavailable for 10 minutes · Tap for diagnostics'
: 'Home Assistant Repairs has the diagnostic snapshot · Tap for details',
icon: 'mdi:water-boiler-alert',
accent: telemetryStale && !activeAlert ? '#ef6c00' : '#c62828',
action: {
service: 'kitchen_kiosk_show_detail',
data: { detail_type: 'hot_water' }
}
});
}
var hotWater = Number.parseFloat(state('sensor.rheem_wh_available_hot_water'));
if (!rheemProblem && Number.isFinite(hotWater) && hotWater < 30) {
items.push({
kicker: 'HOT WATER',
title: 'Hot water is running low',
detail: "".concat(Math.round(hotWater), "% available \u00B7 Tap for recovery details"),
icon: 'mdi:water-thermometer-outline',
accent: '#0277bd',
action: {
service: 'kitchen_kiosk_show_detail',
data: { detail_type: 'hot_water' }
}
});
}
var weekday = now.toLocaleDateString('en-US', { weekday: 'short' });
if (['Wed', 'Sun'].indexOf(weekday) >= 0 && state('input_boolean.garbage_cans_out') !== 'on') {
items.push({
kicker: 'TODAY',
title: weekday === 'Wed' ? 'Garbage + recycling day' : 'Garbage day',
detail: 'Put the cans at the curb',
icon: 'mdi:trash-can-outline',
accent: '#2e7d32'
});
}
var tomorrow = new Date(now.getFullYear(), now.getMonth(), now.getDate() + 1);
if (state('input_datetime.water_delivery_date') === dateKey(tomorrow)) {
items.push({
kicker: 'WATER DELIVERY TOMORROW',
title: 'Put the bottles out',
detail: 'Stage them before leaving the house',
icon: 'mdi:bottle-soda-classic-outline',
accent: '#0277bd'
});
}
var battery = Number.parseFloat(state('sensor.spaceship_battery_level'));
var lastClose = new Date(String(state('input_datetime.tesla_model_y_last_garage_close')).replace(' ', 'T'));
var snoozeUntil = new Date(String(state('input_datetime.tesla_model_y_plug_in_snooze_until')).replace(' ', 'T'));
var recentArrival = Number.isFinite(lastClose.getTime()) && (now.getTime() - lastClose.getTime()) < 43200000;
var snoozeExpired = !Number.isFinite(snoozeUntil.getTime()) || snoozeUntil <= now;
if (Number.isFinite(battery) && battery < 50 && recentArrival && snoozeExpired &&
state('switch.spaceship_charge') === 'off' &&
state('person.carlo') === 'home' && state('person.stacey') === 'home') {
items.push({
kicker: 'MODEL Y',
title: 'Plug in the Tesla',
detail: "".concat(Math.round(battery), "% battery after the latest garage arrival"),
icon: 'mdi:ev-plug-tesla',
accent: '#c62828'
});
}
if (state('light.sink') === 'unavailable') {
items.push({
kicker: 'CHECK WALL SWITCH',
title: 'Kitchen sink light',
detail: 'Please turn its physical switch back on.',
icon: 'mdi:lightbulb-alert-outline',
accent: '#ef6c00'
});
}
var saltDays = Number.parseFloat(state('sensor.water_softener_salt_days_since_last_add'));
var saltAverage = Number.parseFloat(state('sensor.water_softener_salt_average_days_between_refills'));
if (Number.isFinite(saltDays) && Number.isFinite(saltAverage) && saltAverage > 0 &&
saltDays >= saltAverage * 0.9) {
items.push({
kicker: 'WATER SOFTENER',
title: 'Salt refill coming due',
detail: "".concat(Math.round(saltDays), " days since the last refill"),
icon: 'mdi:shaker-outline',
accent: '#00838f'
});
}
var bowlingHighlights = (_e = (_d = states['sensor.bearclaw_status_telemetry']) === null || _d === void 0 ? void 0 : _d.attributes) === null || _e === void 0 ? void 0 : _e.bowlingHighlights;
if ((bowlingHighlights === null || bowlingHighlights === void 0 ? void 0 : bowlingHighlights.active) && Array.isArray(bowlingHighlights.items)) {
bowlingHighlights.items.forEach(function (highlight) {
var expiresAt = new Date((highlight === null || highlight === void 0 ? void 0 : highlight.expiresAt) || '');
var games = (Array.isArray(highlight === null || highlight === void 0 ? void 0 : highlight.games) ? highlight.games : [])
.map(function (score) { return Number.parseInt(score, 10); })
.filter(Number.isFinite);
var highGame = Number.parseInt(highlight === null || highlight === void 0 ? void 0 : highlight.highGame, 10);
var seriesTotal = Number.parseInt(highlight === null || highlight === void 0 ? void 0 : highlight.seriesTotal, 10);
if (!Number.isFinite(expiresAt.getTime()) || expiresAt <= now || !games.length || !Number.isFinite(highGame))
return;
var records = Array.isArray(highlight === null || highlight === void 0 ? void 0 : highlight.personalBestIds) ? highlight.personalBestIds : [];
var highGameRecord = records.indexOf('bowling_high_game') >= 0;
var highSeriesRecord = records.indexOf('bowling_high_series') >= 0 && Number.isFinite(seriesTotal);
var title = highGameRecord
? "".concat(highlight.displayName, "'s new high game: ").concat(highGame)
: (highSeriesRecord
? "".concat(highlight.displayName, "'s new high series: ").concat(seriesTotal)
: "".concat(highlight.displayName, "'s high game: ").concat(highGame));
var detail = [
games.join(' / '),
Number.isFinite(seriesTotal) ? "".concat(seriesTotal, " series") : '',
Number.isFinite(Number(highlight === null || highlight === void 0 ? void 0 : highlight.weekNum)) ? "Week ".concat(highlight.weekNum) : ''
].filter(Boolean).join(' · ');
items.push({
kicker: highGameRecord || highSeriesRecord ? 'BOWLING PERSONAL BEST' : 'TUESDAY BOWLING',
title: title,
detail: detail,
icon: 'mdi:bowling',
accent: '#7e57c2'
});
});
}
var phoneFeed = states['sensor.kiosk_recent_phone_notifications'];
if (Array.isArray((_f = phoneFeed === null || phoneFeed === void 0 ? void 0 : phoneFeed.attributes) === null || _f === void 0 ? void 0 : _f.items)) {
phoneFeed.attributes.items.forEach(function (notification) {
if (Number(notification.expires_at) * 1000 <= now.getTime())
return;
items.push({
kicker: "PHONE NOTIFICATION \u00B7 ".concat(notification.sent_time),
title: notification.title,
detail: notification.message,
icon: notification.icon,
accent: notification.color
});
});
}
var recordFeed = states['sensor.kiosk_recent_personal_records'];
var personalRecords = (recordFeed === null || recordFeed === void 0 ? void 0 : recordFeed.state) === 'ready' ? (_g = recordFeed.attributes) === null || _g === void 0 ? void 0 : _g.items : null;
if (Array.isArray(personalRecords)) {
personalRecords.forEach(function (record) {
var occurredAt = new Date((record === null || record === void 0 ? void 0 : record.occurredAt) || '');
if (!Number.isFinite(occurredAt.getTime()) ||
occurredAt > now || now - occurredAt > 7 * 24 * 60 * 60 * 1000 ||
!(record === null || record === void 0 ? void 0 : record.person) || !(record === null || record === void 0 ? void 0 : record.label) || !(record === null || record === void 0 ? void 0 : record.displayValue))
return;
items.push({
kicker: 'NEW PERSONAL BEST',
title: "".concat(record.person, ": ").concat(record.label),
detail: [record.displayValue, record.activityType, record.dayKey].filter(Boolean).join(' · '),
icon: 'mdi:trophy-outline',
accent: '#2e7d32'
});
});
}
var cruiseDays = Number.parseInt(state('sensor.next_booked_cruise_countdown'), 10);
var cruiseEntity = states['sensor.next_booked_cruise_countdown'];
var cruiseShip = String(((_h = cruiseEntity === null || cruiseEntity === void 0 ? void 0 : cruiseEntity.attributes) === null || _h === void 0 ? void 0 : _h.ship) || '').trim();
var cruiseDate = String(((_j = cruiseEntity === null || cruiseEntity === void 0 ? void 0 : cruiseEntity.attributes) === null || _j === void 0 ? void 0 : _j.sail_date) || '').trim();
if (Number.isInteger(cruiseDays) && cruiseDays >= 0 && cruiseShip && cruiseDate) {
var sailDate = new Date("".concat(cruiseDate, "T12:00:00"));
var sailLabel = Number.isFinite(sailDate.getTime())
? sailDate.toLocaleDateString('en-US', { month: 'short', day: 'numeric' })
: cruiseDate;
var cruiseNights = Number.parseInt((_k = cruiseEntity === null || cruiseEntity === void 0 ? void 0 : cruiseEntity.attributes) === null || _k === void 0 ? void 0 : _k.nights, 10);
var cruisePort = String(((_l = cruiseEntity === null || cruiseEntity === void 0 ? void 0 : cruiseEntity.attributes) === null || _l === void 0 ? void 0 : _l.port) || '').trim();
var detail = [
"Departs ".concat(sailLabel),
Number.isInteger(cruiseNights) && cruiseNights > 0
? "".concat(cruiseNights, " ").concat(cruiseNights === 1 ? 'night' : 'nights')
: '',
cruisePort
].filter(Boolean).join(' · ');
items.push({
kicker: 'NEXT BOOKED CRUISE',
title: cruiseDays === 0
? "".concat(cruiseShip, " sails today")
: "".concat(cruiseDays, " ").concat(cruiseDays === 1 ? 'day' : 'days', " until ").concat(cruiseShip),
detail: detail,
icon: 'mdi:ferry',
accent: '#00838f'
});
}
[
['Carlo', 'person.carlo', 'sensor.carlo_location_display'],
['Stacey', 'person.stacey', 'sensor.stacey_location_display'],
['Justin', 'person.justin', 'sensor.justin_location_display'],
['Paige', 'person.paige', 'sensor.paige_location_display']
].forEach(function (_a) {
var _b;
var name = _a[0], personId = _a[1], locationId = _a[2];
var personState = state(personId);
if (valid(personState) && personState !== 'home') {
var locationEntity = states[locationId];
var rawLocation = pretty(valid(state(locationId)) ? state(locationId) : personState);
var withoutName = rawLocation.replace(new RegExp("^".concat(name, "\\s+"), 'i'), '');
var sinceMatch = withoutName.match(/\s*\(since\s+([^)]+)\)\s*$/i);
var location = withoutName.replace(/\s*\(since\s+[^)]+\)\s*$/i, '').trim();
var changedAt = new Date((locationEntity === null || locationEntity === void 0 ? void 0 : locationEntity.last_changed) || ((_b = states[personId]) === null || _b === void 0 ? void 0 : _b.last_changed));
var since = (sinceMatch === null || sinceMatch === void 0 ? void 0 : sinceMatch[1]) || (Number.isFinite(changedAt.getTime())
? changedAt.toLocaleTimeString('en-US', { hour: 'numeric', minute: '2-digit' })
: 'recently');
items.push({
kicker: 'FAMILY LOCATION',
title: "".concat(name, " - ").concat(location || pretty(personState)),
detail: "Since ".concat(since),
icon: 'mdi:map-marker-account-outline',
accent: '#6a1b9a',
action: {
service: 'kitchen_kiosk_show_detail',
data: { detail_type: 'family', detail_subject: personId }
}
});
}
});
if (items.length === 0) {
items.push({
kicker: 'HOUSEHOLD',
title: 'Everything is handled',
detail: 'Everyone is home and there are no active reminders',
icon: 'mdi:check-circle-outline',
accent: '#2e7d32'
});
}
return { items: items, state: state, valid: valid, pretty: pretty, dateKey: dateKey, cleanAlertText: cleanAlertText, alertSection: alertSection, limitAlertText: limitAlertText, uniqueWeatherAlerts: uniqueWeatherAlerts, phynAlerts: phynAlerts, rheemProblem: rheemProblem };
}
root.BearStoneKioskAmbient = { version: '1.2.0', seasonal: seasonal, dependencies: ["sensor.holiday_lighting_mode", "binary_sensor.garage_phyn_battery_alert", "binary_sensor.garage_phyn_freeze_warning_alert", "binary_sensor.garage_phyn_high_pressure_alert", "binary_sensor.garage_phyn_leak_alert", "binary_sensor.garage_phyn_offline_leak_shutoff_alert", "binary_sensor.garage_phyn_pinhole_leak_alert", "binary_sensor.garage_phyn_recurring_flow_alert", "binary_sensor.garage_phyn_temperature_alert", "valve.phyn_shutoff_valve", "sensor.phyn_current_water_pressure", "sensor.phyn_average_water_flow_rate", "sensor.nws_alerts_alerts", "group.garage_doors", "group.entry_points", "group.locks", "binary_sensor.front_door_packages_present", "sensor.rheem_wh_available_hot_water", "sensor.rheem_wh_alert_count", "sensor.rheem_wh_diagnostic_status", "binary_sensor.rheem_wh_problem", "binary_sensor.rheem_wh_active_alert", "binary_sensor.rheem_wh_telemetry_stale", "binary_sensor.rheem_wh_running", "sensor.rheem_wh_tank_health", "sensor.rheem_wh_compressor_health", "water_heater.rheem_wh", "light.sink", "input_boolean.garbage_cans_out", "input_datetime.water_delivery_date", "sensor.water_softener_salt_days_since_last_add", "sensor.water_softener_salt_average_days_between_refills", "sensor.spaceship_battery_level", "switch.spaceship_charge", "input_datetime.tesla_model_y_last_garage_close", "input_datetime.tesla_model_y_plug_in_snooze_until", "sensor.next_booked_cruise_countdown", "sensor.bearclaw_status_telemetry", "sensor.kiosk_recent_personal_records", "sensor.kiosk_recent_phone_notifications", "person.carlo", "person.stacey", "person.justin", "person.paige", "sensor.carlo_location_display", "sensor.stacey_location_display", "sensor.justin_location_display", "sensor.paige_location_display", "binary_sensor.kiosk_rain_radar_weather_event", "binary_sensor.kiosk_rain_radar_active", "timer.kitchen_kiosk_radar_display", "input_text.kitchen_kiosk_detail_view", "timer.kitchen_kiosk_detail_display", "sensor.kiosk_active_camera_view", "camera.frontdoorbell"], build: build };
}(window));

@ -0,0 +1,393 @@
Attribution 4.0 International
=======================================================================
Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors
Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More_considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees
=======================================================================
Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree
to be bound by the terms and conditions of this Creative Commons
Attribution 4.0 International Public License ("Public License"). To the
extent this Public License may be interpreted as a contract, You are
granted the Licensed Rights in consideration of Your acceptance of
these terms and conditions, and the Licensor grants You such rights in
consideration of benefits the Licensor receives from making the
Licensed Material available under these terms and conditions.
Section 1 -- Definitions.
a. Adapted Material means material subject to Copyright and Similar
Rights that is derived from or based upon the Licensed Material
and in which the Licensed Material is translated, altered,
arranged, transformed, or otherwise modified in a manner requiring
permission under the Copyright and Similar Rights held by the
Licensor. For purposes of this Public License, where the Licensed
Material is a musical work, performance, or sound recording,
Adapted Material is always produced where the Licensed Material is
synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright
and Similar Rights in Your contributions to Adapted Material in
accordance with the terms and conditions of this Public License.
c. Copyright and Similar Rights means copyright and/or similar rights
closely related to copyright including, without limitation,
performance, broadcast, sound recording, and Sui Generis Database
Rights, without regard to how the rights are labeled or
categorized. For purposes of this Public License, the rights
specified in Section 2(b)(1)-(2) are not Copyright and Similar
Rights.
d. Effective Technological Measures means those measures that, in the
absence of proper authority, may not be circumvented under laws
fulfilling obligations under Article 11 of the WIPO Copyright
Treaty adopted on December 20, 1996, and/or similar international
agreements.
e. Exceptions and Limitations means fair use, fair dealing, and/or
any other exception or limitation to Copyright and Similar Rights
that applies to Your use of the Licensed Material.
f. Licensed Material means the artistic or literary work, database,
or other material to which the Licensor applied this Public
License.
g. Licensed Rights means the rights granted to You subject to the
terms and conditions of this Public License, which are limited to
all Copyright and Similar Rights that apply to Your use of the
Licensed Material and that the Licensor has authority to license.
h. Licensor means the individual(s) or entity(ies) granting rights
under this Public License.
i. Share means to provide material to the public by any means or
process that requires permission under the Licensed Rights, such
as reproduction, public display, public performance, distribution,
dissemination, communication, or importation, and to make material
available to the public including in ways that members of the
public may access the material from a place and at a time
individually chosen by them.
j. Sui Generis Database Rights means rights other than copyright
resulting from Directive 96/9/EC of the European Parliament and of
the Council of 11 March 1996 on the legal protection of databases,
as amended and/or succeeded, as well as other essentially
equivalent rights anywhere in the world.
k. You means the individual or entity exercising the Licensed Rights
under this Public License. Your has a corresponding meaning.
Section 2 -- Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License,
the Licensor hereby grants You a worldwide, royalty-free,
non-sublicensable, non-exclusive, irrevocable license to
exercise the Licensed Rights in the Licensed Material to:
a. reproduce and Share the Licensed Material, in whole or
in part; and
b. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where
Exceptions and Limitations apply to Your use, this Public
License does not apply, and You do not need to comply with
its terms and conditions.
3. Term. The term of this Public License is specified in Section
6(a).
4. Media and formats; technical modifications allowed. The
Licensor authorizes You to exercise the Licensed Rights in
all media and formats whether now known or hereafter created,
and to make technical modifications necessary to do so. The
Licensor waives and/or agrees not to assert any right or
authority to forbid You from making technical modifications
necessary to exercise the Licensed Rights, including
technical modifications necessary to circumvent Effective
Technological Measures. For purposes of this Public License,
simply making modifications authorized by this Section 2(a)
(4) never produces Adapted Material.
5. Downstream recipients.
a. Offer from the Licensor -- Licensed Material. Every
recipient of the Licensed Material automatically
receives an offer from the Licensor to exercise the
Licensed Rights under the terms and conditions of this
Public License.
b. No downstream restrictions. You may not offer or impose
any additional or different terms or conditions on, or
apply any Effective Technological Measures to, the
Licensed Material if doing so restricts exercise of the
Licensed Rights by any recipient of the Licensed
Material.
6. No endorsement. Nothing in this Public License constitutes or
may be construed as permission to assert or imply that You
are, or that Your use of the Licensed Material is, connected
with, or sponsored, endorsed, or granted official status by,
the Licensor or others designated to receive attribution as
provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not
licensed under this Public License, nor are publicity,
privacy, and/or other similar personality rights; however, to
the extent possible, the Licensor waives and/or agrees not to
assert any such rights held by the Licensor to the limited
extent necessary to allow You to exercise the Licensed
Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this
Public License.
3. To the extent possible, the Licensor waives any right to
collect royalties from You for the exercise of the Licensed
Rights, whether directly or through a collecting society
under any voluntary or waivable statutory or compulsory
licensing scheme. In all other cases the Licensor expressly
reserves any right to collect such royalties.
Section 3 -- License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the
following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified
form), You must:
a. retain the following if it is supplied by the Licensor
with the Licensed Material:
i. identification of the creator(s) of the Licensed
Material and any others designated to receive
attribution, in any reasonable manner requested by
the Licensor (including by pseudonym if
designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of
warranties;
v. a URI or hyperlink to the Licensed Material to the
extent reasonably practicable;
b. indicate if You modified the Licensed Material and
retain an indication of any previous modifications; and
c. indicate the Licensed Material is licensed under this
Public License, and include the text of, or the URI or
hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any
reasonable manner based on the medium, means, and context in
which You Share the Licensed Material. For example, it may be
reasonable to satisfy the conditions by providing a URI or
hyperlink to a resource that includes the required
information.
3. If requested by the Licensor, You must remove any of the
information required by Section 3(a)(1)(A) to the extent
reasonably practicable.
4. If You Share Adapted Material You produce, the Adapter's
License You apply must not prevent recipients of the Adapted
Material from complying with this Public License.
Section 4 -- Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that
apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
to extract, reuse, reproduce, and Share all or a substantial
portion of the contents of the database;
b. if You include all or a substantial portion of the database
contents in a database in which You have Sui Generis Database
Rights, then the database in which You have Sui Generis Database
Rights (but not its individual contents) is Adapted Material; and
c. You must comply with the conditions in Section 3(a) if You Share
all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not
replace Your obligations under this Public License where the Licensed
Rights include other Copyright and Similar Rights.
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
c. The disclaimer of warranties and limitation of liability provided
above shall be interpreted in a manner that, to the extent
possible, most closely approximates an absolute disclaimer and
waiver of all liability.
Section 6 -- Term and Termination.
a. This Public License applies for the term of the Copyright and
Similar Rights licensed here. However, if You fail to comply with
this Public License, then Your rights under this Public License
terminate automatically.
b. Where Your right to use the Licensed Material has terminated under
Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided
it is cured within 30 days of Your discovery of the
violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any
right the Licensor may have to seek remedies for Your violations
of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the
Licensed Material under separate terms or conditions or stop
distributing the Licensed Material at any time; however, doing so
will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
License.
Section 7 -- Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different
terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the
Licensed Material not stated herein are separate from and
independent of the terms and conditions of this Public License.
Section 8 -- Interpretation.
a. For the avoidance of doubt, this Public License does not, and
shall not be interpreted to, reduce, limit, restrict, or impose
conditions on any use of the Licensed Material that could lawfully
be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is
deemed unenforceable, it shall be automatically reformed to the
minimum extent necessary to make it enforceable. If the provision
cannot be reformed, it shall be severed from this Public License
without affecting the enforceability of the remaining terms and
conditions.
c. No term or condition of this Public License will be waived and no
failure to comply consented to unless expressly agreed to by the
Licensor.
d. Nothing in this Public License constitutes or may be interpreted
as a limitation upon, or waiver of, any privileges and immunities
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.
=======================================================================
Creative Commons is not a party to its public licenses.
Notwithstanding, Creative Commons may elect to apply one of its public
licenses to material it publishes and in those instances will be
considered the "Licensor." Except for the limited purpose of indicating
that material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the public
licenses.
Creative Commons may be contacted at creativecommons.org.

@ -0,0 +1,3 @@
# Seasonal artwork
Local compositions of [Twemoji graphics](https://github.com/jdecked/twemoji), copyright Twitter, Inc. and other contributors, licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Source revision: `b6b55fef1e8636b540a6d016a4729ca8cdf2e60b`. The original shapes and colors are preserved; paired compositions change size and placement. See `LICENSE-GRAPHICS.txt` and `sources.json`. Artwork is served locally without runtime requests to external services.

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#662113" d="M22.088 32.83c0 1.997-1.619 2.712-3.616 2.712s-3.616-.715-3.616-2.712l.904-8.136c0-1.996.715-1.808 2.712-1.808 1.997 0 2.712-.188 2.712 1.808l.904 8.136z"/><path fill="#5C913B" d="M30.59 27.675c-6.294-5.392-8.843-13.112-12.118-13.112s-5.824 7.721-12.118 13.112c-2.645 2.266-1.385 3.577 2.241 3.314 3.232-.233 6.255-.966 9.877-.966s6.646.733 9.876.966c3.627.263 4.886-1.049 2.242-3.314z"/><path fill="#3E721D" d="M28.546 25.538c-4.837-4.435-7.555-10.787-10.074-10.787-2.517 0-5.236 6.352-10.073 10.787-3.844 3.524 5.037 4.315 10.073 0 5.034 4.316 13.917 3.524 10.074 0z"/><path fill="#5C913B" d="M28.546 21.945c-4.837-4.143-7.555-10.077-10.074-10.077-2.517 0-5.236 5.934-10.073 10.077-3.844 3.292 5.037 4.031 10.073 0 5.034 4.032 13.917 3.292 10.074 0z"/><path fill="#3E721D" d="M26.336 19.003c-3.775-3.235-5.897-7.868-7.864-7.868-1.965 0-4.088 4.632-7.864 7.868-3 2.57 3.932 3.147 7.864 0 3.93 3.146 10.865 2.57 7.864 0z"/><path fill="#5C913B" d="M26.336 16.311c-3.775-3.235-5.897-7.867-7.864-7.867-1.965 0-4.088 4.632-7.864 7.867-3 2.571 3.932 3.147 7.864 0 3.93 3.147 10.865 2.571 7.864 0z"/><path fill="#3E721D" d="M24.818 13.92c-3.047-2.61-4.76-6.349-6.347-6.349-1.586 0-3.299 3.739-6.347 6.349-2.422 2.075 3.174 2.54 6.347 0 3.174 2.54 8.77 2.075 6.347 0z"/><path fill="#5C913B" d="M24.818 11.894c-3.047-2.61-4.76-6.349-6.347-6.349-1.586 0-3.299 3.739-6.347 6.349-2.422 2.075 3.174 2.54 6.347 0 3.174 2.54 8.77 2.075 6.347 0z"/><path fill="#3E721D" d="M23.301 8.911C20.983 6.925 19.68 4.08 18.472 4.08c-1.207 0-2.511 2.845-4.83 4.831-1.843 1.579 2.415 1.933 4.83 0 2.414 1.933 6.673 1.579 4.829 0z"/><path fill="#5C913B" d="M23.301 7.832C20.983 5.845 19.68 3 18.472 3c-1.207 0-2.511 2.845-4.83 4.832-1.843 1.579 2.415 1.933 4.83 0 2.414 1.932 6.673 1.578 4.829 0z"/><circle fill="#FFCC4D" cx="16.5" cy="12.042" r="1.5"/><circle fill="#FFCC4D" cx="20" cy="25" r="2"/><circle fill="#DD2E44" cx="22.5" cy="15.5" r="2.5"/><circle fill="#DD2E44" cx="10" cy="26" r="2"/><circle fill="#A6D388" cx="14" cy="19" r="2"/><circle fill="#A6D388" cx="26" cy="23" r="2"/><path fill="#FFAC33" d="M19.379 1.679c.143.275.512.549.817.609l1.379.269c.305.06.377.29.159.512l-.983 1.004c-.217.222-.365.657-.326.965l.17 1.394c.038.309-.159.448-.438.31L18.9 6.117c-.279-.138-.738-.144-1.02-.013l-1.274.594c-.282.13-.476-.014-.43-.322l.205-1.39c.045-.307-.091-.745-.302-.973l-.959-1.027c-.212-.227-.135-.457.172-.508l1.385-.234c.307-.051.681-.316.832-.588L18.19.427c.151-.272.394-.269.537.006l.652 1.246z"/></svg>

After

Width:  |  Height:  |  Size: 2.5 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>Christmas</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#662113" d="M22.088 32.83c0 1.997-1.619 2.712-3.616 2.712s-3.616-.715-3.616-2.712l.904-8.136c0-1.996.715-1.808 2.712-1.808 1.997 0 2.712-.188 2.712 1.808l.904 8.136z"/><path fill="#5C913B" d="M30.59 27.675c-6.294-5.392-8.843-13.112-12.118-13.112s-5.824 7.721-12.118 13.112c-2.645 2.266-1.385 3.577 2.241 3.314 3.232-.233 6.255-.966 9.877-.966s6.646.733 9.876.966c3.627.263 4.886-1.049 2.242-3.314z"/><path fill="#3E721D" d="M28.546 25.538c-4.837-4.435-7.555-10.787-10.074-10.787-2.517 0-5.236 6.352-10.073 10.787-3.844 3.524 5.037 4.315 10.073 0 5.034 4.316 13.917 3.524 10.074 0z"/><path fill="#5C913B" d="M28.546 21.945c-4.837-4.143-7.555-10.077-10.074-10.077-2.517 0-5.236 5.934-10.073 10.077-3.844 3.292 5.037 4.031 10.073 0 5.034 4.032 13.917 3.292 10.074 0z"/><path fill="#3E721D" d="M26.336 19.003c-3.775-3.235-5.897-7.868-7.864-7.868-1.965 0-4.088 4.632-7.864 7.868-3 2.57 3.932 3.147 7.864 0 3.93 3.146 10.865 2.57 7.864 0z"/><path fill="#5C913B" d="M26.336 16.311c-3.775-3.235-5.897-7.867-7.864-7.867-1.965 0-4.088 4.632-7.864 7.867-3 2.571 3.932 3.147 7.864 0 3.93 3.147 10.865 2.571 7.864 0z"/><path fill="#3E721D" d="M24.818 13.92c-3.047-2.61-4.76-6.349-6.347-6.349-1.586 0-3.299 3.739-6.347 6.349-2.422 2.075 3.174 2.54 6.347 0 3.174 2.54 8.77 2.075 6.347 0z"/><path fill="#5C913B" d="M24.818 11.894c-3.047-2.61-4.76-6.349-6.347-6.349-1.586 0-3.299 3.739-6.347 6.349-2.422 2.075 3.174 2.54 6.347 0 3.174 2.54 8.77 2.075 6.347 0z"/><path fill="#3E721D" d="M23.301 8.911C20.983 6.925 19.68 4.08 18.472 4.08c-1.207 0-2.511 2.845-4.83 4.831-1.843 1.579 2.415 1.933 4.83 0 2.414 1.933 6.673 1.579 4.829 0z"/><path fill="#5C913B" d="M23.301 7.832C20.983 5.845 19.68 3 18.472 3c-1.207 0-2.511 2.845-4.83 4.832-1.843 1.579 2.415 1.933 4.83 0 2.414 1.932 6.673 1.578 4.829 0z"/><circle fill="#FFCC4D" cx="16.5" cy="12.042" r="1.5"/><circle fill="#FFCC4D" cx="20" cy="25" r="2"/><circle fill="#DD2E44" cx="22.5" cy="15.5" r="2.5"/><circle fill="#DD2E44" cx="10" cy="26" r="2"/><circle fill="#A6D388" cx="14" cy="19" r="2"/><circle fill="#A6D388" cx="26" cy="23" r="2"/><path fill="#FFAC33" d="M19.379 1.679c.143.275.512.549.817.609l1.379.269c.305.06.377.29.159.512l-.983 1.004c-.217.222-.365.657-.326.965l.17 1.394c.038.309-.159.448-.438.31L18.9 6.117c-.279-.138-.738-.144-1.02-.013l-1.274.594c-.282.13-.476-.014-.43-.322l.205-1.39c.045-.307-.091-.745-.302-.973l-.959-1.027c-.212-.227-.135-.457.172-.508l1.385-.234c.307-.051.681-.316.832-.588L18.19.427c.151-.272.394-.269.537.006l.652 1.246z"/></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#FFDC5D" d="M5 21c0 2.209-1.119 4-2.5 4S0 23.209 0 21s1.119-4 2.5-4S5 18.791 5 21z"/><path fill="#FFDC5D" d="M3 18.562C3 10.037 8.373 3.125 15 3.125s12 6.912 12 15.438C27 27.088 21.627 34 15 34S3 27.088 3 18.562z"/><path fill="#DD2E44" d="M20 0c-.249 0-.478.007-.713.012C19.19.01 19.097 0 19 0 9 0 2 4.582 2 9s6.373 4 13 4c4.442 0 7.648 0 9.966-.086L25 13l6 15h2s.343-3.055 1-7c1-6 .533-21-14-21z"/><path fill="#FFDC5D" d="M30 21c0 2.209-1.119 4-2.5 4S25 23.209 25 21s1.119-4 2.5-4 2.5 1.791 2.5 4z"/><path fill="#662113" d="M10 21c-.552 0-1-.447-1-1v-2c0-.552.448-1 1-1s1 .448 1 1v2c0 .553-.448 1-1 1zm10 0c-.553 0-1-.447-1-1v-2c0-.552.447-1 1-1s1 .448 1 1v2c0 .553-.447 1-1 1z"/><path fill="#B7755E" d="M16 26h-2c-.552 0-1-.447-1-1s.448-1 1-1h2c.552 0 1 .447 1 1s-.448 1-1 1z"/><path fill="#E6E7E8" d="M27 25c0-2-2.293-.707-3 0-1 1-3 3-5 2-2.828-1.414-4-1-4-1s-1.171-.414-4 1c-2 1-4-1-5-2-.707-.707-3-2-3 0s1 2 1 2c-1 2 1 3 1 3 0 3 3 3 3 3 0 3 4 2 4 2 1 1 3 1 3 1s2 0 3-1c0 0 4 1 4-2 0 0 3 0 3-3 0 0 2-1 1-3 0 0 1 0 1-2z"/><path fill="#FFDC5D" d="M15 28c7 0 4 2 0 2s-7-2 0-2z"/><ellipse fill="#D1D3D4" cx="3" cy="14" rx="2" ry="4"/><ellipse fill="#D1D3D4" cx="26" cy="14" rx="2" ry="4"/><circle fill="#F1F2F2" cx="32" cy="29" r="4"/><path fill="#F1F2F2" d="M29 12c0 1.104-.896 2-2 2H2c-1.104 0-2-.896-2-2v-1c0-1.104.896-2 2-2h25c1.104 0 2 .896 2 2v1z"/></svg></svg>

After

Width:  |  Height:  |  Size: 4.0 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#77B255" d="M30 4c-2.209 0-4 1.791-4 4v9.125c0 1.086-.887 1.96-2 2.448V6c0-3.313-2.687-6-6-6s-6 2.687-6 6v17.629c-1.122-.475-2-1.371-2-2.504V16c0-2.209-1.791-4-4-4s-4 1.791-4 4v7c0 2.209 1.75 3.875 3.375 4.812 1.244.718 4.731 1.6 6.625 1.651V33c0 3.313 12 3.313 12 0v-7.549c1.981-.119 5.291-.953 6.479-1.639C32.104 22.875 34 21.209 34 19V8c0-2.209-1.791-4-4-4z"/><g fill="#3E721D"><circle cx="12" cy="6" r="1"/><circle cx="23" cy="3" r="1"/><circle cx="21" cy="9" r="1"/><circle cx="14" cy="16" r="1"/><circle cx="20" cy="20" r="1"/><circle cx="13" cy="26" r="1"/><circle cx="5" cy="27" r="1"/><circle cx="9" cy="20" r="1"/><circle cx="2" cy="18" r="1"/><circle cx="34" cy="8" r="1"/><circle cx="28" cy="11" r="1"/><circle cx="32" cy="16" r="1"/><circle cx="29" cy="24" r="1"/><circle cx="22" cy="30" r="1"/></g></svg>

After

Width:  |  Height:  |  Size: 891 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>Cinco de Mayo</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#77B255" d="M30 4c-2.209 0-4 1.791-4 4v9.125c0 1.086-.887 1.96-2 2.448V6c0-3.313-2.687-6-6-6s-6 2.687-6 6v17.629c-1.122-.475-2-1.371-2-2.504V16c0-2.209-1.791-4-4-4s-4 1.791-4 4v7c0 2.209 1.75 3.875 3.375 4.812 1.244.718 4.731 1.6 6.625 1.651V33c0 3.313 12 3.313 12 0v-7.549c1.981-.119 5.291-.953 6.479-1.639C32.104 22.875 34 21.209 34 19V8c0-2.209-1.791-4-4-4z"/><g fill="#3E721D"><circle cx="12" cy="6" r="1"/><circle cx="23" cy="3" r="1"/><circle cx="21" cy="9" r="1"/><circle cx="14" cy="16" r="1"/><circle cx="20" cy="20" r="1"/><circle cx="13" cy="26" r="1"/><circle cx="5" cy="27" r="1"/><circle cx="9" cy="20" r="1"/><circle cx="2" cy="18" r="1"/><circle cx="34" cy="8" r="1"/><circle cx="28" cy="11" r="1"/><circle cx="32" cy="16" r="1"/><circle cx="29" cy="24" r="1"/><circle cx="22" cy="30" r="1"/></g></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#DD2E44" d="M11.626 7.488c-.112.112-.197.247-.268.395l-.008-.008L.134 33.141l.011.011c-.208.403.14 1.223.853 1.937.713.713 1.533 1.061 1.936.853l.01.01L28.21 24.735l-.008-.009c.147-.07.282-.155.395-.269 1.562-1.562-.971-6.627-5.656-11.313-4.687-4.686-9.752-7.218-11.315-5.656z"/><path fill="#EA596E" d="M13 12L.416 32.506l-.282.635.011.011c-.208.403.14 1.223.853 1.937.232.232.473.408.709.557L17 17l-4-5z"/><path fill="#A0041E" d="M23.012 13.066c4.67 4.672 7.263 9.652 5.789 11.124-1.473 1.474-6.453-1.118-11.126-5.788-4.671-4.672-7.263-9.654-5.79-11.127 1.474-1.473 6.454 1.119 11.127 5.791z"/><path fill="#AA8DD8" d="M18.59 13.609c-.199.161-.459.245-.734.215-.868-.094-1.598-.396-2.109-.873-.541-.505-.808-1.183-.735-1.862.128-1.192 1.324-2.286 3.363-2.066.793.085 1.147-.17 1.159-.292.014-.121-.277-.446-1.07-.532-.868-.094-1.598-.396-2.11-.873-.541-.505-.809-1.183-.735-1.862.13-1.192 1.325-2.286 3.362-2.065.578.062.883-.057 1.012-.134.103-.063.144-.123.148-.158.012-.121-.275-.446-1.07-.532-.549-.06-.947-.552-.886-1.102.059-.549.55-.946 1.101-.886 2.037.219 2.973 1.542 2.844 2.735-.13 1.194-1.325 2.286-3.364 2.067-.578-.063-.88.057-1.01.134-.103.062-.145.123-.149.157-.013.122.276.446 1.071.532 2.037.22 2.973 1.542 2.844 2.735-.129 1.192-1.324 2.286-3.362 2.065-.578-.062-.882.058-1.012.134-.104.064-.144.124-.148.158-.013.121.276.446 1.07.532.548.06.947.553.886 1.102-.028.274-.167.511-.366.671z"/><path fill="#77B255" d="M30.661 22.857c1.973-.557 3.334.323 3.658 1.478.324 1.154-.378 2.615-2.35 3.17-.77.216-1.001.584-.97.701.034.118.425.312 1.193.095 1.972-.555 3.333.325 3.657 1.479.326 1.155-.378 2.614-2.351 3.17-.769.216-1.001.585-.967.702.033.117.423.311 1.192.095.53-.149 1.084.16 1.233.691.148.532-.161 1.084-.693 1.234-1.971.555-3.333-.323-3.659-1.479-.324-1.154.379-2.613 2.353-3.169.77-.217 1.001-.584.967-.702-.032-.117-.422-.312-1.19-.096-1.974.556-3.334-.322-3.659-1.479-.325-1.154.378-2.613 2.351-3.17.768-.215.999-.585.967-.701-.034-.118-.423-.312-1.192-.096-.532.15-1.083-.16-1.233-.691-.149-.53.161-1.082.693-1.232z"/><path fill="#AA8DD8" d="M23.001 20.16c-.294 0-.584-.129-.782-.375-.345-.432-.274-1.061.156-1.406.218-.175 5.418-4.259 12.767-3.208.547.078.927.584.849 1.131-.078.546-.58.93-1.132.848-6.493-.922-11.187 2.754-11.233 2.791-.186.148-.406.219-.625.219z"/><path fill="#77B255" d="M5.754 16c-.095 0-.192-.014-.288-.042-.529-.159-.829-.716-.67-1.245 1.133-3.773 2.16-9.794.898-11.364-.141-.178-.354-.353-.842-.316-.938.072-.849 2.051-.848 2.071.042.551-.372 1.031-.922 1.072-.559.034-1.031-.372-1.072-.923-.103-1.379.326-4.035 2.692-4.214 1.056-.08 1.933.287 2.552 1.057 2.371 2.951-.036 11.506-.542 13.192-.13.433-.528.712-.958.712z"/><circle fill="#5C913B" cx="25.5" cy="9.5" r="1.5"/><circle fill="#9266CC" cx="2" cy="18" r="2"/><circle fill="#5C913B" cx="32.5" cy="19.5" r="1.5"/><circle fill="#5C913B" cx="23.5" cy="31.5" r="1.5"/><circle fill="#FFCC4D" cx="28" cy="4" r="2"/><circle fill="#FFCC4D" cx="32.5" cy="8.5" r="1.5"/><circle fill="#FFCC4D" cx="29.5" cy="12.5" r="1.5"/><circle fill="#FFCC4D" cx="7.5" cy="23.5" r="1.5"/></svg></svg>

After

Width:  |  Height:  |  Size: 4.1 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#99AAB5" d="M33.799.005c-.467-.178-7.998 3.971-9.969 9.131-1.166 3.052-1.686 6.058-1.652 8.112C20.709 16.459 19.257 16 18 16s-2.709.458-4.178 1.249c.033-2.055-.486-5.061-1.652-8.112C10.2 3.977 2.668-.173 2.201.005c-.455.174 4.268 16.044 7.025 20.838C6.805 23.405 5 26.661 5 29.828c0 3.234 1.635 5.14 4 5.94 2.531.857 5-.94 9-.94s6.469 1.798 9 .94c2.365-.801 4-2.706 4-5.94 0-3.166-1.805-6.423-4.225-8.984C29.53 16.049 34.255.179 33.799.005z"/><path fill="#F4ABBA" d="M12.692 17.922c-.178-1.54-.68-3.55-1.457-5.584-1.534-4.016-5.686-7.245-6.049-7.107-.319.122 2.627 10.14 4.783 14.863.866-.824 1.786-1.563 2.723-2.172zm13.338 2.172c2.156-4.723 5.102-14.741 4.784-14.862-.363-.139-4.516 3.091-6.05 7.107-.777 2.034-1.279 4.043-1.457 5.583.937.609 1.857 1.348 2.723 2.172z"/><path fill="#CCD6DD" d="M25 30c0 2.762-3.06 5-6.834 5-3.773 0-6.833-2.238-6.833-5s3.06-5 6.833-5C21.94 25 25 27.238 25 30z"/><path fill="#FFF" d="M21 30.578c0 2.762-.238 3-3 3-2.761 0-3-.238-3-3 0-1 6-1 6 0z"/><circle fill="#292F33" cx="12.5" cy="24.328" r="1.5"/><circle fill="#292F33" cx="23.5" cy="24.328" r="1.5"/><path fill="#F4ABBA" d="M21 25.828c0 1.657-2 3-3 3s-3-1.343-3-3 6-1.657 6 0z"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>Easter</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#99AAB5" d="M33.799.005c-.467-.178-7.998 3.971-9.969 9.131-1.166 3.052-1.686 6.058-1.652 8.112C20.709 16.459 19.257 16 18 16s-2.709.458-4.178 1.249c.033-2.055-.486-5.061-1.652-8.112C10.2 3.977 2.668-.173 2.201.005c-.455.174 4.268 16.044 7.025 20.838C6.805 23.405 5 26.661 5 29.828c0 3.234 1.635 5.14 4 5.94 2.531.857 5-.94 9-.94s6.469 1.798 9 .94c2.365-.801 4-2.706 4-5.94 0-3.166-1.805-6.423-4.225-8.984C29.53 16.049 34.255.179 33.799.005z"/><path fill="#F4ABBA" d="M12.692 17.922c-.178-1.54-.68-3.55-1.457-5.584-1.534-4.016-5.686-7.245-6.049-7.107-.319.122 2.627 10.14 4.783 14.863.866-.824 1.786-1.563 2.723-2.172zm13.338 2.172c2.156-4.723 5.102-14.741 4.784-14.862-.363-.139-4.516 3.091-6.05 7.107-.777 2.034-1.279 4.043-1.457 5.583.937.609 1.857 1.348 2.723 2.172z"/><path fill="#CCD6DD" d="M25 30c0 2.762-3.06 5-6.834 5-3.773 0-6.833-2.238-6.833-5s3.06-5 6.833-5C21.94 25 25 27.238 25 30z"/><path fill="#FFF" d="M21 30.578c0 2.762-.238 3-3 3-2.761 0-3-.238-3-3 0-1 6-1 6 0z"/><circle fill="#292F33" cx="12.5" cy="24.328" r="1.5"/><circle fill="#292F33" cx="23.5" cy="24.328" r="1.5"/><path fill="#F4ABBA" d="M21 25.828c0 1.657-2 3-3 3s-3-1.343-3-3 6-1.657 6 0z"/></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#F7DECE" d="M23.142 3.403C21.492 1.899 19.712 1 18 1 12.375 1 6 10.611 6 20c0 .975.079 1.899.202 2.791C7.261 30.484 12.623 35 18 35c6 0 12-5.611 12-15 0-6.531-3.086-13.161-6.858-16.597z"/><path fill="#E0AA94" d="M23.142 3.403c2.908 3.519 5.108 9.018 5.108 14.453 0 9.009-5.672 14.393-11.344 14.393-4.541 0-9.075-3.459-10.705-9.459C7.261 30.484 12.623 35 18 35c6 0 12-5.611 12-15 0-6.531-3.086-13.161-6.858-16.597z"/></svg></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#31373D" d="M30.198 27.385L32 3.816c0-.135-.008-.263-.021-.373.003-.033.021-.075.021-.11C32 1.529 25.731.066 18 .066c-7.732 0-14 1.462-14 3.267 0 .035.017.068.022.102-.014.11-.022.23-.022.365l1.802 23.585C2.298 28.295 0 29.576 0 31c0 2.762 8.611 5 18 5s18-2.238 18-5c0-1.424-2.298-2.705-5.802-3.615z"/><path fill="#66757F" d="M17.536 6.595c-4.89 0-8.602-.896-10.852-1.646-.524-.175-.808-.741-.633-1.265.175-.524.739-.808 1.265-.633 2.889.963 10.762 2.891 21.421-.016.529-.142 1.082.168 1.227.702.146.533-.169 1.083-.702 1.228-4.406 1.202-8.347 1.63-11.726 1.63z"/><path fill="#744EAA" d="M30.198 27.385l.446-5.829c-7.705 2.157-17.585 2.207-25.316-.377l.393 5.142c.069.304.113.65.113 1.076 0 1.75 1.289 2.828 2.771 3.396 4.458 1.708 13.958 1.646 18.807.149 1.467-.453 2.776-1.733 2.776-3.191 0-.119.015-.241.024-.361l-.014-.005z"/></svg>

After

Width:  |  Height:  |  Size: 909 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>Father's Day</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#31373D" d="M30.198 27.385L32 3.816c0-.135-.008-.263-.021-.373.003-.033.021-.075.021-.11C32 1.529 25.731.066 18 .066c-7.732 0-14 1.462-14 3.267 0 .035.017.068.022.102-.014.11-.022.23-.022.365l1.802 23.585C2.298 28.295 0 29.576 0 31c0 2.762 8.611 5 18 5s18-2.238 18-5c0-1.424-2.298-2.705-5.802-3.615z"/><path fill="#66757F" d="M17.536 6.595c-4.89 0-8.602-.896-10.852-1.646-.524-.175-.808-.741-.633-1.265.175-.524.739-.808 1.265-.633 2.889.963 10.762 2.891 21.421-.016.529-.142 1.082.168 1.227.702.146.533-.169 1.083-.702 1.228-4.406 1.202-8.347 1.63-11.726 1.63z"/><path fill="#744EAA" d="M30.198 27.385l.446-5.829c-7.705 2.157-17.585 2.207-25.316-.377l.393 5.142c.069.304.113.65.113 1.076 0 1.75 1.289 2.828 2.771 3.396 4.458 1.708 13.958 1.646 18.807.149 1.467-.453 2.776-1.733 2.776-3.191 0-.119.015-.241.024-.361l-.014-.005z"/></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#88C9F9" d="M36 32c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4V4c0-2.209 1.791-4 4-4h28c2.209 0 4 1.791 4 4v28z"/><path fill="#DD2E44" d="M19.341 35.455c-.738.726-1.944.726-2.681 0l-6.633-6.529c-.737-.726-.932-2.032-.434-2.904l7.5-18.447c.499-.871 1.315-.871 1.813 0l7.5 18.447c.498.871.303 2.178-.434 2.903l-6.631 6.53z"/><path fill="#A0041E" d="M18 14.668c.949 0 2.004-.952 2.899-2.191l-1.993-4.902c-.499-.871-1.315-.871-1.813 0L15.1 12.477c.897 1.239 1.951 2.191 2.9 2.191z"/><path fill="#DD2E44" d="M23 5.778c0 1.964-2.791 7.112-5 7.112s-5-5.148-5-7.112C13 3.995 15.791 3 18 3s5 .995 5 2.778z"/><path fill="#4CA0D3" d="M0 4v2.254c2.074 2.77 6.779 7.751 8 7.751 2.209 0 11-10.796 11-13.005 0-1-1-1-2-1H4C1.791 0 0 1.791 0 4z"/><path fill="#4CA0D3" d="M17 1c0 2.209 8.791 13.005 11 13.005 1.221 0 5.926-4.981 8-7.751V4c0-2.209-1.791-4-4-4H19c-1 0-2 0-2 1z"/><path fill="#269" d="M4 0c-.267 0-.526.029-.778.079C4.405 1.736 10.562 3 18 3 25.438 3 31.595 1.736 32.778.079 32.526.029 32.267 0 32 0H4z"/></svg></svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#F4900C" d="M32.664 8.519C29.364 5.134 23.42 4.75 18 4.75S6.636 5.134 3.336 8.519C.582 11.344 0 15.751 0 19.791c0 5.263 1.982 11.311 6.357 14.244C9.364 36.051 13.95 35.871 18 35.871s8.636.18 11.643-1.836C34.018 31.101 36 25.054 36 19.791c0-4.04-.582-8.447-3.336-11.272z"/><path fill="#3F7123" d="M20.783 5.444c.069.42-.222.764-.647.764h-4.451c-.426 0-.717-.344-.647-.764l.745-4.472c.07-.421.476-.764.902-.764h2.451c.426 0 .832.344.901.764l.746 4.472z"/><path fill="#642116" d="M20.654 21.159l-1.598-2.596c-.291-.542-.673-.813-1.057-.817-.383.004-.766.275-1.057.817l-1.598 2.596c-.587 1.093.873 1.716 2.654 1.716s3.243-.624 2.656-1.716zm9.508 3.192c-.045-.075-.126-.121-.214-.121h-.841c-.068 0-.134.028-.181.077l-2.231 2.334-2.698-2.169c-.051-.041-.117-.058-.185-.053-.066.007-.127.041-.168.094l-2.408 3.062-3.054-3.266c-.013-.014-.033-.017-.048-.028-.015-.01-.025-.027-.043-.034-.006-.002-.013 0-.019-.002-.024-.007-.047-.005-.072-.005-.025 0-.048-.002-.072.006-.006.002-.013-.001-.02.002-.018.007-.027.024-.043.034-.016.01-.035.013-.048.027l-3.053 3.266-2.409-3.062c-.041-.053-.102-.087-.168-.094-.066-.006-.133.012-.185.053l-2.698 2.169-2.23-2.334c-.047-.049-.112-.077-.181-.077h-.841c-.087 0-.169.046-.214.121-.045.075-.048.168-.007.245l2.754 5.219c.034.064.093.11.164.127s.145.002.203-.04l2.034-1.458 3.004 3.633c.043.053.106.085.174.09l.019.001c.062 0 .121-.022.167-.063L18 28.836l3.65 3.268c.046.041.105.063.167.063l.019-.001c.068-.005.131-.037.174-.09l3.005-3.633 2.034 1.458c.06.043.133.06.203.04.07-.017.13-.062.163-.126l2.755-5.219c.04-.077.038-.17-.008-.245zm-2.186-8.93c.129 2.127-.784 3.806-3.205 3.953-2.42.146-3.529-1.411-3.658-3.537s1.232-5.12 3.127-5.234c1.896-.116 3.608 2.691 3.736 4.818zm-19.952 0c-.129 2.127.784 3.806 3.205 3.953 2.42.146 3.529-1.411 3.658-3.537s-1.232-5.12-3.127-5.234-3.608 2.691-3.736 4.818z"/></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>Halloween</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#F4900C" d="M32.664 8.519C29.364 5.134 23.42 4.75 18 4.75S6.636 5.134 3.336 8.519C.582 11.344 0 15.751 0 19.791c0 5.263 1.982 11.311 6.357 14.244C9.364 36.051 13.95 35.871 18 35.871s8.636.18 11.643-1.836C34.018 31.101 36 25.054 36 19.791c0-4.04-.582-8.447-3.336-11.272z"/><path fill="#3F7123" d="M20.783 5.444c.069.42-.222.764-.647.764h-4.451c-.426 0-.717-.344-.647-.764l.745-4.472c.07-.421.476-.764.902-.764h2.451c.426 0 .832.344.901.764l.746 4.472z"/><path fill="#642116" d="M20.654 21.159l-1.598-2.596c-.291-.542-.673-.813-1.057-.817-.383.004-.766.275-1.057.817l-1.598 2.596c-.587 1.093.873 1.716 2.654 1.716s3.243-.624 2.656-1.716zm9.508 3.192c-.045-.075-.126-.121-.214-.121h-.841c-.068 0-.134.028-.181.077l-2.231 2.334-2.698-2.169c-.051-.041-.117-.058-.185-.053-.066.007-.127.041-.168.094l-2.408 3.062-3.054-3.266c-.013-.014-.033-.017-.048-.028-.015-.01-.025-.027-.043-.034-.006-.002-.013 0-.019-.002-.024-.007-.047-.005-.072-.005-.025 0-.048-.002-.072.006-.006.002-.013-.001-.02.002-.018.007-.027.024-.043.034-.016.01-.035.013-.048.027l-3.053 3.266-2.409-3.062c-.041-.053-.102-.087-.168-.094-.066-.006-.133.012-.185.053l-2.698 2.169-2.23-2.334c-.047-.049-.112-.077-.181-.077h-.841c-.087 0-.169.046-.214.121-.045.075-.048.168-.007.245l2.754 5.219c.034.064.093.11.164.127s.145.002.203-.04l2.034-1.458 3.004 3.633c.043.053.106.085.174.09l.019.001c.062 0 .121-.022.167-.063L18 28.836l3.65 3.268c.046.041.105.063.167.063l.019-.001c.068-.005.131-.037.174-.09l3.005-3.633 2.034 1.458c.06.043.133.06.203.04.07-.017.13-.062.163-.126l2.755-5.219c.04-.077.038-.17-.008-.245zm-2.186-8.93c.129 2.127-.784 3.806-3.205 3.953-2.42.146-3.529-1.411-3.658-3.537s1.232-5.12 3.127-5.234c1.896-.116 3.608 2.691 3.736 4.818zm-19.952 0c-.129 2.127.784 3.806 3.205 3.953 2.42.146 3.529-1.411 3.658-3.537s-1.232-5.12-3.127-5.234-3.608 2.691-3.736 4.818z"/></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#E1E8ED" d="M36 11c0-1.104-.896-2-2-2s-2 .896-2 2c0 0-.011 3.285-3 3.894V12c0-6.075-4.925-11-11-11S7 5.925 7 12v3.237C1.778 16.806 0 23.231 0 27c0 1.104.896 2 2 2s2-.896 2-2c0 0 .002-3.54 3.336-3.958C7.838 27.883 8.954 33 11 33h1c4 0 3 2 7 2s3-2 6-2 2.395 2 6 2c1.657 0 3-1.343 3-3 0-.675-2.274-4.994-3.755-9.268C35.981 21.348 36 14.58 36 11z"/><circle fill="#292F33" cx="13" cy="12" r="2"/><circle fill="#292F33" cx="23" cy="12" r="4"/><circle fill="#9AAAB4" cx="23" cy="13" r="2"/><path fill="#292F33" d="M22.192 19.491c2.65 1.987 3.591 5.211 2.1 7.199-1.491 1.988-4.849 1.988-7.5 0-2.65-1.987-3.591-5.211-2.1-7.199 1.492-1.989 4.849-1.988 7.5 0z"/></svg></svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#9266CC" d="M36 32c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4V4c0-2.209 1.791-4 4-4h28c2.209 0 4 1.791 4 4v28z"/><path fill="#FFF" d="M33.25 12h-2c0 7-5.411 12.687-12.25 13.202v-1.563C24.977 23.129 29.688 18 29.688 12h-2c0 5-3.814 9.136-8.688 9.638V20.06c4.009-.495 7.125-4.06 7.125-8.06h-2c0 3-2.223 5.559-5.125 6.039v-1.562C21.051 16.018 22.592 14 22.592 12h-2c0 1-.658 2-1.592 2.392V11h-2v3.392C16.066 14 15.409 13 15.409 12h-2c0 2 1.54 4.018 3.591 4.477v1.562C14.098 17.559 11.875 15 11.875 12h-2c0 4 3.116 7.564 7.125 8.06v1.579C12.126 21.136 8.312 17 8.312 12h-2c0 6 4.71 11.129 10.688 11.639v1.563C10.161 24.687 4.75 19 4.75 12h-2c0 8 6.308 14.683 14.25 15.202V29h-3c-1.104 0-2 .896-2 2h-2c-.552 0-1 .447-1 1s.448 1 1 1h16c.553 0 1-.447 1-1s-.447-1-1-1h-2c0-1.104-.896-2-2-2h-3v-1.798C26.943 26.683 33.25 20 33.25 12zm-1-6.948c-.303 0-.886 1.582-.985 3.918-.024.559.425 1.03.985 1.03s1.009-.471.985-1.03c-.099-2.336-.682-3.918-.985-3.918zm-3.562 0c-.303 0-.886 1.582-.985 3.918-.025.559.425 1.03.984 1.03.56 0 1.009-.471.985-1.03-.099-2.336-.682-3.918-.984-3.918zm-3.563 0c-.303 0-.886 1.582-.985 3.918-.024.559.425 1.03.985 1.03s1.009-.471.985-1.03c-.099-2.336-.682-3.918-.985-3.918zm-3.563 0c-.303 0-.886 1.582-.985 3.918-.024.559.426 1.03.985 1.03.56 0 1.009-.471.985-1.03-.099-2.336-.682-3.918-.985-3.918zM18 4.051c-.303 0-.886 1.582-.985 3.918-.024.559.425 1.03.985 1.03s1.009-.471.985-1.03c-.099-2.336-.682-3.918-.985-3.918zm-3.562 1.001c-.303 0-.886 1.582-.985 3.918-.025.559.425 1.03.984 1.03.56 0 1.009-.471.985-1.03-.099-2.336-.682-3.918-.984-3.918zm-3.563 0c-.303 0-.886 1.582-.985 3.918-.024.559.425 1.03.985 1.03s1.009-.471.985-1.03c-.099-2.336-.682-3.918-.985-3.918zm-3.563 0c-.303 0-.886 1.582-.985 3.918-.024.559.426 1.03.985 1.03.56 0 1.009-.471.985-1.03-.099-2.336-.682-3.918-.985-3.918zm-3.562 0c-.303 0-.886 1.582-.985 3.918-.024.559.425 1.03.985 1.03s1.009-.471.985-1.03c-.099-2.336-.682-3.918-.985-3.918z"/></svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>Hanukkah</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#9266CC" d="M36 32c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4V4c0-2.209 1.791-4 4-4h28c2.209 0 4 1.791 4 4v28z"/><path fill="#FFF" d="M33.25 12h-2c0 7-5.411 12.687-12.25 13.202v-1.563C24.977 23.129 29.688 18 29.688 12h-2c0 5-3.814 9.136-8.688 9.638V20.06c4.009-.495 7.125-4.06 7.125-8.06h-2c0 3-2.223 5.559-5.125 6.039v-1.562C21.051 16.018 22.592 14 22.592 12h-2c0 1-.658 2-1.592 2.392V11h-2v3.392C16.066 14 15.409 13 15.409 12h-2c0 2 1.54 4.018 3.591 4.477v1.562C14.098 17.559 11.875 15 11.875 12h-2c0 4 3.116 7.564 7.125 8.06v1.579C12.126 21.136 8.312 17 8.312 12h-2c0 6 4.71 11.129 10.688 11.639v1.563C10.161 24.687 4.75 19 4.75 12h-2c0 8 6.308 14.683 14.25 15.202V29h-3c-1.104 0-2 .896-2 2h-2c-.552 0-1 .447-1 1s.448 1 1 1h16c.553 0 1-.447 1-1s-.447-1-1-1h-2c0-1.104-.896-2-2-2h-3v-1.798C26.943 26.683 33.25 20 33.25 12zm-1-6.948c-.303 0-.886 1.582-.985 3.918-.024.559.425 1.03.985 1.03s1.009-.471.985-1.03c-.099-2.336-.682-3.918-.985-3.918zm-3.562 0c-.303 0-.886 1.582-.985 3.918-.025.559.425 1.03.984 1.03.56 0 1.009-.471.985-1.03-.099-2.336-.682-3.918-.984-3.918zm-3.563 0c-.303 0-.886 1.582-.985 3.918-.024.559.425 1.03.985 1.03s1.009-.471.985-1.03c-.099-2.336-.682-3.918-.985-3.918zm-3.563 0c-.303 0-.886 1.582-.985 3.918-.024.559.426 1.03.985 1.03.56 0 1.009-.471.985-1.03-.099-2.336-.682-3.918-.985-3.918zM18 4.051c-.303 0-.886 1.582-.985 3.918-.024.559.425 1.03.985 1.03s1.009-.471.985-1.03c-.099-2.336-.682-3.918-.985-3.918zm-3.562 1.001c-.303 0-.886 1.582-.985 3.918-.025.559.425 1.03.984 1.03.56 0 1.009-.471.985-1.03-.099-2.336-.682-3.918-.984-3.918zm-3.563 0c-.303 0-.886 1.582-.985 3.918-.024.559.425 1.03.985 1.03s1.009-.471.985-1.03c-.099-2.336-.682-3.918-.985-3.918zm-3.563 0c-.303 0-.886 1.582-.985 3.918-.024.559.426 1.03.985 1.03.56 0 1.009-.471.985-1.03-.099-2.336-.682-3.918-.985-3.918zm-3.562 0c-.303 0-.886 1.582-.985 3.918-.024.559.425 1.03.985 1.03s1.009-.471.985-1.03c-.099-2.336-.682-3.918-.985-3.918z"/></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#9266CC" d="M36 32c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4V4c0-2.209 1.791-4 4-4h28c2.209 0 4 1.791 4 4v28z"/><path fill="#FFF" d="M27.152 18l3.716-6.504c.177-.31.176-.69-.003-.998C30.686 10.19 30.356 10 30 10h-7.42l-3.712-6.496c-.355-.623-1.381-.623-1.736 0L13.42 10H6c-.356 0-.686.19-.865.498-.179.308-.18.688-.003.998L8.848 18l-3.716 6.504c-.177.31-.176.689.003.998.179.309.509.498.865.498h7.42l3.712 6.496c.178.312.509.504.868.504s.69-.192.868-.504L22.58 26H30c.356 0 .686-.189.865-.498.179-.309.18-.688.003-.998L27.152 18zm1.124-6L26 15.984 23.723 12h4.553zm-3.428 6l-3.428 6h-6.84l-3.429-6 3.429-6h6.839l3.429 6zM18 6.016L20.277 10h-4.553L18 6.016zM7.723 12h4.554L10 15.985 7.723 12zm0 12L10 20.015 12.277 24H7.723zM18 29.984L15.723 26h4.553L18 29.984zM23.723 24L26 20.016 28.276 24h-4.553z"/></svg></svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#A6D388" d="M22 4.587c0 6.075-3.667 18.333-11 18.333S0 10.663 0 4.587C0-2.593 8.25.92 11 .92c2.712 0 11-3.551 11 3.667z"/><path fill="#5C913B" d="M5.5 11.92c4.583 2.75 7.333 2.75 11 0 2.75-1.833-1.833 6.417-5.5 6.417s-8.25-8.25-5.5-6.417zM3.666 8.254c-.138 0-.278-.031-.41-.097-.452-.226-.636-.777-.409-1.23.636-1.272 1.933-2.15 3.303-2.235.839-.047 2.458.155 3.779 2.137.281.421.167.99-.254 1.271-.423.281-.991.167-1.271-.254-.61-.915-1.355-1.374-2.14-1.324-.73.045-1.428.526-1.777 1.226-.161.32-.485.506-.821.506zm14.668 0c-.336 0-.66-.186-.82-.507-.35-.699-1.047-1.18-1.777-1.226-.776-.042-1.529.409-2.14 1.324-.282.422-.85.535-1.271.254-.421-.281-.535-.85-.254-1.271 1.32-1.983 2.931-2.186 3.779-2.137 1.37.085 2.667.963 3.303 2.235.227.453.043 1.003-.41 1.23-.132.067-.272.098-.41.098z"/><path fill="#CBB7EA" d="M36 17.667C36 23.741 32.333 36 25 36S14 23.741 14 17.667C14 10.486 22.25 14 25 14c2.713 0 11-3.552 11 3.667z"/><path fill="#9266CC" d="M29.5 30.151C26 28 24 28 20.5 30.151c-2.75 1.833.833-4.417 4.5-4.417s7.25 6.25 4.5 4.417zM17 21.917c-.138 0-.278-.031-.41-.097-.453-.226-.636-.777-.41-1.23.7-1.399 2.404-2.49 4.051-2.592 1.489-.099 2.815.585 3.698 1.911.281.422.167.99-.254 1.272-.421.281-.99.167-1.271-.254-.522-.782-1.215-1.148-2.059-1.099-1.121.069-2.164.859-2.526 1.583-.16.32-.484.506-.819.506zm16.001 0c-.337 0-.66-.186-.821-.508-.36-.723-1.403-1.512-2.524-1.582-.842-.047-1.539.316-2.06 1.099-.28.421-.851.535-1.271.254-.421-.281-.535-.85-.254-1.272.884-1.326 2.188-2.009 3.699-1.911 1.648.103 3.352 1.194 4.051 2.593.226.452.042 1.003-.411 1.229-.132.067-.271.098-.409.098z"/></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>Mardi Gras</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#A6D388" d="M22 4.587c0 6.075-3.667 18.333-11 18.333S0 10.663 0 4.587C0-2.593 8.25.92 11 .92c2.712 0 11-3.551 11 3.667z"/><path fill="#5C913B" d="M5.5 11.92c4.583 2.75 7.333 2.75 11 0 2.75-1.833-1.833 6.417-5.5 6.417s-8.25-8.25-5.5-6.417zM3.666 8.254c-.138 0-.278-.031-.41-.097-.452-.226-.636-.777-.409-1.23.636-1.272 1.933-2.15 3.303-2.235.839-.047 2.458.155 3.779 2.137.281.421.167.99-.254 1.271-.423.281-.991.167-1.271-.254-.61-.915-1.355-1.374-2.14-1.324-.73.045-1.428.526-1.777 1.226-.161.32-.485.506-.821.506zm14.668 0c-.336 0-.66-.186-.82-.507-.35-.699-1.047-1.18-1.777-1.226-.776-.042-1.529.409-2.14 1.324-.282.422-.85.535-1.271.254-.421-.281-.535-.85-.254-1.271 1.32-1.983 2.931-2.186 3.779-2.137 1.37.085 2.667.963 3.303 2.235.227.453.043 1.003-.41 1.23-.132.067-.272.098-.41.098z"/><path fill="#CBB7EA" d="M36 17.667C36 23.741 32.333 36 25 36S14 23.741 14 17.667C14 10.486 22.25 14 25 14c2.713 0 11-3.552 11 3.667z"/><path fill="#9266CC" d="M29.5 30.151C26 28 24 28 20.5 30.151c-2.75 1.833.833-4.417 4.5-4.417s7.25 6.25 4.5 4.417zM17 21.917c-.138 0-.278-.031-.41-.097-.453-.226-.636-.777-.41-1.23.7-1.399 2.404-2.49 4.051-2.592 1.489-.099 2.815.585 3.698 1.911.281.422.167.99-.254 1.272-.421.281-.99.167-1.271-.254-.522-.782-1.215-1.148-2.059-1.099-1.121.069-2.164.859-2.526 1.583-.16.32-.484.506-.819.506zm16.001 0c-.337 0-.66-.186-.821-.508-.36-.723-1.403-1.512-2.524-1.582-.842-.047-1.539.316-2.06 1.099-.28.421-.851.535-1.271.254-.421-.281-.535-.85-.254-1.272.884-1.326 2.188-2.009 3.699-1.911 1.648.103 3.352 1.194 4.051 2.593.226.452.042 1.003-.411 1.229-.132.067-.271.098-.409.098z"/></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#744EAA" d="M10.582 18c2.075 1.244 2.74 3.559 2.416 6h4.837c.103-.649.165-1.316.165-2 0-6.075-5.001-11.731-10.27-11.731-8.479 0-9.866 9.043-4.567 11.731-1.059-5 4.122-5.975 7.419-4zm14.875 0c-2.075 1.244-2.74 3.559-2.416 6h-4.837c-.104-.649-.165-1.316-.165-2 0-6.075 5.001-11.731 10.269-11.731 8.479 0 9.866 9.043 4.567 11.731 1.061-5-4.121-5.975-7.418-4zm4.334 8.647C29.315 28.014 28.028 29 26.5 29c-1.762 0-3.205-1.307-3.449-3h-2.615c-.271.614-.436 1.285-.436 2 0 2.762 2.238 5 5 5s5-2.238 5-5c0-.472-.086-.92-.209-1.353zM12.949 26c-.244 1.693-1.688 3-3.449 3-1.528 0-2.814-.986-3.291-2.353C6.086 27.08 6 27.528 6 28c0 2.762 2.238 5 5 5s5-2.238 5-5c0-.715-.165-1.386-.436-2h-2.615z"/><path fill="#AA8DD8" d="M13 10.227C13 3.951 18 0 18 0s5 3.951 5 10.227S20.762 25 18 25s-5-8.497-5-14.773z"/><path fill="#AA8DD8" d="M14 30c0-3.313 2.344-6 4-6 1.656 0 4 2.687 4 6s-4 6-4 6-4-2.687-4-6z"/><path fill="#9266CC" d="M25 24.5c0 1.933-1.567 3.5-3.5 3.5h-7c-1.934 0-3.5-1.567-3.5-3.5s1.566-3.5 3.5-3.5h7c1.933 0 3.5 1.567 3.5 3.5z"/></svg></svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#F4ABBA" d="M31.298 20.807c4.197-1.363 5.027-3.182 4.191-6.416-.952.308-2.105-.001-2.272-.518-.168-.513.581-1.443 1.533-1.753-1.223-3.107-2.964-4.089-7.161-2.727-1.606.522-3.238 1.492-4.655 2.635C23.582 10.327 24 8.475 24 6.786c0-4.412-1.473-5.765-4.807-5.968 0 1-.652 2-1.193 2s-1.194-1-1.194-2C13.472 1.021 12 2.374 12 6.786c0 1.689.417 3.541 1.066 5.241-1.416-1.142-3.049-2.111-4.655-2.633-4.197-1.364-5.938-.381-7.162 2.727.951.31 1.701 1.238 1.534 1.753-.167.515-1.32.826-2.271.518-.837 3.233-.005 5.052 4.19 6.415 1.606.521 3.497.697 5.314.605-1.524.994-2.95 2.247-3.943 3.613-2.594 3.57-2.197 5.53.381 7.654.588-.809 1.703-1.235 2.142-.917.438.317.378 1.511-.21 2.32 2.816 1.795 4.803 1.565 7.396-2.003.993-1.366 1.743-3.111 2.218-4.867.475 1.757 1.226 3.501 2.218 4.867 2.594 3.57 4.58 3.798 7.397 2.003-.587-.81-.649-2.002-.21-2.321.437-.317 1.553.107 2.142.917 2.577-2.123 2.973-4.083.381-7.653-.993-1.366-2.42-2.619-3.943-3.613 1.816.092 3.706-.084 5.313-.605zM18 20.337c-.162-.292-.353-.538-.588-.709-.234-.171-.528-.276-.856-.341.228-.244.403-.502.493-.778.09-.275.1-.587.059-.919.302.141.602.228.892.228s.59-.087.894-.229c-.041.332-.031.644.059.919.09.276.265.534.492.778-.327.065-.621.17-.855.341-.236.172-.428.418-.59.71z"/><g fill="#FFF"><path d="M16.795 18.685c-.12.54-.653.88-1.193.76l-5.858-1.302c-.539-.12-.879-.653-.759-1.193.12-.539.654-.879 1.193-.759l5.857 1.302c.54.12.88.653.76 1.192zm.976.218c.12-.54.654-.88 1.193-.76l5.857 1.302c.54.12.879.653.76 1.193-.12.538-.654.879-1.193.759l-5.857-1.302c-.54-.118-.88-.654-.76-1.192z"/><path d="M17.771 18.903c-.466.296-1.083.159-1.38-.308l-3.221-5.061c-.296-.466-.16-1.084.307-1.38.466-.297 1.084-.159 1.38.307l3.222 5.062c.295.466.158 1.083-.308 1.38zm.797 1.252c.466-.296 1.084-.159 1.38.307l3.223 5.062c.296.467.159 1.083-.308 1.381-.466.296-1.084.159-1.381-.307l-3.221-5.062c-.296-.466-.157-1.084.307-1.381z"/><path d="M17.988 17.927c-.539-.12-.879-.654-.759-1.193l1.302-5.857c.119-.539.652-.879 1.192-.759.54.12.879.654.759 1.193l-1.301 5.857c-.119.538-.654.879-1.193.759zm-.217.976c.539.119.879.653.759 1.192l-1.3 5.857c-.121.54-.654.88-1.194.76-.538-.12-.878-.654-.76-1.193l1.303-5.857c.119-.539.653-.879 1.192-.759z"/><path d="M17.771 18.902c-.297-.466-.159-1.083.307-1.38l5.062-3.221c.466-.296 1.084-.16 1.38.307.297.466.159 1.083-.307 1.38l-5.062 3.221c-.466.297-1.084.16-1.38-.307z"/><path d="M17.771 18.902c.296.467.159 1.084-.307 1.381l-5.062 3.222c-.466.296-1.083.16-1.381-.308-.296-.465-.159-1.083.307-1.38l5.062-3.222c.467-.296 1.085-.158 1.381.307z"/></g><path d="M22.012 25.566c.932-.592 2.168-.317 2.762.614.593.932.318 2.168-.614 2.762-.932.593-2.168.318-2.762-.614-.592-.932-.318-2.168.614-2.762zM14.55 13.841c-.932.593-2.168.319-2.761-.613-.593-.932-.318-2.168.614-2.761.932-.593 2.168-.318 2.761.613.593.932.318 2.168-.614 2.761zm1.92 10.918c1.078.241 1.758 1.31 1.52 2.388-.24 1.078-1.308 1.758-2.387 1.519-1.079-.24-1.758-1.309-1.519-2.387.239-1.079 1.308-1.758 2.386-1.52zm3.037-13.665c-1.078-.239-1.758-1.308-1.518-2.386.239-1.078 1.308-1.758 2.386-1.519 1.078.24 1.759 1.308 1.519 2.386-.241 1.079-1.309 1.758-2.387 1.519zm-6.013 10.53c.592.933.317 2.169-.614 2.763-.932.593-2.168.318-2.762-.615-.593-.931-.318-2.167.613-2.761.933-.592 2.169-.318 2.763.613zm9.339-5.943c-.593-.932-.317-2.168.614-2.761.932-.593 2.168-.318 2.761.614s.317 2.168-.613 2.761c-.933.593-2.169.318-2.762-.614zm.795 4.524c.24-1.079 1.309-1.759 2.387-1.52 1.078.24 1.758 1.309 1.519 2.387-.24 1.078-1.309 1.758-2.387 1.518-1.079-.238-1.758-1.307-1.519-2.385zm-12.69-2.821c-.24 1.079-1.308 1.758-2.386 1.519-1.078-.24-1.758-1.309-1.519-2.387.239-1.078 1.308-1.758 2.386-1.519 1.079.241 1.758 1.309 1.519 2.387z" fill="#EA596E"/><circle fill="#FFCC4D" cx="18" cy="18.818" r="4"/></svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.3 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#DD2E44" d="M11.626 7.488c-.112.112-.197.247-.268.395l-.008-.008L.134 33.141l.011.011c-.208.403.14 1.223.853 1.937.713.713 1.533 1.061 1.936.853l.01.01L28.21 24.735l-.008-.009c.147-.07.282-.155.395-.269 1.562-1.562-.971-6.627-5.656-11.313-4.687-4.686-9.752-7.218-11.315-5.656z"/><path fill="#EA596E" d="M13 12L.416 32.506l-.282.635.011.011c-.208.403.14 1.223.853 1.937.232.232.473.408.709.557L17 17l-4-5z"/><path fill="#A0041E" d="M23.012 13.066c4.67 4.672 7.263 9.652 5.789 11.124-1.473 1.474-6.453-1.118-11.126-5.788-4.671-4.672-7.263-9.654-5.79-11.127 1.474-1.473 6.454 1.119 11.127 5.791z"/><path fill="#AA8DD8" d="M18.59 13.609c-.199.161-.459.245-.734.215-.868-.094-1.598-.396-2.109-.873-.541-.505-.808-1.183-.735-1.862.128-1.192 1.324-2.286 3.363-2.066.793.085 1.147-.17 1.159-.292.014-.121-.277-.446-1.07-.532-.868-.094-1.598-.396-2.11-.873-.541-.505-.809-1.183-.735-1.862.13-1.192 1.325-2.286 3.362-2.065.578.062.883-.057 1.012-.134.103-.063.144-.123.148-.158.012-.121-.275-.446-1.07-.532-.549-.06-.947-.552-.886-1.102.059-.549.55-.946 1.101-.886 2.037.219 2.973 1.542 2.844 2.735-.13 1.194-1.325 2.286-3.364 2.067-.578-.063-.88.057-1.01.134-.103.062-.145.123-.149.157-.013.122.276.446 1.071.532 2.037.22 2.973 1.542 2.844 2.735-.129 1.192-1.324 2.286-3.362 2.065-.578-.062-.882.058-1.012.134-.104.064-.144.124-.148.158-.013.121.276.446 1.07.532.548.06.947.553.886 1.102-.028.274-.167.511-.366.671z"/><path fill="#77B255" d="M30.661 22.857c1.973-.557 3.334.323 3.658 1.478.324 1.154-.378 2.615-2.35 3.17-.77.216-1.001.584-.97.701.034.118.425.312 1.193.095 1.972-.555 3.333.325 3.657 1.479.326 1.155-.378 2.614-2.351 3.17-.769.216-1.001.585-.967.702.033.117.423.311 1.192.095.53-.149 1.084.16 1.233.691.148.532-.161 1.084-.693 1.234-1.971.555-3.333-.323-3.659-1.479-.324-1.154.379-2.613 2.353-3.169.77-.217 1.001-.584.967-.702-.032-.117-.422-.312-1.19-.096-1.974.556-3.334-.322-3.659-1.479-.325-1.154.378-2.613 2.351-3.17.768-.215.999-.585.967-.701-.034-.118-.423-.312-1.192-.096-.532.15-1.083-.16-1.233-.691-.149-.53.161-1.082.693-1.232z"/><path fill="#AA8DD8" d="M23.001 20.16c-.294 0-.584-.129-.782-.375-.345-.432-.274-1.061.156-1.406.218-.175 5.418-4.259 12.767-3.208.547.078.927.584.849 1.131-.078.546-.58.93-1.132.848-6.493-.922-11.187 2.754-11.233 2.791-.186.148-.406.219-.625.219z"/><path fill="#77B255" d="M5.754 16c-.095 0-.192-.014-.288-.042-.529-.159-.829-.716-.67-1.245 1.133-3.773 2.16-9.794.898-11.364-.141-.178-.354-.353-.842-.316-.938.072-.849 2.051-.848 2.071.042.551-.372 1.031-.922 1.072-.559.034-1.031-.372-1.072-.923-.103-1.379.326-4.035 2.692-4.214 1.056-.08 1.933.287 2.552 1.057 2.371 2.951-.036 11.506-.542 13.192-.13.433-.528.712-.958.712z"/><circle fill="#5C913B" cx="25.5" cy="9.5" r="1.5"/><circle fill="#9266CC" cx="2" cy="18" r="2"/><circle fill="#5C913B" cx="32.5" cy="19.5" r="1.5"/><circle fill="#5C913B" cx="23.5" cy="31.5" r="1.5"/><circle fill="#FFCC4D" cx="28" cy="4" r="2"/><circle fill="#FFCC4D" cx="32.5" cy="8.5" r="1.5"/><circle fill="#FFCC4D" cx="29.5" cy="12.5" r="1.5"/><circle fill="#FFCC4D" cx="7.5" cy="23.5" r="1.5"/></svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.0 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.1 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.2 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#B22334" d="M35.445 7C34.752 5.809 33.477 5 32 5H18v2h17.445zM0 25h36v2H0zm18-8h18v2H18zm0-4h18v2H18zM0 21h36v2H0zm4 10h28c1.477 0 2.752-.809 3.445-2H.555c.693 1.191 1.968 2 3.445 2zM18 9h18v2H18z"/><path fill="#EEE" d="M.068 27.679c.017.093.036.186.059.277.026.101.058.198.092.296.089.259.197.509.333.743L.555 29h34.89l.002-.004c.135-.233.243-.483.332-.741.034-.099.067-.198.093-.301.023-.09.042-.182.059-.275.041-.22.069-.446.069-.679H0c0 .233.028.458.068.679zM0 23h36v2H0zm0-4v2h36v-2H18zm18-4h18v2H18zm0-4h18v2H18zM0 9c0-.233.03-.457.068-.679C.028 8.542 0 8.767 0 9zm.555-2l-.003.005L.555 7zM.128 8.044c.025-.102.06-.199.092-.297-.034.098-.066.196-.092.297zM18 9h18c0-.233-.028-.459-.069-.68-.017-.092-.035-.184-.059-.274-.027-.103-.059-.203-.094-.302-.089-.258-.197-.507-.332-.74.001-.001 0-.003-.001-.004H18v2z"/><path fill="#3C3B6E" d="M18 5H4C1.791 5 0 6.791 0 9v10h18V5z"/><path fill="#FFF" d="M2.001 7.726l.618.449-.236.725L3 8.452l.618.448-.236-.725L4 7.726h-.764L3 7l-.235.726zm2 2l.618.449-.236.725.617-.448.618.448-.236-.725L6 9.726h-.764L5 9l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L9 9l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L13 9l-.235.726zm-8 4l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L5 13l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L9 13l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L13 13l-.235.726zm-6-6l.618.449-.236.725L7 8.452l.618.448-.236-.725L8 7.726h-.764L7 7l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L11 7l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L15 7l-.235.726zm-12 4l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L3 11l-.235.726zM6.383 12.9L7 12.452l.618.448-.236-.725.618-.449h-.764L7 11l-.235.726h-.764l.618.449zm3.618-1.174l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L11 11l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L15 11l-.235.726zm-12 4l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L3 15l-.235.726zM6.383 16.9L7 16.452l.618.448-.236-.725.618-.449h-.764L7 15l-.235.726h-.764l.618.449zm3.618-1.174l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L11 15l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L15 15l-.235.726z"/></svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>Stars &amp; Stripes</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#B22334" d="M35.445 7C34.752 5.809 33.477 5 32 5H18v2h17.445zM0 25h36v2H0zm18-8h18v2H18zm0-4h18v2H18zM0 21h36v2H0zm4 10h28c1.477 0 2.752-.809 3.445-2H.555c.693 1.191 1.968 2 3.445 2zM18 9h18v2H18z"/><path fill="#EEE" d="M.068 27.679c.017.093.036.186.059.277.026.101.058.198.092.296.089.259.197.509.333.743L.555 29h34.89l.002-.004c.135-.233.243-.483.332-.741.034-.099.067-.198.093-.301.023-.09.042-.182.059-.275.041-.22.069-.446.069-.679H0c0 .233.028.458.068.679zM0 23h36v2H0zm0-4v2h36v-2H18zm18-4h18v2H18zm0-4h18v2H18zM0 9c0-.233.03-.457.068-.679C.028 8.542 0 8.767 0 9zm.555-2l-.003.005L.555 7zM.128 8.044c.025-.102.06-.199.092-.297-.034.098-.066.196-.092.297zM18 9h18c0-.233-.028-.459-.069-.68-.017-.092-.035-.184-.059-.274-.027-.103-.059-.203-.094-.302-.089-.258-.197-.507-.332-.74.001-.001 0-.003-.001-.004H18v2z"/><path fill="#3C3B6E" d="M18 5H4C1.791 5 0 6.791 0 9v10h18V5z"/><path fill="#FFF" d="M2.001 7.726l.618.449-.236.725L3 8.452l.618.448-.236-.725L4 7.726h-.764L3 7l-.235.726zm2 2l.618.449-.236.725.617-.448.618.448-.236-.725L6 9.726h-.764L5 9l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L9 9l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L13 9l-.235.726zm-8 4l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L5 13l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L9 13l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L13 13l-.235.726zm-6-6l.618.449-.236.725L7 8.452l.618.448-.236-.725L8 7.726h-.764L7 7l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L11 7l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L15 7l-.235.726zm-12 4l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L3 11l-.235.726zM6.383 12.9L7 12.452l.618.448-.236-.725.618-.449h-.764L7 11l-.235.726h-.764l.618.449zm3.618-1.174l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L11 11l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L15 11l-.235.726zm-12 4l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L3 15l-.235.726zM6.383 16.9L7 16.452l.618.448-.236-.725.618-.449h-.764L7 15l-.235.726h-.764l.618.449zm3.618-1.174l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L11 15l-.235.726zm4 0l.618.449-.236.725.617-.448.618.448-.236-.725.618-.449h-.764L15 15l-.235.726z"/></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#FFAC33" d="M27.287 34.627c-.404 0-.806-.124-1.152-.371L18 28.422l-8.135 5.834c-.693.496-1.623.496-2.312-.008-.689-.499-.979-1.385-.721-2.194l3.034-9.792-8.062-5.681c-.685-.505-.97-1.393-.708-2.203.264-.808 1.016-1.357 1.866-1.363L12.947 13l3.179-9.549c.268-.809 1.023-1.353 1.874-1.353.851 0 1.606.545 1.875 1.353L23 13l10.036.015c.853.006 1.606.556 1.867 1.363.263.81-.022 1.698-.708 2.203l-8.062 5.681 3.034 9.792c.26.809-.033 1.695-.72 2.194-.347.254-.753.379-1.16.379z"/></svg></svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

@ -0,0 +1,118 @@
{
"repository": "https://github.com/jdecked/twemoji",
"revision": "b6b55fef1e8636b540a6d016a4729ca8cdf2e60b",
"artwork": {
"halloween": {
"label": "Halloween",
"source_svg": [
"1f383.svg",
"1f47b.svg"
]
},
"thanksgiving": {
"label": "Thanksgiving",
"source_svg": [
"1f983.svg",
"1f342.svg"
]
},
"christmas": {
"label": "Christmas",
"source_svg": [
"1f384.svg",
"1f385.svg"
]
},
"hanukkah": {
"label": "Hanukkah",
"source_svg": [
"1f54e.svg",
"2721.svg"
]
},
"rwb": {
"label": "Stars & Stripes",
"source_svg": [
"1f1fa-1f1f8.svg",
"2b50.svg"
]
},
"new_years_day": {
"label": "New Year",
"source_svg": [
"1f389.svg",
"1f386.svg"
]
},
"valentine": {
"label": "Valentine's Day",
"source_svg": [
"2764.svg",
"1f495.svg"
]
},
"mardi_gras": {
"label": "Mardi Gras",
"source_svg": [
"1f3ad.svg",
"269c.svg"
]
},
"pi": {
"label": "Pi Day",
"source_svg": [
"1f967.svg",
"2728.svg"
]
},
"st_patty": {
"label": "St. Patrick's Day",
"source_svg": [
"2618.svg",
"1f308.svg"
]
},
"easter": {
"label": "Easter",
"source_svg": [
"1f430.svg",
"1f95a.svg"
]
},
"starwars": {
"label": "Star Wars Day",
"source_svg": [
"2b50.svg",
"1f680.svg"
]
},
"cinco_de_mayo": {
"label": "Cinco de Mayo",
"source_svg": [
"1f335.svg",
"1f389.svg"
]
},
"mothers_day": {
"label": "Mother's Day",
"source_svg": [
"1f338.svg",
"1f490.svg"
]
},
"fathers_day": {
"label": "Father's Day",
"source_svg": [
"1f3a9.svg",
"1f454.svg"
]
},
"veterans": {
"label": "Veterans Day",
"source_svg": [
"2b50.svg",
"1f396.svg"
]
}
}
}

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#77B255" d="M32.34 19.208c.198-1.475 2.669-2.208 2.669-4.542C35.009 12.333 29.25 8.25 21 16c3.812-5.312 6.542-14.509 2.203-14.509-1.47 0-2.579 1.342-4.328 1.342C16.5 2.833 16.208 0 14 0c-2.583 0-5 6.25 1 15-1.5-1.625-11.083-6.625-13.002-1.269-.628 1.753 1.731 2.781 1.544 4.519-.178 1.654-2.597 2.037-2.597 4.372 0 3.293 8.048 4.834 16.044-1.613-.245 4.524.557 10.515 3.857 14.158 1.344 1.483 2.407.551 2.822.187.416-.365 1.604-1.414.185-2.822-3.834-3.807-5.225-8.174-5.619-11.381 2.043 2.215 12.357 8.742 15.517 2.767.881-1.668-1.643-2.977-1.411-4.71z"/></svg>

After

Width:  |  Height:  |  Size: 634 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>St. Patrick's Day</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#77B255" d="M32.34 19.208c.198-1.475 2.669-2.208 2.669-4.542C35.009 12.333 29.25 8.25 21 16c3.812-5.312 6.542-14.509 2.203-14.509-1.47 0-2.579 1.342-4.328 1.342C16.5 2.833 16.208 0 14 0c-2.583 0-5 6.25 1 15-1.5-1.625-11.083-6.625-13.002-1.269-.628 1.753 1.731 2.781 1.544 4.519-.178 1.654-2.597 2.037-2.597 4.372 0 3.293 8.048 4.834 16.044-1.613-.245 4.524.557 10.515 3.857 14.158 1.344 1.483 2.407.551 2.822.187.416-.365 1.604-1.414.185-2.822-3.834-3.807-5.225-8.174-5.619-11.381 2.043 2.215 12.357 8.742 15.517 2.767.881-1.668-1.643-2.977-1.411-4.71z"/></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#8767AC" d="M36 1C16.118 1 1 16.118 1 36h17.042c0-9.917 8.042-17.958 17.958-17.958V1z"/><path fill="#EB2027" d="M0 35.999h3.042c0-18.189 14.734-32.935 32.917-32.957V0C16.095.023 0 16.131 0 35.999z"/><path fill="#F19020" d="M3.083 36h3C6.083 19.468 19.473 6.065 36 6.043v-3C17.817 3.065 3.083 17.811 3.083 36z"/><path fill="#FFCB4C" d="M6.083 36h3C9.083 21.125 21.13 9.065 36 9.043v-3C19.473 6.065 6.083 19.468 6.083 36z"/><path fill="#5C903F" d="M9.083 36h3c0-13.217 10.705-23.935 23.917-23.957v-3C21.13 9.065 9.083 21.125 9.083 36z"/><path fill="#226798" d="M12.083 36h3c0-11.56 9.362-20.934 20.917-20.956v-3.001C22.788 12.065 12.083 22.783 12.083 36z"/></svg></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFAC33" d="M27.287 34.627c-.404 0-.806-.124-1.152-.371L18 28.422l-8.135 5.834c-.693.496-1.623.496-2.312-.008-.689-.499-.979-1.385-.721-2.194l3.034-9.792-8.062-5.681c-.685-.505-.97-1.393-.708-2.203.264-.808 1.016-1.357 1.866-1.363L12.947 13l3.179-9.549c.268-.809 1.023-1.353 1.874-1.353.851 0 1.606.545 1.875 1.353L23 13l10.036.015c.853.006 1.606.556 1.867 1.363.263.81-.022 1.698-.708 2.203l-8.062 5.681 3.034 9.792c.26.809-.033 1.695-.72 2.194-.347.254-.753.379-1.16.379z"/></svg>

After

Width:  |  Height:  |  Size: 555 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>Star Wars Day</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#FFAC33" d="M27.287 34.627c-.404 0-.806-.124-1.152-.371L18 28.422l-8.135 5.834c-.693.496-1.623.496-2.312-.008-.689-.499-.979-1.385-.721-2.194l3.034-9.792-8.062-5.681c-.685-.505-.97-1.393-.708-2.203.264-.808 1.016-1.357 1.866-1.363L12.947 13l3.179-9.549c.268-.809 1.023-1.353 1.874-1.353.851 0 1.606.545 1.875 1.353L23 13l10.036.015c.853.006 1.606.556 1.867 1.363.263.81-.022 1.698-.708 2.203l-8.062 5.681 3.034 9.792c.26.809-.033 1.695-.72 2.194-.347.254-.753.379-1.16.379z"/></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#A0041E" d="M1 17l8-7 16 1 1 16-7 8s.001-5.999-6-12-12-6-12-6z"/><path fill="#FFAC33" d="M.973 35s-.036-7.979 2.985-11S15 21.187 15 21.187 14.999 29 11.999 32c-3 3-11.026 3-11.026 3z"/><circle fill="#FFCC4D" cx="8.999" cy="27" r="4"/><path fill="#55ACEE" d="M35.999 0s-10 0-22 10c-6 5-6 14-4 16s11 2 16-4c10-12 10-22 10-22z"/><path d="M26.999 5c-1.623 0-3.013.971-3.641 2.36.502-.227 1.055-.36 1.641-.36 2.209 0 4 1.791 4 4 0 .586-.133 1.139-.359 1.64 1.389-.627 2.359-2.017 2.359-3.64 0-2.209-1.791-4-4-4z"/><path fill="#A0041E" d="M8 28s0-4 1-5 13.001-10.999 14-10-9.001 13-10.001 14S8 28 8 28z"/></svg></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFAC33" d="M22.88 33.097c-.098-.18-.25-.302-.418-.391C20.865 31 22 28.999 22 28.999c0-.553 1-2 0-2l-1 1c-1 1-1 4-1 4h-2c-.553 0-1 .447-1 1 0 .553.447 1 1 1h1.107l-.222.12c-.486.263-.667.869-.404 1.356.263.486.869.667 1.356.404l2.639-1.427c.486-.263.667-.869.404-1.355zm-7 0c-.097-.18-.25-.302-.417-.391C13.866 31 15 28.999 15 28.999c0-.553 1-2 0-2l-1 1c-1 1-1 4-1 4h-2c-.553 0-1 .447-1 1 0 .553.447 1 1 1h1.108l-.222.12c-.486.263-.667.869-.404 1.356.263.486.869.667 1.356.404l2.639-1.427c.485-.263.666-.869.403-1.355z"/><path fill="#BE1931" d="M5.134 7c2 5-3 5-2 7s5-2 3-7-1 0-1 0z"/><path fill="#FFAC33" d="M7 6c0 1.104 1.933 2 0 2S0 7 0 6s1.067-3 3-3 4 1.896 4 3z"/><path fill="#C1694F" d="M6 21C6 15 9.209 8 7 8 3 8 3 6.209 3 4s1.791-4 4-4c7 0 6 9 4 13-1.674 3.348-2.022 8-5 8z"/><path fill="#31373D" d="M36 17c0 7.959-5 11.3-10 11.249C23.966 30.045 21.073 31 18 31c-6.627 0-12-4.836-12-10.8 0-5.965 5.373-10.8 12-10.8 3-2.7 7-6.5 10-7.4 6 3.6 8 7.8 8 15z"/><circle fill="#292F33" cx="6" cy="3" r="1"/><path fill="#66757F" d="M17.984 9.4c-1.626.002-3.174.297-4.585.829 3.914-.229 6.351-.042 9.602 1.552-.923-1.515-3.392-2.381-5.017-2.381zm17.942 5.435c-.086-1.278-.254-2.456-.52-3.545-6.25 1.272-3.404 3.545.52 3.545zm-1.985-7.223c-.676-1.154-1.541-2.205-2.623-3.186-7.162 3.574-3.006 4.73 2.623 3.186zm1.212 14.473c-3.402-1.085-4.247.821-2.215 3.415-2.5-2.344-4.031-1.062-3.344 2-1.469-2.188-2.969-.208-3.594.749 3.761.038 7.52-1.844 9.153-6.164zM31.315 4.424C30.378 3.574 29.286 2.771 28 2c-7 3.688-2 4.406 3.315 2.424zm3.838 17.66C35.691 20.66 36 18.973 36 17c0-.755-.027-1.471-.074-2.163-4.61.382-3.801 2.882.006 3.351-3.557.062-4.181 2.25-.779 3.896zm-1.21-14.469c-6.427 2.385-3.693 4.291 1.462 3.673-.328-1.344-.808-2.557-1.462-3.673z"/></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>Thanksgiving</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#FFAC33" d="M22.88 33.097c-.098-.18-.25-.302-.418-.391C20.865 31 22 28.999 22 28.999c0-.553 1-2 0-2l-1 1c-1 1-1 4-1 4h-2c-.553 0-1 .447-1 1 0 .553.447 1 1 1h1.107l-.222.12c-.486.263-.667.869-.404 1.356.263.486.869.667 1.356.404l2.639-1.427c.486-.263.667-.869.404-1.355zm-7 0c-.097-.18-.25-.302-.417-.391C13.866 31 15 28.999 15 28.999c0-.553 1-2 0-2l-1 1c-1 1-1 4-1 4h-2c-.553 0-1 .447-1 1 0 .553.447 1 1 1h1.108l-.222.12c-.486.263-.667.869-.404 1.356.263.486.869.667 1.356.404l2.639-1.427c.485-.263.666-.869.403-1.355z"/><path fill="#BE1931" d="M5.134 7c2 5-3 5-2 7s5-2 3-7-1 0-1 0z"/><path fill="#FFAC33" d="M7 6c0 1.104 1.933 2 0 2S0 7 0 6s1.067-3 3-3 4 1.896 4 3z"/><path fill="#C1694F" d="M6 21C6 15 9.209 8 7 8 3 8 3 6.209 3 4s1.791-4 4-4c7 0 6 9 4 13-1.674 3.348-2.022 8-5 8z"/><path fill="#31373D" d="M36 17c0 7.959-5 11.3-10 11.249C23.966 30.045 21.073 31 18 31c-6.627 0-12-4.836-12-10.8 0-5.965 5.373-10.8 12-10.8 3-2.7 7-6.5 10-7.4 6 3.6 8 7.8 8 15z"/><circle fill="#292F33" cx="6" cy="3" r="1"/><path fill="#66757F" d="M17.984 9.4c-1.626.002-3.174.297-4.585.829 3.914-.229 6.351-.042 9.602 1.552-.923-1.515-3.392-2.381-5.017-2.381zm17.942 5.435c-.086-1.278-.254-2.456-.52-3.545-6.25 1.272-3.404 3.545.52 3.545zm-1.985-7.223c-.676-1.154-1.541-2.205-2.623-3.186-7.162 3.574-3.006 4.73 2.623 3.186zm1.212 14.473c-3.402-1.085-4.247.821-2.215 3.415-2.5-2.344-4.031-1.062-3.344 2-1.469-2.188-2.969-.208-3.594.749 3.761.038 7.52-1.844 9.153-6.164zM31.315 4.424C30.378 3.574 29.286 2.771 28 2c-7 3.688-2 4.406 3.315 2.424zm3.838 17.66C35.691 20.66 36 18.973 36 17c0-.755-.027-1.471-.074-2.163-4.61.382-3.801 2.882.006 3.351-3.557.062-4.181 2.25-.779 3.896zm-1.21-14.469c-6.427 2.385-3.693 4.291 1.462 3.673-.328-1.344-.808-2.557-1.462-3.673z"/></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#D99E82" d="M14 20c0 4.418-2 12.562-13.062 13C3.562 29.125 0 24.418 0 20c0-4.418 2.582-8 7-8s7 3.582 7 8z"/><path fill="#C1694F" d="M7.997 21.582c0-.028.003-.053.003-.082V18h.542c2.93 0 5.449 2.5 5.449 2.5 0-.553-2.157-4.5-5.741-4.5H8V9c0-.552-.448-1-1-1s-1 .448-1 1v7h-.541C1.876 16 .015 19.947.015 20.5c0 0 2.223-2.5 5.152-2.5H6v2.042c0 .393-.02.749-.032 1.12l-.431-.009C1.954 21.083 1.011 24.52 1 25.072c0 0 1.277-1.983 4.206-1.925l.634.013c-.105 1.051-.26 1.993-.453 2.837-1.737.379-3.27 1.81-3.36 2.197 0 0 1.87-.487 2.864-.423C3.401 32.095.938 33 .938 33c.371 0 3.43-.973 5.398-4.45l.379.179c.82.489 1.745 2.217 1.745 2.217.186-.396.138-2.914-1.294-4.241.321-.905.565-1.931.702-3.094 2.711.79 4.223 3.659 4.223 3.659.128-.53-.741-4.749-4.094-5.688z"/><path fill="#D99E82" d="M15.675 17.283c0 6.339 2.87 18.027 18.745 18.655-3.767-5.56 1.346-12.315 1.346-18.655 0-6.341-3.706-11.48-10.045-11.48-6.341-.001-10.046 5.139-10.046 11.48z"/><path fill="#C1694F" d="M28.296 21.8c4.201-.084 6.034 2.762 6.034 2.762-.017-.793-1.367-5.725-6.511-5.624l-.792.016c-.016-.523-.027-1.058-.027-1.611V15h1.349c4.205 0 7.394 3.023 7.394 3.023 0-.793-2.668-6.023-7.811-6.023H27V1.498c0-.792-.708-1.435-1.5-1.435-.793 0-1.5.643-1.5 1.435V12h-.073c-5.144 0-8.238 5.229-8.238 6.023 0 0 3.616-3.023 7.821-3.023H24v4.435c0 .072.004.14.005.211-4.573 1.502-5.77 7.325-5.589 8.068 0 0 2.062-3.917 5.771-5.163.209 1.724.586 3.239 1.077 4.566-1.843 1.948-1.896 5.322-1.638 5.872 0 0 1.324-2.479 2.503-3.181l.323-.152c2.846 4.915 7.217 6.281 7.746 6.281 0 0-3.507-1.288-5.625-7.495 1.37-.165 4.282.598 4.282.598-.131-.567-2.44-2.723-5.012-3.2-.268-1.197-.484-2.533-.632-4.02l1.085-.02z"/></svg></svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#DD2E44" d="M35.885 11.833c0-5.45-4.418-9.868-9.867-9.868-3.308 0-6.227 1.633-8.018 4.129-1.791-2.496-4.71-4.129-8.017-4.129-5.45 0-9.868 4.417-9.868 9.868 0 .772.098 1.52.266 2.241C1.751 22.587 11.216 31.568 18 34.034c6.783-2.466 16.249-11.447 17.617-19.959.17-.721.268-1.469.268-2.242z"/></svg>

After

Width:  |  Height:  |  Size: 369 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>Valentine's Day</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#DD2E44" d="M35.885 11.833c0-5.45-4.418-9.868-9.867-9.868-3.308 0-6.227 1.633-8.018 4.129-1.791-2.496-4.71-4.129-8.017-4.129-5.45 0-9.868 4.417-9.868 9.868 0 .772.098 1.52.266 2.241C1.751 22.587 11.216 31.568 18 34.034c6.783-2.466 16.249-11.447 17.617-19.959.17-.721.268-1.469.268-2.242z"/></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#DD2E44" d="M24.77 19.715c0-3.757-3.045-6.801-6.801-6.801-2.28 0-4.292 1.125-5.526 2.845-1.234-1.72-3.247-2.845-5.526-2.845-3.756 0-6.801 3.044-6.801 6.801 0 .531.067 1.049.183 1.545.945 5.867 7.468 12.059 12.144 13.758 4.675-1.699 11.2-7.891 12.142-13.756.117-.498.185-1.016.185-1.547zM35.885 5.693c0-2.602-2.109-4.711-4.711-4.711-1.579 0-2.973.78-3.828 1.972-.855-1.191-2.249-1.972-3.827-1.972-2.602 0-4.711 2.109-4.711 4.711 0 .369.047.727.127 1.07.654 4.064 5.173 8.353 8.411 9.529 3.238-1.177 7.758-5.465 8.412-9.528.08-.344.127-.702.127-1.071z"/></svg></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 36 36"><path fill="#FFAC33" d="M27.287 34.627c-.404 0-.806-.124-1.152-.371L18 28.422l-8.135 5.834c-.693.496-1.623.496-2.312-.008-.689-.499-.979-1.385-.721-2.194l3.034-9.792-8.062-5.681c-.685-.505-.97-1.393-.708-2.203.264-.808 1.016-1.357 1.866-1.363L12.947 13l3.179-9.549c.268-.809 1.023-1.353 1.874-1.353.851 0 1.606.545 1.875 1.353L23 13l10.036.015c.853.006 1.606.556 1.867 1.363.263.81-.022 1.698-.708 2.203l-8.062 5.681 3.034 9.792c.26.809-.033 1.695-.72 2.194-.347.254-.753.379-1.16.379z"/></svg>

After

Width:  |  Height:  |  Size: 555 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 140 80" role="img"><title>Veterans Day</title><svg x="0" y="5" width="74" height="74" viewBox="0 0 36 36"><path fill="#FFAC33" d="M27.287 34.627c-.404 0-.806-.124-1.152-.371L18 28.422l-8.135 5.834c-.693.496-1.623.496-2.312-.008-.689-.499-.979-1.385-.721-2.194l3.034-9.792-8.062-5.681c-.685-.505-.97-1.393-.708-2.203.264-.808 1.016-1.357 1.866-1.363L12.947 13l3.179-9.549c.268-.809 1.023-1.353 1.874-1.353.851 0 1.606.545 1.875 1.353L23 13l10.036.015c.853.006 1.606.556 1.867 1.363.263.81-.022 1.698-.708 2.203l-8.062 5.681 3.034 9.792c.26.809-.033 1.695-.72 2.194-.347.254-.753.379-1.16.379z"/></svg><svg x="78" y="3" width="58" height="58" viewBox="0 0 36 36"><path fill="#55ACEE" d="M25 0H11C9.896 0 9 .896 9 2v11s0 1 1 2l6.429 5h3.142L26 15c1-1 1-2 1-2V2c0-1.104-.896-2-2-2z"/><path fill="#E1E8ED" d="M12 0v16.555L16.429 20h3.142L24 16.555V0z"/><path fill="#DD2E44" d="M14 0v18.111L16.429 20h3.142L22 18.111V0z"/><path fill="#FFAC33" d="M21.902 21.02c.06-.163.098-.337.098-.52 0-.828-.672-1.5-1.5-1.5h-5c-.829 0-1.5.672-1.5 1.5 0 .183.038.357.098.52C11.654 22.389 10 25 10 28c0 4.418 3.581 8 8 8 4.418 0 8-3.582 8-8 0-3-1.654-5.611-4.098-6.98z"/><circle fill="#FFD983" cx="18" cy="28" r="6"/><path fill="#FFAC33" d="M20.731 32.36c-.119 0-.237-.036-.339-.109L18 30.535l-2.393 1.716c-.204.146-.477.146-.68-.002-.203-.147-.288-.407-.212-.645l.892-2.88-2.371-1.671c-.202-.149-.285-.41-.208-.648.078-.238.299-.399.549-.401L16.514 26l.935-2.809c.079-.238.301-.398.551-.398.25 0 .472.16.551.398L19.47 26l2.952.004c.251.002.472.163.549.401.077.238-.006.499-.208.648l-2.371 1.671.892 2.88c.076.238-.01.498-.212.645-.101.074-.221.111-.341.111z"/></svg></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

Loading…
Cancel
Save

Powered by TurnKey Linux.