1/*! This file is auto-generated */ 2window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,i="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){o(),e&&new e(d).observe(E.body,{childList:!0,subtree:!0})}function o(e){if(i&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode&&"a"!==E.activeElement.tagName.toLowerCase())return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,d=n.length;o<d;o++)n[o].addEventListener("click",r)}}function l(e){var t,n,o=g(b.temporaryFormId);o&&h&&(g(b.parentIdFieldId).value="0",t=o.textContent,o.parentNode.replaceChild(h,o),this.style.display="none",n=(o=(o=g(b.commentReplyTitleId))&&o.firstChild)&&o.nextSibling,o&&o.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),o.textContent=t),e.preventDefault())}function r(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,o=a(n,"belowelement"),d=a(n,"commentid"),i=a(n,"respondelement"),l=a(n,"postid"),n=a(n,"replyto")||t;o&&d&&i&&l&&!1===v.addComment.moveForm(o,d,i,l,n)&&e.preventDefault()}function d(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void o()}function a(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return i&&"loading"!==E.readyState?t():i&&v.addEventListener("DOMContentLoaded",t,!1),{init:o,moveForm:function(e,t,n,o,d){var i,l,r,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===d&&(d=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),o&&y&&(y.value=o),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=d),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],l=!1,"getComputedStyle"in v?r=v.getComputedStyle(i):E.documentElement.currentStyle&&(r=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===r.visibility)&&(l=!0),"hidden"!==i.type&&!i.disabled&&!l){i.focus();break}}catch(e){}return!1}}}}(window);; 3/* global FB, jpfbembed */ 4( function ( window ) { 5 var facebookEmbed = function () { 6 var fbroot, src, newScript, firstScript; 7 8 if ( 'undefined' !== typeof FB && FB.XFBML ) { 9 FB.XFBML.parse(); 10 } else { 11 fbroot = document.createElement( 'div' ); 12 fbroot.id = 'fb-root'; 13 document.getElementsByTagName( 'body' )[ 0 ].appendChild( fbroot ); 14 15 src = '//connect.facebook.net/' + jpfbembed.locale + '/sdk.js#xfbml=1'; 16 if ( jpfbembed.appid ) { 17 src += '&appId=' + jpfbembed.appid; 18 } 19 src += '&version=v2.3'; 20 21 newScript = document.createElement( 'script' ); 22 newScript.setAttribute( 'src', src ); 23 firstScript = document.querySelector( 'script' ); 24 firstScript.parentNode.insertBefore( newScript, firstScript ); 25 } 26 }; 27 28 window.fbAsyncInit = function () { 29 FB.init( { 30 appId: jpfbembed.appid, 31 version: 'v2.3', 32 } ); 33 34 FB.XFBML.parse(); 35 }; 36 37 if ( 'undefined' !== typeof infiniteScroll ) { 38 document.body.addEventListener( 'post-load', facebookEmbed ); 39 } 40 41 facebookEmbed(); 42} )( window ); 43; 44!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exp
44orts.JetpackScriptDataModule=t():e.JetpackScriptDataModule=t()}(globalThis,()=>(()=>{"use strict";var e={729(e,t,r){r.d(t,{$8:()=>n.$8,IT:()=>n.IT,KS:()=>n.KS,L2:()=>n.L2,Sy:()=>n.Sy,au:()=>n.au,d_:()=>n.d_,e5:()=>n.e5,hT:()=>n.hT,lI:()=>n.lI,mH:()=>n.mH,oQ:()=>n.oQ,sV:()=>n.sV});var n=r(336)},336(e,t,r){function n(){return window.JetpackScriptData}function o(){return n()?.site}function i(e=""){return`${n()?.site.admin_url}${e}`}function a(e=""){return i(`admin.php?page=jetpack${e}`)}function u(e=""){return i(`admin.php?page=my-jetpack${e}`)}function p(){return n()?.site.plan?.features?.active??[]}function c(e){return-1!==p().indexOf(e)}function s(){return"wpcom"===n()?.site?.host}function f(){return"woa"===n()?.site?.host}function d(){return n()?.site?.is_wpcom_platform}function l(){return"unknown"===n()?.site?.host}function S(){return s()?"simple":f()?"woa":"jetpack"}function m(e){return n()?.user.current_user.capabilities[e]}r.d(t,{$8:()=>d,IT:()=>c,KS:()=>S,L2:()=>l,Sy:()=>s,au:()=>n,d_:()=>m,e5:()=>u,hT:()=>i,lI:()=>f,mH:()=>p,oQ:()=>a,sV:()=>o})}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};r.r(n),r.d(n,{currentUserCan:()=>o.d_,getActiveFeatures:()=>o.mH,getAdminUrl:()=>o.hT,getJetpackAdminPageUrl:()=>o.oQ,getMyJetpackUrl:()=>o.e5,getScriptData:()=>o.au,getSiteData:()=>o.sV,getSiteType:()=>o.KS,isJetpackSelfHostedSite:()=>o.L2,isSimpleSite:()=>o.Sy,isWoASite:()=>o.lI,isWpcomPlatformSite:()=>o.$8,siteHasFeature:()=>o.IT});var o=r(729);return n})());; 45/** 46 * Observe how the user enters content into the comment form in order to determine whether it's a bot or not. 47 * 48 * Note that no actual input is being saved here, only counts and timings between events. 49 */ 50 51( function() { 52 // Passive event listeners are guaranteed to never call e.preventDefault(), 53 // but they're not supported in all browsers. Use this feature detection 54 // to determine whether they're available for use. 55 var supportsPassive = false; 56 57 try { 58 var opts = Object.defineProperty( {}, 'passive', { 59 get : function() { 60 supportsPassive = true; 61 } 62 } ); 63 64 window.addEventListener( 'testPassive', null, opts ); 65 window.removeEventListener( 'testPassive', null, opts ); 66 } catch ( e ) {} 67 68 function init() { 69 var input_begin = ''; 70 71 var keydowns = {}; 72 var lastKeyup = null; 73 var lastKeydown = null; 74 var keypresses = []; 75 76 var modifierKeys = []; 77 var correctionKeys = []; 78 79 var lastMouseup = null; 80 var lastMousedown = null; 81 var mouseclicks = []; 82 var mouseclickCoordinates = []; 83 84 var mousemoveTimer = null; 85 var lastMousemoveX = null; 86 var lastMousemoveY = null; 87 var lastMousemoveTime = null; 88 var mousemoveStart = null; 89 var mousemoves = []; 90 var intervalsBetweenMousemovesAndClicks = []; 91 92 var touchmoveCountTimer = null; 93 var touchmoveCount = 0; 94 95 var lastTouchEnd = null; 96 var lastTouchStart = null; 97 var touchEvents = []; 98 99 var scrollCountTimer = null; 100 var scrollCount = 0; 101 102 var correctionKeyCodes = [ 'Backspace', 'Delete', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Home', 'End', 'PageUp', 'PageDown' ]; 103 var modifierKeyCodes = [ 'Shift', 'CapsLock' ]; 104 105 var forms = document.querySelectorAll( 'form[method=post]' ); 106 107 for ( var i = 0; i < forms.length; i++ ) { 108 var form = forms[i]; 109 110 var formAction = form.getAttribute( 'action' ); 111 112 // Ignore forms that POST directly to other domains; these could be things like payment forms. 113 if ( formAction ) { 114 // Check that the form is posting to an external URL, not a path. 115 if ( formAction.indexOf( 'http://' ) == 0 || formAction.indexOf( 'https://' ) == 0 ) { 116 if ( formAction.indexOf( 'http://' + window.location.hostname + '/' ) != 0 && formAction.indexOf( 'https://' + window.location.hostname + '/' ) != 0 ) { 117 continue; 118 } 119 } 120 } 121 122 form.addEventListener( 'submit', function () { 123 var ak_bkp = prepare_array_for_request( keypresses ); 124 var ak_bmc = prepare_array_for_request( mouseclicks ); 125 var ak_bte = prepare_array_for_request( touchEvents ); 126 var ak_bmm = prepare_array_for_request( mousemoves ); 127 var ak_bcc = prepare_array_for_request( mouseclickCoordinates ); 128 var ak_bibmac = intervalsBetweenMousemovesAndClicks.slice( 0, 100 ).join( ';' ); 129 130 var input_fields = { 131 // When did the user begin entering any input? 132 'bib': input_begin, 133 134 // When was the form submitted? 135 'bfs': Date.now(), 136 137 // How many keypresses did they make? 138 'bkpc': keypresses.length, 139
140 // How quickly did they press a sample of keys, and how long between them? 141 'bkp': ak_bkp, 142 143 // How quickly did they click the mouse, and how long between clicks? 144 'bmc': ak_bmc, 145 146 // How many mouseclicks did they make? 147 'bmcc': mouseclicks.length, 148 149 // When did they press modifier keys (like Shift or Capslock)? 150 'bmk': modifierKeys.join( ';' ), 151 152 // When did they correct themselves? e.g., press Backspace, or use the arrow keys to move the cursor back 153 'bck': correctionKeys.join( ';' ), 154 155 // How many times did they move the mouse? 156 'bmmc': mousemoves.length, 157 158 // How many times did they move around using a touchscreen? 159 'btmc': touchmoveCount, 160 161 // How many times did they scroll? 162 'bsc': scrollCount, 163 164 // How quickly did they perform touch events, and how long between them? 165 'bte': ak_bte, 166 167 // How many touch events were there? 168 'btec' : touchEvents.length, 169 170 // How quickly did they move the mouse, and how long between moves? 171 'bmm' : ak_bmm, 172 173 // Click coordinates 174 'bcc' : ak_bcc, 175 176 // Milliseconds between last mouse movement and each click 177 'bibmac' : ak_bibmac 178 }; 179 180 var akismet_field_prefix = 'ak_'; 181 182 if ( this.getElementsByClassName ) { 183 // Check to see if we've used an alternate field name prefix. We store this as an attribute of the container around some of the Akismet fields. 184 var possible_akismet_containers = this.getElementsByClassName( 'akismet-fields-container' ); 185 186 for ( var containerIndex = 0; containerIndex < possible_akismet_containers.length; containerIndex++ ) { 187 var container = possible_akismet_containers.item( containerIndex ); 188 189 if ( container.getAttribute( 'data-prefix' ) ) { 190 akismet_field_prefix = container.getAttribute( 'data-prefix' ); 191 break; 192 } 193 } 194 } 195 196 for ( var field_name in input_fields ) { 197 var field = document.createElement( 'input' ); 198 field.setAttribute( 'type', 'hidden' ); 199 field.setAttribute( 'name', akismet_field_prefix + field_name ); 200 field.setAttribute( 'value', input_fields[ field_name ] ); 201 this.appendChild( field ); 202 } 203 }, supportsPassive ? { passive: true } : false ); 204 205 form.addEventListener( 'keydown', function ( e ) { 206 // If you hold a key down, some browsers send multiple keydown events in a row. 207 // Ignore any keydown events for a key that hasn't come back up yet. 208 if ( e.key in keydowns ) { 209 return; 210 } 211 212 var keydownTime = ( new Date() ).getTime(); 213 keydowns[ e.key ] = [ keydownTime ]; 214 215 if ( ! input_begin ) { 216 input_begin = keydownTime; 217 } 218 219 // In some situations, we don't want to record an interval since the last keypress -- for example, 220 // on the first keypress, or on a keypress after focus has changed to another element. Normally, 221 // we want to record the time between the last keyup and this keydown. But if they press a 222 // key while already pressing a key, we want to record the time between the two keydowns. 223 224 var lastKeyEvent = Math.max( lastKeydown, lastKeyup ); 225 226 if ( lastKeyEvent ) { 227 keydowns[ e.key ].push( keydownTime - lastKeyEvent ); 228 } 229 230 lastKeydown = keydownTime; 231 }, supportsPassive ? { passive: true } : false ); 232 233 form.addEventListener( 'keyup', function ( e ) { 234 if ( ! ( e.key in keydowns ) ) { 235 // This key was pressed before this script was loaded, or a mouseclick happened during the keypress, or... 236 return; 237 } 238 239 var keyupTime = ( new Date() ).getTime(); 240 241 if ( 'TEXTAREA' === e.target.nodeName || 'INPUT' === e.target.nodeName ) { 242 if ( -1 !== modifierKeyCodes.indexOf( e.key ) ) { 243 modifierKeys.push( keypresses.length - 1 ); 244 } else if ( -1 !== correctionKeyCodes.indexOf( e.key ) ) { 245 correctionKeys.push( keypresses.length - 1 ); 246 } else { 247 // ^ Don't record timings for keys like Shift or backspace, since they 248 // typically get held down for longer than regular typing. 249 250 var keydownTime = keydowns[ e.key ][0]; 251 252 var keypress = []; 253 254 // Keypress duration. 255 keypress.push( keyupTime - keydownTime ); 256 257 // Amount of time between this keypress and the previous keypress. 258 if ( keydowns[ e.key ].length > 1 ) { 259 keypress.push( keydowns[ e.key ][1] ); 260 } 261 262 keypresses.push( keypress ); 263 } 264 } 265
266 delete keydowns[ e.key ]; 267 268 lastKeyup = keyupTime; 269 }, supportsPassive ? { passive: true } : false ); 270 271 form.addEventListener( "focusin", function ( e ) { 272 lastKeydown = null; 273 lastKeyup = null; 274 keydowns = {}; 275 }, supportsPassive ? { passive: true } : false ); 276 277 form.addEventListener( "focusout", function ( e ) { 278 lastKeydown = null; 279 lastKeyup = null; 280 keydowns = {}; 281 }, supportsPassive ? { passive: true } : false ); 282 } 283 284 document.addEventListener( 'mousedown', function ( e ) { 285 lastMousedown = ( new Date() ).getTime(); 286 287 if ( lastMousemoveTime ) { 288 intervalsBetweenMousemovesAndClicks.push( lastMousedown - lastMousemoveTime ); 289 } 290 291 var mouseclickCoordinate = []; 292 293 var rect = e.target.getBoundingClientRect(); 294 var relativeX = e.clientX - rect.left; 295 var relativeY = e.clientY - rect.top; 296 297 // Pixel offset of the click within the target element. 298 mouseclickCoordinate.push( Math.round( relativeX ) ); 299 mouseclickCoordinate.push( Math.round( relativeY ) ); 300 301 // Percentage offset of the click within the target element. 302 mouseclickCoordinate.push( rect.width > 0 ? Math.round( relativeX / rect.width * 100 ) : 0 ); 303 mouseclickCoordinate.push( rect.height > 0 ? Math.round( relativeY / rect.height * 100 ) : 0 ); 304 305 mouseclickCoordinates.push( mouseclickCoordinate ); 306 }, supportsPassive ? { passive: true } : false ); 307 308 document.addEventListener( 'mouseup', function ( e ) { 309 if ( ! lastMousedown ) { 310 // If the mousedown happened before this script was loaded, but the mouseup happened after... 311 return; 312 } 313 314 var now = ( new Date() ).getTime(); 315 316 var mouseclick = []; 317 mouseclick.push( now - lastMousedown ); 318 319 if ( lastMouseup ) { 320 mouseclick.push( lastMousedown - lastMouseup ); 321 } 322 323 mouseclicks.push( mouseclick ); 324 325 lastMouseup = now; 326 327 // If the mouse has been clicked, don't record this time as an interval between keypresses. 328 lastKeydown = null; 329 lastKeyup = null; 330 keydowns = {}; 331 }, supportsPassive ? { passive: true } : false ); 332 333 document.addEventListener( 'mousemove', function ( e ) { 334 lastMousemoveTime = ( new Date() ).getTime(); 335 336 if ( mousemoveTimer ) { 337 clearTimeout( mousemoveTimer ); 338 mousemoveTimer = null; 339 } 340 else { 341 mousemoveStart = lastMousemoveTime; 342 lastMousemoveX = e.offsetX; 343 lastMousemoveY = e.offsetY; 344 } 345 346 mousemoveTimer = setTimeout( function ( theEvent, originalMousemoveStart ) { 347 var now = ( new Date() ).getTime() - 500; // To account for the timer delay. 348 349 var mousemove = []; 350 mousemove.push( now - originalMousemoveStart ); 351 mousemove.push( 352 Math.round( 353 Math.sqrt( 354 Math.pow( theEvent.offsetX - lastMousemoveX, 2 ) + 355 Math.pow( theEvent.offsetY - lastMousemoveY, 2 ) 356 ) 357 ) 358 ); 359 360 if ( mousemove[1] > 0 ) { 361 // If there was no measurable distance, then it wasn't really a move. 362 mousemoves.push( mousemove ); 363 } 364 365 mousemoveStart = null; 366 mousemoveTimer = null; 367 }, 500, e, mousemoveStart ); 368 }, supportsPassive ? { passive: true } : false ); 369 370 document.addEventListener( 'touchmove', function ( e ) { 371 if ( touchmoveCountTimer ) { 372 clearTimeout( touchmoveCountTimer ); 373 } 374 375 touchmoveCountTimer = setTimeout( function () { 376 touchmoveCount++; 377 }, 500 ); 378 }, supportsPassive ? { passive: true } : false ); 379 380 document.addEventListener( 'touchstart', function ( e ) { 381 lastTouchStart = ( new Date() ).getTime(); 382 }, supportsPassive ? { passive: true } : false ); 383 384 document.addEventListener( 'touchend', function ( e ) { 385 if ( ! lastTouchStart ) { 386 // If the touchstart happened before this script was loaded, but the touchend happened after... 387 return; 388 } 389 390 var now = ( new Date() ).getTime(); 391 392 var touchEvent = []; 393 touchEvent.push( now - lastTouchStart ); 394 395 if ( lastTouchEnd ) { 396 touchEvent.push( lastTouchStart - lastTouchEnd ); 397 } 398 399 touchEvents.push( touchEvent ); 400 401 lastTouchEnd = now; 402 403 // Don't record this time as an interval between keypresses. 404 lastKeydown = null; 405 lastKeyup = null; 406 keydowns = {}; 407 }, supportsPassive ? { passive: true } : false ); 408 409 document.addEventListener( 'scroll', function ( e ) {
410 if ( scrollCountTimer ) { 411 clearTimeout( scrollCountTimer ); 412 } 413 414 scrollCountTimer = setTimeout( function () { 415 scrollCount++; 416 }, 500 ); 417 }, supportsPassive ? { passive: true } : false ); 418 } 419 420 /** 421 * For the timing/coordinate data that is collected, don't send more than `limit` data points in the request. 422 * Choose a random slice and send those, with each batch separated by semicolons and the items in each batch 423 * separated by commas. 424 */ 425 function prepare_array_for_request( a, limit ) { 426 if ( ! limit ) { 427 limit = 100; 428 } 429 430 var rv = ''; 431 432 if ( a.length > 0 ) { 433 var random_starting_point = Math.max( 0, Math.floor( Math.random() * a.length - limit ) ); 434 435 for ( var i = 0; i < limit && i < a.length; i++ ) { 436 var entry = a[ random_starting_point + i ]; 437 rv += entry.join( ',' ) + ';'; 438 } 439 } 440 441 return rv; 442 } 443 444 if ( document.readyState !== 'loading' ) { 445 init(); 446 } else { 447 document.addEventListener( 'DOMContentLoaded', init ); 448 } 449})();; 450(()=>{var e={8885(e,t,a){(e=a.nmd(e))&&(e.exports=function(){var e,t="en",a=/[?&#]lang=([a-zA-Z\-_]+)/;"object"==typeof _wp_google_translate_widget&&"string"==typeof _wp_google_translate_widget.lang&&(t=_wp_google_translate_widget.lang),(e=window.location.href.match(a))&&(window.location.href=window.location.href.replace(a,"").replace(/#googtrans\([a-zA-Z\-_|]+\)/,"")+"#googtrans("+t+"|"+e[1]+")"),new google.translate.TranslateElement({pageLanguage:t,layout:_wp_google_translate_widget.layout,autoDisplay:!1},"google_translate_element")})}},t={};function a(o){var n=t[o];if(void 0!==n)return n.exports;var l=t[o]={id:o,loaded:!1,exports:{}};return e[o](l,l.exports,a),l.loaded=!0,l.exports}a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var o=a(8885);googleTranslateElementInit=o})();;
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.