CoreFiles by mySites.guru
index.min.js1 lines, 39,952 bytes, from wordpress-7.0-RC3.zip
Raw History Compare with 7.0-RC2
md5
6ac4b1e26a16dada520e4ba238d26057
sha1
916b4500dd061a41fa44dbe4573c77bd70e342ad
sha256
06c817b490999100c741a676a6fa8e9fe91b45b61995a67284ca766cd35d60fb
var he,m,Ht,it,X,Bt,Lt,et,ot,tt,rt,Ft,de={},At=[],Br=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,st=Array.isArray;function L(e,t){for(var r in t)e[r]=t[r];return e}function jt(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function U(e,t,r){var n,i,o,s={};for(o in t)o=="key"?n=t[o]:o=="ref"?i=t[o]:s[o]=t[o];if(arguments.length>2&&(s.children=arguments.length>3?he.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)s[o]===void 0&&(s[o]=e.defaultProps[o]);return _e(e,s,n,i,null)}function _e(e,t,r,n,i){var o={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:i??++Ht,__i:-1,__u:0};return i==null&&m.vnode!=null&&m.vnode(o),o}function Be(e){return e.children}function oe(e,t){this.props=e,this.context=t}function se(e,t){if(t==null)return e.__?se(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?se(e):null}function Vt(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return Vt(e)}}function nt(e){(!e.__d&&(e.__d=!0)&&X.push(e)&&!Me.__r++||Bt!==m.debounceRendering)&&((Bt=m.debounceRendering)||Lt)(Me)}function Me(){var e,t,r,n,i,o,s,f;for(X.sort(et);e=X.shift();)e.__d&&(t=X.length,n=void 0,o=(i=(r=e).__v).__e,s=[],f=[],r.__P&&((n=L({},i)).__v=i.__v+1,m.vnode&&m.vnode(n),at(r.__P,n,i,r.__n,r.__P.namespaceURI,32&i.__u?[o]:null,s,o??se(i),!!(32&i.__u),f),n.__v=i.__v,n.__.__k[n.__i]=n,Jt(s,n,f),n.__e!=o&&Vt(n)),X.length>t&&X.sort(et));Me.__r=0}function zt(e,t,r,n,i,o,s,f,u,c,l){var a,d,p,w,P,h=n&&n.__k||At,_=t.length;for(r.__d=u,qr(r,t,h),u=r.__d,a=0;a<_;a++)(p=r.__k[a])!=null&&(d=p.__i===-1?de:h[p.__i]||de,p.__i=a,at(e,p,d,i,o,s,f,u,c,l),w=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&ft(d.ref,null,p),l.push(p.ref,p.__c||w,p)),P==null&&w!=null&&(P=w),65536&p.__u||d.__k===p.__k?u=Kt(p,u,e):typeof p.type=="function"&&p.__d!==void 0?u=p.__d:w&&(u=w.nextSibling),p.__d=void 0,p.__u&=-196609);r.__d=u,r.__e=P}function qr(e,t,r){var n,i,o,s,f,u=t.length,c=r.length,l=c,a=0;for(e.__k=[],n=0;n<u;n++)(i=t[n])!=null&&typeof i!="boolean"&&typeof i!="function"?(s=n+a,(i=e.__k[n]=typeof i=="string"||typeof i=="number"||typeof i=="bigint"||i.constructor==String?_e(null,i,null,null,null):st(i)?_e(Be,{children:i},null,null,null):i.constructor===void 0&&i.__b>0?_e(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,o=null,(f=i.__i=Wr(i,r,s,l))!==-1&&(l--,(o=r[f])&&(o.__u|=131072)),o==null||o.__v===null?(f==-1&&a--,typeof i.type!="function"&&(i.__u|=65536)):f!==s&&(f==s-1?a--:f==s+1?a++:(f>s?a--:a++,i.__u|=65536))):i=e.__k[n]=null;if(l)for(n=0;n<c;n++)(o=r[n])!=null&&(131072&o.__u)==0&&(o.__e==e.__d&&(e.__d=se(o)),Qt(o,o))}function Kt(e,t,r){var n,i;if(typeof e.type=="function"){for(n=e.__k,i=0;n&&i<n.length;i++)n[i]&&(n[i].__=e,t=Kt(n[i],t,r));return t}e.__e!=t&&(t&&e.type&&!r.contains(t)&&(t=se(e)),r.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Wr(e,t,r,n){var i=e.key,o=e.type,s=r-1,f=r+1,u=t[r];if(u===null||u&&i==u.key&&o===u.type&&(131072&u.__u)==0)return r;if(n>(u!=null&&(131072&u.__u)==0?1:0))for(;s>=0||f<t.length;){if(s>=0){if((u=t[s])&&(131072&u.__u)==0&&i==u.key&&o===u.type)return s;s--}if(f<t.length){if((u=t[f])&&(131072&u.__u)==0&&i==u.key&&o===u.type)return f;f++}}return-1}function qt(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||Br.test(t)?r:r+"px"}function $e(e,t,r,n,i){var o;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||qt(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||qt(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?n?r.u=n.u:(r.u=ot,e.addEventListener(t,o?rt:tt,o)):e.removeEventListener(t,o?rt:tt,o);else{if(i=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function Wt(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t.t==null)t.t=ot++;else if(t.t<r.u)return;return r(m.event?m.event(t):t)}}}function at(e,t,r,n,i,o,s,f,u,c){var l,a,d,p,w,P,h,_,v,R,I,x,C,De,Ge,Ze,M=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(u=!!(32&r.__u),o=[f=t.__e=r.__e]),(l=m.__b)&&l(t);e:if(typeof M=="function")try{if(_=t.props,v="prototype"in M&&M.prototype.render,R=(l=M.contextType)&&n[l.__c],I=l?R?R.props.value:l.__:n,r.__c?h=(a=t.__c=r.__c).__=a.__E:(v?t.__c=a=new M(_,I):(t.__c=a=new oe(_,I),a.constructor=M,a.render=Lr),R&&R.sub(a),a.props=_,a.state||(a.state={}),a.context=I,a.__n=n,d=a.__d=!0,a.__h=[],a._sb=[]),v&&a.__s==null&&(a.__s=a.state),v&&M.getDerivedStateFromProps!=null&&(a.__s==a.state&&(a.__s=L({},a.__s)),L(a.__s,M.getDerivedStateFromProps(_,a.__s))),p=a.props,w=a.state,a.__v=t,d)v&&M.getDerivedStateFromProps==null&&a.componentWillMount!=null&&a.componentWillMount(),v&&a.componentDidMount!=null&&a.__h.push(a.componentDidMount);else{if(v&&M.getDerivedStateFromProps==null&&_!==p&&a.componentWillReceiveProps!=null&&a.componentWillReceiveProps(_,I),!a.__e&&(a.shouldComponentUpdate!=null&&a.shouldComponentUpdate(_,a.__s,I)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(a.props=_,a.state=a.__s,a.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(Oe){Oe&&(Oe.__=t)}),x=0;x<a._sb.length;x++)a.__h.push(a._sb[x]);a._sb=[],a.__h.length&&s.push(a);break e}a.componentWillUpdate!=null&&a.componentWillUpdate(_,a.__s,I),v&&a.componentDidUpdate!=null&&a.__h.push(function(){a.componentDidUpdate(p,w,P)})}if(a.context=I,a.props=_,a.__P=e,a.__e=!1,C=m.__r,De=0,v){for(a.state=a.__s,a.__d=!1,C&&C(t),l=a.render(a.props,a.state,a.context),Ge=0;Ge<a._sb.length;Ge++)a.__h.push(a._sb[Ge]);a._sb=[]}else do a.__d=!1,C&&C(t),l=a.render(a.props,a.state,a.context),a.state=a.__s;while(a.__d&&++De<25);a.state=a.__s,a.getChildContext!=null&&(n=L(L({},n),a.getChildContext())),v&&!d&&a.getSnapshotBeforeUpdate!=null&&(P=a.getSnapshotBeforeUpdate(p,w)),zt(e,st(Ze=l!=null&&l.type===Be&&l.key==null?l.props.children:l)?Ze:[Ze],t,r,n,i,o,s,f,u,c),a.base=t.__e,t.__u&=-161,a.__h.length&&s.push(a),h&&(a.__E=a.__=null)}catch(Oe){if(t.__v=null,u||o!=null){for(t.__u|=u?160:32;f&&f.nodeType===8&&f.nextSibling;)f=f.nextSibling;o[o.indexOf(f)]=null,t.__e=f}else t.__e=r.__e,t.__k=r.__k;m.__e(Oe,t,r)}else o==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=Hr(r.__e,t,r,n,i,o,s,u,c);(l=m.diffed)&&l(t)}function Jt(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)ft(r[n],r[++n],r[++n]);m.__c&&m.__c(t,e),e.some(function(i){try{e=i.__h,i.__h=[],e.some(function(o){o.call(i)})}catch(o){m.__e(o,i.__v)}})}function Hr(e,t,r,n,i,o,s,f,u){var c,l,a,d,p,w,P,h=r.props,_=t.props,v=t.type;if(v==="svg"?i="http://www.w3.org/2000/svg":v==="math"?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),o!=null){for(c=0;c<o.length;c++)if((p=o[c])&&"setAttribute"in p==!!v&&(v?p.localName===v:p.nodeType===3)){e=p,o[c]=null;break}}if(e==null){if(v===null)return document.createTextNode(_);e=document.createElementNS(i,v,_.is&&_),f&&(m.__m&&m.__m(t,o),f=!1),o=null}if(v===null)h===_||f&&e.data===_||(e.data=_);else{if(o=o&&he.call(e.childNodes),h=r.props||de,!f&&o!=null)for(h={},c=0;c<e.attributes.length;c++)h[(p=e.attributes[c]).name]=p.value;for(c in h)if(p=h[c],c!="children"){if(c=="dangerouslySetInnerHTML")a=p;else if(!(c in _)){if(c=="value"&&"defaultValue"in _||c=="checked"&&"defaultChecked"in _)continue;$e(e,c,null,p,i)}}for(c in _)p=_[c],c=="children"?d=p:c=="dangerouslySetInnerHTML"?l=p:c=="value"?w=p:c=="checked"?P=p:f&&typeof p!="function"||h[c]===p||$e(e,c,p,h[c],i);if(l)f||a&&(l.__html===a.__html||l.__html===e.innerHTML)||(e.innerHTML=l.__html),t.__k=[];else if(a&&(e.innerHTML=""),zt(e,st(d)?d:[d],t,r,n,v==="foreignObject"?"http://www.w3.org/1999/xhtml":i,o,s,o?o[0]:r.__k&&se(r,0),f,u),o!=null)for(c=o.length;c--;)jt(o[c]);f||(c="value",v==="progress"&&w==null?e.removeAttribute("value"):w!==void 0&&(w!==e[c]||v==="progress"&&!w||v==="option"&&w!==h[c])&&$e(e,c,w,h[c],i),c="checked",P!==void 0&&P!==e[c]&&$e(e,c,P,h[c],i))}return e}function ft(e,t,r){try{if(typeof e=="function"){var n=typeof e.__u=="function";n&&e.__u(),n&&t==null||(e.__u=e(t))}else e.current=t}catch(i){m.__e(i,r)}}function Qt(e,t,r){var n,i;if(m.unmount&&m.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||ft(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(o){m.__e(o,t)}n.base=n.__P=null}if(n=e.__k)for(i=0;i<n.length;i++)n[i]&&Qt(n[i],t,r||typeof e.type!="function");r||jt(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Lr(e,t,r){return this.constructor(e,r)}function ct(e,t,r){var n,i,o,s;m.__&&m.__(e,t),i=(n=typeof r=="function")?null:r&&r.__k||t.__k,o=[],s=[],at(t,e=(!n&&r||t).__k=U(Be,null,[e]),i||de,de,t.namespaceURI,!n&&r?[r]:i?null:t.firstChild?he.call(t.childNodes):null,o,!n&&r?r:i?i.__e:t.firstChild,n,s),Jt(o,e,s)}function ut(e,t){ct(e,t,ut)}function ae(e,t,r){var n,i,o,s,f=L({},e.props);for(o in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)o=="key"?n=t[o]:o=="ref"?i=t[o]:f[o]=t[o]===void 0&&s!==void 0?s[o]:t[o];return arguments.length>2&&(f.children=arguments.length>3?he.call(arguments,2):r),_e(e.type,f,n||e.key,i||e.ref,null)}function Xt(e,t){var r={__c:t="__cC"+Ft++,__:e,Consumer:function(n,i){return n.children(i)},Provider:function(n){var i,o;return this.getChildContext||(i=[],(o={})[t]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){i=null},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&i.some(function(f){f.__e=!0,nt(f)})},this.sub=function(s){i.push(s);var f=s.componentWillUnmount;s.componentWillUnmount=function(){i&&i.splice(i.indexOf(s),1),f&&f.call(s)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}he=At.slice,m={__e:function(e,t,r,n){for(var i,o,s;t=t.__;)if((i=t.__c)&&!i.__)try{if((o=i.constructor)&&o.getDerivedStateFromError!=null&&(i.setState(o.getDerivedStateFromError(e)),s=i.__d),i.componentDidCatch!=null&&(i.componentDidCatch(e,n||{}),s=i.__d),s)return i.__E=i}catch(f){e=f}throw e}},Ht=0,it=function(e){return e!=null&&e.constructor==null},oe.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=L({},this.state),typeof e=="function"&&(e=e(L({},r),this.props)),e&&L(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),nt(this))},oe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),nt(this))},oe.prototype.render=Be,X=[],Lt=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,et=function(e,t){return e.__v.__b-t.__v.__b},Me.__r=0,ot=0,tt=Wt(!1),rt=Wt(!0),Ft=0;var Y,y,lt,Yt,ve=0,sr=[],b=m,Zt=b.__b,er=b.__r,tr=b.diffed,rr=b.__c,nr=b.unmount,ir=b.__;function me(e,t){b.__h&&b.__h(y,e,ve||t),ve=0;var r=y.__H||(y.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function Fr(e){return ve=1,Ar(ar,e)}function Ar(e,t,r){var n=me(Y++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):ar(void 0,t),function(f){var u=n.__N?n.__N[0]:n.__[0],c=n.t(u,f);u!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=y,!y.u)){var i=function(f,u,c){if(!n.__c.__H)return!0;var l=n.__c.__H.__.filter(function(d){return!!d.__c});if(l.every(function(d){return!d.__N}))return!o||o.call(this,f,u,c);var a=!1;return l.forEach(function(d){if(d.__N){var p=d.__[0];d.__=d.__N,d.__N=void 0,p!==d.__[0]&&(a=!0)}}),!(!a&&n.__c.props===f)&&(!o||o.call(this,f,u,c))};y.u=!0;var o=y.shouldComponentUpdate,s=y.componentWillUpdate;y.componentWillUpdate=function(f,u,c){if(this.__e){var l=o;o=void 0,i(f,u,c),o=l}s&&s.call(this,f,u,c)},y.shouldComponentUpdate=i}return n.__N||n.__}function ge(e,t){var r=me(Y++,3);!b.__s&&_t(r.__H,t)&&(r.__=e,r.i=t,y.__H.__h.push(r))}function We(e,t){var r=me(Y++,4);!b.__s&&_t(r.__H,t)&&(r.__=e,r.i=t,y.__h.push(r))}function V(e){return ve=5,F(function(){return{current:e}},[])}function F(e,t){var r=me(Y++,7);return _t(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function He(e,t){return ve=8,F(function(){return e},t)}function ye(e){var t=y.context[e.__c],r=me(Y++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(y)),t.props.value):e.__}function jr(){for(var e;e=sr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(qe),e.__H.__h.forEach(pt),e.__H.__h=[]}catch(t){e.__H.__h=[],b.__e(t,e.__v)}}b.__b=function(e){y=null,Zt&&Zt(e)},b.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ir&&ir(e,t)},b.__r=function(e){er&&er(e),Y=0;var t=(y=e.__c).__H;t&&(lt===y?(t.__h=[],y.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.i=r.__N=void 0})):(t.__h.forEach(qe),t.__h.forEach(pt),t.__h=[],Y=0)),lt=y},b.diffed=function(e){tr&&tr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(sr.push(t)!==1&&Yt===b.requestAnimationFrame||((Yt=b.requestAnimationFrame)||Vr)(jr)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.i=void 0})),lt=y=null},b.__c=function(e,t){t.some(function(r){try{r.__h.forEach(qe),r.__h=r.__h.filter(function(n){return!n.__||pt(n)})}catch(n){t.some(function(i){i.__h&&(i.__h=[])}),t=[],b.__e(n,r.__v)}}),rr&&rr(e,t)},b.unmount=function(e){nr&&nr(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{qe(n)}catch(i){t=i}}),r.__H=void 0,t&&b.__e(t,r.__v))};var or=typeof requestAnimationFrame=="function";function Vr(e){var t,r=function(){clearTimeout(n),or&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);or&&(t=requestAnimationFrame(r))}function qe(e){var t=y,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),y=t}function pt(e){var t=y;e.__c=e.__(),y=t}function _t(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function ar(e,t){return typeof t=="function"?t(e):t}var zr=Symbol.for("preact-signals");function Fe(){if(z>1)z--;else{for(var e,t=!1;we!==void 0;){var r=we;for(we=void 0,dt++;r!==void 0;){var n=r.o;if(r.o=void 0,r.f&=-3,!(8&r.f)&&cr(r))try{r.c()}catch(i){t||(e=i,t=!0)}r=n}}if(dt=0,z--,t)throw e}}function Z(e){if(z>0)return e();z++;try{return e()}finally{Fe()}}var g=void 0;var we=void 0,z=0,dt=0,Le=0;function fr(e){if(g!==void 0){var t=e.n;if(t===void 0||t.t!==g)return t={i:0,S:e,p:g.s,n:void 0,t:g,e:void 0,x:void 0,r:t},g.s!==void 0&&(g.s.n=t),g.s=t,e.n=t,32&g.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=g.s,t.n=void 0,g.s.n=t,g.s=t),t}}function E(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}E.prototype.brand=zr;E.prototype.h=function(){return!0};E.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)};E.prototype.U=function(e){if(this.t!==void 0){var t=e.e,r=e.x;t!==void 0&&(t.x=r,e.e=void 0),r!==void 0&&(r.e=t,e.x=void 0),e===this.t&&(this.t=r)}};E.prototype.subscribe=function(e){var t=this;return A(function(){var r=t.value,n=g;g=void 0;try{e(r)}finally{g=n}})};E.prototype.valueOf=function(){return this.value};E.prototype.toString=function(){return this.value+""};E.prototype.toJSON=function(){return this.value};E.prototype.peek=function(){var e=g;g=void 0;try{return this.value}finally{g=e}};Object.defineProperty(E.prototype,"value",{get:function(){var e=fr(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(dt>100)throw new Error("Cycle detected");this.v=e,this.i++,Le++,z++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Fe()}}}});function k(e){return new E(e)}function cr(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function ur(e){for(var t=e.s;t!==void 0;t=t.n){var r=t.S.n;if(r!==void 0&&(t.r=r),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function lr(e){for(var t=e.s,r=void 0;t!==void 0;){var n=t.p;t.i===-1?(t.S.U(t),n!==void 0&&(n.n=t.n),t.n!==void 0&&(t.n.p=n)):r=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=n}e.s=r}function fe(e){E.call(this,void 0),this.x=e,this.s=void 0,this.g=Le-1,this.f=4}(fe.prototype=new E).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Le))return!0;if(this.g=Le,this.f|=1,this.i>0&&!cr(this))return this.f&=-2,!0;var e=g;try{ur(this),g=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(r){this.v=r,this.f|=16,this.i++}return g=e,lr(this),this.f&=-2,!0};fe.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}E.prototype.S.call(this,e)};fe.prototype.U=function(e){if(this.t!==void 0&&(E.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};fe.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(fe.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=fr(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function be(e){return new fe(e)}function pr(e){var t=e.u;if(e.u=void 0,typeof t=="function"){z++;var r=g;g=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,ht(e),n}finally{g=r,Fe()}}}function ht(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,pr(e)}function Kr(e){if(g!==this)throw new Error("Out-of-order effect");lr(this),g=e,this.f&=-2,8&this.f&&ht(this),Fe()}function Se(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Se.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}};Se.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,pr(this),ur(this),z++;var e=g;return g=this,Kr.bind(this,e)};Se.prototype.N=function(){2&this.f||(this.f|=2,this.o=we,we=this)};Se.prototype.d=function(){this.f|=8,1&this.f||ht(this)};function A(e){var t=new Se(e);try{t.c()}catch(r){throw t.d(),r}return t.d.bind(t)}var mt,vt;function ce(e,t){m[e]=t.bind(null,m[e]||function(){})}function Ae(e){vt&&vt(),vt=e&&e.S()}function _r(e){var t=this,r=e.data,n=Qr(r);n.value=r;var i=F(function(){for(var o=t.__v;o=o.__;)if(o.__c){o.__c.__$f|=4;break}return t.__$u.c=function(){var s;!it(i.peek())&&((s=t.base)==null?void 0:s.nodeType)===3?t.base.data=i.peek():(t.__$f|=1,t.setState({}))},be(function(){var s=n.value.value;return s===0?0:s===!0?"":s||""})},[]);return i.value}_r.displayName="_st";Object.defineProperties(E.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:_r},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}});ce("__b",function(e,t){if(typeof t.type=="string"){var r,n=t.props;for(var i in n)if(i!=="children"){var o=n[i];o instanceof E&&(r||(t.__np=r={}),r[i]=o,n[i]=o.peek())}}e(t)});ce("__r",function(e,t){Ae();var r,n=t.__c;n&&(n.__$f&=-2,(r=n.__$u)===void 0&&(n.__$u=r=(function(i){var o;return A(function(){o=this}),o.c=function(){n.__$f|=1,n.setState({})},o})())),mt=n,Ae(r),e(t)});ce("__e",function(e,t,r,n){Ae(),mt=void 0,e(t,r,n)});ce("diffed",function(e,t){Ae(),mt=void 0;var r;if(typeof t.type=="string"&&(r=t.__e)){var n=t.__np,i=t.props;if(n){var o=r.U;if(o)for(var s in o){var f=o[s];f!==void 0&&!(s in n)&&(f.d(),o[s]=void 0)}else r.U=o={};for(var u in n){var c=o[u],l=n[u];c===void 0?(c=Jr(r,u,l,i),o[u]=c):c.o(l,i)}}}e(t)});function Jr(e,t,r,n){var i=t in e&&e.ownerSVGElement===void 0,o=k(r);return{o:function(s,f){o.value=s,n=f},d:A(function(){var s=o.value.value;n[t]!==s&&(n[t]=s,i?e[t]=s:s?e.setAttribute(t,s):e.removeAttribute(t))})}}ce("unmount",function(e,t){if(typeof t.type=="string"){var r=t.__e;if(r){var n=r.U;if(n){r.U=void 0;for(var i in n){var o=n[i];o&&o.d()}}}}else{var s=t.__c;if(s){var f=s.__$u;f&&(s.__$u=void 0,f.d())}}e(t)});ce("__h",function(e,t,r,n){(n<3||n===9)&&(t.__$f|=2),e(t,r,n)});oe.prototype.shouldComponentUpdate=function(e,t){var r=this.__$u;if(!(r&&r.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var n in t)return!0;for(var i in e)if(i!=="__source"&&e[i]!==this.props[i])return!0;for(var o in this.props)if(!(o in e))return!0;return!1};function Qr(e){return F(function(){return k(e)},[])}var gt=[],B=()=>gt.slice(-1)[0],q=e=>{gt.push(e)},W=()=>{gt.pop()};var yt=[],D=()=>yt.slice(-1)[0],ee=e=>{yt.push(e)},j=()=>{yt.pop()};var Xr=e=>D().context[e||B()],Yr=()=>{let e=D(),t={},{ref:r,attributes:n}=e;return Object.freeze({ref:r.current,attributes:xe(n,t)})},je=k(0);function wt(e){let t=D();return wt.subscribe=je.value,K(t.serverContext[e||B()])}wt.subscribe=0;var Zr=e=>new Promise(t=>{let r=()=>{clearTimeout(n),window.cancelAnimationFrame(i),setTimeout(()=>{e(),t()})},n=setTimeout(r,100),i=window.requestAnimationFrame(r)}),te=typeof window.scheduler?.yield=="function"?window.scheduler.yield.bind(window.scheduler):()=>new Promise(e=>{setTimeout(e,0)}),dr=e=>{let[t]=performance.getEntriesByType("navigation");t.domContentLoadedEventStart>0?e():document.addEventListener("DOMContentLoaded",e)};function en(e,t){let r=()=>{},n=A(function(){return r=this.c.bind(this),this.x=e,this.c=t,e()});return{flush:r,dispose:n}}function tn(e){ge(()=>{let t=null,r=!1;return t=en(e,async()=>{t&&!r&&(r=!0,await Zr(t.flush),r=!1)}),t.dispose},[])}function O(e){let t=D(),r=B(),n;if(e?.constructor?.name==="GeneratorFunction"?n=async(...o)=>{let s=e(...o),f,u,c;for(;;){q(r),ee(t);try{u=c?s.throw(c):s.next(f),c=void 0}catch(l){throw l}finally{j(),W()}try{f=await u.value}catch(l){c=l}if(u.done){if(c)throw c;break}}return f}:n=(...o)=>{q(r),ee(t);try{return e(...o)}finally{W(),j()}},e.sync){let o=n;return o.sync=!0,o}return n}function St(e){tn(O(e))}function J(e){ge(O(e),[])}function rn(e,t){ge(O(e),t)}function nn(e,t){We(O(e),t)}function on(e,t){return He(O(e),t)}function sn(e,t){return F(O(e),t)}var hr=(e,t)=>{t=[].concat(t);let r=t[t.length-1].nextSibling;function n(i,o){e.insertBefore(i,o||r)}return e.__k={nodeType:1,parentNode:e,firstChild:t[0],childNodes:t,insertBefore:n,appendChild:n,removeChild(i){e.removeChild(i)},contains(i){e.contains(i)}}};function vr(e){return e.replace(/^-+|-+$/g,"").toLowerCase().replace(/-([a-z])/g,function(t,r){return r.toUpperCase()})}var Ee=e=>{},T=e=>!!(e&&typeof e=="object"&&e.constructor===Object);function an(e){let t=e;return t.sync=!0,t}var bt=new WeakMap,fn=e=>{let t=()=>!1;return{get(r,n){let i=r[n];return i&&typeof i=="object"?xe(i,{errorMessage:e}):i},set:t,deleteProperty:t,defineProperty:t}};function xe(e,t){let r=t?.errorMessage??"Cannot modify read-only object";if(!bt.has(e)){let n=fn(r);bt.set(e,new Proxy(e,n))}return bt.get(e)}var Ve=k(0),ze=Math.random().toString(36).slice(2);function K(e){return T(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,K(r)])):Array.isArray(e)?e.map(t=>K(t)):e}var Ke=new WeakMap,mr=new WeakMap,xt=new WeakMap,cn=new Set([Object,Array]),Je=(e,t,r)=>{if(!re(t))throw Error("This object cannot be proxified.");if(!Ke.has(t)){let n=new Proxy(t,r);Ke.set(t,n),mr.set(n,t),xt.set(n,e)}return Ke.get(t)},Qe=e=>Ke.get(e),$=e=>xt.get(e),re=e=>typeof e!="object"||e===null?!1:!xt.has(e)&&cn.has(e.constructor),gr=e=>mr.get(e);var un={},yr=class{owner;computedsByScope;valueSignal;getterSignal;pendingGetter;constructor(e){this.owner=e,this.computedsByScope=new WeakMap}setValue(e){this.update({value:e})}setGetter(e){this.update({get:e})}setPendingGetter(e){this.pendingGetter=e,queueMicrotask(()=>this.consolidateGetter())}consolidateGetter(){let e=this.pendingGetter;e&&(this.pendingGetter=void 0,this.update({get:e}))}getComputed(){let e=D()||un;if(!this.valueSignal&&!this.getterSignal&&this.update({}),this.pendingGetter&&this.consolidateGetter(),!this.computedsByScope.has(e)){let t=()=>{let r=this.getterSignal?.value;return r?r.call(this.owner):this.valueSignal?.value};q($(this.owner)),this.computedsByScope.set(e,be(O(t))),W()}return this.computedsByScope.get(e)}update({get:e,value:t}){this.valueSignal?(t!==this.valueSignal.peek()||e!==this.getterSignal.peek())&&Z(()=>{this.valueSignal.value=t,this.getterSignal.value=e}):(this.valueSignal=k(t),this.getterSignal=k(e))}};var ln=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(e=>typeof e=="symbol")),ue=new WeakMap,pn=(e,t)=>ue.has(e)&&ue.get(e).has(t),Pe=(e,t,r)=>{ue.has(e)||ue.set(e,new Map),t=typeof t=="number"?`${t}`:t;let n=ue.get(e);if(!n.has(t)){let i=$(e),o=new yr(e);if(n.set(t,o),r){let{get:s,value:f}=r;s?o.setGetter(s):o.setValue(re(f)?G(i,f):f)}}return n.get(t)},H=new WeakMap,Et=!1,N=Symbol("PENDING_GETTER"),_n={get(e,t,r){if(Et||!e.hasOwnProperty(t)&&t in e||typeof t=="symbol"&&ln.has(t))return Reflect.get(e,t,r);let n=Object.getOwnPropertyDescriptor(e,t),o=Pe(r,t,n).getComputed().value;if(o===N)throw N;if(typeof o=="function"){let s=$(r);return(...f)=>{q(s);try{return o.call(r,...f)}finally{W()}}}return o},set(e,t,r,n){q($(n));try{return Reflect.set(e,t,r,n)}finally{W()}},defineProperty(e,t,r){let n=!(t in e),i=Reflect.defineProperty(e,t,r);if(i){let o=Qe(e),s=Pe(o,t),{get:f,value:u}=r;if(f)s.setGetter(f);else{let c=$(o);s.setValue(re(u)?G(c,u):u)}n&&H.has(e)&&H.get(e).value++,Array.isArray(e)&&ue.get(o)?.has("length")&&Pe(o,"length").setValue(e.length)}return i},deleteProperty(e,t){let r=Reflect.deleteProperty(e,t);return r&&(Pe(Qe(e),t).setValue(void 0),H.has(e)&&H.get(e).value++),r},ownKeys(e){return H.has(e)||H.set(e,k(0)),H._=H.get(e).value,Reflect.ownKeys(e)}},G=(e,t)=>Je(e,t,_n),Tt=(e,t)=>{Et=!0;try{return e[t]}finally{Et=!1}},Pt=(e,t,r=!0)=>{if(!(T(e)&&T(t)))return;let n=!1;for(let i in t){let o=!(i in e);n=n||o;let s=Object.getOwnPropertyDescriptor(t,i),f=Qe(e),u=!!f&&pn(f,i)&&Pe(f,i);if(typeof s.get=="function"||typeof s.set=="function")(r||o)&&(Object.defineProperty(e,i,{...s,configurable:!0,enumerable:!0}),s.get&&u&&u.setPendingGetter(s.get));else if(T(t[i])){let c=Object.getOwnPropertyDescriptor(e,i)?.value;if(o||r&&!T(c)){if(e[i]={},u){let l=$(f);u.setValue(G(l,e[i]))}Pt(e[i],t[i],r)}else T(c)&&Pt(e[i],t[i],r)}else if((r||o)&&(Object.defineProperty(e,i,s),u)){let{value:c}=s,l=$(f);u.setValue(re(c)?G(l,c):c)}}n&&H.has(e)&&H.get(e).value++},ne=(e,t,r=!0)=>Z(()=>Pt(gr(e)||e,t,r));var wr=new WeakSet,dn={get:(e,t,r)=>{let n=Reflect.get(e,t),i=$(r);if(typeof n>"u"&&wr.has(r)){let o={};return Reflect.set(e,t,o),Te(i,o,!1)}if(typeof n=="function"){q(i);let o=O(n);return W(),o}return T(n)&&re(n)?Te(i,n,!1):n}},Te=(e,t,r=!0)=>{let n=Je(e,t,dn);return n&&r&&wr.add(n),n};var It=new WeakMap,le=new WeakMap,br=new WeakSet,Sr=Reflect.getOwnPropertyDescriptor,hn={get:(e,t)=>{let r=le.get(e),n=e[t];return t in e?n:r[t]},set:(e,t,r)=>{let n=le.get(e),i=t in e||!(t in n)?e:n;return i[t]=r,!0},ownKeys:e=>[...new Set([...Object.keys(le.get(e)),...Object.keys(e)])],getOwnPropertyDescriptor:(e,t)=>Sr(e,t)||Sr(le.get(e),t),has:(e,t)=>Reflect.has(e,t)||Reflect.has(le.get(e),t)},Ie=(e,t={})=>{if(br.has(e))throw Error("This object cannot be proxified.");if(le.set(e,t),!It.has(e)){let r=new Proxy(e,hn);It.set(e,r),br.add(r)}return It.get(e)};var Ce=new Map,xr=new Map,Xe=new Map,Ct=new Map,ke=new Map,vn=e=>Ct.get(e||B())||{};function kt(e){let t=e||B();return ke.has(t)||ke.set(t,{}),kt.subscribe=Ve.value,K(ke.get(t))}kt.subscribe=0;var ie="I acknowledge that using a private store means my plugin will inevitably break on the next store release.";function Ne(e,{state:t={},...r}={},{lock:n=!1}={}){if(Ce.has(e)){if(n!==ie&&!Xe.has(e))Xe.set(e,n);else{let o=Xe.get(e);if(!(n===ie||n!==!0&&n===o))throw Error(o?"Cannot unlock a private store with an invalid lock code":"Cannot lock a public store")}let i=xr.get(e);ne(i,r),ne(i.state,t)}else{n!==ie&&Xe.set(e,n);let i={state:G(e,T(t)?t:{}),...r},o=Te(e,i);xr.set(e,i),Ce.set(e,o)}return Ce.get(e)}var Nt=(e=document)=>{let t=e.getElementById("wp-script-module-data-@wordpress/interactivity")??e.getElementById("wp-interactivity-data");if(t?.textContent)try{return JSON.parse(t.textContent)}catch{}return{}},Rt=e=>{ke.clear(),Ct.clear(),T(e?.state)&&Object.entries(e.state).forEach(([t,r])=>{let n=Ne(t,{},{lock:ie});ne(n.state,r,!1),ke.set(t,r)}),T(e?.config)&&Object.entries(e.config).forEach(([t,r])=>{Ct.set(t,r)}),T(e?.derivedStateClosures)&&Object.entries(e.derivedStateClosures).forEach(([t,r])=>{let n=Ne(t,{},{lock:ie});r.forEach(i=>{let o=i.split("."),s=o.splice(-1,1)[0],f=o.reduce((c,l)=>Tt(c,l),n),u=Object.getOwnPropertyDescriptor(f,s);T(u?.value)&&(f[s]=N)})})};function Q(e){return e.suffix!==null}function pe(e){return e.suffix===null}var Er=Xt({client:{},server:{}}),Ut={},Tr={},S=(e,t,{priority:r=10}={})=>{Ut[e]=t,Tr[e]=r},mn=(e,t)=>{if(!t){Ee(`Namespace missing for "${e}". The value for that path won't be resolved.`);return}let r=Ce.get(t);typeof r>"u"&&(r=Ne(t,{},{lock:ie}));let n={...r,context:D().context[t]};try{return e.split(".").reduce((o,s)=>o[s],n)}catch(i){if(i===N)return N}},Dt=({scope:e})=>((t,...r)=>{let{value:n,namespace:i}=t;if(typeof n!="string")throw new Error("The `value` prop should be a string path");let o=n[0]==="!"&&!!(n=n.slice(1));ee(e);let s=mn(n,i);if(typeof s=="function"){if(o){Ee("Using a function with a negation operator is deprecated and will stop working in WordPress 6.9. Please use derived state instead.");let c=!s(...r);return j(),c}j();let u=(...c)=>{ee(e);let l=s(...c);return j(),l};if(s.sync){let c=u;c.sync=!0}return u}let f=s;return j(),o&&s!==N?!f:f}),gn=e=>{let t=Object.keys(e).reduce((r,n)=>{if(Ut[n]){let i=Tr[n];(r[i]=r[i]||[]).push(n)}return r},{});return Object.entries(t).sort(([r],[n])=>parseInt(r)-parseInt(n)).map(([,r])=>r)},Ir=({directives:e,priorityLevels:[t,...r],element:n,originalProps:i,previousScope:o})=>{let s=V({}).current;s.evaluate=He(Dt({scope:s}),[]);let{client:f,server:u}=ye(Er);s.context=f,s.serverContext=u,s.ref=o?.ref||V(null),n=ae(n,{ref:s.ref}),s.attributes=n.props;let c=r.length>0?U(Ir,{directives:e,priorityLevels:r,element:n,originalProps:i,previousScope:s}):n,l={...i,children:c},a={directives:e,props:l,element:n,context:Er,evaluate:s.evaluate};ee(s);for(let d of t){let p=Ut[d]?.(a);p!==void 0&&(l.children=p)}return j(),l.children},Pr=m.vnode;m.vnode=e=>{if(e.props.__directives){let t=e.props,r=t.__directives;r.key&&(e.key=r.key.find(pe).value),delete t.__directives;let n=gn(r);n.length>0&&(e.props={directives:r,priorityLevels:n,originalProps:t,type:e.type,element:U(e.type,t),top:!0},e.type=Ir)}Pr&&Pr(e)};function Ur(e){let t={get(r,n,i){let o=r[n];switch(n){case"currentTarget":break;case"preventDefault":case"stopImmediatePropagation":case"stopPropagation":break}return o instanceof Function?function(...s){return o.apply(this===i?r:this,s)}:o}};return new Proxy(e,t)}var yn=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,wn=/\/\*[^]*?\*\/|  +/g,Cr=/\n+/g,kr=" ",bn=e=>{let t=[{}],r,n;for(;r=yn.exec(e.replace(wn,""));)r[4]?t.shift():r[3]?(n=r[3].replace(Cr,kr).trim(),t.unshift(t[0][n]=t[0][n]||{})):t[0][r[1]]=r[2].replace(Cr,kr).trim();return t[0]},Nr=e=>({directives:t,evaluate:r})=>{t[`on-${e}`].filter(Q).forEach(n=>{let o=n.suffix.split("--",2)[0];J(()=>{let s=u=>{let c=r(n);typeof c=="function"&&(c?.sync||(u=Ur(u)),c(u))},f=e==="window"?window:document;return f.addEventListener(o,s),()=>f.removeEventListener(o,s)})})},Sn=(e,t,r,n,i)=>{let o={...e.client,[t]:{...e.client[t],[n]:r}},s={...D(),context:o,serverContext:e.server};return i?Dt({scope:s})(i):r},xn=function*(e,t,r,n,i){let{current:o}=V(new Map);for(let s of r){let f=Sn(e,t,s,n,i);o.has(f)||o.set(f,Ie(G(t,{[n]:void 0}),e.client[t])),yield[s,o.get(f),f]}},Rr=e=>({directives:t,evaluate:r})=>{t[`on-async-${e}`].filter(Q).forEach(n=>{let i=n.suffix.split("--",1)[0];J(()=>{let o=async f=>{await te();let u=r(n);typeof u=="function"&&u(f)},s=e==="window"?window:document;return s.addEventListener(i,o,{passive:!0}),()=>s.removeEventListener(i,o)})})},Re=new Map,Dr=()=>{S("context",({directives:{context:e},props:{children:t},context:r})=>{let n=e.filter(pe).reverse();if(!n.length)return;let{Provider:i}=r,{client:o,server:s}=ye(r),f=V({}),u={},c={client:{...o},server:{...s}},l=new Set;return n.forEach(({value:a,namespace:d,uniqueId:p})=>{T(a)&&(f.current[d]||(f.current[d]=G(d,{})),ne(f.current[d],K(a),!1),u[d]=a,l.add(d))}),l.forEach(a=>{c.client[a]=Ie(f.current[a],o[a]),c.server[a]=Ie(u[a],s[a])}),U(i,{value:c},t)},{priority:5}),S("watch",({directives:{watch:e},evaluate:t})=>{e.forEach(r=>{St(()=>{let n,i=t(r);return typeof i=="function"&&(i=i()),i})})}),S("init",({directives:{init:e},evaluate:t})=>{e.forEach(r=>{J(()=>{let n,i=t(r);return typeof i=="function"&&(i=i()),i})})}),S("on",({directives:{on:e},element:t,evaluate:r})=>{let n=new Map;e.filter(Q).forEach(i=>{let o=i.suffix.split("--",2);n.has(o[0])||n.set(o[0],new Set),n.get(o[0]).add(i)}),n.forEach((i,o)=>{let s=t.props[`on${o}`];t.props[`on${o}`]=f=>{s&&s(f),i.forEach(u=>{let c,l=r(u);typeof l=="function"&&(l?.sync||(f=Ur(f)),l(f))})}})}),S("on-async",({directives:{"on-async":e},element:t,evaluate:r})=>{let n=new Map;e.filter(Q).forEach(i=>{let o=i.suffix.split("--",1)[0];n.has(o)||n.set(o,new Set),n.get(o).add(i)}),n.forEach((i,o)=>{let s=t.props[`on${o}`];t.props[`on${o}`]=f=>{s&&s(f),i.forEach(async u=>{await te();let c=r(u);typeof c=="function"&&c(f)})}})}),S("on-window",Nr("window")),S("on-document",Nr("document")),S("on-async-window",Rr("window")),S("on-async-document",Rr("document")),S("class",({directives:{class:e},element:t,evaluate:r})=>{e.filter(Q).forEach(n=>{let i=n.uniqueId?`${n.suffix}---${n.uniqueId}`:n.suffix,o=r(n);if(o===N)return;typeof o=="function"&&(o=o());let s=t.props.class||"",f=new RegExp(`(^|\\s)${i}(\\s|$)`,"g");o?f.test(s)||(t.props.class=s?`${s} ${i}`:i):t.props.class=s.replace(f," ").trim(),J(()=>{o?t.ref.current.classList.add(i):t.ref.current.classList.remove(i)})})}),S("style",({directives:{style:e},element:t,evaluate:r})=>{e.filter(Q).forEach(n=>{if(n.uniqueId)return;let i=n.suffix,o=r(n);o!==N&&(typeof o=="function"&&(o=o()),t.props.style=t.props.style||{},typeof t.props.style=="string"&&(t.props.style=bn(t.props.style)),o?t.props.style[i]=o:delete t.props.style[i],J(()=>{o?t.ref.current.style.setProperty(i,o):t.ref.current.style.removeProperty(i)}))})}),S("bind",({directives:{bind:e},element:t,evaluate:r})=>{e.filter(Q).forEach(n=>{if(n.uniqueId)return;let i=n.suffix,o=r(n);o!==N&&(typeof o=="function"&&(o=o()),t.props[i]=o,J(()=>{let s=t.ref.current;if(i==="style"){typeof o=="string"&&(s.style.cssText=o);return}else if(i!=="width"&&i!=="height"&&i!=="href"&&i!=="list"&&i!=="form"&&i!=="tabIndex"&&i!=="download"&&i!=="rowSpan"&&i!=="colSpan"&&i!=="role"&&i in s)try{s[i]=o??"";return}catch{}o!=null&&(o!==!1||i[4]==="-")?s.setAttribute(i,o):s.removeAttribute(i)}))})}),S("ignore",({element:{type:e,props:{innerHTML:t,...r}}})=>{let n=F(()=>t,[]);return U(e,{dangerouslySetInnerHTML:{__html:n},...r})}),S("text",({directives:{text:e},element:t,evaluate:r})=>{let n=e.filter(pe);n.length&&n.forEach(i=>{if(!i.uniqueId)try{let o=r(i);if(o===N)return;typeof o=="function"&&(o=o()),t.props.children=typeof o=="object"?null:o.toString()}catch{t.props.children=null}})}),S("run",({directives:{run:e},evaluate:t})=>{e.forEach(r=>{let n=t(r);return typeof n=="function"&&(n=n()),n})}),S("each",({directives:{each:e,"each-key":t},context:r,element:n,evaluate:i})=>{if(n.type!=="template")return;let{Provider:o}=r,s=ye(r),[f]=e,{namespace:u,suffix:c,uniqueId:l}=f;if(e.length>1||l)return;let a=i(f);if(a===N||(typeof a=="function"&&(a=a()),typeof a?.[Symbol.iterator]!="function"))return;let d=c?vr(c):"item",p=[],w=xn(s,u,a,d,t?.[0]);for(let[P,h,_]of w){let v={client:{...s.client,[u]:h},server:{...s.server}};v.client[u][d]=P,p.push(U(o,{value:v,key:_},n.props.content))}return p},{priority:20}),S("each-child",({directives:{"each-child":e},element:t,evaluate:r})=>{let n=e.find(pe);return n?r(n)===N?t:null:void 0},{priority:1}),S("router-region",({directives:{"router-region":e}})=>{let t=e.find(pe);if(!t||t.suffix||t.uniqueId)return;let r=typeof t.value=="string"?t.value:t.value.id;Re.has(r)||Re.set(r,k());let n=Re.get(r).value;if(We(()=>{n&&typeof n.type!="string"&&(je.value=je.peek()+1)},[n]),n&&typeof n.type!="string"){let i=D();return ae(n,{previousScope:i})}return n},{priority:1})};var Gt="data-wp-",Ye=[],En=()=>Ye[Ye.length-1]??null,Pn=e=>!!(e&&typeof e=="object"&&e.constructor===Object),Tn=/[^a-z0-9-_]/i;function In(e){let t=e.substring(8);if(Tn.test(t))return null;let r=t.indexOf("--");if(r===-1)return{prefix:t,suffix:null,uniqueId:null};let n=t.substring(0,r),i=t.substring(r);if(i.startsWith("---")&&i[3]!=="-")return{prefix:n,suffix:null,uniqueId:i.substring(3)||null};let o=i.substring(2),s=o.indexOf("---");if(s!==-1&&o.substring(s)[3]!=="-"){let f=o.substring(s+3)||null;return o=o.substring(0,s)||null,{prefix:n,suffix:o,uniqueId:f}}return{prefix:n,suffix:o||null,uniqueId:null}}var Cn=/^([\w_\/-]+)::(.+)$/,Ot=new WeakSet;function Ue(e){let t=new Set,r=new Set,n=document.createTreeWalker(e,205);function i(s){let{nodeType:f}=s;if(f===3)return s.data;if(f===4)return r.add(s),s.nodeValue;if(f===8||f===7)return t.add(s),null;let u=s,{attributes:c}=u,l=u.localName,a={},d=[],p=[],w=!1,P=!1;for(let h=0;h<c.length;h++){let _=c[h].name,v=c[h].value;if(_[Gt.length]&&_.slice(0,Gt.length)===Gt)if(_==="data-wp-ignore")w=!0;else{let R=Cn.exec(v),I=R?.[1]??null,x=R?.[2]??v;try{let C=JSON.parse(x);x=Pn(C)?C:x}catch{}if(_==="data-wp-interactive"){P=!0;let C=typeof x=="string"?x:typeof x?.namespace=="string"?x.namespace:null;Ye.push(C)}else p.push([_,I,x])}else if(_==="ref")continue;v===""&&u[_]===!0?a[_]=!0:a[_]=v}if(w&&!P)return[U(l,{...a,innerHTML:u.innerHTML,__directives:{ignore:!0}})];if(P&&Ot.add(u),p.length){a.__directives=p.reduce((h,[_,v,R])=>{let I=In(_);if(I===null)return h;let{prefix:x,suffix:C,uniqueId:De}=I;return h[x]=h[x]||[],h[x].push({namespace:v??En(),value:R,suffix:C,uniqueId:De}),h},{});for(let h in a.__directives)a.__directives[h].sort((_,v)=>{let R=_.suffix??"",I=v.suffix??"";if(R!==I)return R<I?-1:1;let x=_.uniqueId??"",C=v.uniqueId??"";return+(x>C)-+(x<C)})}if(a.__directives?.["each-child"])a.dangerouslySetInnerHTML={__html:u.innerHTML};else if(l==="template")a.content=[...u.content.childNodes].map(h=>Ue(h));else{let h=n.firstChild();if(h){for(;h;){let _=i(h);_&&d.push(_),h=n.nextSibling()}n.parentNode()}}return P&&Ye.pop(),U(l,a,d)}let o=i(n.currentNode);return t.forEach(s=>s.remove()),r.forEach(s=>s.replaceWith(new window.Text(s.nodeValue??""))),o}var $t=new WeakMap,Mt=e=>{let t=Array.isArray(e)?e[0]:e;if(!t.parentElement)throw Error("The passed region should be an element with a parent.");return $t.has(t)||$t.set(t,hr(t.parentElement,e)),$t.get(t)},Gr=new WeakMap,Or,$r=new Promise(e=>{Or=e}),Mr=async()=>{let e=document.querySelectorAll("[data-wp-interactive]");for(let t of e)if(!Ot.has(t)){await te();let r=Mt(t),n=Ue(t);Gr.set(t,n),await te(),ut(n,r)}Or(Gr)};var co=A,kn="I acknowledge that using private APIs means my theme or plugin will inevitably break in the next version of WordPress.",uo=e=>{if(e===kn)return{getRegionRootFragment:Mt,initialVdomPromise:$r,toVdom:Ue,directive:S,getNamespace:B,h:U,cloneElement:ae,render:ct,proxifyState:G,parseServerData:Nt,populateServerData:Rt,batch:Z,routerRegions:Re,deepReadOnly:xe,navigationSignal:Ve,sessionId:ze,warn:Ee};throw new Error("Forbidden access.")};Rt(Nt());Dr();dr(Mr);window.history.replaceState({...window.history.state,wpInteractivityId:ze},"");window.addEventListener("popstate",e=>{e.state!==null&&e.state?.wpInteractivityId!==ze&&window.location.reload()});export{vn as getConfig,Xr as getContext,Yr as getElement,wt as getServerContext,kt as getServerState,uo as privateApis,te as splitTask,Ne as store,on as useCallback,rn as useEffect,J as useInit,nn as useLayoutEffect,sn as useMemo,V as useRef,Fr as useState,St as useWatch,co as watch,O as withScope,an as withSyncEvent};

The same content is in 5 releases, WordPress 7.0-beta6 to 7.0-RC4. See them all, or every version of this file.