Files
diyhrt/groups.io/g/MTFHRT/wiki/34293/history.html
T

2821 lines
92 KiB
HTML

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<meta name="theme-color" content="#1f4e79">
<meta name="pinterest" content="nopin" />
<meta name="pinterest" content="nohover" />
<meta name="3778517eb4810dfb5d143ed8f1b359b3b5a82923" content="0f56257c3db4a222e91b11bc6871c4df2e263b28" />
<link rel="apple-touch-icon" sizes="57x57" href="https://groups.io/orgimg/org.1/favicons/apple-icon-57x57.png?v=1411358049715440694">
<link rel="apple-touch-icon" sizes="60x60" href="https://groups.io/orgimg/org.1/favicons/apple-icon-60x60.png?v=1411358049715440694">
<link rel="apple-touch-icon" sizes="72x72" href="https://groups.io/orgimg/org.1/favicons/apple-icon-72x72.png?v=1411358049715440694">
<link rel="apple-touch-icon" sizes="76x76" href="https://groups.io/orgimg/org.1/favicons/apple-icon-76x76.png?v=1411358049715440694">
<link rel="apple-touch-icon" sizes="114x114" href="https://groups.io/orgimg/org.1/favicons/apple-icon-114x114.png?v=1411358049715440694">
<link rel="apple-touch-icon" sizes="120x120" href="https://groups.io/orgimg/org.1/favicons/apple-icon-120x120.png?v=1411358049715440694">
<link rel="apple-touch-icon" sizes="144x144" href="https://groups.io/orgimg/org.1/favicons/apple-icon-144x144.png?v=1411358049715440694">
<link rel="apple-touch-icon" sizes="152x152" href="https://groups.io/orgimg/org.1/favicons/apple-icon-152x152.png?v=1411358049715440694">
<link rel="apple-touch-icon" sizes="180x180" href="https://groups.io/orgimg/org.1/favicons/apple-icon-180x180.png?v=1411358049715440694">
<link rel="icon" type="image/png" sizes="192x192" href="../../../../orgimg/org.1/favicons/android-icon-192x192.png%3Fv=1411358049715440694">
<link rel="icon" type="image/png" sizes="32x32" href="../../../../orgimg/org.1/favicons/favicon-32x32.png%3Fv=1411358049715440694">
<link rel="icon" type="image/png" sizes="96x96" href="../../../../orgimg/org.1/favicons/favicon-96x96.png%3Fv=1411358049715440694">
<link rel="icon" type="image/png" sizes="16x16" href="../../../../orgimg/org.1/favicons/favicon-16x16.png%3Fv=1411358049715440694">
<link rel="manifest" href="../../../../orgimg/org.1/favicons/manifest.json%3Fv=1411358049715440694">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<script>
/* stubs */
const hapticsImpactHeavy = async () => {
};
const hapticsImpactMedium = async () => {
};
const hapticsImpactLight = async () => {
};
const hapticsVibrate = async () => {
};
const hapticsSelectionStart = async () => {
};
const hapticsSelectionChanged = async () => {
};
const hapticsSelectionEnd = async () => {
};
</script>
<script>
function setPullToRefresh() {}
function gotoURL(inurl) {
window.location.href = inurl;
return;
}
function contentLoaded(isHTMX, f, caller = "") {
console.log("contentLoaded: " + isHTMX + " " + caller);
if (isHTMX == true) {
document.body.addEventListener('htmx:afterSettle', f, {once: true});
} else {
if (document.readyState !== 'loading') {
console.log('document is already ready, just execute code here');
f();
} else {
console.log('document was not ready, place code here');
document.addEventListener('DOMContentLoaded', f, {once: true});
}
}
}
function HideAppSidebarOnKeyboard() {
console.log("In HideAppSidebarOnKeyboard");
}
// stub
function logError(data, url, linenumber) {
console.log(data)
return;
}
var pushSubToken;
var ignoreErrors = false;
var lastError = "";
// Auto-hide the fixed app top navbar on reading-heavy pages. The
// navbar tracks scroll delta 1:1 in both directions: scrolling down
// slides it off at the same pixel rate as the page; scrolling up —
// even one pixel — starts bringing it back at the same rate. When
// the user is at the very top, it's always fully visible. Opt-in
// per page; xs only. Bottom tab bar is untouched.
function EnableTopbarAutoHide() {
if (document.documentElement.clientWidth > 767) return;
var body = document.body;
body.classList.add('auto-hide-topbar');
// Measure the actual headerbar height so notched devices (iOS)
// hide the full bar including the safe-area-inset-top padding,
// not just the 50px content row. Fall back to 50 if the
// element isn't found for any reason.
var headerEl = document.getElementById('headerbar');
var navHeight = headerEl ? headerEl.offsetHeight : 50;
var offset = 0;
var lastY = window.scrollY;
function onScroll() {
var y = window.scrollY;
var dy = y - lastY;
lastY = y;
if (y <= 0) {
offset = 0;
} else {
offset -= dy;
if (offset > 0) offset = 0;
if (offset < -navHeight) offset = -navHeight;
}
body.style.setProperty('--topbar-offset', offset + 'px');
}
window.addEventListener('scroll', onScroll, { passive: true });
gioDestroy(function() {
window.removeEventListener('scroll', onScroll);
body.classList.remove('auto-hide-topbar');
body.style.removeProperty('--topbar-offset');
});
}
var gioBundleReported = false;
function gioReport(fields) {
try {
var pairs = [];
for (var k in fields) {
if (fields[k] !== undefined && fields[k] !== null) {
pairs.push(encodeURIComponent(k) + '=' + encodeURIComponent(fields[k]));
}
}
var xhr = new XMLHttpRequest();
xhr.open('POST', '/jsclienterror', true);
xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
xhr.send(pairs.join('&'));
} catch (e) {}
}
// The report cannot depend on the application bundle: when the bundle
// is what failed to load, a jQuery transport has nothing to stand on.
// The script tag's onerror stores the src if it fires before this
// script runs.
window.__gioBundleFailed = function(src) {
if (gioBundleReported) return;
gioBundleReported = true;
gioReport({
msg: "bundle-load-failure",
url: src,
client_id: "web.app01-g2.784261.1792548509493164967"
});
};
if (window.__gioBundleErr) {
window.__gioBundleFailed(window.__gioBundleErr);
}
window.onerror = function(errorMessage, errorUrl, errorLine, errorColumn, errorObj) {
let column;
let stack;
if (console && console.log) {
console.log("msg:", errorMessage);
console.log("url:", errorUrl);
console.log("line:", errorLine);
if (errorColumn !== undefined && errorObj != null) {
console.log("column:", errorColumn);
column = errorColumn;
}
if (errorObj !== undefined && errorObj != null) {
console.log("stack:", errorObj.stack);
stack = errorObj.stack;
}
console.log("client_id:", "web.app01-g2.784261.1792548509493164967");
console.log("last_error:", lastError);
console.log("stack:", stack);
}
if (errorUrl == "" || errorUrl === null) {
errorUrl = window.location.href;
}
if (errorMessage.includes("SecurityError:") == true) {
ignoreErrors = true;
}
if (ignoreErrors == true) {
console.log("cookies, disabled, ignoring");
lastError = errorMessage;
return;
}
// With the bundle absent, every reference to a bundle global and
// every style-injection into the missing sheet throws; the
// bundle-load-failure report already carries the cause, so the
// cascade is noise.
if ((typeof jQuery === 'undefined' || typeof htmx === 'undefined') &&
(errorMessage.indexOf("is not defined") !== -1 || errorMessage.indexOf("Can't find variable") !== -1 || errorMessage.indexOf("insertRule") !== -1)) {
lastError = errorMessage;
return;
}
var ignoreMessages = ["ResizeObserver loop limit exceeded",
"TypeError: can't redefine non-configurable property \"userAgent\"",
"TypeError: can't redefine non-configurable property \"getChannelData\"",
"ReferenceError: tinymce is not defined",
"Uncaught ReferenceError: timeoutId is not defined",
"ReferenceError: Can't find variable: tinymce"];
for (var i = 0; i < ignoreMessages.length; i++) {
if (errorMessage === ignoreMessages[i]) {
lastError = errorMessage;
return;
}
}
if (errorUrl.indexOf("safari-extension:") === 0 || errorUrl.indexOf("moz-extension:") === 0 || errorUrl.indexOf("chrome-extension:") === 0) {
lastError = errorMessage;
return;
}
if (errorUrl.indexOf("googletagmanager.com") !== -1 || errorUrl.indexOf("socialsearch.com") !== -1) {
lastError = errorMessage;
return;
}
if (errorLine === 0 || errorLine === 1) {
lastError = errorMessage;
return;
}
gioReport({
msg: errorMessage,
url: errorUrl,
line: errorLine,
column: column,
stack: stack,
last_error: lastError,
client_id: "web.app01-g2.784261.1792548509493164967"
});
lastError = errorMessage;
return true;
}
</script>
<script src="../../../../tinymce-5.10.9/tinymce.min.js"></script>
<script src="../../../../js/browser-image-compression-2.0.2.min.js"></script>
<link href="../../../../css/application-c561a9115460dce982df05454b4b5404.css" rel="stylesheet" id="groupsio-css">
<script src="../../../../js/application-35e32ae82e031022fd4bf6938772adce.js" id="groupsio-js" onerror="(window.__gioBundleFailed||function(s){window.__gioBundleErr=s})(this.src)"></script>
<script src="../../../../js/run_prettify.js"></script>
<title>MTFHRT@groups.io | Wiki | steam sterilization | History</title>
<link rel="stylesheet" type="text/css" href="../../../../css/cookieconsent-3.1.0.min.css" />
<script src="../../../../js/cookieconsent-3.1.0.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#d9edf7",
"text": "#31708f"
},
"button": {
"background": "#1b7a9a",
"text": "#ffffff"
}
},
"cookie": {
"domain": ".groups.io"
},
"content": {
"message": "Our site uses cookies so that we can remember you and understand how you and other visitors use our site, to improve your browsing experience and help us improve our site. By continuing to use our website, you agree to our use of such cookies.",
"dismiss": "I Agree",
"href": "https://groups.io/static/cookie_policy"
},
"elements": {
"dismiss": '<a role=button tabindex="0" class="cc-btn cc-dismiss">{{dismiss}}</a>'
}
})});
</script>
<script>
htmx.config.scrollBehavior = "instant";
htmx.config.historyCacheSize = 0;
htmx.config.defaultSettleDelay = 0;
console.log("FULL PAGE LOAD");
// Short fade-in on #maincontent-refresh after every HTMX swap — adds zero latency
// because it runs AFTER the new content has arrived. We listen to afterRequest
// (fires once per HTMX request) rather than afterSwap (fires once per swapped
// element, including every hx-swap-oob badge — which would cancel the animation).
// Listen on document because this script runs in <head> before <body> exists.
document.addEventListener('htmx:afterRequest', function(evt) {
if (!evt.detail || !evt.detail.successful) return;
var refresh = document.getElementById('maincontent-refresh');
if (!refresh) return;
refresh.classList.remove('gio-fade-in');
// force reflow so removing then adding re-starts the animation each time
void refresh.offsetWidth;
refresh.classList.add('gio-fade-in');
});
// Top-of-viewport progress bar shown while an HTMX request is in flight.
// Provides immediate visual feedback for taps even before content arrives.
document.addEventListener('htmx:beforeRequest', function() {
var bar = document.getElementById('gio-progress-bar');
if (bar) bar.classList.add('active');
});
document.addEventListener('htmx:afterRequest', function() {
var bar = document.getElementById('gio-progress-bar');
if (bar) bar.classList.remove('active');
});
// Bootstrap appends an open tooltip to <body>, outside the content HTMX
// replaces, so clicking a boosted link while its tooltip shows would leave
// the tooltip stranded on the new page. Dispose of the open tooltips
// whose triggers are about to be swapped out.
document.addEventListener('htmx:beforeSwap', function(evt) {
var target = evt.detail && evt.detail.target;
if (!target || typeof bootstrap === 'undefined') return;
target.querySelectorAll('[aria-describedby^="tooltip"]').forEach(function(el) {
var tip = bootstrap.Tooltip.getInstance(el);
if (tip) tip.dispose();
});
});
// The fixed #headerbar covers the top of the viewport, but Popper only
// knows about the viewport edge, so a dropup can open with its top items
// hidden under the navbar. Count the navbar's height as unavailable so
// such menus flip to open downward instead.
bootstrap.Dropdown.Default.popperConfig = function(config) {
var header = document.getElementById('headerbar');
var top = header ? header.getBoundingClientRect().height : 0;
config.modifiers.push({name: 'flip', options: {padding: {top: top}}});
return config;
};
// Haptic feedback on mobile-native chrome taps: bottom-nav tabs, back
// chevron, and the navbar overflow action slot. Uses the shared helpers
// from qtutils/appfunctions.qtpl — they no-op on non-Capacitor runtimes,
// so this is safe on the plain web too.
document.addEventListener('click', function(ev) {
if (typeof hapticsSelectionChanged !== 'function') return;
var target = ev.target;
if (!target || !target.closest) return;
if (target.closest('.mobilesidebar-item') ||
target.closest('#logo a') ||
target.closest('#header-action-slot a')) {
hapticsSelectionChanged();
}
}, true);
// A sortable column header inside a form marked data-sort-keeps-selection, while
// rows are selected, submits that form with the new sort, the same way the form's
// pager does, so the rows checked on this and other pages stay checked. The
// attribute's value is the name of the row checkboxes. With nothing selected,
// anywhere else, or when opened in a new tab, it is an ordinary link. This runs
// in the capture phase so that the form is submitted instead of HTMX following
// the link.
document.addEventListener('click', function(ev) {
if (ev.button !== 0 || ev.ctrlKey || ev.metaKey || ev.shiftKey || ev.altKey) return;
var target = ev.target;
if (!target || !target.closest) return;
var link = target.closest('a[data-sort-p]');
if (!link) return;
var form = link.closest('form[data-sort-keeps-selection]');
if (!form) return;
var p = form.querySelector('input[name="p"]');
if (!p) return;
var rowName = form.getAttribute('data-sort-keeps-selection');
var otherIDs = form.querySelector('input[name="otherids"]');
var checkedHere = rowName && form.querySelector('input[type="checkbox"][name="' + rowName + '"]:checked');
if (!checkedHere && !(otherIDs && otherIDs.value)) return;
ev.preventDefault();
ev.stopPropagation();
p.value = link.getAttribute('data-sort-p');
form.submit();
}, true);
</script>
</head>
<body id="body" class="" hx-headers='{"Accept-Version": "748965f045751d20eb0270de43b14f09256f4e6b"}' hx-ext="preload" hx-boost="false">
<a id="skip-link" class="skip-link visually-hidden-focusable" href="history.html#maincontent">Skip to main content</a>
<div id="page-announcer" class="visually-hidden" role="status"></div>
<div id="gio-progress-bar" aria-hidden="true"></div>
<script>
if (window.matchMedia) {
var darkModeQuery = window.matchMedia('(prefers-color-scheme: dark)');
if (darkModeQuery.matches) {
document.body.classList.add('dark-mode');
}
var darkModeChanged = function(e) {
document.body.classList.toggle('dark-mode', e.matches);
};
if (darkModeQuery.addEventListener) {
darkModeQuery.addEventListener('change', darkModeChanged);
} else if (darkModeQuery.addListener) {
// Safari before 14 has no addEventListener on MediaQueryList
darkModeQuery.addListener(darkModeChanged);
}
}
</script>
<div class="navbar navbar-head navbar-fixed-top navbar-expand-md fixed-top" role="navigation" id="headerbar">
<div class="container-fluid" style="padding-left:0px;">
<a href="https://groups.io" hx-boost="false" hx-disinherit="*">
<img src="../../../../orgimg/org.1/mainlogo.png%3Fv=1411358049715440694" height="50" alt="Groups.io">
</a>
<ul class="nav navbar-nav d-none d-lg-flex">
<li>
<a href="https://groups.io/search" class="nav-link">
Find or Create a Group
</a>
</li>
</ul>
<ul class="nav navbar-nav float-end d-md-none" style="margin-top:5px;margin-bottom:5px;">
<li>
<a href="history.html#" data-bs-toggle="modal" data-bs-target="#mobileAccount" class="nav-link" aria-label="Menu">
<i class="fa-fw fa fa-bars fa-lg"></i>
</a>
</li>
</ul>
<ul class="nav navbar-nav float-end d-none d-md-flex">
<li class="dropdown">
<a href="history.html#" class="dropdown-toggle nav-link" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa-fw fa-regular fa-globe"></i>
English
<b class="caret"></b>
</a>
<ul class="dropdown-menu dropdown-menu-end">
<li>
<a class="dropdown-item" href="https://groups.io/setlang/ar">
العربية
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/de">
Deutsch
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/unsetlang">
English
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/es">
Español
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/fr">
Français
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/it">
Italiano
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/nl">
Nederlands
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/pt-br">
Português do Brasil
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/pt">
Português
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/uk">
Українська
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/zh-hans">
简体中文
</a>
</li>
</ul>
</li>
<li>
<a href="https://groups.io/helpcenter" target="_blank" class="nav-link">
Help
</a>
</li>
<li>
<a id="login" href="https://groups.io/login" hx-boost="false" hx-disinherit="*" class="nav-link">
<i class="fa fa-sign-in-alt"></i>
Log In
</a>
</li>
<li>
<a href="https://groups.io/register" class="nav-link">
<i class="fa fa-user"></i>
Sign Up
</a>
</li>
</ul>
</div>
</div>
<div class="modal fade" id="mobileAccount" tabindex="-1" role="dialog" aria-label="Menu">
<div class="modal-dialog" style="margin-top:50px;">
<div class="modal-content">
<div class="modal-body">
<ul class="list-group noborderlist">
<li class="noborderitem list-group-item">
<a href="https://groups.io/login" hx-boost="false" hx-disinherit="*">
<i class="fa fa-sign-in-alt"></i>
Log In
</a>
</li>
<li class="noborderitem list-group-item">
<a href="https://groups.io/register">
<i class="fa fa-user"></i>
Sign Up
</a>
</li>
<li class="noborderitem list-group-item">
<a href="https://groups.io/helpcenter" target="_blank">
<i class="fa-fw fa fa-question-circle"></i>
Help
</a>
</li>
<li class="dropdown noborderitem list-group-item">
<a href="history.html#" class="dropdown-toggle nav-link" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa-fw fa-regular fa-globe"></i>
English
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item" href="https://groups.io/setlang/ar">
العربية
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/de">
Deutsch
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/unsetlang">
English
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/es">
Español
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/fr">
Français
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/it">
Italiano
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/nl">
Nederlands
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/pt-br">
Português do Brasil
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/pt">
Português
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/uk">
Українська
</a>
</li>
<li>
<a class="dropdown-item" href="https://groups.io/setlang/zh-hans">
简体中文
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<script>
var groupnavigatorData = [
];
</script>
<!-- Modal Dialog for Autocomplete -->
<div class="modal fade" id="groupnavigatorModal" tabindex="-1" role="dialog" aria-label="Go to group..." aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-body">
<input type="text" class="form-control" id="groupnavigatorInput" placeholder="Go to group..." aria-label="Go to group..." role="combobox" aria-autocomplete="list" aria-expanded="false" aria-controls="groupnavigatorContainer" autocomplete="off" style="margin-bottom:10px">
<div id="groupnavigatorContainer" class="autocompleteResults" role="listbox" aria-label="Go to group..." style="max-height:250px; overflow-y: auto;"></div>
<div id="groupnavigatorStatus" class="visually-hidden" role="status" data-results-label="results"></div>
<div class="text-center" style="margin-top:10px; font-size:12px;"><i class="fa-sharp fa-arrow-up-arrow-down"></i> to navigate&nbsp;&nbsp;&nbsp;<i class="fa-sharp fa-arrow-turn-down-left"></i> to use&nbsp;&nbsp;&nbsp;<strong>esc</strong> to dismiss</div>
</div>
</div>
</div>
</div>
<script>
// Keep track of the currently selected index
var selectedIndex = -1;
// Function to highlight the matched substring
function highlightSubstring(str, substring) {
var index = str.toLowerCase().indexOf(substring.toLowerCase());
if (index !== -1) {
var before = str.substring(0, index);
var middle = str.substring(index, index + substring.length);
var after = str.substring(index + substring.length);
return before + '<span class="autocomplete-highlight">' + middle + '</span>' + after;
}
return str;
}
// Function to highlight the selected item and ensure it is visible in the scrollable list
function highlightSelectedItem(modalName) {
var listContainer = document.getElementById(modalName + 'Container');
var items = document.getElementsByClassName(modalName + '-list-item');
var input = document.getElementById(modalName + 'Input');
Array.from(items).forEach(function(item, idx) {
item.className = idx === selectedIndex ? modalName + '-list-item autocomplete-list-item btn-primary no-hover' : modalName + '-list-item autocomplete-list-item no-hover'; // Apply btn-primary class to the selected item
item.setAttribute('aria-selected', idx === selectedIndex ? 'true' : 'false');
});
// Point the combobox at the highlighted option, so screen readers
// announce it as the arrow keys move.
if (selectedIndex >= 0 && selectedIndex < items.length) {
input.setAttribute('aria-activedescendant', items[selectedIndex].id);
} else {
input.removeAttribute('aria-activedescendant');
}
if (items.length > 0 && selectedIndex >= 0) {
var selectedItem = items[selectedIndex];
var containerTop = listContainer.scrollTop;
var containerBottom = containerTop + listContainer.clientHeight;
var itemTop = selectedItem.offsetTop;
var itemBottom = itemTop + selectedItem.offsetHeight;
const fudge = 59;
if (selectedIndex > 0 && itemTop > containerBottom) {
// If there are items below the selected item and the selected item is not fully visible, scroll down
listContainer.scrollTop = itemTop - listContainer.clientHeight + items[selectedIndex - 1].offsetHeight;
} else if (selectedIndex < items.length - 1 && (itemTop - fudge) < containerTop) {
// If there are items above the selected item and the selected item is not fully visible, scroll up
listContainer.scrollTop = itemTop - fudge - items[selectedIndex + 1].offsetHeight;
}
}
}
// function to populate the list based on the input
function populateList(modalName, data) {
var input = document.getElementById(modalName+'Input').value;
var listContainer = document.getElementById(modalName+'Container');
listContainer.innerHTML = '';
var count = 0;
data.forEach(function(item) {
if (item.name.toLowerCase().includes(input.toLowerCase())) {
var div = document.createElement('div');
div.innerHTML = highlightSubstring(item.name, input);
div.className = modalName+'-list-item autocomplete-list-item no-hover'; // Apply no-hover class
div.id = modalName + 'Option' + count;
div.setAttribute('role', 'option');
div.setAttribute('aria-selected', 'false');
count++;
div.addEventListener('click', function() {
// Navigate to the specified URL when a list item is clicked
window.location.href = item.url;
});
div.addEventListener('mousemove', function() {
// Remove no-hover class from all items when the mouse is moved over any item
console.log("mouse move");
var items = document.getElementsByClassName(modalName+'-list-item');
Array.from(items).forEach(function(item) {
item.classList.remove('no-hover');
});
});
listContainer.appendChild(div);
}
});
document.getElementById(modalName + 'Input').setAttribute('aria-expanded', count > 0 ? 'true' : 'false');
var status = document.getElementById(modalName + 'Status');
status.textContent = count + ' ' + status.getAttribute('data-results-label');
highlightSelectedItem(modalName);
}
function InitAutocomplete(modalName, data) {
// Focus the input field when the modal is shown and populate the list
$('#' + modalName + 'Modal').on('shown.bs.modal', function () {
$('#' + modalName + 'Input').focus().val('');
populateList(modalName, data);
selectedIndex = 0;
highlightSelectedItem(modalName);
});
// Event listener for input field typing
document.getElementById(modalName + 'Input').addEventListener('input', function() {
populateList(modalName, data);
selectedIndex = 0;
highlightSelectedItem(modalName);
});
// Event listener for arrow keys and enter key
document.getElementById(modalName + 'Input').addEventListener('keydown', function(event) {
var items = document.getElementsByClassName(modalName + '-list-item');
if (event.key === 'ArrowDown') {
event.preventDefault();
if (selectedIndex < items.length - 1) selectedIndex++;
highlightSelectedItem(modalName);
} else if (event.key === 'ArrowUp') {
event.preventDefault();
if (selectedIndex > 0) selectedIndex--;
highlightSelectedItem(modalName);
} else if (event.key === 'Enter' && selectedIndex >= 0 && selectedIndex < items.length) {
event.preventDefault();
items[selectedIndex].click();
}
});
}
function showAutocompleteModal(modalName) {
$('#' + modalName + 'Modal').modal('show');
selectedIndex = -1;
}
</script>
<div id="content" class="container-fluid">
<script>
InitAutocomplete("groupnavigator", groupnavigatorData);
document.body.addEventListener("showReloadPageDialog", function(evt) {
console.log("Forced reload");
location.reload();
});
// ShowHeaderAction adds an icon button (e.g. settings cog) to the mobile navbar,
// to the left of the profile icon. modalTarget is optional — if given, clicking
// opens that Bootstrap modal. ariaLabel is for accessibility.
function ShowHeaderAction(iconClass, modalTarget, ariaLabel) {
var slot = document.getElementById("header-action-slot");
if (!slot) {
return;
}
slot.innerHTML = '';
var a = document.createElement('a');
a.href = '#';
a.className = 'navbar-action-xs';
if (ariaLabel) {
a.setAttribute('aria-label', ariaLabel);
}
if (modalTarget) {
a.setAttribute('data-bs-toggle', 'modal');
a.setAttribute('data-bs-target', modalTarget);
}
var icon = document.createElement('i');
icon.className = iconClass;
a.appendChild(icon);
slot.appendChild(a);
slot.style.display = '';
var bar = document.getElementById("headerbar");
if (bar) {
bar.classList.add('has-header-action');
}
}
function HideHeaderAction() {
var slot = document.getElementById("header-action-slot");
if (slot) {
slot.innerHTML = '';
slot.style.display = 'none';
slot.style.float = 'left';
}
var bar = document.getElementById("headerbar");
if (bar) {
bar.classList.remove('has-header-action');
}
}
function goBack() {
history.back();
}
// --- Native date/time picker helpers -----------------------------------
// On touch devices we swap flatpickr-wrapped <input type="text"> fields
// for native <input type="date"> / type="time" so iOS / Android bring up
// their OS pickers (wheel, spinner, Material dialog). On pointer
// devices we leave the flatpickr popover in place, since Chrome's
// default date popover looks out of place. Both helpers are global so
// every page with a date/time input can call them the same way.
window.__isTouchPicker = function() {
return window.matchMedia && window.matchMedia('(any-pointer: coarse)').matches;
};
// Fallback formats if data.User is nil on this page (logged out, etc).
window.__userDateFmt = "M/D/YYYY";
window.__userTimeFmt = "h:mmA";
// Hybrid native picker: the field is shown to the user as a plain
// type=text input holding the date/time formatted per the user's
// Groups.io preference (e.g., "19/04/2026" for an International
// user). When the user taps the field, we briefly swap the input's
// type to 'date' or 'time' so the OS brings up its native picker
// (iOS wheel, Android calendar/spinner). When the user finishes
// picking and blurs the field, we swap back to text and reformat
// the value in the user's chosen format. The server sees the
// user-format value on submit, same as with flatpickr.
//
// `kind` is 'date' or 'time'. `onHumanChange(humanStr, momentObj)`
// fires whenever the user picks a new value, with the value already
// in the user's format.
window.useNativePicker = function(id, kind, onHumanChange) {
var input = document.getElementById(id);
if (!input) return null;
var userFmt = kind === 'time' ? window.__userTimeFmt : window.__userDateFmt;
var isoFmt = kind === 'time' ? 'HH:mm' : 'YYYY-MM-DD';
// Page loads with input type=text holding a user-format value —
// leave it as is until the user actually taps.
function toPicker() {
if (input.type !== kind) {
var m = moment(input.value, userFmt);
input.type = kind;
input.value = m.isValid() ? m.format(isoFmt) : '';
}
}
function toDisplay() {
if (input.type === kind) {
var m = moment(input.value, isoFmt);
input.type = 'text';
input.value = m.isValid() ? m.format(userFmt) : '';
}
}
// pointerdown fires before focus/click so we can swap the type
// in time for the browser's default tap-handling to open the
// correct native picker. Fall back to 'focus' for keyboard users.
input.addEventListener('pointerdown', toPicker);
input.addEventListener('focus', toPicker);
input.addEventListener('change', function() {
if (input.type === kind) {
var m = moment(input.value, isoFmt);
if (m.isValid() && onHumanChange) {
onHumanChange(m.format(userFmt), m);
}
}
});
input.addEventListener('blur', toDisplay);
// Make sure the server always sees the user-format value.
var form = input.closest('form');
if (form) form.addEventListener('submit', toDisplay);
return input;
};
// Set a field's value as a user-format string, whether the field is a
// flatpickr-wrapped text input (desktop) or a native type=date/time
// input (touch). Used by onChange handlers that update sibling fields.
window.setFieldHuman = function(id, humanStr, kind) {
var input = document.getElementById(id);
if (!input) return;
if (input._flatpickr) {
input._flatpickr.setDate(humanStr);
} else if (input.type === 'date' || input.type === 'time') {
var userFmt = kind === 'time' ? window.__userTimeFmt : window.__userDateFmt;
var isoFmt = kind === 'time' ? 'HH:mm' : 'YYYY-MM-DD';
var m = moment(humanStr, userFmt);
if (m.isValid()) input.value = m.format(isoFmt);
} else {
input.value = humanStr;
}
};
// submitEvent acts like .submit(), except it is compatible with the app, by using events instead.
function submitEvent(ele) {
console.log("in submitEvent");
if (ele.startsWith('#')) {
ele = ele.slice(1);
}
document.getElementById(ele).submit();
return;
/*
const theEvent = new CustomEvent('submit', {
bubbles: true,
cancelable: true
});
if (typeof ele === 'string' || ele instanceof String) {
if (ele.startsWith("#") == true) {
ele = ele.slice(1);
}
if (document.getElementById(ele).dispatchEvent(theEvent) == true) {
// if not cancelled, do normal submit
console.log("calling submit");
document.getElementById(ele).submit();
}
return;
}
// assume ele is the element
if (ele.dispatchEvent(theEvent) == true) {
// if not cancelled, do normal submit
console.log("calling submit");
ele.submit();
}
*/
}
// gioDestroy is a convenience function for destroy callbacks
function gioDestroy(eventCB) {
let internalGioDestroy = function(evt) {
// do not activate on infinite scroll events
if (evt.detail.target !== undefined && evt.detail.target.id != "maincontent-refresh") {
console.log("Ignoring infinite scroll event");
return;
}
// Removed here rather than registered with {once: true}, which
// would discard the listener on the ignored swaps above.
document.body.removeEventListener("htmx:beforeSwap", internalGioDestroy);
document.body.removeEventListener("htmx:historyCacheMiss", internalGioDestroy);
console.log("Calling destroy callback");
eventCB(evt);
}
document.body.addEventListener("htmx:beforeSwap", internalGioDestroy);
document.body.addEventListener("htmx:historyCacheMiss", internalGioDestroy);
}
var drawerCloseFunc = function(evt) {
console.log("in drawerCloseFunc");
// Find all elements with the class 'drawer'
var drawers = document.querySelectorAll('.drawer');
// Iterate over each element and call closeDrawer() on each
drawers.forEach(function(obj) {
drawerObj.closeDrawer(obj);
});
$('.modal').modal('hide');
}
document.body.addEventListener('htmx:beforeSwap', drawerCloseFunc);
document.body.addEventListener('htmx:historyCacheMiss', drawerCloseFunc);
var keydownFunc = function(event) {
var tagName = (event.target.tagName || "").toLowerCase();
if (tagName === 'input' || tagName === 'textarea' || event.target.isContentEditable) {
return;
}
// check if the viewimages viewer is up
let element = document.getElementById('overlay');
if (element && element.classList.contains('visible')) {
return;
}
if (event.ctrlKey && event.shiftKey && (event.key === '?' || event.key === '/')) {
event.preventDefault(); // Prevent the default action
// Show the modal dialog for keyboard shortcuts
$('#shortcutModal').modal('show');
return;
}
// Pressing the chord above delivers a keydown for each key in it:
// Control, then Shift, then '?'. Without this guard the first two fall
// through to the hide below, so re-pressing the chord while the modal is
// open starts a hide that the '?' a moment later interrupts with a show.
// Bootstrap 3 tracks only its most recent backdrop element, so each such
// overlap strands the previous one in the DOM as an undismissable mask.
if (event.key === 'Control' || event.key === 'Shift' || event.key === 'Alt' || event.key === 'Meta') {
return;
}
// The shortcuts modal closes on Escape, which Bootstrap handles; Tab
// and other keys stay inside it.
if (event.key.toLowerCase() === 'g') {
// For Windows and Linux
if (event.ctrlKey) {
event.preventDefault();
$('#shortcutModal').modal('hide');
showAutocompleteModal("groupnavigator");
return;
}
}
// Check if the pressed key is '/'
if ((event.key === 'f' || event.key === 'F') && event.shiftKey) {
if (navigator.platform.toUpperCase().indexOf('MAC') >= 0) {
if (event.metaKey) {
event.preventDefault(); // Prevent the default action
// Focus on the search box
let box = document.getElementById('searchbox')
if (box != null) {
document.getElementById('searchbox').focus();
}
}
} else {
// For Windows and Linux
if (event.ctrlKey) {
event.preventDefault(); // Prevent the default action
// Focus on the search box
let box = document.getElementById('searchbox')
if (box != null) {
document.getElementById('searchbox').focus();
}
}
}
}
}
document.addEventListener('keydown', keydownFunc);
var removeDrawerCloseFunc = function(evt) {
document.body.removeEventListener('htmx:beforeSwap', drawerCloseFunc);
document.body.removeEventListener('htmx:historyCacheMiss', drawerCloseFunc);
document.removeEventListener('keydown', keydownFunc);
}
document.body.addEventListener("htmx:historyCacheMiss", removeDrawerCloseFunc, {once: true});
// Check for passkey enrollment prompt after cross-device authentication
$(function() {
if (sessionStorage.getItem('passkeyPromptAfterCDA') === 'true') {
console.log('Passkey CDA flag detected, showing enrollment modal');
// Show the modal
$('#passkeyEnrollmentModal').modal('show');
// Clear the flag when modal is dismissed
$('#passkeyEnrollmentModal').on('hidden.bs.modal', function() {
console.log('Modal dismissed, clearing flag');
sessionStorage.removeItem('passkeyPromptAfterCDA');
});
// Set up enrollment button handler
var enrollBtn = document.getElementById('enrollLocalPasskeyBtn');
if (enrollBtn) {
enrollBtn.addEventListener('click', function() {
console.log('Enrollment button clicked');
// Redirect to settings page where they can add a passkey
sessionStorage.removeItem('passkeyPromptAfterCDA');
window.location.href = 'https://groups.io/settings/security';
});
}
}
});
</script>
<!-- Passkey Enrollment Modal -->
<div class="modal fade webauthn-only" id="passkeyEnrollmentModal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
<h4 class="modal-title">
<i class="fa fa-fingerprint"></i>
Add a Passkey to This Device
</h4>
</div>
<div class="modal-body">
<p>
You logged in using a passkey from another device. For faster access next time, add a passkey to this device.
</p>
<p>
<strong>Benefits:</strong>
</p>
<ul>
<li>Faster login with just your fingerprint or face</li>
<li>No need to use your phone each time</li>
<li>Works even when offline</li>
</ul>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
Maybe Later
</button>
<button type="button" class="btn btn-primary" id="enrollLocalPasskeyBtn">
<i class="fa fa-plus"></i>
Add Passkey Now
</button>
</div>
</div>
</div>
</div>
<!-- Modal Dialog for Keyboard Shortcuts -->
<div class="modal fade" id="shortcutModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Keyboard Shortcuts</h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-3 text-right"><strong>ctrl</strong> + <strong>shift</strong> + <strong>?</strong>&nbsp;&nbsp;:</div>
<div class="col-9" style="margin-left: -23px;">Show all keyboard shortcuts</div>
</div>
<div class="row">
<div class="col-3 text-right"><strong>ctrl</strong> + <strong>g</strong>&nbsp;&nbsp;:</div>
<div class="col-9" style="margin-left: -23px;">Navigate to a group</div>
</div>
<div class="row">
<div class="col-3 text-right"><strong class="ctrlmeta">ctrl</strong> + <strong>shift</strong> + <strong>f</strong>&nbsp;&nbsp;:</div>
<div class="col-9" style="margin-left: -23px;">Find</div>
</div>
<div class="row">
<div class="col-3 text-right"><strong class="ctrlmeta">ctrl</strong> + <strong>/</strong>&nbsp;&nbsp;:</div>
<div class="col-9" style="margin-left: -23px;">Quick actions</div>
</div>
</div>
<div class="text-center" style="margin-top:10px; margin-bottom:10px; font-size:12px;"><strong>esc</strong> to dismiss</div>
</div>
</div>
</div>
<div id="mainrow" class="" hx-boost="true" hx-target="#maincontent-refresh" hx-push-url="true" hx-history="false" hx-on::after-request="document.getElementById('maincontent').scrollTo({top: 0, behavior: 'instant'})" >
<div id="groupsidebar" class="scrollbar hidden-print">
<div class="scrollbar-content">
<div id="accordion" role="navigation" aria-label="Sidebar" style="margin-bottom:20px;">
<div class="list-group noborderlist" style="border:0;margin-bottom:0px">
<a title="Group Home" href="https://groups.io/g/MTFHRT" id="sidebar-home" class="list-group-item sidebar-item">
<i class="fa-fw fa fa-home fa-lg"></i>
Home
</a>
<a title="Messages" href="https://groups.io/g/MTFHRT/topics?sidebar=true" id="sidebar-archives" class="noborderitem list-group-item sidebar-item sidebar-item-archives">
<i class="fa-fw fa fa-comments fa-lg"></i>
Messages
<span id="sidebar-archives-badge" class="badge"></span>
</a>
<a title="Hashtags" href="https://groups.io/g/MTFHRT/hashtags" id="sidebar-hashtags" class="noborderitem list-group-item sidebar-item sidebar-item-hashtags">
<i class="fa-fw fa fa-hashtag fa-lg"></i>
Hashtags
<span id="sidebar-hashtags-badge" class="badge"></span>
</a>
<a title="Wiki" href="https://groups.io/g/MTFHRT/wiki" id="sidebar-wiki" class="noborderitem list-group-item sidebar-item sidebar-item-wiki active">
<i class="fa-fw fa fa-book fa-lg"></i>
Wiki
<span id="sidebar-wiki-badge" class="badge"></span>
</a>
</div>
</div>
<div class="text-center" style="font-size:13px;line-height:25px;margin-bottom:30px">
<div style="padding-bottom:10px;">
<strong>ctrl</strong> + <strong>shift</strong> + <strong>?</strong> for shortcuts
</div>
<div style="padding-bottom:5px;">
<a href="https://groups.io/static/about">
About
</a>
&middot;
<a href="https://groups.io/static/features">
Features
</a> &middot;
<a href="https://groups.io/static/pricing">
Pricing
</a>
</div>
<div style="padding-bottom:5px;">
<a href="https://groups.io/home">
Home
</a> &middot;
<a rel="nofollow" href="https://groups.io/changelog">
Changelog
</a> &middot;
<a href="https://groups.io/static/tos">
Terms
</a>
</div>
<div style="padding-bottom:5px;">
<a href="https://groups.io/helpcenter" style="display:inline-block;padding:4px 0;" target="_blank">
Help
</a>
</div>
<div style="padding-bottom:5px;">
&copy; 2026 Groups.io
</div>
</div>
</div>
</div>
<div id="maincontent" class="groupmaincontent" role="main">
<div id="maincontent-refresh">
<div id="maincontent-column" class="col-xs-12 maincontent-column">
<h1 class="visually-hidden" tabindex="-1">MTFHRT@groups.io | Wiki | steam sterilization | History</h1>
<div id="alertdiv"></div>
<div class="noticetemplate template">
<div class="alert alert-success alert-dismissible" role="alert">
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
<span class="flashmsg"></span>
</div>
</div>
<div class="alerttemplate template">
<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
<span class="flashmsg"></span>
</div>
</div>
<div class="alertnoclosetemplate template">
<div class="alert alert-danger" role="alert">
<span class="flashmsg"></span>
</div>
</div>
<script>
function dismiss() {
console.log("dismiss");
$.get( "/dismissalert");
}
var $alerttemplate = $(".alerttemplate");
var $alertnoclosetemplate = $(".alertnoclosetemplate");
var $noticetemplate = $(".noticetemplate");
// alertText holds translated messages for alerts raised by shared scripts
// (the editor and the ajax retry helper) that have no translator of their own.
var alertText = {
draftSaveError: "There was an error saving the draft.",
draftDeleted: "This draft was deleted in another window, so your changes are not being saved. Copy your text before you leave this page.",
drafts: "Drafts",
retryAutomatically: "We will retry automatically.",
retryCountdown: "We will retry again in %s seconds.",
retryNow: "Retry now",
sessionExpired: "Your login has expired, so your changes are not being saved. Do not close or reload this page. \u003ca href=\"/login\" target=\"_blank\" rel=\"noopener\">Log in again in a new tab\u003c/a>, then return here to send your message.",
uploadFailed: "Failed to upload %s",
imageUploadFailed: "1 image failed to upload. Please try again.",
imagesUploadFailed: "%s images failed to upload. Please try again.",
uploadLoginExpired: "Your login has expired, so this file was not uploaded. Log in again in a new tab, then try again.",
loginExpired: "Your login has expired, so your change was not saved. \u003ca href=\"%s\">Log in again\u003c/a>, then try again.",
changeNotSaved: "Your change was not saved. Please try again.",
voteNotSaved: "Your vote was not saved. Please try again."
};
// alertRequestFailed shows a persistent error alert for a failed background
// request. A 401 means the login has expired, so the alert links to the
// login page, which returns to this page afterwards. Otherwise failedMsg
// is shown.
function alertRequestFailed(xhr, failedMsg) {
if (xhr && xhr.status === 401) {
var loginURL = "/login?r=" + encodeURIComponent(window.location.href);
return createAlert(alertText.loginExpired.replace("%s", $("<div>").text(loginURL).html()), true, false);
}
return createAlert(failedMsg, true, false);
}
// alertReturnFocus moves focus back to where it was before it entered a
// closing alert, or to the page heading if that element is gone, so focus
// is never dropped onto the page body.
function alertReturnFocus(returnTo) {
if (returnTo && returnTo !== document.body && document.body.contains(returnTo)) {
// A rich-text editor lives in an iframe; focus the editor itself
// so the caret comes back with it.
if (returnTo.tagName === 'IFRAME' && window.tinymce && tinymce.get) {
var editors = tinymce.get();
for (var i = 0; i < editors.length; i++) {
var container = editors[i].getContainer && editors[i].getContainer();
if (container && container.contains(returnTo)) {
editors[i].focus();
return;
}
}
}
returnTo.focus();
return;
}
var heading = document.querySelector('#maincontent-column h1[tabindex="-1"]') || document.querySelector('h1[tabindex="-1"]');
if (heading) {
heading.focus();
}
}
// createAlert shows msg in #alertdiv. Error alerts stay until dismissed.
// An autoClose notice closes after 10 seconds, but waits while the pointer
// is over it or keyboard focus is inside it.
function createAlert(msg, isError, autoClose, noClose) {
var $newPanel;
if (isError == false) {
$newPanel = $noticetemplate.clone();
} else {
if (noClose) {
$newPanel = $alertnoclosetemplate.clone();
} else {
$newPanel = $alerttemplate.clone();
}
}
$newPanel.removeClass("template");
$newPanel.find(".flashmsg").html(msg);
var panel = $newPanel[0];
// Remember where focus came from so closing the alert can return it.
// Focus arriving from an iframe (the rich-text editor) or from script
// has no relatedTarget, so start with the element focused when the
// alert was raised.
var returnTo = document.activeElement;
var hovered = false;
var focused = false;
panel.addEventListener('focusin', function(e) {
if (!focused && e.relatedTarget && !panel.contains(e.relatedTarget)) {
returnTo = e.relatedTarget;
}
focused = true;
});
// Bootstrap removes the inner .alert before firing closed.bs.alert on
// it, so that event never reaches the wrapper; listen on the .alert.
var alertEl = panel.querySelector('.alert');
var hadFocus = false;
if (alertEl) {
alertEl.addEventListener('close.bs.alert', function() {
hadFocus = panel.contains(document.activeElement);
});
alertEl.addEventListener('closed.bs.alert', function() {
$newPanel.remove();
if (hadFocus) {
alertReturnFocus(returnTo);
}
});
}
// closeAlert removes the alert without dropping keyboard focus.
$newPanel.closeAlert = function() {
var focusInside = panel.contains(document.activeElement);
$newPanel.remove();
if (focusInside) {
alertReturnFocus(returnTo);
}
};
if (autoClose == true && isError == false) {
var closeTimer = null;
var scheduleClose = function() {
clearTimeout(closeTimer);
closeTimer = setTimeout(function() {
if (hovered || focused || !panel.isConnected) {
return;
}
$newPanel.slideUp(500, $newPanel.closeAlert);
}, 10000);
};
panel.addEventListener('mouseenter', function() {
hovered = true;
clearTimeout(closeTimer);
});
panel.addEventListener('mouseleave', function() {
hovered = false;
scheduleClose();
});
panel.addEventListener('focusin', function() {
clearTimeout(closeTimer);
});
panel.addEventListener('focusout', function(e) {
if (!panel.contains(e.relatedTarget)) {
focused = false;
scheduleClose();
}
});
scheduleClose();
} else {
panel.addEventListener('focusout', function(e) {
if (!panel.contains(e.relatedTarget)) {
focused = false;
}
});
}
$("#alertdiv").append($newPanel.fadeIn());
return $newPanel;
}
</script>
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="https://groups.io/g/MTFHRT">
<i class="fa fa-home"></i>
MTFHRT
</a>
</li>
<li class="breadcrumb-item">
<a href="https://groups.io/g/MTFHRT/wiki">
<i class="fa fa-book"></i>
Wiki
</a>
</li>
<li class="breadcrumb-item">
<a href="../34293.html">
steam sterilization
</a>
</li>
<li class="breadcrumb-item">
History
</li>
</ol>
<form method="POST" action="history.html">
<div class="card">
<div class="card-header">
<div class="float-end">
<button class="btn btn-primary btn-xs" id="compare" name="compare" value="1">
Compare Revisions
</button>
</div>
<h3 class="card-title">
Revisions
</h3>
</div>
<span id="revselect" hidden>Select revision</span>
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th scope="col">
Author
</th>
<th scope="col">
Revision
</th>
<th scope="col">
Updated
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<input class="form-check-input" type="checkbox" name="dataid" id="228978" value="228978" aria-labelledby="revselect revlink228978 revdate228978" onclick="countChecked('228978')"
checked>
<a href="https://groups.io/g/MTFHRT/profile/@Lena">Lena</a>
</td>
<td>
<a id="revlink228978" href="228978.html">
Updated page
</a>
</td>
<td id="revdate228978">
<script id="timedispwdataupdated228978">
$('#timedispwdataupdated228978').replaceWith(DisplayShortTime(1759750536856546488, false
));
</script>
</td>
</tr>
<tr>
<td>
<input class="form-check-input" type="checkbox" name="dataid" id="223753" value="223753" aria-labelledby="revselect revlink223753 revdate223753" onclick="countChecked('223753')"
>
<a href="https://groups.io/g/MTFHRT/profile/@Lena">Lena</a>
</td>
<td>
<a id="revlink223753" href="223753.html">
Updated page
</a>
</td>
<td id="revdate223753">
<script id="timedispwdataupdated223753">
$('#timedispwdataupdated223753').replaceWith(DisplayShortTime(1749731833550541387, false
));
</script>
</td>
</tr>
<tr>
<td>
<input class="form-check-input" type="checkbox" name="dataid" id="212913" value="212913" aria-labelledby="revselect revlink212913 revdate212913" onclick="countChecked('212913')"
>
<a href="https://groups.io/g/MTFHRT/profile/@Lena">Lena</a>
</td>
<td>
<a id="revlink212913" href="212913.html">
Updated page
</a>
</td>
<td id="revdate212913">
<script id="timedispwdataupdated212913">
$('#timedispwdataupdated212913').replaceWith(DisplayShortTime(1730698837634458375, false
));
</script>
</td>
</tr>
<tr>
<td>
<input class="form-check-input" type="checkbox" name="dataid" id="212912" value="212912" aria-labelledby="revselect revlink212912 revdate212912" onclick="countChecked('212912')"
>
<a href="https://groups.io/g/MTFHRT/profile/@Lena">Lena</a>
</td>
<td>
<a id="revlink212912" href="212912.html">
Updated page
</a>
</td>
<td id="revdate212912">
<script id="timedispwdataupdated212912">
$('#timedispwdataupdated212912').replaceWith(DisplayShortTime(1730698762452786091, false
));
</script>
</td>
</tr>
<tr>
<td>
<input class="form-check-input" type="checkbox" name="dataid" id="208713" value="208713" aria-labelledby="revselect revlink208713 revdate208713" onclick="countChecked('208713')"
>
<a href="https://groups.io/g/MTFHRT/profile/@Lena">Lena</a>
</td>
<td>
<a id="revlink208713" href="208713.html">
Updated page
</a>
</td>
<td id="revdate208713">
<script id="timedispwdataupdated208713">
$('#timedispwdataupdated208713').replaceWith(DisplayShortTime(1722759247923581638, false
));
</script>
</td>
</tr>
<tr>
<td>
<input class="form-check-input" type="checkbox" name="dataid" id="201265" value="201265" aria-labelledby="revselect revlink201265 revdate201265" onclick="countChecked('201265')"
>
<a href="https://groups.io/g/MTFHRT/profile/@Lena">Lena</a>
</td>
<td>
<a id="revlink201265" href="201265.html">
Updated page
</a>
</td>
<td id="revdate201265">
<script id="timedispwdataupdated201265">
$('#timedispwdataupdated201265').replaceWith(DisplayShortTime(1710077412939448930, false
));
</script>
</td>
</tr>
<tr>
<td>
<input class="form-check-input" type="checkbox" name="dataid" id="201262" value="201262" aria-labelledby="revselect revlink201262 revdate201262" onclick="countChecked('201262')"
>
<a href="https://groups.io/g/MTFHRT/profile/@Lena">Lena</a>
</td>
<td>
<a id="revlink201262" href="201262.html">
Updated page
</a>
</td>
<td id="revdate201262">
<script id="timedispwdataupdated201262">
$('#timedispwdataupdated201262').replaceWith(DisplayShortTime(1710071777078443558, false
));
</script>
</td>
</tr>
<tr>
<td>
<input class="form-check-input" type="checkbox" name="dataid" id="201261" value="201261" aria-labelledby="revselect revlink201261 revdate201261" onclick="countChecked('201261')"
>
<a href="https://groups.io/g/MTFHRT/profile/@Lena">Lena</a>
</td>
<td>
<a id="revlink201261" href="201261.html">
Updated page
</a>
</td>
<td id="revdate201261">
<script id="timedispwdataupdated201261">
$('#timedispwdataupdated201261').replaceWith(DisplayShortTime(1710069574900770693, false
));
</script>
</td>
</tr>
<tr>
<td>
<input class="form-check-input" type="checkbox" name="dataid" id="189648" value="189648" aria-labelledby="revselect revlink189648 revdate189648" onclick="countChecked('189648')"
>
<a href="https://groups.io/g/MTFHRT/profile/@Lena">Lena</a>
</td>
<td>
<a id="revlink189648" href="189648.html">
Updated page
</a>
</td>
<td id="revdate189648">
<script id="timedispwdataupdated189648">
$('#timedispwdataupdated189648').replaceWith(DisplayShortTime(1689944755680516206, false
));
</script>
</td>
</tr>
<tr>
<td>
<input class="form-check-input" type="checkbox" name="dataid" id="189320" value="189320" aria-labelledby="revselect revlink189320 revdate189320" onclick="countChecked('189320')"
checked>
<a href="https://groups.io/g/MTFHRT/profile/@Lena">Lena</a>
</td>
<td>
<a id="revlink189320" href="189320.html">
Initial page
</a>
</td>
<td id="revdate189320">
<script id="timedispwdataupdated189320">
$('#timedispwdataupdated189320').replaceWith(DisplayShortTime(1688888050858782308, false
));
</script>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</form>
<script type="text/javascript">
contentLoaded(false, function() {
UpdateSidebar("wiki");
});
function countChecked(id) {
var checkedVal = 0;
var cbs = document.getElementsByTagName('input');
for(var i=0; i < cbs.length; i++) {
if(cbs[i].type == 'checkbox' && cbs[i].checked == true) {
checkedVal += 1
if (cbs[i].id != id) {
lastcheckbox = cbs[i];
}
}
}
ischecked = $('#'+id).prop('checked')
if (checkedVal == 3 && ischecked == true) {
// third check, uncheck the last one
$(lastcheckbox).prop('checked', false);
} else if (ischecked == true && checkedVal == 2) {
// enable button
$("#compare").prop("disabled", false);
} else {
$("#compare").prop("disabled", true);
}
return
}
</script>
</div>
</div>
</div>
</div>
<div class="row hidden-print" id="mobileSidebar" hx-boost="true" hx-target="#maincontent-refresh" hx-push-url="true" hx-history="false" hx-on::after-request="document.getElementById('maincontent').scrollTo({top: 0, behavior: 'instant'})" >
<div id="mobileSidebarSub" class="col-12 d-lg-none">
<div class="navbar fixed-bottom">
<div class="container" style="display: flex; justify-content: space-around;">
<a id="mobilesidebar-groups" class="mobilesidebar-item" style="margin-top:10px; padding-bottom:20px; flex: 1; text-align: center; color: inherit; text-decoration: none;" href="https://groups.io/groups" hx-boost="false">
<div style="display: inline-block; position: relative;">
<div style="position: relative;display: inline-block;">
<i class="fa-fw fa-light fa-users fa-2x"></i>
</div><br>
<span style="font-size:12px;">Groups</span>
</div>
</a>
<div id="mobilesidebar-archives" class="mobilesidebar-item" style="margin-top:10px; padding-bottom:20px; flex: 1; text-align: center;" role="link" tabindex="0" hx-trigger="click, keyup[key=='Enter']" hx-get="https://groups.io/g/MTFHRT/topics?sidebar=true" hx-boost="true" hx-target="#maincontent-refresh" hx-push-url="true" hx-history="false" hx-on::after-request="document.getElementById('maincontent').scrollTo({top: 0, behavior: 'instant'})" >
<div style="display: inline-block; position: relative;">
<div style="position: relative;display: inline-block;">
<i class="fa-fw fa-light fa-comments fa-2x"></i>
</div><br>
<span style="font-size:12px;">Messages</span>
</div>
</div>
<div style="flex: 1; text-align: center;margin-top:10px" data-drawer-trigger role="button" tabindex="0" aria-controls="drawer-name" aria-expanded="false">
<i class="fa-fw fa-light fa-bars fa-2x"></i><br>
<span style="font-size:12px;">More</span>
</div>
</div>
</div>
<section class="drawer drawer-left" id="drawer-name" data-drawer-target>
<div class="drawer-overlay" data-drawer-close tabindex="-1"></div>
<div class="drawer-wrapper drawer-wrapper-top">
<div class="drawer-header">
<div class="drawer-title">
<i class="fa-fw fa-regular fa-bars fa-3x"></i>
<span class="visually-hidden">
More Options
</span>
More
</div>
<button class="drawer-close" data-drawer-close aria-label="Close Drawer"></button>
</div>
<div class="drawer-content">
<div class="list-group noborderlist">
<a title="Group Home" href="https://groups.io/g/MTFHRT" id="sidebar-home-mobile" class="list-group-item sidebar-item">
<i class="fa-fw fa fa-home fa-lg"></i>
Home
</a>
<a title="Messages" href="https://groups.io/g/MTFHRT/topics?sidebar=true" id="sidebar-archives-mobile" class="noborderitem list-group-item sidebar-item sidebar-item-archives">
<i class="fa-fw fa fa-comments fa-lg"></i>
Messages
<span id="sidebar-archives-mobile-badge" class="badge"></span>
</a>
<a title="Hashtags" href="https://groups.io/g/MTFHRT/hashtags" id="sidebar-hashtags-mobile" class="noborderitem list-group-item sidebar-item sidebar-item-hashtags">
<i class="fa-fw fa fa-hashtag fa-lg"></i>
Hashtags
<span id="sidebar-hashtags-mobile-badge" class="badge"></span>
</a>
<a title="Wiki" href="https://groups.io/g/MTFHRT/wiki" id="sidebar-wiki-mobile" class="noborderitem list-group-item sidebar-item sidebar-item-wiki active">
<i class="fa-fw fa fa-book fa-lg"></i>
Wiki
<span id="sidebar-wiki-mobile-badge" class="badge"></span>
</a>
<a class="noborderitem list-group-item sidebar-item" href="https://groups.io/static/about" style="border-top:5px solid #ddd;">
<i class="fa-fw fal fa-envelope fa-lg"></i>
About
</a>
<a class="noborderitem list-group-item sidebar-item" href="https://groups.io/static/features">
<i class="fa-fw far fa-tasks fa-lg"></i>
Features
</a>
<a class="noborderitem list-group-item sidebar-item" href="https://groups.io/static/pricing">
<i class="fa-fw fa fa-dollar-sign fa-lg"></i>
Pricing
</a>
<a class="noborderitem list-group-item sidebar-item" href="https://groups.io/changelog">
<i class="fa-fw fa fa-history fa-lg"></i>
Changelog
</a>
<a class="noborderitem list-group-item sidebar-item" href="https://groups.io/static/tos">
<i class="fa-fw fal fa-newspaper fa-lg"></i>
Terms
</a>
<a class="noborderitem list-group-item sidebar-item" href="https://groups.io/helpcenter">
<i class="fa-fw fa fa-info-circle fa-lg"></i>
Help
</a>
</div>
</div>
</div>
</section>
</div>
</div>
<!-- Modal Dialog for Autocomplete -->
<div class="modal fade" id="quickActionsModal" tabindex="-1" role="dialog" aria-label="Go to page..." aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-body">
<input type="text" class="form-control" id="quickActionsInput" placeholder="Go to page..." aria-label="Go to page..." role="combobox" aria-autocomplete="list" aria-expanded="false" aria-controls="quickActionsContainer" autocomplete="off" style="margin-bottom:10px">
<div id="quickActionsContainer" class="autocompleteResults" role="listbox" aria-label="Go to page..." style="max-height:250px; overflow-y: auto;"></div>
<div id="quickActionsStatus" class="visually-hidden" role="status" data-results-label="results"></div>
<div class="text-center" style="margin-top:10px; font-size:12px;"><i class="fa-sharp fa-arrow-up-arrow-down"></i> to navigate&nbsp;&nbsp;&nbsp;<i class="fa-sharp fa-arrow-turn-down-left"></i> to use&nbsp;&nbsp;&nbsp;<strong>esc</strong> to dismiss</div>
</div>
</div>
</div>
</div>
<script>
var quickActionsData = [
{name: "Group Home", url: "https://groups.io/g/MTFHRT"},
{name: "Topics", url: "https://groups.io/g/MTFHRT/topics"},
{name: "Messages", url: "https://groups.io/g/MTFHRT/messages"},
{name: "Expanded Messages", url: "https://groups.io/g/MTFHRT/messages?expanded=1"},
{name: "Polls", url: "https://groups.io/g/MTFHRT/polls"},
{name: "Hashtags", url: "https://groups.io/g/MTFHRT/hashtags"},
{name: "Wiki", url: "https://groups.io/g/MTFHRT/wiki"},
/* other pages */
{name: "Help", url: "/helpcenter"},
{name: "Feed", url: "/feed"},
{name: "Your Groups", url: "/groups"},
{name: "Your Calendar", url: "/calendar"},
{name: "Your Activity", url: "/activity"},
{name: "Your Pending Messages", url: "/pendingmsgs"},
{name: "Account Login", url: "/account"},
{name: "Account Preferences", url: "/account?page=prefs"},
{name: "Account Security", url: "/account?page=security"},
{name: "Account Identity", url: "/account?page=profile&member_info_id=0"},
{name: "Account Notifications", url: "/account?page=notifications"},
{name: "Account Other Services", url: "/account?page=oauth"},
{name: "Account Bounces", url: "/account?page=bounces"},
{name: "Account Billing", url: "/account?page=billing"},
{name: "Find a Group", url: "/search?p=SubsCount,,,20,2,0,0"},
];
InitAutocomplete("quickActions", quickActionsData);
document.addEventListener('keydown', function(event) {
var tagName = (event.target.tagName || "").toLowerCase();
if (tagName === 'input' || tagName === 'textarea' || event.target.isContentEditable) {
return;
}
// check if the viewimages viewer is up
let element = document.getElementById('overlay');
if (element && element.classList.contains('visible')) {
return;
}
if (event.key.toLowerCase() === '/') {
if (navigator.platform.toUpperCase().indexOf('MAC') >= 0) {
// For Mac
// Check if Command (event.metaKey) is pressed, and either Option (event.altKey) is pressed or not
if (event.metaKey) {
event.preventDefault();
showAutocompleteModal("quickActions");
return;
}
} else {
// For Windows and Linux
if (event.ctrlKey) {
event.preventDefault();
showAutocompleteModal("quickActions");
return;
}
}
}
});
function UpdateSidebar(id) {
console.log(id + " was clicked");
if (typeof HideHeaderAction === 'function') {
HideHeaderAction();
}
// restore mobile bottom nav in case a previous page (e.g. /post) hid it
var mobSidebar = document.getElementById("mobileSidebar");
if (mobSidebar) mobSidebar.style.display = '';
var mainContent = document.getElementById("maincontent");
if (mainContent) mainContent.style.bottom = '';
var sidebarItems = document.querySelectorAll('.mobilesidebar-item');
sidebarItems.forEach(function(item) {
// Message bodies can contain pasted copies of this markup; skip items without an icon.
var iElement = item.querySelector('div i');
if (!iElement) {
return;
}
if (item.id == "mobilesidebar-" + id) {
console.log("making solid " + id)
iElement.classList.add('fa-solid');
iElement.classList.remove('fa-light');
} else {
iElement.classList.remove('fa-solid');
iElement.classList.add('fa-light');
}
});
var sidebarItems = document.querySelectorAll('.sidebar-item');
// remove 'active' class from all 'sidebar-item' elements
sidebarItems.forEach(function(item) {
if (item.id == "sidebar-" + id) {
console.log("making active " + id)
item.classList.add('active');
// A boosted link from outside the sidebar (e.g. Export on the
// topics page) doesn't redraw the sidebar, so open any
// collapsed menus around the item to show the selection.
var menu = item.parentElement ? item.parentElement.closest('.collapse:not(.show)') : null;
while (menu) {
bootstrap.Collapse.getOrCreateInstance(menu, {toggle: false}).show();
menu = menu.parentElement ? menu.parentElement.closest('.collapse:not(.show)') : null;
}
} else {
item.classList.remove('active');
}
});
}
</script>
</div>
<script>
// Pages without a sidebar layout have no #maincontent; their whole
// content container is the main region and the skip link's target.
if (!document.getElementById('maincontent')) {
document.getElementById('content').setAttribute('role', 'main');
document.getElementById('skip-link').setAttribute('href', '#content');
}
</script>
<script>
// Site-wide accessibility behaviour. The page-level parts run on load and
// again after every HTMX swap; the listeners are installed once per
// document (an HTMX history miss re-runs this script into the same one).
// isShown reports whether an element takes up space on the page, the
// test Bootstrap itself uses before returning focus to a trigger.
function a11yIsShown(el) {
return el.getClientRects().length > 0 && getComputedStyle(el).visibility !== 'hidden';
}
// a11yLinkDescription adds id to el's aria-describedby.
function a11yLinkDescription(el, id) {
var ids = (el.getAttribute('aria-describedby') || '').split(/\s+/).filter(Boolean);
if (ids.indexOf(id) === -1) {
ids.push(id);
el.setAttribute('aria-describedby', ids.join(' '));
}
}
// a11yIdCounter only ever increases. No initializer: this script runs
// again when HTMX restores a page from history, after that page's
// content has been enhanced, and resetting the counter would reissue
// ids. Ids already in the page, such as ones in content restored from
// the history cache after a reload, are skipped.
var a11yIdCounter;
function a11yEnsureID(el, prefix) {
if (!el.id) {
var id;
do {
a11yIdCounter = (a11yIdCounter || 0) + 1;
id = prefix + '-' + a11yIdCounter;
} while (document.getElementById(id));
el.id = id;
}
return el.id;
}
// a11yFeedbackFor finds the .invalid-feedback that belongs to an
// .is-invalid element: a following sibling (BS5 shows the feedback only
// after an .is-invalid sibling), else a direct child of its parent.
function a11yFeedbackFor(el) {
for (var sib = el.nextElementSibling; sib; sib = sib.nextElementSibling) {
if (sib.classList.contains('invalid-feedback')) {
return sib;
}
}
if (el.parentElement) {
return el.parentElement.querySelector(':scope > .invalid-feedback');
}
return null;
}
var a11yControlSelector = 'input:not([type="hidden"]), select, textarea';
// a11yEnhance fixes up the markup inside root.
// a11yQueryAll returns the elements under root that match selector,
// root included: an element HTMX inserts is enhanced as a whole.
function a11yQueryAll(root, selector) {
var found = Array.prototype.slice.call(root.querySelectorAll(selector));
if (root.matches && root.matches(selector)) {
found.unshift(root);
}
return found;
}
function a11yEnhance(root) {
// Form errors: each invalid control says it is invalid and is
// described by its error message. The .is-invalid class sits on the
// control, or on a wrapper such as an .input-group.
a11yQueryAll(root, '.is-invalid').forEach(function(el) {
var control = el.matches(a11yControlSelector) ? el : el.querySelector(a11yControlSelector);
if (!control) {
return;
}
control.setAttribute('aria-invalid', 'true');
var feedback = a11yFeedbackFor(el);
if (feedback) {
a11yLinkDescription(control, a11yEnsureID(feedback, 'invalid-feedback'));
}
});
// Help text: a .form-text that follows a form group's only control
// describes it. Groups with several controls are left alone, since
// the help can't be tied to one of them.
a11yQueryAll(root, '.form-text').forEach(function(help) {
var group = help.parentElement;
if (!group) {
return;
}
var controls = group.querySelectorAll(a11yControlSelector);
if (controls.length !== 1) {
return;
}
var control = controls[0];
if (control.hasAttribute('aria-describedby') && control.getAttribute('aria-invalid') !== 'true') {
return;
}
// The help must come after the control (or its input group).
var anchor = control.closest('.input-group') || control;
if (!(anchor.compareDocumentPosition(help) & Node.DOCUMENT_POSITION_FOLLOWING)) {
return;
}
a11yLinkDescription(control, a11yEnsureID(help, 'form-text'));
});
// Font Awesome draws its glyphs as private-use characters, which
// screen readers read out or which end up in a control's name, so
// icons are hidden from them. An icon that carries a name, or holds
// visually hidden text, is kept; so is an icon that is the only
// content of an unnamed control, which would otherwise have no name.
a11yQueryAll(root, 'i[class*="fa-"]:not([aria-hidden]):not([aria-label]):not([role]):not([title]):not([data-bs-original-title])').forEach(function(icon) {
if (icon.querySelector('.visually-hidden, .sr-only')) {
return;
}
var control = icon.closest('a, button, [role="button"], [role="link"]');
var unlabelled = control && !control.hasAttribute('aria-label') && !control.hasAttribute('aria-labelledby') && !control.hasAttribute('title');
if (unlabelled && control.textContent.trim() === '' && !control.querySelector('img[alt]:not([alt=""])')) {
return;
}
// A control whose text is shown only at some widths (d-none
// d-md-inline) has no name where it is hidden, so the text
// becomes its label at every width.
if (unlabelled && control.querySelector('[class*="d-none"]')) {
control.setAttribute('aria-label', control.textContent.replace(/\s+/g, ' ').trim());
}
icon.setAttribute('aria-hidden', 'true');
});
// Dropzone drop areas open the file chooser only for a mouse. Where a
// page has no .dz-choose button, the drop area's message becomes a
// button; the role="button" key handler below clicks it, and Dropzone
// opens the chooser for a click on its message.
a11yQueryAll(root, 'form.dropzone').forEach(function(form) {
if (form.querySelector('.dz-choose')) {
return;
}
var message = form.querySelector('.dz-message');
if (message && !message.hasAttribute('role')) {
message.setAttribute('role', 'button');
message.setAttribute('tabindex', '0');
}
});
// Upload progress bars (Dropzone forms, the file input plugin) have
// no name of their own. Other progress bars are left to their pages,
// which know what they measure.
a11yQueryAll(root, '[role="progressbar"]:not([aria-label]):not([aria-labelledby]):not([title])').forEach(function(bar) {
if (bar.closest('form.dropzone, .dropzone, .file-input')) {
bar.setAttribute('aria-label', "Upload progress");
}
});
// A rich-text editor stands in for its textarea, so it carries the
// textarea's error state.
a11yQueryAll(root, 'textarea').forEach(function(textarea) {
a11ySyncEditor(textarea);
});
// The sidebars mark the current page with .active; say so to screen
// readers as well.
document.querySelectorAll('.sidebar-item').forEach(function(item) {
if (item.classList.contains('active')) {
item.setAttribute('aria-current', 'page');
} else {
item.removeAttribute('aria-current');
}
});
}
// a11yEditorFor returns the TinyMCE editor that replaces a textarea, if
// there is one. TinyMCE hides the textarea, so it takes focus instead.
function a11yEditorFor(el) {
if (el.tagName !== 'TEXTAREA' || !el.id || typeof tinymce === 'undefined') {
return null;
}
return tinymce.get(el.id);
}
// a11ySyncEditor copies a textarea's aria-invalid and aria-describedby
// to the TinyMCE editor that replaces it, once the editor is ready. The
// iframe takes both. The editing body inside it, which is what has focus,
// can't refer to ids in the page, so it takes aria-invalid and the
// described text itself.
function a11ySyncEditor(textarea) {
var editor = a11yEditorFor(textarea);
if (!editor || !editor.initialized) {
return;
}
var frame = document.getElementById(editor.id + '_ifr');
var body = editor.getBody();
var invalid = textarea.getAttribute('aria-invalid') === 'true';
var describedby = textarea.getAttribute('aria-describedby') || '';
var description = describedby.split(/\s+/).map(function(id) {
var el = id ? document.getElementById(id) : null;
return el ? el.textContent.replace(/\s+/g, ' ').trim() : '';
}).filter(Boolean).join(' ');
[frame, body].forEach(function(el) {
if (!el) {
return;
}
if (invalid) {
el.setAttribute('aria-invalid', 'true');
} else {
el.removeAttribute('aria-invalid');
}
});
if (frame) {
if (describedby) {
frame.setAttribute('aria-describedby', describedby);
} else {
frame.removeAttribute('aria-describedby');
}
}
if (body) {
if (description) {
body.setAttribute('aria-description', description);
} else {
body.removeAttribute('aria-description');
}
}
}
// a11yFocusFirstError moves focus to the first invalid control shown in
// root, so after a failed submit the user lands on the problem.
function a11yFocusFirstError(root) {
var invalid = Array.prototype.find.call(root.querySelectorAll('.is-invalid'), function(el) {
return a11yIsShown(el) || a11yEditorFor(el);
});
if (!invalid) {
return false;
}
var control = invalid.matches(a11yControlSelector) ? invalid : invalid.querySelector(a11yControlSelector);
if (!control) {
return false;
}
var editor = a11yEditorFor(control);
if (editor) {
if (editor.initialized) {
editor.focus();
} else {
editor.on('init', function() {
editor.focus();
});
}
return true;
}
control.focus();
return document.activeElement === control;
}
// a11yAnnounce speaks text through the page announcer. Clearing it
// first makes a repeat of the same text announce again.
function a11yAnnounce(text) {
var announcer = document.getElementById('page-announcer');
if (!announcer || !text) {
return;
}
announcer.textContent = '';
setTimeout(function() {
announcer.textContent = text;
}, 100);
}
function a11yOnLoad() {
a11yEnhance(document);
a11yFocusFirstError(document);
}
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', a11yOnLoad, {once: true});
} else {
a11yOnLoad();
}
if (!window.gioA11yListeners) {
window.gioA11yListeners = true;
// Whether focus was on the page body, or inside the content about to
// be replaced, when an HTMX swap into #maincontent-refresh began.
var a11yFocusLost = false;
document.addEventListener('htmx:beforeSwap', function(evt) {
var target = evt.detail && evt.detail.target;
if (!target || target.id !== 'maincontent-refresh') {
return;
}
var active = document.activeElement;
a11yFocusLost = !active || active === document.body || target.contains(active);
});
// htmx fires htmx:load on every element a swap inserts, whatever
// the swap style. htmx:afterSettle only fires on the swap target,
// so rows that infinite scroll adds after it (hx-swap="afterend")
// are only reached here. The page itself was enhanced on load.
document.addEventListener('htmx:load', function(evt) {
var el = evt.target;
if (el === document.body || !el.isConnected || !el.querySelectorAll) {
return;
}
a11yEnhance(el);
});
// After a swap: fix up the markup page scripts added. A form
// submission that came back with errors moves focus to the first of
// them, even though HTMX has put focus back on the submit button. A swap of the main content
// is a page navigation, so announce the new page's title (and the
// result count of a paged list). When the swap took focus away (an
// in-content link), move focus to the new page's heading; when a
// control outside the content (the sidebar) made the request it keeps
// focus. Page scripts run first (their contentLoaded listeners are on
// body), so if one placed focus itself it is left there.
document.addEventListener('htmx:afterSettle', function(evt) {
var target = evt.detail && evt.detail.target;
if (!target) {
return;
}
if (!target.isConnected) {
// An outerHTML swap replaced the target; htmx fires
// afterSettle on each element that took its place.
target = evt.target;
if (!target.isConnected || !target.querySelectorAll) {
return;
}
}
// Enhance again now that page scripts, which run on
// afterSettle at the body, have added their own markup.
if (evt.target.isConnected && evt.target.querySelectorAll) {
a11yEnhance(evt.target);
}
// htmx fires afterSettle on the swap target and then on each
// out-of-band element; those only need their markup fixed up.
if (evt.target !== target) {
return;
}
var requestElt = evt.detail.requestConfig && evt.detail.requestConfig.elt;
var fromForm = !!requestElt && (requestElt.tagName === 'FORM' || !!requestElt.form);
var focusedError = false;
if (fromForm || document.activeElement === document.body) {
focusedError = a11yFocusFirstError(target);
}
if (target.id !== 'maincontent-refresh') {
return;
}
var heading = target.querySelector('h1');
var title = heading ? heading.textContent.trim() : document.title;
// The pager's count, or a page's own result message (marked
// data-a11y-count) when there is nothing to page.
var count = Array.prototype.find.call(target.querySelectorAll('.page-count, [data-a11y-count]'), function(el) {
return a11yIsShown(el);
});
// A swap that stays on the same page and announces its own result
// marks its content with data-a11y-no-announce.
if (!target.querySelector('[data-a11y-no-announce]')) {
a11yAnnounce(count ? title + '. ' + count.textContent.replace(/\s+/g, ' ').trim() : title);
}
// A form that saved without errors re-renders the page, and HTMX
// puts focus back on the field that submitted it (matched by id),
// which then looks like it is still being edited. Move focus to the
// heading instead, as for any other page load.
var active = document.activeElement;
var savedForm = !!requestElt && requestElt.tagName === 'FORM' && evt.detail.requestConfig.verb === 'post';
var focusRestored = savedForm && !!active && target.contains(active);
if (!focusedError && heading && ((a11yFocusLost && (!active || active === document.body)) || focusRestored)) {
heading.focus({preventScroll: true});
}
a11yFocusLost = false;
});
// Going back or forward restores a page from HTMX's history cache
// without a swap, so announce its title as a swap would.
document.addEventListener('htmx:historyRestore', function() {
var content = document.getElementById('maincontent-refresh');
var heading = content ? content.querySelector('h1') : null;
a11yAnnounce(heading ? heading.textContent.trim() : document.title);
});
// An element given role="button" that isn't a <button> (collapse
// toggles kept as anchors, clickable divs) must answer the keys a
// button does: Space, and Enter where the browser doesn't already
// turn it into a click (it does for links). Handlers that act on
// these keys themselves, such as the drawer triggers, prevent the
// default and are left alone.
document.addEventListener('keydown', function(evt) {
if ((evt.key !== ' ' && evt.key !== 'Enter') || evt.defaultPrevented) {
return;
}
var el = evt.target;
if (!el.matches || !el.matches('[role="button"]:not(button):not(input):not(textarea):not(select)')) {
return;
}
if (evt.key === 'Enter' && el.matches('a[href]')) {
return;
}
evt.preventDefault();
el.click();
});
// Return focus when a modal closes. Bootstrap does this only for a
// modal opened by a data-bs-toggle trigger that is still shown when
// it closes; a modal opened from script, or from a menu item that
// was hidden as the modal opened, would leave focus on the page
// body. The element to return to is the trigger, or whatever had
// focus when the modal opened; a hidden menu item gives way to its
// menu's toggle, and a drawer item to the drawer's trigger.
document.addEventListener('show.bs.modal', function(evt) {
var modal = evt.target;
var from = evt.relatedTarget || document.activeElement;
if (!from || from === document.body || modal.contains(from)) {
modal.gioReturnFocus = null;
return;
}
var menu = from.closest('.dropdown-menu');
if (menu && menu.parentElement) {
var toggle = menu.parentElement.querySelector('[data-bs-toggle="dropdown"]');
if (toggle) {
from = toggle;
}
}
var drawer = from.closest('[data-drawer-target]');
if (drawer) {
var drawerTrigger = drawer.drawerTrigger || document.querySelector('[aria-controls="' + drawer.id + '"]');
if (drawerTrigger) {
from = drawerTrigger;
}
}
modal.gioReturnFocus = from;
});
document.addEventListener('hidden.bs.modal', function(evt) {
var modal = evt.target;
var to = modal.gioReturnFocus;
modal.gioReturnFocus = null;
if (!to || !to.isConnected || !a11yIsShown(to)) {
return;
}
// Leave focus alone if something else took it meanwhile, such as
// a second modal or Bootstrap's own return to the trigger.
var active = document.activeElement;
if (active && active !== document.body && !modal.contains(active)) {
return;
}
to.focus();
});
// Tooltips are hoverable and dismissible (WCAG 1.4.13). Bootstrap
// hides a tooltip as soon as the pointer leaves its trigger, so it
// can't be moved onto the tooltip, and it ignores Escape. These
// listeners sit on the document so every tooltip on every page,
// however it was created, gets the same behaviour.
var a11yTooltipForceHide = false;
var a11yTooltipHideDelay = 300;
// a11yHideTooltip hides the tooltip of trigger without the hover
// checks below.
function a11yHideTooltip(trigger) {
var tip = bootstrap.Tooltip.getInstance(trigger);
if (!tip) {
return;
}
a11yTooltipForceHide = true;
try {
tip.hide();
} finally {
a11yTooltipForceHide = false;
}
}
// a11yKeepTooltip keeps a tooltip open while the pointer is over it,
// and hides it once the pointer leaves for anywhere but its trigger.
function a11yKeepTooltip(trigger, tipEl) {
if (tipEl.gioHoverWatched) {
return;
}
tipEl.gioHoverWatched = true;
tipEl.addEventListener('mouseleave', function(evt) {
tipEl.gioHoverWatched = false;
if (evt.relatedTarget && trigger.contains(evt.relatedTarget)) {
return;
}
a11yHideTooltip(trigger);
}, {once: true});
}
document.addEventListener('hide.bs.tooltip', function(evt) {
if (a11yTooltipForceHide || typeof bootstrap === 'undefined') {
return;
}
var trigger = evt.target;
var tip = bootstrap.Tooltip.getInstance(trigger);
var tipEl = tip && tip.tip;
if (!tipEl || !tipEl.isConnected) {
return;
}
if (tipEl.matches(':hover')) {
evt.preventDefault();
a11yKeepTooltip(trigger, tipEl);
return;
}
// A hide while the pointer is still on the trigger was asked
// for by the page or by focus leaving; let it happen.
if (trigger.matches(':hover')) {
return;
}
// The pointer has left the trigger. Give it a moment to cross
// the gap onto the tooltip before hiding.
evt.preventDefault();
if (trigger.gioHidePending) {
return;
}
trigger.gioHidePending = true;
setTimeout(function() {
trigger.gioHidePending = false;
if (!tipEl.isConnected) {
return;
}
if (tipEl.matches(':hover')) {
a11yKeepTooltip(trigger, tipEl);
return;
}
if (trigger.matches(':hover')) {
return;
}
a11yHideTooltip(trigger);
}, a11yTooltipHideDelay);
});
// Escape hides every open tooltip and leaves focus where it is. When
// it hid one, the key goes no further, so the same press doesn't
// also close the modal or menu the tooltip sits in.
window.addEventListener('keydown', function(evt) {
if (evt.key !== 'Escape' || typeof bootstrap === 'undefined') {
return;
}
var hidden = false;
document.querySelectorAll('.tooltip.show[id]').forEach(function(tipEl) {
var trigger = document.querySelector('[aria-describedby~="' + tipEl.id + '"]');
if (trigger && bootstrap.Tooltip.getInstance(trigger)) {
a11yHideTooltip(trigger);
hidden = true;
}
});
if (hidden) {
evt.stopPropagation();
}
}, true);
}
</script>
<div id="scroll-top-outer">
<div id="scroll-top" class="scroll-top-wrapper hidden-xs">
<span class="scroll-top-inner">
<i class="fa fa-arrow-circle-up fa-fw fa-2x"></i>
</span>
</div>
</div>
<script>
$(function() {
$(document).on('scroll', function() {
if ($(window).scrollTop() > 100) {
$('.scroll-top-wrapper').addClass('show');
} else {
$('.scroll-top-wrapper').removeClass('show');
}
});
$('.scroll-top-wrapper').on('click', scrollToTop);
});
function scrollToTop() {
verticalOffset = typeof(verticalOffset) != 'undefined' ? verticalOffset : 0;
element = $('body');
offset = element.offset();
offsetTop = offset.top;
$('html, body').animate({
scrollTop: offsetTop
}, 100, 'linear');
}
if (navigator.platform.toUpperCase().indexOf('MAC') >= 0) {
let elements = document.querySelectorAll('strong.ctrlmeta');
elements.forEach((element) => {
// Check if the innerText is "ctrl"
if (element.innerText === 'ctrl') {
// Create a new "i" element
let newElement = document.createElement('i');
newElement.classList.add('fa-solid', 'fa-command');
newElement.setAttribute('aria-hidden', 'true');
// The icon has no text, so screen readers get the key's name
let keyName = document.createElement('span');
keyName.className = 'visually-hidden';
keyName.textContent = "command";
// Replace the old "strong" element with the new "i" element
element.parentNode.replaceChild(newElement, element);
newElement.after(keyName);
}
});
}
</script>
</body>
</html>