(()=>{"use strict";vart={d:(e,n)=>{for(varrinn)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{privateApis:()=>j});constn=window.wp.element;functionr(){returnr=Object.assign?Object.assign.bind():function(t){for(vare=1;e<arguments.length;e++){varn=arguments[e];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}returnt},r.apply(this,arguments)}varo;!function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"}(o||(o={}));vara=function(t){returnt};vari="beforeunload",u="popstate";functionc(t){t.preventDefault(),t.returnValue=""}functions(){vart=[];return{getlength(){returnt.length},push:function(e){returnt.push(e),function(){t=t.filter((function(t){returnt!==e}))}},call:function(e){t.forEach((function(t){returnt&&t(e)}))}}}functionl(){returnMath.random().toString(36).substr(2,8)}functionf(t){vare=t.pathname,n=void0===e?"/":e,r=t.search,o=void0===r?"":r,a=t.hash,i=void0===a?"":a;returno&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),i&&"#"!==i&&(n+="#"===i.charAt(0)?i:"#"+i),n}functionh(t){vare={};if(t){varn=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));varr=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}returne}constp=window.wp.url,d=function(t){void0===t&&(t={});vare=t.window,n=void0===e?document.defaultView:e,p=n.history;functiond(){vart=n.location,e=t.pathname,r=t.search,o=t.hash,i=p.state||{};return[i.idx,a({pathname:e,search:r,hash:o,state:i.usr||null,key:i.key||"default"})]}varv=null;n.addEventListener(u,(function(){if(v)P.call(v),v=null;else{vart=o.Pop,e=d(),n=e[0],r=e[1];if(P.length){if(null!=n){vara=y-n;a&&(v={action:t,location:r,retry:function(){L(-1*a)}},L(a))}}elsej(t)}}));varw=o.Pop,g=d(),y=g[0],m=g[1],b=s(),P=s();functionS(t){return"string"==typeoft?t:f(t)}functionO(t,e){returnvoid0===e&&(e=null),a(r({pathname:m.pathname,hash:"",search:""},"string"==typeoft?h(t):t,{state:e,key:l()}))}functionx(t,e){return[{usr:t.state,key:t.key,idx:e},S(t)]}functionk(t,e,n){return!P.length||(P.call({action:t,location:e,retry:n}),!1)}functionj(t){w=t;vare=d();y=e[0],m=e[1],b.call({action:w,location:m})}functionL(t){p.go(t)}null==y&&(y=0,p.replaceState(r({},p.state,{idx:y}),""));var_={getaction(){returnw},getlocation(){returnm},createHref:S,push:functiont(e,r){vara=o.Push,i=O(e,r);if(k(a,i,(function(){t(e,r)}))){varu=x(i,y+1),c=u[0],s=u[1];try{p.pushState(c,"",s)}catch(t){n.location.assign(s)}j(a)}},replace:functiont(e,n){varr=o.Replace,a=O(e,n);if(k(r,a,(function(){t(e,n)}))){vari=x(a,y),u=i[0],c=i[1];p.replaceState(u,"",c),j(r)}},go:L,back:function(){L(-1)},forward:function(){L(1)},listen:function(t){returnb.push(t)},block:function(t){vare=P.push(t);return1===P.length&&n.addEventListener(i,c),function(){e(),P.length||n.removeEventListener(i,c)}}};return_}(),v=d.push,w=d.replace;functiong(t){if(t.hasOwnProperty("wp_theme_preview"))returnt;conste=newURLSearchParams(d.location.search).get("wp_theme_preview");returnnull===e?t:{...t,wp_theme_preview:e}}consty=newWeakMap;d.push=function(t,e){constn=(0,p.buildQueryString)(g(t));returnv.call(d,{search:n},e)},d.replace=function(t,e){constn=(0,p.buildQueryString)(g(t));returnw.call(d,{search:n},e)},d.getLocationWithParams=function(){constt=d.location;lete=y.get(t);returne||(e={...t,params:Object.fromEntries(newURLSearchParams(t.search))},y.set(t,e)),e};constm=d,b=window.ReactJSXRuntime,P=(0,n.createContext)(),S=(0,n.createContext)();constO=window.wp.privateApis,{lock:x,unlock:k}=(0,O.__dangerousOptInToUnstableAPIsOnlyForCoreModules)("I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.","@wordpress/router"),j={};x(j,{useHistory:function(){return(0,n.useContext)(S)},useLocation:function(){return(0,n.useContext)(P)},Rou