1!function(e){var o={};function n(t){if(o[t])return o[t].exports;var r=o[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=o,n.d=function(e,o,t){n.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,o){if(1&o&&(e=n(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)n.d(t,r,function(o){return e[o]}.bind(null,r));return t},n.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(o,"a",o),o},n.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},n.p="",n(n.s=273)}({273:function(e,o){!function(){"use strict";let e,o;function n(e){return new Promise((o,n)=>{const t=document.createElement("script");t.onload=()=>o(),t.onerror=e=>n(e),t.src=e,document.body.appendChild(t)})}function t(){if(e)return e;const o=window.wpcom_coblocks_js;return e=n(o.coblocks_lightbox_js),e}function r(){if(o)return o;window.wpcomJQueryUsageLoggerDisabled=!0;const e=window.wpcom_coblocks_js,t=window.jQuery?Promise.resolve():n(e.jquery_core_js).then(()=>n(e.jquery_migrate_js)),r=t.then(()=>window.imagesLoaded?Promise.resolve():n(e.imagesloaded_js)),c=t.then(()=>window.Masonry?Promise.resolve():n(e.masonry_js)),u=Promise.all([t,r,c]).then(()=>n(e.coblocks_masonry_js));return o=u,o}function c(){document.querySelector(".wp-block-coblocks-gallery-masonry")&&r(),document.querySelector(".has-lightbox")&&t(),document.body.classList.contains("block-editor-page")&&(r(),t())}"loading"!==document.readyState?c():document.addEventListener("DOMContentLoaded",c)}()}});; 2/** 3 * Theme functions file. 4 */ 5 6( function( $ ) { 7 // Closure variables. 8 var $window = $( window ); 9 var $body = $( document.body ); 10 11 // Fades the post cover metadata and master logo. 12 $( '#post-cover-image' ).each( function( i, node ) { 13 var $cover = $( node ); 14 var $meta = $( '.cover-meta', node ); 15 16 var updateScroll = function() { 17 $meta.stop().css( 'opacity', 1 - ( $window.scrollTop() / $cover.outerHeight() ) ); 18 } 19 20 $window 21 .resize( updateScroll ) 22 .scroll( updateScroll ) 23 .trigger( 'scroll' ); 24 } ); 25 26 // Relocate #secondary into footer on mobile. 27 $( '#secondary' ).each( function( i, node ) { 28 var footer = $( '#colophon' ); 29 var sidebar = $( node ); 30 var sidebarParent = sidebar.parent(); 31 32 $window.resize( function( ) { 33 if ( $window.outerWidth() < 992 ) { 34 if ( ! sidebar.parent().is( footer ) ) { 35 sidebar 36 .removeAttr( 'id' ) 37 .prependTo( footer ); 38 } 39 } else { 40 if ( sidebar.parent().is( footer ) ) { 41 sidebar 42 .attr( 'id', 'secondary' ) 43 .appendTo( sidebarParent ); 44 } 45 } 46 } ).trigger( 'resize' ); 47 } ); 48 49 // Fix focus outline from wp-image links. 50 $( 'img[class*="wp-image-"]', '.entry-content' ).parent().addClass( 'fix-link-focus' ); 51 52 // Remove extra margin added by empty geo post elements. 53 $( '.entry-content > .geo-post:not(:visible):last-child' ).prev().css( 'margin-bottom', '0' ); 54} )( jQuery );; 55/** 56 * slide-navigation.js 57 * 58 * Handles toggling the slide navigation menu. 59 */ 60( function( $ ) { 61 var $body, button, proxyButton, container, firstMenuItem; 62 63 button = $( '#slide-menu-toggle' ); 64 65 if ( ! button.length ) { 66 return; 67 } 68 69 $body = $( document.body ); 70 container = $( '#slide-menu' ); 71 proxyButton = container.find( '.menu-toggle' ); 72 firstMenuItem = container.find( '.main-slide-navigation > .menu > li:first-child > a' ); 73 74 button.bind( { 75 // Focus navigation on button's blur event. 76 'keydown.independent-publisher': function( e ) { 77 if ( 9 === e.keyCode && ! e.shiftKey ) { 78 if ( 'true' === button.attr( 'aria-expanded' ) ) { 79 firstMenuItem.focus(); 80 e.preventDefault(); 81 } 82 } else if ( 32 === e.keyCode ) { 83 button.trigger( 'click.independent-publisher' ); 84 e.preventDefault(); 85 } 86 }, 87 88 // Expand slide menu on click event. 89 'click.independent-publisher': function( e ) { 90 $body.toggleClass( 'slide-menu-expanded' ); 91 if ( 'false' === button.attr( 'aria-expanded' ) ) { 92 button 93 .add( container ) 94 .add( proxyButton ) 95 .attr( 'aria-expanded', 'true' ); 96 } else { 97 button 98 .add( container ) 99 .add( proxyButton ) 100 .attr( 'aria-expanded', 'false' ); 101 102 } 103 e.preventDefault(); 104 105 // Prevents Customizer from reloading when button is clicked 106 e.stopPropagation(); 107 } 108 } ); 109
110 // Focus button on SHIFT + Tab when focusing first menu item. 111 firstMenuItem.bind( 'keydown.independent-publisher', function( e ) { 112 if ( 9 === e.keyCode && e.shiftKey ) { 113 button.focus(); 114 e.preventDefault(); 115 } 116 } ); 117 118 // Forward click event of proxy button to real button. 119 proxyButton.bind( 'click.independent-publisher', function( e ) { 120 button.trigger( 'click.independent-publisher' ); 121 e.preventDefault(); 122 } ); 123} )( jQuery );; 124( function() { 125 var is_webkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1, 126 is_opera = navigator.userAgent.toLowerCase().indexOf( 'opera' ) > -1, 127 is_ie = navigator.userAgent.toLowerCase().indexOf( 'msie' ) > -1; 128 129 if ( ( is_webkit || is_opera || is_ie ) && document.getElementById && window.addEventListener ) { 130 window.addEventListener( 'hashchange', function() { 131 var id = location.hash.substring( 1 ), 132 element; 133 134 if ( ! ( /^[A-z0-9_-]+$/.test( id ) ) ) { 135 return; 136 } 137 138 element = document.getElementById( id ); 139 140 if ( element ) { 141 if ( ! ( /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) ) { 142 element.tabIndex = -1; 143 } 144 145 element.focus(); 146 } 147 }, false ); 148 } 149} )(); 150; 151/** 152 * script-wpcom.js 153 * 154 * Handles toggling of body class name to help WordPress.com custom colors target color changes at different window sizes. 155 * The Custom Colors plugin does not support media queries. 156 */ 157 158 ( function( $ ) { 159 function checkWidth( init ) { 160 // If browser is resized, check width again 161 if ( $( window ).width() > 992 ) { 162 $( 'body' ).addClass( 'tablet-desktop' ); 163 } 164 else { 165 if ( ! init ) { 166 $( 'body' ).removeClass( 'tablet-desktop' ); 167 } 168 } 169 } 170 171 $( document ).ready( function() { 172 checkWidth( true ); 173 174 $( window ).resize( function() { 175 checkWidth( false ); 176 }); 177 }); 178} )( jQuery );;
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.