!function(){"use strict";vare={d:function(t,n){for(varrinn)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},r:function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{privateApis:function(){returnA}});varn,r=window.wp.element;functiono(){returno=Object.assign?Object.assign.bind():function(e){for(vart=1;t<arguments.length;t++){varn=arguments[t];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}returne},o.apply(this,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(n||(n={}));vara=function(e){returne};varu="beforeunload",i="popstate";functionc(e){e.preventDefault(),e.returnValue=""}functions(){vare=[];return{getlength(){returne.length},push:function(t){returne.push(t),function(){e=e.filter((function(e){returne!==t}))}},call:function(t){e.forEach((function(e){returne&&e(t)}))}}}functionl(){returnMath.random().toString(36).substr(2,8)}functionf(e){vart=e.pathname,n=void0===t?"/":t,r=e.search,o=void0===r?"":r,a=e.hash,u=void0===a?"":a;returno&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),u&&"#"!==u&&(n+="#"===u.charAt(0)?u:"#"+u),n}functionh(e){vart={};if(e){varn=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));varr=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}returnt}varp=window.wp.url;constd=function(e){void0===e&&(e={});vart=e.window,r=void0===t?document.defaultView:t,p=r.history;functiond(){vare=r.location,t=e.pathname,n=e.search,o=e.hash,u=p.state||{};return[u.idx,a({pathname:t,search:n,hash:o,state:u.usr||null,key:u.key||"default"})]}varv=null;r.addEventListener(i,(function(){if(v)P.call(v),v=null;else{vare=n.Pop,t=d(),r=t[0],o=t[1];if(P.length){if(null!=r){vara=w-r;a&&(v={action:e,location:o,retry:function(){x(-1*a)}},x(a))}}elsej(e)}}));vary=n.Pop,g=d(),w=g[0],b=g[1],m=s(),P=s();functionO(e){return"string"==typeofe?e:f(e)}functionk(e,t){returnvoid0===t&&(t=null),a(o({pathname:b.pathname,hash:"",search:""},"string"==typeofe?h(e):e,{state:t,key:l()}))}functionA(e,t){return[{usr:e.state,key:e.key,idx:t},O(e)]}functionS(e,t,n){return!P.length||(P.call({action:e,location:t,retry:n}),!1)}functionj(e){y=e;vart=d();w=t[0],b=t[1],m.call({action:y,location:b})}functionx(e){p.go(e)}null==w&&(w=0,p.replaceState(o({},p.state,{idx:w}),""));varE={getaction(){returny},getlocation(){returnb},createHref:O,push:functione(t,o){vara=n.Push,u=k(t,o);if(S(a,u,(function(){e(t,o)}))){vari=A(u,w+1),c=i[0],s=i[1];try{p.pushState(c,"",s)}catch(e){r.location.assign(s)}j(a)}},replace:functione(t,r){varo=n.Replace,a=k(t,r);if(S(o,a,(function(){e(t,r)}))){varu=A(a,w),i=u[0],c=u[1];p.replaceState(i,"",c),j(o)}},go:x,back:function(){x(-1)},forward:function(){x(1)},listen:function(e){returnm.push(e)},block:function(e){vart=P.push(e);return1===P.length&&r.addEventListener(u,c),function(){t(),P.length||r.removeEventListener(u,c)}}};returnE}(),v=d.push,y=d.replace;d.push=function(e,t){constn=(0,p.getQueryArgs)(window.location.href),r=(0,p.removeQueryArgs)(window.location.href,...Object.keys(n)),o=(0,p.addQueryArgs)(r,e);returnv.call(d,o,t)},d.replace=function(e,t){constn=(0,p.getQueryArgs)(window.location.href),r=(0,p.removeQueryArgs)(window.location.href,...Object.keys(n)),o=(0,p.addQueryArgs)(r,e);returny.call(d,o,t)};varg=d;constw=(0,r.createContext)(),b=(0,r.createContext)();functionm(e){constt=newURLSearchParams(e.search);return{...e,params:Object.fromEntries(t.entries())}}varP=window.wp.privateApis;const{lock:O,unlock:k}=(0,P.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.","@wordpress/router"),A={};O(A,{useHistory:function(){return(0,r.useContext)(b)},useLocation:function(){return(0,r.useContext)(w)},RouterProvider:function({children:e}){const[t,n]=(0,r.useSt