import*as e from"@wordpress/interactivity";var t,n,r={998:function(t,n,r){t.exports=(e=>{var t={};return r.d(t,e),t})({directivePrefix:()=>e.directivePrefix,getContext:()=>e.getContext,getElement:()=>e.getElement,getRegionRootFragment:()=>e.getRegionRootFragment,render:()=>e.render,store:()=>e.store,toVdom:()=>e.toVdom})}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,i),n.exports}i.m=r,i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(t,n){return i.f[n](e,t),t}),[]))},i.u=function(e){return"./blocks/"+e+".min.js"},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t={},n="WordPress:",i.l=function(e,r,o,a){if(t[e])t[e].push(r);else{var s,u;if(void 0!==o)for(var c=document.getElementsByTagName("script"),f=0;fe&&e instanceof window.HTMLAnchorElement&&e.href&&(!e.target||"_self"===e.target)&&e.origin===window.location.origin;(0,e.store)("core/query",{state:{get startAnimation(){return"start"===(0,e.getContext)().animation},get finishAnimation(){return"finish"===(0,e.getContext)().animation}},actions:{*navigate(n){const r=(0,e.getContext)(),{ref:o}=(0,e.getElement)(),{queryRef:a}=r,s=a?.dataset.wpNavigationDisabled;if(t(o)&&(e=>!(0!==e.button||e.metaKey||e.ctrlKey||e.altKey||e.shiftKey||e.defaultPrevented))(n)&&!s){n.preventDefault();const e=setTimeout((()=>{r.message=r.loadingText,r.animation="start"}),400),{actions:t}=yield i.e(908).then(i.bind(i,908));yield t.navigate(o.href),clearTimeout(e),r.message=r.loadedText+(r.message===r.loadedText?" ":""),r.animation="finish",r.url=o.href;const s=".wp-block-post-template a[href]";a.querySelector(s)?.focus()}},*prefetch(){const{queryRef:n}=(0,e.getContext)(),{ref:r}=(0,e.getElement)(),o=n?.dataset.wpNavigationDisabled;if(t(r)&&!o){const{actions:e}=yield i.e(908).then(i.bind(i,908));yield e.prefetch(r.href)}}},callbacks:{*prefetch(){const{url:n}=(0,e.getContext)(),{ref:r}=(0,e.getElement)();if(n&&t(r)){const{actions:e}=yield i.e(908).then(i.bind(i,908));yield e.prefetch(r.href)}},setQueryRef(){const t=(0,e.getContext)(),{ref:n}=(0,e.getElement)();t.queryRef=n}}})}();