text: import 'https://unpkg.com/@webcomponents/custom-elements@1.4.1/custom-elements.min.js';
  import 'https://cdn.kernvalley.us/js/std-js/deprefixer.js';
  import 'https://cdn.kernvalley.us/js/std-js/shims.js';
  import 'https://cdn.kernvalley.us/components/share-button.js';
  import 'https://cdn.kernvalley.us/components/current-year.js';
  import 'https://cdn.kernvalley.us/components/bacon-ipsum.js';
  import 'https://cdn.kernvalley.us/components/gravatar-img.js';
  import 'https://cdn.kernvalley.us/components/pwa/install.js';
  import 'https://cdn.kernvalley.us/components/github/user.js';
  import 'https://cdn.kernvalley.us/components/share-to-button/share-to-button.js';
  import 'https://cdn.kernvalley.us/components/date-locale.js';
  import {$, ready } from 'https://cdn.kernvalley.us/js/std-js/functions.js';
  
  document.documentElement.classList.replace('no-js', 'js');
  document.body.classList.toggle('no-dialog', document.createElement('dialog') instanceof HTMLUnknownElement);
  document.body.classList.toggle('no-details', document.createElement('details') instanceof HTMLUnknownElement);
  
  ready().then(async () => {
  	$('[data-scroll-to]').click(event => {
  		const target = document.querySelector(event.target.closest('[data-scroll-to]').dataset.scrollTo);
  		target.scrollIntoView({
  			bahavior: 'smooth',
  			block: 'start',
  		});
  	});
  
  	$('[data-show]').click(event => {
  		const target = document.querySelector(event.target.closest('[data-show]').dataset.show);
  		if (target instanceof HTMLElement) {
  			target.show();
  		}
  	});
  
  	$('[data-show-modal]').click(event => {
  		const target = document.querySelector(event.target.closest('[data-show-modal]').dataset.showModal);
  		if (target instanceof HTMLElement) {
  			target.showModal();
  		}
  	});
  
  	$('[data-close]').click(event => {
  		const target = document.querySelector(event.target.closest('[data-close]').dataset.close);
  		if (target instanceof HTMLElement) {
  			target.tagName === 'DIALOG' ? target.close() : target.open = false;
  		}
  	});
  });
  