Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
public_html
/
wp-content
/
plugins
/
woocommerce
/
assets
/
client
/
blocks
/
@wordpress
/
Editing: interactivity.js
var e={d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},t={};e.d(t,{zj:()=>en,SD:()=>Ze,V6:()=>et,$K:()=>nt,vT:()=>tn,jb:()=>Un,yT:()=>ot,M_:()=>rn,hb:()=>_t,vJ:()=>ct,ip:()=>ut,Nf:()=>lt,Kr:()=>at,li:()=>ce,J0:()=>ie,FH:()=>st,v4:()=>it,mh:()=>pt});var n,r,o,i,s,u,c,l,_,a,f,p,h,d={},v=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,g=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function w(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function b(e,t,r){var o,i,s,u={};for(s in t)"key"==s?o=t[s]:"ref"==s?i=t[s]:u[s]=t[s];if(arguments.length>2&&(u.children=arguments.length>3?n.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===u[s]&&(u[s]=e.defaultProps[s]);return S(e,u,o,i,null)}function S(e,t,n,i,s){var u={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==s?++o:s,__i:-1,__u:0};return null==s&&null!=r.vnode&&r.vnode(u),u}function x(e){return e.children}function k(e,t){this.props=e,this.context=t}function E(e,t){if(null==t)return e.__?E(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?E(e):null}function P(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return P(e)}}function T(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!C.__r++||u!==r.debounceRendering)&&((u=r.debounceRendering)||c)(C)}function C(){var e,t,n,o,i,u,c,_;for(s.sort(l);e=s.shift();)e.__d&&(t=s.length,o=void 0,u=(i=(n=e).__v).__e,c=[],_=[],n.__P&&((o=m({},i)).__v=i.__v+1,r.vnode&&r.vnode(o),L(n.__P,o,i,n.__n,n.__P.namespaceURI,32&i.__u?[u]:null,c,null==u?E(i):u,!!(32&i.__u),_),o.__v=i.__v,o.__.__k[o.__i]=o,$(c,o,_),o.__e!=u&&P(o)),s.length>t&&s.sort(l));C.__r=0}function N(e,t,n,r,o,i,s,u,c,l,_){var a,f,p,h,y,g,m=r&&r.__k||v,w=t.length;for(c=I(n,t,m,c),a=0;a<w;a++)null!=(p=n.__k[a])&&(f=-1===p.__i?d:m[p.__i]||d,p.__i=a,g=L(e,p,f,o,i,s,u,c,l,_),h=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&W(f.ref,null,p),_.push(p.ref,p.__c||h,p)),null==y&&null!=h&&(y=h),4&p.__u||f.__k===p.__k?c=M(p,c,e):"function"==typeof p.type&&void 0!==g?c=g:h&&(c=h.nextSibling),p.__u&=-7);return n.__e=y,c}function I(e,t,n,r){var o,i,s,u,c,l=t.length,_=n.length,a=_,f=0;for(e.__k=[],o=0;o<l;o++)null!=(i=t[o])&&"boolean"!=typeof i&&"function"!=typeof i?(u=o+f,(i=e.__k[o]="string"==typeof i||"number"==typeof i||"bigint"==typeof i||i.constructor==String?S(null,i,null,null,null):g(i)?S(x,{children:i},null,null,null):void 0===i.constructor&&i.__b>0?S(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=e,i.__b=e.__b+1,s=null,-1!==(c=i.__i=O(i,n,u,a))&&(a--,(s=n[c])&&(s.__u|=2)),null==s||null===s.__v?(-1==c&&f--,"function"!=typeof i.type&&(i.__u|=4)):c!==u&&(c==u-1?f--:c==u+1?f++:(c>u?f--:f++,i.__u|=4))):i=e.__k[o]=null;if(a)for(o=0;o<_;o++)null!=(s=n[o])&&!(2&s.__u)&&(s.__e==r&&(r=E(s)),R(s,s));return r}function M(e,t,n){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=M(r[o],t,n));return t}e.__e!=t&&(t&&e.type&&!n.contains(t)&&(t=E(e)),n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function O(e,t,n,r){var o=e.key,i=e.type,s=n-1,u=n+1,c=t[n];if(null===c||c&&o==c.key&&i===c.type&&!(2&c.__u))return n;if(("function"!=typeof i||i===x||o)&&r>(null==c||2&c.__u?0:1))for(;s>=0||u<t.length;){if(s>=0){if((c=t[s])&&!(2&c.__u)&&o==c.key&&i===c.type)return s;s--}if(u<t.length){if((c=t[u])&&!(2&c.__u)&&o==c.key&&i===c.type)return u;u++}}return-1}function U(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||y.test(t)?n:n+"px"}function j(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||U(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||U(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(_,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=a,e.addEventListener(t,i?p:f,i)):e.removeEventListener(t,i?p:f,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function H(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=a++;else if(t.t<n.u)return;return n(r.event?r.event(t):t)}}}function L(e,t,n,o,i,s,u,c,l,_){var a,f,p,h,d,v,y,b,S,E,P,T,C,I,M,O,U,j=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(l=!!(32&n.__u),s=[c=t.__e=n.__e]),(a=r.__b)&&a(t);e:if("function"==typeof j)try{if(b=t.props,S="prototype"in j&&j.prototype.render,E=(a=j.contextType)&&o[a.__c],P=a?E?E.props.value:a.__:o,n.__c?y=(f=t.__c=n.__c).__=f.__E:(S?t.__c=f=new j(b,P):(t.__c=f=new k(b,P),f.constructor=j,f.render=A),E&&E.sub(f),f.props=b,f.state||(f.state={}),f.context=P,f.__n=o,p=f.__d=!0,f.__h=[],f._sb=[]),S&&null==f.__s&&(f.__s=f.state),S&&null!=j.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=m({},f.__s)),m(f.__s,j.getDerivedStateFromProps(b,f.__s))),h=f.props,d=f.state,f.__v=t,p)S&&null==j.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),S&&null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(S&&null==j.getDerivedStateFromProps&&b!==h&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(b,P),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(b,f.__s,P)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=b,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some((function(e){e&&(e.__=t)})),T=0;T<f._sb.length;T++)f.__h.push(f._sb[T]);f._sb=[],f.__h.length&&u.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(b,f.__s,P),S&&null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(h,d,v)}))}if(f.context=P,f.props=b,f.__P=e,f.__e=!1,C=r.__r,I=0,S){for(f.state=f.__s,f.__d=!1,C&&C(t),a=f.render(f.props,f.state,f.context),M=0;M<f._sb.length;M++)f.__h.push(f._sb[M]);f._sb=[]}else do{f.__d=!1,C&&C(t),a=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++I<25);f.state=f.__s,null!=f.getChildContext&&(o=m(m({},o),f.getChildContext())),S&&!p&&null!=f.getSnapshotBeforeUpdate&&(v=f.getSnapshotBeforeUpdate(h,d)),c=N(e,g(O=null!=a&&a.type===x&&null==a.key?a.props.children:a)?O:[O],t,n,o,i,s,u,c,l,_),f.base=t.__e,t.__u&=-161,f.__h.length&&u.push(f),y&&(f.__E=f.__=null)}catch(e){if(t.__v=null,l||null!=s)if(e.then){for(t.__u|=l?160:128;c&&8===c.nodeType&&c.nextSibling;)c=c.nextSibling;s[s.indexOf(c)]=null,t.__e=c}else for(U=s.length;U--;)w(s[U]);else t.__e=n.__e,t.__k=n.__k;r.__e(e,t,n)}else null==s&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):c=t.__e=G(n.__e,t,n,o,i,s,u,l,_);return(a=r.diffed)&&a(t),128&t.__u?void 0:c}function $(e,t,n){for(var o=0;o<n.length;o++)W(n[o],n[++o],n[++o]);r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function G(e,t,o,i,s,u,c,l,_){var a,f,p,h,v,y,m,b=o.props,S=t.props,x=t.type;if("svg"===x?s="http://www.w3.org/2000/svg":"math"===x?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),null!=u)for(a=0;a<u.length;a++)if((v=u[a])&&"setAttribute"in v==!!x&&(x?v.localName===x:3===v.nodeType)){e=v,u[a]=null;break}if(null==e){if(null===x)return document.createTextNode(S);e=document.createElementNS(s,x,S.is&&S),l&&(r.__m&&r.__m(t,u),l=!1),u=null}if(null===x)b===S||l&&e.data===S||(e.data=S);else{if(u=u&&n.call(e.childNodes),b=o.props||d,!l&&null!=u)for(b={},a=0;a<e.attributes.length;a++)b[(v=e.attributes[a]).name]=v.value;for(a in b)if(v=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)p=v;else if(!(a in S)){if("value"==a&&"defaultValue"in S||"checked"==a&&"defaultChecked"in S)continue;j(e,a,null,v,s)}for(a in S)v=S[a],"children"==a?h=v:"dangerouslySetInnerHTML"==a?f=v:"value"==a?y=v:"checked"==a?m=v:l&&"function"!=typeof v||b[a]===v||j(e,a,v,b[a],s);if(f)l||p&&(f.__html===p.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(p&&(e.innerHTML=""),N(e,g(h)?h:[h],t,o,i,"foreignObject"===x?"http://www.w3.org/1999/xhtml":s,u,c,u?u[0]:o.__k&&E(o,0),l,_),null!=u)for(a=u.length;a--;)w(u[a]);l||(a="value","progress"===x&&null==y?e.removeAttribute("value"):void 0!==y&&(y!==e[a]||"progress"===x&&!y||"option"===x&&y!==b[a])&&j(e,a,y,b[a],s),a="checked",void 0!==m&&m!==e[a]&&j(e,a,m,b[a],s))}return e}function W(e,t,n){try{if("function"==typeof e){var o="function"==typeof e.__u;o&&e.__u(),o&&null==t||(e.__u=e(t))}else e.current=t}catch(e){r.__e(e,n)}}function R(e,t,n){var o,i;if(r.unmount&&r.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||W(o,null,t)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){r.__e(e,t)}o.base=o.__P=null}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&R(o[i],t,n||"function"!=typeof e.type);n||w(e.__e),e.__c=e.__=e.__e=void 0}function A(e,t,n){return this.constructor(e,n)}function F(e,t,o){var i,s,u,c;t===document&&(t=document.documentElement),r.__&&r.__(e,t),s=(i="function"==typeof o)?null:o&&o.__k||t.__k,u=[],c=[],L(t,e=(!i&&o||t).__k=b(x,null,[e]),s||d,d,t.namespaceURI,!i&&o?[o]:s?null:t.firstChild?n.call(t.childNodes):null,u,!i&&o?o:s?s.__e:t.firstChild,i,c),$(u,e,c)}function D(e,t){F(e,t,D)}function q(e,t,r){var o,i,s,u,c=m({},e.props);for(s in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)"key"==s?o=t[s]:"ref"==s?i=t[s]:c[s]=void 0===t[s]&&void 0!==u?u[s]:t[s];return arguments.length>2&&(c.children=arguments.length>3?n.call(arguments,2):r),S(e.type,c,o||e.key,i||e.ref,null)}n=v.slice,r={__e:function(e,t,n,r){for(var o,i,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),s=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),s=o.__d),s)return o.__E=o}catch(t){e=t}throw e}},o=0,i=function(e){return null!=e&&null==e.constructor},k.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},n),this.props)),e&&m(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),T(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),T(this))},k.prototype.render=x,s=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},C.__r=0,_=/(PointerCapture)$|Capture$/i,a=0,f=H(!1),p=H(!0),h=0;var B,V,J,K,z=0,Q=[],X=r,Y=X.__b,Z=X.__r,ee=X.diffed,te=X.__c,ne=X.unmount,re=X.__;function oe(e,t){X.__h&&X.__h(V,e,z||t),z=0;var n=V.__H||(V.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ie(e){return z=1,function(e,t){var n=oe(B++,2);if(n.t=e,!n.__c&&(n.__=[ge(void 0,t),function(e){var t=n.__N?n.__N[0]:n.__[0],r=n.t(t,e);t!==r&&(n.__N=[r,n.__[1]],n.__c.setState({}))}],n.__c=V,!V.u)){var r=function(e,t,r){if(!n.__c.__H)return!0;var i=n.__c.__H.__.filter((function(e){return!!e.__c}));if(i.every((function(e){return!e.__N})))return!o||o.call(this,e,t,r);var s=n.__c.props!==e;return i.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(s=!0)}})),o&&o.call(this,e,t,r)||s};V.u=!0;var o=V.shouldComponentUpdate,i=V.componentWillUpdate;V.componentWillUpdate=function(e,t,n){if(this.__e){var s=o;o=void 0,r(e,t,n),o=s}i&&i.call(this,e,t,n)},V.shouldComponentUpdate=r}return n.__N||n.__}(ge,e)}function se(e,t){var n=oe(B++,3);!X.__s&&ye(n.__H,t)&&(n.__=e,n.i=t,V.__H.__h.push(n))}function ue(e,t){var n=oe(B++,4);!X.__s&&ye(n.__H,t)&&(n.__=e,n.i=t,V.__h.push(n))}function ce(e){return z=5,le((function(){return{current:e}}),[])}function le(e,t){var n=oe(B++,7);return ye(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function _e(e,t){return z=8,le((function(){return e}),t)}function ae(e){var t=V.context[e.__c],n=oe(B++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(V)),t.props.value):e.__}function fe(){for(var e;e=Q.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(de),e.__H.__h.forEach(ve),e.__H.__h=[]}catch(t){e.__H.__h=[],X.__e(t,e.__v)}}X.__b=function(e){V=null,Y&&Y(e)},X.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),re&&re(e,t)},X.__r=function(e){Z&&Z(e),B=0;var t=(V=e.__c).__H;t&&(J===V?(t.__h=[],V.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.i=e.__N=void 0}))):(t.__h.forEach(de),t.__h.forEach(ve),t.__h=[],B=0)),J=V},X.diffed=function(e){ee&&ee(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Q.push(t)&&K===X.requestAnimationFrame||((K=X.requestAnimationFrame)||he)(fe)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.i=void 0}))),J=V=null},X.__c=function(e,t){t.some((function(e){try{e.__h.forEach(de),e.__h=e.__h.filter((function(e){return!e.__||ve(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],X.__e(n,e.__v)}})),te&&te(e,t)},X.unmount=function(e){ne&&ne(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{de(e)}catch(e){t=e}})),n.__H=void 0,t&&X.__e(t,n.__v))};var pe="function"==typeof requestAnimationFrame;function he(e){var t,n=function(){clearTimeout(r),pe&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);pe&&(t=requestAnimationFrame(n))}function de(e){var t=V,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),V=t}function ve(e){var t=V;e.__c=e.__(),V=t}function ye(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ge(e,t){return"function"==typeof t?t(e):t}var me=Symbol.for("preact-signals");function we(){if(Ee>1)Ee--;else{for(var e,t=!1;void 0!==ke;){var n=ke;for(ke=void 0,Pe++;void 0!==n;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Me(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(Pe=0,Ee--,t)throw e}}function be(e){if(Ee>0)return e();Ee++;try{return e()}finally{we()}}var Se,xe=void 0,ke=void 0,Ee=0,Pe=0,Te=0;function Ce(e){if(void 0!==xe){var t=e.n;if(void 0===t||t.t!==xe)return t={i:0,S:e,p:xe.s,n:void 0,t:xe,e:void 0,x:void 0,r:t},void 0!==xe.s&&(xe.s.n=t),xe.s=t,e.n=t,32&xe.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=xe.s,t.n=void 0,xe.s.n=t,xe.s=t),t}}function Ne(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}function Ie(e){return new Ne(e)}function Me(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function Oe(e){for(var t=e.s;void 0!==t;t=t.n){var n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function Ue(e){for(var t=e.s,n=void 0;void 0!==t;){var r=t.p;-1===t.i?(t.S.U(t),void 0!==r&&(r.n=t.n),void 0!==t.n&&(t.n.p=r)):n=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=r}e.s=n}function je(e){Ne.call(this,void 0),this.x=e,this.s=void 0,this.g=Te-1,this.f=4}function He(e){return new je(e)}function Le(e){var t=e.u;if(e.u=void 0,"function"==typeof t){Ee++;var n=xe;xe=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,$e(e),t}finally{xe=n,we()}}}function $e(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Le(e)}function Ge(e){if(xe!==this)throw new Error("Out-of-order effect");Ue(this),xe=e,this.f&=-2,8&this.f&&$e(this),we()}function We(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function Re(e){var t=new We(e);try{t.c()}catch(e){throw t.d(),e}return t.d.bind(t)}function Ae(e,t){r[e]=t.bind(null,r[e]||function(){})}function Fe(e){Se&&Se(),Se=e&&e.S()}function De(e){var t=this,n=e.data,r=function(e){return le((function(){return Ie(e)}),[])}(n);r.value=n;var o=le((function(){for(var e=t.__v;e=e.__;)if(e.__c){e.__c.__$f|=4;break}return t.__$u.c=function(){var e,n=t.__$u.S(),r=o.value;n(),i(r)||3!==(null==(e=t.base)?void 0:e.nodeType)?(t.__$f|=1,t.setState({})):t.base.data=r},He((function(){var e=r.value.value;return 0===e?0:!0===e?"":e||""}))}),[]);return o.value}function qe(e,t,n,r){var o=t in e&&void 0===e.ownerSVGElement,i=Ie(n);return{o:function(e,t){i.value=e,r=t},d:Re((function(){var n=i.value.value;r[t]!==n&&(r[t]=n,o?e[t]=n:n?e.setAttribute(t,n):e.removeAttribute(t))}))}}Ne.prototype.brand=me,Ne.prototype.h=function(){return!0},Ne.prototype.S=function(e){this.t!==e&&void 0===e.e&&(e.x=this.t,void 0!==this.t&&(this.t.e=e),this.t=e)},Ne.prototype.U=function(e){if(void 0!==this.t){var t=e.e,n=e.x;void 0!==t&&(t.x=n,e.e=void 0),void 0!==n&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},Ne.prototype.subscribe=function(e){var t=this;return Re((function(){var n=t.value,r=xe;xe=void 0;try{e(n)}finally{xe=r}}))},Ne.prototype.valueOf=function(){return this.value},Ne.prototype.toString=function(){return this.value+""},Ne.prototype.toJSON=function(){return this.value},Ne.prototype.peek=function(){var e=xe;xe=void 0;try{return this.value}finally{xe=e}},Object.defineProperty(Ne.prototype,"value",{get:function(){var e=Ce(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(Pe>100)throw new Error("Cycle detected");this.v=e,this.i++,Te++,Ee++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{we()}}}}),(je.prototype=new Ne).h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===Te)return!0;if(this.g=Te,this.f|=1,this.i>0&&!Me(this))return this.f&=-2,!0;var e=xe;try{Oe(this),xe=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return xe=e,Ue(this),this.f&=-2,!0},je.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}Ne.prototype.S.call(this,e)},je.prototype.U=function(e){if(void 0!==this.t&&(Ne.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},je.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Object.defineProperty(je.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=Ce(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),We.prototype.c=function(){var e=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.u=t)}finally{e()}},We.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Le(this),Oe(this),Ee++;var e=xe;return xe=this,Ge.bind(this,e)},We.prototype.N=function(){2&this.f||(this.f|=2,this.o=ke,ke=this)},We.prototype.d=function(){this.f|=8,1&this.f||$e(this)},De.displayName="_st",Object.defineProperties(Ne.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:De},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Ae("__b",(function(e,t){if("string"==typeof t.type){var n,r=t.props;for(var o in r)if("children"!==o){var i=r[o];i instanceof Ne&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)})),Ae("__r",(function(e,t){Fe();var n,r=t.__c;r&&(r.__$f&=-2,void 0===(n=r.__$u)&&(r.__$u=n=function(){var e;return Re((function(){e=this})),e.c=function(){r.__$f|=1,r.setState({})},e}())),Fe(n),e(t)})),Ae("__e",(function(e,t,n,r){Fe(),e(t,n,r)})),Ae("diffed",(function(e,t){var n;if(Fe(),"string"==typeof t.type&&(n=t.__e)){var r=t.__np,o=t.props;if(r){var i=n.U;if(i)for(var s in i){var u=i[s];void 0===u||s in r||(u.d(),i[s]=void 0)}else n.U=i={};for(var c in r){var l=i[c],_=r[c];void 0===l?(l=qe(n,c,_,o),i[c]=l):l.o(_,o)}}}e(t)})),Ae("unmount",(function(e,t){if("string"==typeof t.type){var n=t.__e;if(n){var r=n.U;if(r)for(var o in n.U=void 0,r){var i=r[o];i&&i.d()}}}else{var s=t.__c;if(s){var u=s.__$u;u&&(s.__$u=void 0,u.d())}}e(t)})),Ae("__h",(function(e,t,n,r){(r<3||9===r)&&(t.__$f|=2),e(t,n,r)})),k.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&void 0!==n.s||4&this.__$f))return!0;if(3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if("__source"!==o&&e[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in e))return!0;return!1};const Be=[],Ve=()=>Be.slice(-1)[0],Je=e=>{Be.push(e)},Ke=()=>{Be.pop()},ze=[],Qe=()=>ze.slice(-1)[0],Xe=e=>{ze.push(e)},Ye=()=>{ze.pop()},Ze=e=>Qe().context[e||Ve()],et=()=>{const e=Qe(),{ref:t,attributes:n}=e;return Object.freeze({ref:t.current,attributes:vt(n,{})})},tt=Ie(0);function nt(e){const t=Qe();return nt.subscribe=tt.value,gt(t.serverContext[e||Ve()])}nt.subscribe=0;const rt=e=>new Promise((t=>{const n=()=>{clearTimeout(r),window.cancelAnimationFrame(o),setTimeout((()=>{e(),t()}))},r=setTimeout(n,100),o=window.requestAnimationFrame(n)})),ot="function"==typeof window.scheduler?.yield?window.scheduler.yield.bind(window.scheduler):()=>new Promise((e=>{setTimeout(e,0)}));function it(e){const t=Qe(),n=Ve();let r;if(r="GeneratorFunction"===e?.constructor?.name?async(...r)=>{const o=e(...r);let i,s,u;for(;;){Je(n),Xe(t);try{s=u?o.throw(u):o.next(i),u=void 0}catch(e){throw e}finally{Ye(),Ke()}try{i=await s.value}catch(e){u=e}if(s.done){if(u)throw u;break}}return i}:(...r)=>{Je(n),Xe(t);try{return e(...r)}finally{Ke(),Ye()}},e.sync){const e=r;return e.sync=!0,e}return r}function st(e){!function(e){se((()=>{let t=null,n=!1;return t=function(e,t){let n=()=>{};const r=Re((function(){return n=this.c.bind(this),this.x=e,this.c=t,e()}));return{flush:n,dispose:r}}(e,(async()=>{t&&!n&&(n=!0,await rt(t.flush),n=!1)})),t.dispose}),[])}(it(e))}function ut(e){se(it(e),[])}function ct(e,t){se(it(e),t)}function lt(e,t){ue(it(e),t)}function _t(e,t){return _e(it(e),t)}function at(e,t){return le(it(e),t)}new Set;const ft=e=>Boolean(e&&"object"==typeof e&&e.constructor===Object);function pt(e){const t=e;return t.sync=!0,t}const ht=new WeakMap,dt=e=>{const t=()=>!1;return{get(t,n){const r=t[n];return r&&"object"==typeof r?vt(r,{errorMessage:e}):r},set:t,deleteProperty:t,defineProperty:t}};function vt(e,t){const n=t?.errorMessage??"Cannot modify read-only object";if(!ht.has(e)){const t=dt(n);ht.set(e,new Proxy(e,t))}return ht.get(e)}const yt=Ie(0);function gt(e){return ft(e)?Object.fromEntries(Object.entries(e).map((([e,t])=>[e,gt(t)]))):Array.isArray(e)?e.map((e=>gt(e))):e}const mt=new WeakMap,wt=new WeakMap,bt=new WeakMap,St=new Set([Object,Array]),xt=(e,t,n)=>{if(!Pt(t))throw Error("This object cannot be proxified.");if(!mt.has(t)){const r=new Proxy(t,n);mt.set(t,r),wt.set(r,t),bt.set(r,e)}return mt.get(t)},kt=e=>mt.get(e),Et=e=>bt.get(e),Pt=e=>"object"==typeof e&&null!==e&&!bt.has(e)&&St.has(e.constructor),Tt={};class Ct{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(){const e=this.pendingGetter;e&&(this.pendingGetter=void 0,this.update({get:e}))}getComputed(){const e=Qe()||Tt;if(this.valueSignal||this.getterSignal||this.update({}),this.pendingGetter&&this.consolidateGetter(),!this.computedsByScope.has(e)){const t=()=>{const e=this.getterSignal?.value;return e?e.call(this.owner):this.valueSignal?.value};Je(Et(this.owner)),this.computedsByScope.set(e,He(it(t))),Ke()}return this.computedsByScope.get(e)}update({get:e,value:t}){this.valueSignal?t===this.valueSignal.peek()&&e===this.getterSignal.peek()||be((()=>{this.valueSignal.value=t,this.getterSignal.value=e})):(this.valueSignal=Ie(t),this.getterSignal=Ie(e))}}const Nt=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter((e=>"symbol"==typeof e))),It=new WeakMap,Mt=(e,t)=>It.has(e)&&It.get(e).has(t),Ot=(e,t,n)=>{It.has(e)||It.set(e,new Map),t="number"==typeof t?`${t}`:t;const r=It.get(e);if(!r.has(t)){const o=Et(e),i=new Ct(e);if(r.set(t,i),n){const{get:e,value:t}=n;e?i.setGetter(e):i.setValue(Pt(t)?$t(o,t):t)}}return r.get(t)},Ut=new WeakMap;let jt=!1;const Ht=Symbol("PENDING_GETTER"),Lt={get(e,t,n){if(jt||!e.hasOwnProperty(t)&&t in e||"symbol"==typeof t&&Nt.has(t))return Reflect.get(e,t,n);const r=Object.getOwnPropertyDescriptor(e,t),o=Ot(n,t,r).getComputed().value;if(o===Ht)throw Ht;if("function"==typeof o){const e=Et(n);return(...t)=>{Je(e);try{return o.call(n,...t)}finally{Ke()}}}return o},set(e,t,n,r){Je(Et(r));try{return Reflect.set(e,t,n,r)}finally{Ke()}},defineProperty(e,t,n){const r=!(t in e),o=Reflect.defineProperty(e,t,n);if(o){const o=kt(e),i=Ot(o,t),{get:s,value:u}=n;if(s)i.setGetter(s);else{const e=Et(o);i.setValue(Pt(u)?$t(e,u):u)}r&&Ut.has(e)&&Ut.get(e).value++,Array.isArray(e)&&It.get(o)?.has("length")&&Ot(o,"length").setValue(e.length)}return o},deleteProperty(e,t){const n=Reflect.deleteProperty(e,t);return n&&(Ot(kt(e),t).setValue(void 0),Ut.has(e)&&Ut.get(e).value++),n},ownKeys:e=>(Ut.has(e)||Ut.set(e,Ie(0)),Ut._=Ut.get(e).value,Reflect.ownKeys(e))},$t=(e,t)=>xt(e,t,Lt),Gt=(e,t,n=!0)=>{if(!ft(e)||!ft(t))return;let r=!1;for(const o in t){const i=!(o in e);r=r||i;const s=Object.getOwnPropertyDescriptor(t,o),u=kt(e),c=!!u&&Mt(u,o)&&Ot(u,o);if("function"==typeof s.get||"function"==typeof s.set)(n||i)&&(Object.defineProperty(e,o,{...s,configurable:!0,enumerable:!0}),s.get&&c&&c.setPendingGetter(s.get));else if(ft(t[o])){const r=Object.getOwnPropertyDescriptor(e,o)?.value;if(i||n&&!ft(r)){if(e[o]={},c){const t=Et(u);c.setValue($t(t,e[o]))}Gt(e[o],t[o],n)}else ft(r)&&Gt(e[o],t[o],n)}else if((n||i)&&(Object.defineProperty(e,o,s),c)){const{value:e}=s,t=Et(u);c.setValue(Pt(e)?$t(t,e):e)}}r&&Ut.has(e)&&Ut.get(e).value++},Wt=(e,t,n=!0)=>be((()=>{return Gt((r=e,wt.get(r)||e),t,n);var r})),Rt=new WeakSet,At={get:(e,t,n)=>{const r=Reflect.get(e,t),o=Et(n);if(void 0===r&&Rt.has(n)){const n={};return Reflect.set(e,t,n),Ft(o,n,!1)}if("function"==typeof r){Je(o);const e=it(r);return Ke(),e}return ft(r)&&Pt(r)?Ft(o,r,!1):r}},Ft=(e,t,n=!0)=>{const r=xt(e,t,At);return r&&n&&Rt.add(r),r},Dt=new WeakMap,qt=new WeakMap,Bt=new WeakSet,Vt=Reflect.getOwnPropertyDescriptor,Jt={get:(e,t)=>{const n=qt.get(e),r=e[t];return t in e?r:n[t]},set:(e,t,n)=>{const r=qt.get(e);return(t in e||!(t in r)?e:r)[t]=n,!0},ownKeys:e=>[...new Set([...Object.keys(qt.get(e)),...Object.keys(e)])],getOwnPropertyDescriptor:(e,t)=>Vt(e,t)||Vt(qt.get(e),t),has:(e,t)=>Reflect.has(e,t)||Reflect.has(qt.get(e),t)},Kt=(e,t={})=>{if(Bt.has(e))throw Error("This object cannot be proxified.");if(qt.set(e,t),!Dt.has(e)){const t=new Proxy(e,Jt);Dt.set(e,t),Bt.add(t)}return Dt.get(e)},zt=new Map,Qt=new Map,Xt=new Map,Yt=new Map,Zt=new Map,en=e=>Yt.get(e||Ve())||{};function tn(e){const t=e||Ve();return Zt.has(t)||Zt.set(t,{}),tn.subscribe=yt.value,gt(Zt.get(t))}tn.subscribe=0;const nn="I acknowledge that using a private store means my plugin will inevitably break on the next store release.";function rn(e,{state:t={},...n}={},{lock:r=!1}={}){if(zt.has(e)){if(r===nn||Xt.has(e)){const t=Xt.get(e);if(r!==nn&&(!0===r||r!==t))throw t?Error("Cannot unlock a private store with an invalid lock code"):Error("Cannot lock a public store")}else Xt.set(e,r);const o=Qt.get(e);Wt(o,n),Wt(o.state,t)}else{r!==nn&&Xt.set(e,r);const o={state:$t(e,ft(t)?t:{}),...n},i=Ft(e,o);Qt.set(e,o),zt.set(e,i)}return zt.get(e)}const on=(e=document)=>{const 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{}},sn=e=>{Zt.clear(),Yt.clear(),ft(e?.state)&&Object.entries(e.state).forEach((([e,t])=>{const n=rn(e,{},{lock:nn});Wt(n.state,t,!1),Zt.set(e,t)})),ft(e?.config)&&Object.entries(e.config).forEach((([e,t])=>{Yt.set(e,t)})),ft(e?.derivedStateClosures)&&Object.entries(e.derivedStateClosures).forEach((([e,t])=>{const n=rn(e,{},{lock:nn});t.forEach((e=>{const t=e.split("."),r=t.splice(-1,1)[0],o=t.reduce(((e,t)=>((e,t)=>{jt=!0;try{return e[t]}finally{jt=!1}})(e,t)),n),i=Object.getOwnPropertyDescriptor(o,r);ft(i?.value)&&(o[r]=Ht)}))}))};function un(e){return null!==e.suffix}function cn(e){return null===e.suffix}const ln=function(e,t){var n={__c:t="__cC"+h++,__:{client:{},server:{}},Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.forEach((function(e){e.__e=!0,T(e)}))},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}(),an={},fn={},pn=(e,t,{priority:n=10}={})=>{an[e]=t,fn[e]=n},hn=({scope:e})=>(t,...n)=>{let{value:r,namespace:o}=t;if("string"!=typeof r)throw new Error("The `value` prop should be a string path");const i="!"===r[0]&&!!(r=r.slice(1));Xe(e);const s=((e,t)=>{if(!t)return;let n=zt.get(t);void 0===n&&(n=rn(t,{},{lock:nn}));const r={...n,context:Qe().context[t]};try{return e.split(".").reduce(((e,t)=>e[t]),r)}catch(e){if(e===Ht)return Ht}})(r,o);if("function"==typeof s){if(i){const e=!s(...n);return Ye(),e}Ye();const t=(...t)=>{Xe(e);const n=s(...t);return Ye(),n};return s.sync&&(t.sync=!0),t}const u=s;return Ye(),i&&s!==Ht?!u:u},dn=({directives:e,priorityLevels:[t,...n],element:r,originalProps:o,previousScope:i})=>{const s=ce({}).current;s.evaluate=_e(hn({scope:s}),[]);const{client:u,server:c}=ae(ln);s.context=u,s.serverContext=c,s.ref=i?.ref||ce(null),r=q(r,{ref:s.ref}),s.attributes=r.props;const l=n.length>0?b(dn,{directives:e,priorityLevels:n,element:r,originalProps:o,previousScope:s}):r,_={...o,children:l},a={directives:e,props:_,element:r,context:ln,evaluate:s.evaluate};Xe(s);for(const e of t){const t=an[e]?.(a);void 0!==t&&(_.children=t)}return Ye(),_.children},vn=r.vnode;function yn(e){return new Proxy(e,{get(e,t,n){const r=e[t];return r instanceof Function?function(...t){return r.apply(this===n?e:this,t)}:r}})}r.vnode=e=>{if(e.props.__directives){const t=e.props,n=t.__directives;n.key&&(e.key=n.key.find(cn).value),delete t.__directives;const r=(e=>{const t=Object.keys(e).reduce(((e,t)=>{if(an[t]){const n=fn[t];(e[n]=e[n]||[]).push(t)}return e}),{});return Object.entries(t).sort((([e],[t])=>parseInt(e)-parseInt(t))).map((([,e])=>e))})(n);r.length>0&&(e.props={directives:n,priorityLevels:r,originalProps:t,type:e.type,element:b(e.type,t),top:!0},e.type=dn)}vn&&vn(e)};const gn=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,mn=/\/\*[^]*?\*\/| +/g,wn=/\n+/g,bn=e=>({directives:t,evaluate:n})=>{t[`on-${e}`].filter(un).forEach((t=>{const r=t.suffix.split("--",2)[0];ut((()=>{const o=e=>{const r=n(t);"function"==typeof r&&(r?.sync||(e=yn(e)),r(e))},i="window"===e?window:document;return i.addEventListener(r,o),()=>i.removeEventListener(r,o)}))}))},Sn=(e,t,n,r,o)=>{const i={...e.client,[t]:{...e.client[t],[r]:n}},s={...Qe(),context:i,serverContext:e.server};return o?hn({scope:s})(o):n},xn=e=>({directives:t,evaluate:n})=>{t[`on-async-${e}`].filter(un).forEach((t=>{const r=t.suffix.split("--",1)[0];ut((()=>{const o=async e=>{await ot();const r=n(t);"function"==typeof r&&r(e)},i="window"===e?window:document;return i.addEventListener(r,o,{passive:!0}),()=>i.removeEventListener(r,o)}))}))},kn=new Map,En=[],Pn=/[^a-z0-9-_]/i,Tn=/^([\w_\/-]+)::(.+)$/,Cn=new WeakSet;function Nn(e){const t=new Set,n=new Set,r=document.createTreeWalker(e,205),o=function e(o){const{nodeType:i}=o;if(3===i)return o.data;if(4===i)return n.add(o),o.nodeValue;if(8===i||7===i)return t.add(o),null;const s=o,{attributes:u}=s,c=s.localName,l={},_=[],a=[];let f=!1,p=!1;for(let e=0;e<u.length;e++){const t=u[e].name,n=u[e].value;if(t[8]&&"data-wp-"===t.slice(0,8))if("data-wp-ignore"===t)f=!0;else{const e=Tn.exec(n),r=e?.[1]??null;let o=e?.[2]??n;try{const e=JSON.parse(o);h=e,o=Boolean(h&&"object"==typeof h&&h.constructor===Object)?e:o}catch{}if("data-wp-interactive"===t){p=!0;const e="string"==typeof o?o:"string"==typeof o?.namespace?o.namespace:null;En.push(e)}else a.push([t,r,o])}else if("ref"===t)continue;""===n&&!0===s[t]?l[t]=!0:l[t]=n}var h;if(f&&!p)return[b(c,{...l,innerHTML:s.innerHTML,__directives:{ignore:!0}})];if(p&&Cn.add(s),a.length){l.__directives=a.reduce(((e,[t,n,r])=>{const o=function(e){const t=e.substring(8);if(Pn.test(t))return null;const n=t.indexOf("--");if(-1===n)return{prefix:t,suffix:null,uniqueId:null};const r=t.substring(0,n),o=t.substring(n);if(o.startsWith("---")&&"-"!==o[3])return{prefix:r,suffix:null,uniqueId:o.substring(3)||null};let i=o.substring(2);const s=i.indexOf("---");if(-1!==s&&"-"!==i.substring(s)[3]){const e=i.substring(s+3)||null;return i=i.substring(0,s)||null,{prefix:r,suffix:i,uniqueId:e}}return{prefix:r,suffix:i||null,uniqueId:null}}(t);if(null===o)return e;const{prefix:i,suffix:s,uniqueId:u}=o;return e[i]=e[i]||[],e[i].push({namespace:n??En[En.length-1]??null,value:r,suffix:s,uniqueId:u}),e}),{});for(const e in l.__directives)l.__directives[e].sort(((e,t)=>{const n=e.suffix??"",r=t.suffix??"";if(n!==r)return n<r?-1:1;const o=e.uniqueId??"",i=t.uniqueId??"";return+(o>i)-+(o<i)}))}if(l.__directives?.["each-child"])l.dangerouslySetInnerHTML={__html:s.innerHTML};else if("template"===c)l.content=[...s.content.childNodes].map((e=>Nn(e)));else{let t=r.firstChild();if(t){for(;t;){const n=e(t);n&&_.push(n),t=r.nextSibling()}r.parentNode()}}return p&&En.pop(),b(c,l,_)}(r.currentNode);return t.forEach((e=>e.remove())),n.forEach((e=>e.replaceWith(new window.Text(e.nodeValue??"")))),o}const In=new WeakMap,Mn=e=>{const t=Array.isArray(e)?e[0]:e;if(!t.parentElement)throw Error("The passed region should be an element with a parent.");return In.has(t)||In.set(t,((e,t)=>{const n=(t=[].concat(t))[t.length-1].nextSibling;function r(t,r){e.insertBefore(t,r||n)}return e.__k={nodeType:1,parentNode:e,firstChild:t[0],childNodes:t,insertBefore:r,appendChild:r,removeChild(t){e.removeChild(t)},contains(t){e.contains(t)}}})(t.parentElement,e)),In.get(t)},On=new WeakMap,Un=e=>{if("I acknowledge that using private APIs means my theme or plugin will inevitably break in the next version of WordPress."===e)return{getRegionRootFragment:Mn,initialVdom:On,toVdom:Nn,directive:pn,getNamespace:Ve,h:b,cloneElement:q,render:F,proxifyState:$t,parseServerData:on,populateServerData:sn,batch:be,routerRegions:kn,deepReadOnly:vt,navigationSignal:yt};throw new Error("Forbidden access.")};sn(on()),pn("context",(({directives:{context:e},props:{children:t},context:n})=>{const r=e.filter(cn).reverse();if(!r.length)return;const{Provider:o}=n,{client:i,server:s}=ae(n),u=ce({}),c={},l={client:{...i},server:{...s}},_=new Set;return r.forEach((({value:e,namespace:t,uniqueId:n})=>{ft(e)&&(u.current[t]||(u.current[t]=$t(t,{})),Wt(u.current[t],gt(e),!1),c[t]=e,_.add(t))})),_.forEach((e=>{l.client[e]=Kt(u.current[e],i[e]),l.server[e]=Kt(c[e],s[e])})),b(o,{value:l},t)}),{priority:5}),pn("watch",(({directives:{watch:e},evaluate:t})=>{e.forEach((e=>{st((()=>{globalThis.IS_GUTENBERG_PLUGIN;let n=t(e);return"function"==typeof n&&(n=n()),globalThis.IS_GUTENBERG_PLUGIN,n}))}))})),pn("init",(({directives:{init:e},evaluate:t})=>{e.forEach((e=>{ut((()=>{globalThis.IS_GUTENBERG_PLUGIN;let n=t(e);return"function"==typeof n&&(n=n()),globalThis.IS_GUTENBERG_PLUGIN,n}))}))})),pn("on",(({directives:{on:e},element:t,evaluate:n})=>{const r=new Map;e.filter(un).forEach((e=>{const t=e.suffix.split("--",2);r.has(t[0])||r.set(t[0],new Set),r.get(t[0]).add(e)})),r.forEach(((e,r)=>{const o=t.props[`on${r}`];t.props[`on${r}`]=t=>{o&&o(t),e.forEach((e=>{globalThis.IS_GUTENBERG_PLUGIN;const r=n(e);"function"==typeof r&&(r?.sync||(t=yn(t)),r(t)),globalThis.IS_GUTENBERG_PLUGIN}))}}))})),pn("on-async",(({directives:{"on-async":e},element:t,evaluate:n})=>{const r=new Map;e.filter(un).forEach((e=>{const t=e.suffix.split("--",1)[0];r.has(t)||r.set(t,new Set),r.get(t).add(e)})),r.forEach(((e,r)=>{const o=t.props[`on${r}`];t.props[`on${r}`]=t=>{o&&o(t),e.forEach((async e=>{await ot();const r=n(e);"function"==typeof r&&r(t)}))}}))})),pn("on-window",bn("window")),pn("on-document",bn("document")),pn("on-async-window",xn("window")),pn("on-async-document",xn("document")),pn("class",(({directives:{class:e},element:t,evaluate:n})=>{e.filter(un).forEach((e=>{const r=e.uniqueId?`${e.suffix}---${e.uniqueId}`:e.suffix;let o=n(e);if(o===Ht)return;"function"==typeof o&&(o=o());const i=t.props.class||"",s=new RegExp(`(^|\\s)${r}(\\s|$)`,"g");o?s.test(i)||(t.props.class=i?`${i} ${r}`:r):t.props.class=i.replace(s," ").trim(),ut((()=>{o?t.ref.current.classList.add(r):t.ref.current.classList.remove(r)}))}))})),pn("style",(({directives:{style:e},element:t,evaluate:n})=>{e.filter(un).forEach((e=>{if(e.uniqueId)return;const r=e.suffix;let o=n(e);o!==Ht&&("function"==typeof o&&(o=o()),t.props.style=t.props.style||{},"string"==typeof t.props.style&&(t.props.style=(e=>{const t=[{}];let n,r;for(;n=gn.exec(e.replace(mn,""));)n[4]?t.shift():n[3]?(r=n[3].replace(wn," ").trim(),t.unshift(t[0][r]=t[0][r]||{})):t[0][n[1]]=n[2].replace(wn," ").trim();return t[0]})(t.props.style)),o?t.props.style[r]=o:delete t.props.style[r],ut((()=>{o?t.ref.current.style.setProperty(r,o):t.ref.current.style.removeProperty(r)})))}))})),pn("bind",(({directives:{bind:e},element:t,evaluate:n})=>{e.filter(un).forEach((e=>{if(e.uniqueId)return;const r=e.suffix;let o=n(e);o!==Ht&&("function"==typeof o&&(o=o()),t.props[r]=o,ut((()=>{const e=t.ref.current;if("style"!==r){if("width"!==r&&"height"!==r&&"href"!==r&&"list"!==r&&"form"!==r&&"tabIndex"!==r&&"download"!==r&&"rowSpan"!==r&&"colSpan"!==r&&"role"!==r&&r in e)try{return void(e[r]=null==o?"":o)}catch(e){}null==o||!1===o&&"-"!==r[4]?e.removeAttribute(r):e.setAttribute(r,o)}else"string"==typeof o&&(e.style.cssText=o)})))}))})),pn("ignore",(({element:{type:e,props:{innerHTML:t,...n}}})=>b(e,{dangerouslySetInnerHTML:{__html:le((()=>t),[])},...n}))),pn("text",(({directives:{text:e},element:t,evaluate:n})=>{const r=e.filter(cn);r.length&&r.forEach((e=>{if(!e.uniqueId)try{let r=n(e);if(r===Ht)return;"function"==typeof r&&(r=r()),t.props.children="object"==typeof r?null:r.toString()}catch(e){t.props.children=null}}))})),pn("run",(({directives:{run:e},evaluate:t})=>{e.forEach((e=>{let n=t(e);return"function"==typeof n&&(n=n()),n}))})),pn("each",(({directives:{each:e,"each-key":t},context:n,element:r,evaluate:o})=>{if("template"!==r.type)return;const{Provider:i}=n,s=ae(n),[u]=e,{namespace:c,suffix:l,uniqueId:_}=u;if(e.length>1)return;if(_)return;let a=o(u);if(a===Ht)return;if("function"==typeof a&&(a=a()),"function"!=typeof a?.[Symbol.iterator])return;const f=l?l.replace(/^-+|-+$/g,"").toLowerCase().replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()})):"item",p=[],h=function*(e,t,n,r,o){const{current:i}=ce(new Map);for(const s of n){const n=Sn(e,t,s,r,o);i.has(n)||i.set(n,Kt($t(t,{[r]:void 0}),e.client[t])),yield[s,i.get(n),n]}}(s,c,a,f,t?.[0]);for(const[e,t,n]of h){const o={client:{...s.client,[c]:t},server:{...s.server}};o.client[c][f]=e,p.push(b(i,{value:o,key:n},r.props.content))}return p}),{priority:20}),pn("each-child",(({directives:{"each-child":e},element:t,evaluate:n})=>{const r=e.find(cn);if(r)return n(r)===Ht?t:null}),{priority:1}),pn("router-region",(({directives:{"router-region":e}})=>{const t=e.find(cn);if(!t)return;if(t.suffix)return;if(t.uniqueId)return;const n="string"==typeof t.value?t.value:t.value.id;kn.has(n)||kn.set(n,Ie());const r=kn.get(n).value;if(ue((()=>{r&&"string"!=typeof r.type&&(tt.value=tt.peek()+1)}),[r]),r&&"string"!=typeof r.type){const e=Qe();return q(r,{previousScope:e})}return r}),{priority:1}),(e=>{const[t]=performance.getEntriesByType("navigation");t.domContentLoadedEventStart>0?e():document.addEventListener("DOMContentLoaded",e)})((async()=>{const e=document.querySelectorAll("[data-wp-interactive]");for(const t of e)if(!Cn.has(t)){await ot();const e=Mn(t),n=Nn(t);On.set(t,n),await ot(),D(n,e)}}));var jn=t.zj,Hn=t.SD,Ln=t.V6,$n=t.$K,Gn=t.vT,Wn=t.jb,Rn=t.yT,An=t.M_,Fn=t.hb,Dn=t.vJ,qn=t.ip,Bn=t.Nf,Vn=t.Kr,Jn=t.li,Kn=t.J0,zn=t.FH,Qn=t.v4,Xn=t.mh;export{jn as getConfig,Hn as getContext,Ln as getElement,$n as getServerContext,Gn as getServerState,Wn as privateApis,Rn as splitTask,An as store,Fn as useCallback,Dn as useEffect,qn as useInit,Bn as useLayoutEffect,Vn as useMemo,Jn as useRef,Kn as useState,zn as useWatch,Qn as withScope,Xn as withSyncEvent};
Save
Cancel