PageSourceSearch

https://www.kent-maps.online/assets/js/dist/theme.min.js

js kent-maps.online collected 2026-09-25 05:45:37 UTC 2,456 bytes, 4 lines download raw bytes

1/*!
2 * jekyll-theme-chirpy v7.6.0 | © 2019 Cotes Chung | MIT Licensed | https://github.com/cotes2020/jekyll-theme-chirpy/
3 */
4var Theme=function(){"use strict";function t(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}function e(e,i,s){return s(t(e,i))}function i(t,e,i){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var s=i.call(t,e);if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var s;class r{static get resolvedTheme(){return e(r,this,n)||e(r,this,o)}static get isSystemTheme(){return null===e(r,this,n)}static get isDark(){return this.resolvedTheme===this.Mode.DARK}static newThemeMap(t,e){return{[this.Mode.LIGHT]:t,[this.Mode.DARK]:e}}static init(){if(!this.isToggleable)return void t(r,this,l).call(this);const i=e(r,this,n);i?t(r,this,a).call(this,i,{domPersist:!0}):t(r,this,a).call(this,e(r,this,o)),t(r,this,m)._.addEventListener("change",()=>{e(r,this,n)||(t(r,this,a).call(this,e(r,this,o)),t(r,this,c).call(this))})}static update(i){const s=i===this.Mode.SYSTEM?e(r,this,o):i;s!==this.resolvedTheme&&t(r,this,c).call(this),t(r,this,a).call(this,s,{persist:i!==this.Mode.SYSTEM}),i===this.Mode.SYSTEM&&t(r,this,l).call(this)}}function n(e){return localStorage.getItem(t(s,e,u)._)}function o(t){return e(s,t,h)?t.Mode.DARK:t.Mode.LIGHT}function h(e){return t(s,e,m)._.matches}function a(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.persist,n=void 0!==r&&r,o=i.domPersist,h=void 0!==o&&o;t(s,this,d)._.dataset.bsTheme=e,n&&localStorage.setItem(t(s,this,u)._,e),(h||n)&&t(s,this,d)._.toggleAttribute("data-theme-persisted",!0)}function l(){localStorage.removeItem(t(s,this,u)._),t(s,this,d)._.toggleAttribute("data-theme-persisted",!1)}function c(){window.postMessage({id:this.eventId},"*")}s=r;var u={_:"theme"};i(r,"Mode",Object.freeze({DARK:"dark",LIGHT:"light",SYSTEM:"system"}));var d={_:document.documentElement},m={_:window.matchMedia("(prefers-color-scheme: dark)")};return i(r,"isToggleable",null===e(s,s,function(e){return t(s,e,d)._.dataset.bsTheme||null})),i(r,"eventId","theme-updated"),r.init(),r}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.