File "debug.min.js"
Full Path: /home/pumpbmko/public_html/wp-content/plugins/gutenberg/build/interactivity/debug.min.js
File size: 43.77 KB
MIME-type: text/plain
Charset: utf-8
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,{iE:()=>$t,fw:()=>zt,sb:()=>Yt,YH:()=>Fn,QN:()=>sn,h:()=>Mt,I4:()=>pn,d4:()=>ln,Dp:()=>cn,bt:()=>fn,Ye:()=>hn,sO:()=>ge,eJ:()=>ye,qo:()=>un,$e:()=>an});var n,r,o,i,s,a,u,c,l,_={},f=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function d(e,t){for(var n in t)e[n]=t[n];return e}function v(e){var t=e.parentNode;t&&t.removeChild(e)}function y(e,t,r){var o,i,s,a={};for(s in t)"key"==s?o=t[s]:"ref"==s?i=t[s]:a[s]=t[s];if(arguments.length>2&&(a.children=arguments.length>3?n.call(arguments,2):r),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===a[s]&&(a[s]=e.defaultProps[s]);return m(e,a,o,i,null)}function m(e,t,n,i,s){var a={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==s?++o:s,__i:-1,__u:0};return null==s&&null!=r.vnode&&r.vnode(a),a}function g(e){return e.children}function w(e,t){this.props=e,this.context=t}function b(e,t){if(null==t)return e.__?b(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?b(e):null}function k(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 k(e)}}function x(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!E.__r++||a!==r.debounceRendering)&&((a=r.debounceRendering)||u)(E)}function E(){var e,t,n,o,i,a,u,l,_;for(s.sort(c);e=s.shift();)e.__d&&(t=s.length,o=void 0,a=(i=(n=e).__v).__e,l=[],_=[],(u=n.__P)&&((o=d({},i)).__v=i.__v+1,r.vnode&&r.vnode(o),M(u,o,i,n.__n,void 0!==u.ownerSVGElement,32&i.__u?[a]:null,l,null==a?b(i):a,!!(32&i.__u),_),o.__.__k[o.__i]=o,H(l,o,_),o.__e!=a&&k(o)),s.length>t&&s.sort(c));E.__r=0}function S(e,t,n,r,o,i,s,a,u,c,l){var p,h,d,v,y,m=r&&r.__k||f,g=t.length;for(n.__d=u,P(n,t,m),u=n.__d,p=0;p<g;p++)null!=(d=n.__k[p])&&"boolean"!=typeof d&&"function"!=typeof d&&(h=-1===d.__i?_:m[d.__i]||_,d.__i=p,M(e,d,h,o,i,s,a,u,c,l),v=d.__e,d.ref&&h.ref!=d.ref&&(h.ref&&W(h.ref,null,d),l.push(d.ref,d.__c||v,d)),null==y&&null!=v&&(y=v),65536&d.__u||h.__k===d.__k?u=O(d,u,e):"function"==typeof d.type&&void 0!==d.__d?u=d.__d:v&&(u=v.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=u,n.__e=y}function P(e,t,n){var r,o,i,s,a,u=t.length,c=n.length,l=c,_=0;for(e.__k=[],r=0;r<u;r++)null!=(o=e.__k[r]=null==(o=t[r])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?m(null,o,null,null,o):h(o)?m(g,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?m(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,a=T(o,n,s=r+_,l),o.__i=a,i=null,-1!==a&&(l--,(i=n[a])&&(i.__u|=131072)),null==i||null===i.__v?(-1==a&&_--,"function"!=typeof o.type&&(o.__u|=65536)):a!==s&&(a===s+1?_++:a>s?l>u-s?_+=a-s:_--:_=a<s&&a==s-1?a-s:0,a!==r+_&&(o.__u|=65536))):(i=n[r])&&null==i.key&&i.__e&&(i.__e==e.__d&&(e.__d=b(i)),A(i,i,!1),n[r]=null,l--);if(l)for(r=0;r<c;r++)null!=(i=n[r])&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=b(i)),A(i,i))}function O(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=O(r[o],t,n));return t}return e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function T(e,t,n,r){var o=e.key,i=e.type,s=n-1,a=n+1,u=t[n];if(null===u||u&&o==u.key&&i===u.type)return n;if(r>(null==u||131072&u.__u?0:1))for(;s>=0||a<t.length;){if(s>=0){if((u=t[s])&&!(131072&u.__u)&&o==u.key&&i===u.type)return s;s--}if(a<t.length){if((u=t[a])&&!(131072&u.__u)&&o==u.key&&i===u.type)return a;a++}}return-1}function C(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||p.test(t)?n:n+"px"}function N(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||C(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||C(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Date.now(),e.addEventListener(t,i?j:$,i)):e.removeEventListener(t,i?j:$,i);else{if(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&&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,n))}}function $(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(r.event?r.event(e):e)}function j(e){return this.l[e.type+!0](r.event?r.event(e):e)}function M(e,t,n,o,i,s,a,u,c,l){var _,f,p,v,y,m,b,k,x,E,P,O,T,C,N,$=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(c=!!(32&n.__u),s=[u=t.__e=n.__e]),(_=r.__b)&&_(t);e:if("function"==typeof $)try{if(k=t.props,x=(_=$.contextType)&&o[_.__c],E=_?x?x.props.value:_.__:o,n.__c?b=(f=t.__c=n.__c).__=f.__E:("prototype"in $&&$.prototype.render?t.__c=f=new $(k,E):(t.__c=f=new w(k,E),f.constructor=$,f.render=L),x&&x.sub(f),f.props=k,f.state||(f.state={}),f.context=E,f.__n=o,p=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=$.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=d({},f.__s)),d(f.__s,$.getDerivedStateFromProps(k,f.__s))),v=f.props,y=f.state,f.__v=t,p)null==$.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==$.getDerivedStateFromProps&&k!==v&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(k,E),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(k,f.__s,E)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=k,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),P=0;P<f._sb.length;P++)f.__h.push(f._sb[P]);f._sb=[],f.__h.length&&a.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(k,f.__s,E),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(v,y,m)}))}if(f.context=E,f.props=k,f.__P=e,f.__e=!1,O=r.__r,T=0,"prototype"in $&&$.prototype.render){for(f.state=f.__s,f.__d=!1,O&&O(t),_=f.render(f.props,f.state,f.context),C=0;C<f._sb.length;C++)f.__h.push(f._sb[C]);f._sb=[]}else do{f.__d=!1,O&&O(t),_=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++T<25);f.state=f.__s,null!=f.getChildContext&&(o=d(d({},o),f.getChildContext())),p||null==f.getSnapshotBeforeUpdate||(m=f.getSnapshotBeforeUpdate(v,y)),S(e,h(N=null!=_&&_.type===g&&null==_.key?_.props.children:_)?N:[N],t,n,o,i,s,a,u,c,l),f.base=t.__e,t.__u&=-161,f.__h.length&&a.push(f),b&&(f.__E=f.__=null)}catch(e){t.__v=null,c||null!=s?(t.__e=u,t.__u|=c?160:32,s[s.indexOf(u)]=null):(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):t.__e=U(n.__e,t,n,o,i,s,a,c,l);(_=r.diffed)&&_(t)}function H(e,t,n){t.__d=void 0;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 U(e,t,r,o,i,s,a,u,c){var l,f,p,d,y,m,g,w=r.props,k=t.props,x=t.type;if("svg"===x&&(i=!0),null!=s)for(l=0;l<s.length;l++)if((y=s[l])&&"setAttribute"in y==!!x&&(x?y.localName===x:3===y.nodeType)){e=y,s[l]=null;break}if(null==e){if(null===x)return document.createTextNode(k);e=i?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,k.is&&k),s=null,u=!1}if(null===x)w===k||u&&e.data===k||(e.data=k);else{if(s=s&&n.call(e.childNodes),w=r.props||_,!u&&null!=s)for(w={},l=0;l<e.attributes.length;l++)w[(y=e.attributes[l]).name]=y.value;for(l in w)y=w[l],"children"==l||("dangerouslySetInnerHTML"==l?p=y:"key"===l||l in k||N(e,l,null,y,i));for(l in k)y=k[l],"children"==l?d=y:"dangerouslySetInnerHTML"==l?f=y:"value"==l?m=y:"checked"==l?g=y:"key"===l||u&&"function"!=typeof y||w[l]===y||N(e,l,y,w[l],i);if(f)u||p&&(f.__html===p.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(p&&(e.innerHTML=""),S(e,h(d)?d:[d],t,r,o,i&&"foreignObject"!==x,s,a,s?s[0]:r.__k&&b(r,0),u,c),null!=s)for(l=s.length;l--;)null!=s[l]&&v(s[l]);u||(l="value",void 0!==m&&(m!==e[l]||"progress"===x&&!m||"option"===x&&m!==w[l])&&N(e,l,m,w[l],!1),l="checked",void 0!==g&&g!==e[l]&&N(e,l,g,w[l],!1))}return e}function W(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function A(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,e.__c=void 0}if(o=e.__k)for(i=0;i<o.length;i++)o[i]&&A(o[i],t,n||"function"!=typeof e.type);n||null==e.__e||v(e.__e),e.__=e.__e=e.__d=void 0}function L(e,t,n){return this.constructor(e,n)}function D(e,t,o){var i,s,a,u;r.__&&r.__(e,t),s=(i="function"==typeof o)?null:o&&o.__k||t.__k,a=[],u=[],M(t,e=(!i&&o||t).__k=y(g,null,[e]),s||_,_,void 0!==t.ownerSVGElement,!i&&o?[o]:s?null:t.firstChild?n.call(t.childNodes):null,a,!i&&o?o:s?s.__e:t.firstChild,i,u),H(a,e,u)}function I(e,t){D(e,t,I)}function R(e,t,r){var o,i,s,a,u=d({},e.props);for(s in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)"key"==s?o=t[s]:"ref"==s?i=t[s]:u[s]=void 0===t[s]&&void 0!==a?a[s]:t[s];return arguments.length>2&&(u.children=arguments.length>3?n.call(arguments,2):r),m(e.type,u,o||e.key,i||e.ref,null)}n=f.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},w.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d({},this.state),"function"==typeof e&&(e=e(d({},n),this.props)),e&&d(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),x(this))},w.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),x(this))},w.prototype.render=g,s=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(e,t){return e.__v.__b-t.__v.__b},E.__r=0,l=0,"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.19.3",r,{Fragment:g,Component:w});var F={};function V(e){return e.type===g?"Fragment":"function"==typeof e.type?e.type.displayName||e.type.name:"string"==typeof e.type?e.type:"#text"}var z=[],Y=[];function B(){return z.length>0?z[z.length-1]:null}var J=!1;function q(e){return"function"==typeof e.type&&e.type!=g}function G(e){for(var t=[e],n=e;null!=n.__o;)t.push(n.__o),n=n.__o;return t.reduce((function(e,t){e+=" in "+V(t);var n=t.__source;return n?e+=" (at "+n.fileName+":"+n.lineNumber+")":J||(J=!0,console.warn("Add @babel/plugin-transform-react-jsx-source to get a more detailed component stack. Note that you should not add it to production builds of your App for bundle size reasons.")),e+"\n"}),"")}var K="function"==typeof WeakMap;function X(e){var t=[];return e.__k?(e.__k.forEach((function(e){e&&"function"==typeof e.type?t.push.apply(t,X(e)):e&&"string"==typeof e.type&&t.push(e.type)})),t):t}function Q(e){return e?"function"==typeof e.type?null===e.__?null!==e.__e&&null!==e.__e.parentNode?e.__e.parentNode.localName:"":Q(e.__):e.type:""}var Z=w.prototype.setState;function ee(e){return"table"===e||"tfoot"===e||"tbody"===e||"thead"===e||"td"===e||"tr"===e||"th"===e}w.prototype.setState=function(e,t){return null==this.__v&&null==this.state&&console.warn('Calling "this.setState" inside the constructor of a component is a no-op and might be a bug in your application. Instead, set "this.state = {}" directly.\n\n'+G(B())),Z.call(this,e,t)};var te=/^(address|article|aside|blockquote|details|div|dl|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|main|menu|nav|ol|p|pre|search|section|table|ul)$/,ne=w.prototype.forceUpdate;function re(e){var t=e.props,n=V(e),r="";for(var o in t)if(t.hasOwnProperty(o)&&"children"!==o){var i=t[o];"function"==typeof i&&(i="function "+(i.displayName||i.name)+"() {}"),i=Object(i)!==i||i.toString?i+"":Object.prototype.toString.call(i),r+=" "+o+"="+JSON.stringify(i)}var s=t.children;return"<"+n+r+(s&&s.length?">..</"+n+">":" />")}w.prototype.forceUpdate=function(e){return null==this.__v?console.warn('Calling "this.forceUpdate" inside the constructor of a component is a no-op and might be a bug in your application.\n\n'+G(B())):null==this.__P&&console.warn('Can\'t call "this.forceUpdate" on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.\n\n'+G(this.__v)),ne.call(this,e)},function(){!function(){var e=r.__b,t=r.diffed,n=r.__,o=r.vnode,i=r.__r;r.diffed=function(e){q(e)&&Y.pop(),z.pop(),t&&t(e)},r.__b=function(t){q(t)&&z.push(t),e&&e(t)},r.__=function(e,t){Y=[],n&&n(e,t)},r.vnode=function(e){e.__o=Y.length>0?Y[Y.length-1]:null,o&&o(e)},r.__r=function(e){q(e)&&Y.push(e),i&&i(e)}}();var e=!1,t=r.__b,n=r.diffed,o=r.vnode,i=r.__r,s=r.__e,a=r.__,u=r.__h,c=K?{useEffect:new WeakMap,useLayoutEffect:new WeakMap,lazyPropTypes:new WeakMap}:null,l=[];r.__e=function(e,t,n,r){if(t&&t.__c&&"function"==typeof e.then){var o=e;e=new Error("Missing Suspense. The throwing component was: "+V(t));for(var i=t;i;i=i.__)if(i.__c&&i.__c.__c){e=o;break}if(e instanceof Error)throw e}try{(r=r||{}).componentStack=G(t),s(e,t,n,r),"function"!=typeof e.then&&setTimeout((function(){throw e}))}catch(e){throw e}},r.__=function(e,t){if(!t)throw new Error("Undefined parent passed to render(), this is the second argument.\nCheck if the element is available in the DOM/has the correct id.");var n;switch(t.nodeType){case 1:case 11:case 9:n=!0;break;default:n=!1}if(!n){var r=V(e);throw new Error("Expected a valid HTML node as a second argument to render.\tReceived "+t+" instead: render(<"+r+" />, "+t+");")}a&&a(e,t)},r.__b=function(n){var r=n.type;if(e=!0,void 0===r)throw new Error("Undefined component passed to createElement()\n\nYou likely forgot to export your component or might have mixed up default and named imports"+re(n)+"\n\n"+G(n));if(null!=r&&"object"==typeof r){if(void 0!==r.__k&&void 0!==r.__e)throw new Error("Invalid type passed to createElement(): "+r+"\n\nDid you accidentally pass a JSX literal as JSX twice?\n\n let My"+V(n)+" = "+re(r)+";\n let vnode = <My"+V(n)+" />;\n\nThis usually happens when you export a JSX literal and not the component.\n\n"+G(n));throw new Error("Invalid type passed to createElement(): "+(Array.isArray(r)?"array":r))}if(void 0!==n.ref&&"function"!=typeof n.ref&&"object"!=typeof n.ref&&!("$$typeof"in n))throw new Error('Component\'s "ref" property should be a function, or an object created by createRef(), but got ['+typeof n.ref+"] instead\n"+re(n)+"\n\n"+G(n));if("string"==typeof n.type)for(var o in n.props)if("o"===o[0]&&"n"===o[1]&&"function"!=typeof n.props[o]&&null!=n.props[o])throw new Error("Component's \""+o+'" property should be a function, but got ['+typeof n.props[o]+"] instead\n"+re(n)+"\n\n"+G(n));if("function"==typeof n.type&&n.type.propTypes){if("Lazy"===n.type.displayName&&c&&!c.lazyPropTypes.has(n.type)){var i="PropTypes are not supported on lazy(). Use propTypes on the wrapped component itself. ";try{var s=n.type();c.lazyPropTypes.set(n.type,!0),console.warn(i+"Component wrapped in lazy() is "+V(s))}catch(e){console.warn(i+"We will log the wrapped component's name once it is loaded.")}}var a=n.props;n.type.__f&&delete(a=function(e,t){for(var n in t)e[n]=t[n];return e}({},a)).ref,function(e,t,n,r,o){Object.keys(e).forEach((function(n){var i;try{i=e[n](t,n,r,"prop",null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){i=e}i&&!(i.message in F)&&(F[i.message]=!0,console.error("Failed prop type: "+i.message+(o&&"\n"+o()||"")))}))}(n.type.propTypes,a,0,V(n),(function(){return G(n)}))}t&&t(n)},r.__r=function(t){i&&i(t),e=!0},r.__h=function(t,n,r){if(!t||!e)throw new Error("Hook can only be invoked from render methods.");u&&u(t,n,r)};var _=function(e,t){return{get:function(){var n="get"+e+t;l&&l.indexOf(n)<0&&(l.push(n),console.warn("getting vnode."+e+" is deprecated, "+t))},set:function(){var n="set"+e+t;l&&l.indexOf(n)<0&&(l.push(n),console.warn("setting vnode."+e+" is not allowed, "+t))}}},f={nodeName:_("nodeName","use vnode.type"),attributes:_("attributes","use vnode.props"),children:_("children","use vnode.props.children")},p=Object.create({},f);r.vnode=function(e){var t=e.props;if(null!==e.type&&null!=t&&("__source"in t||"__self"in t)){var n=e.props={};for(var r in t){var i=t[r];"__source"===r?e.__source=i:"__self"===r?e.__self=i:n[r]=i}}e.__proto__=p,o&&o(e)},r.diffed=function(t){var r,o=t.type,i=t.__;if(t.__k&&t.__k.forEach((function(e){if("object"==typeof e&&e&&void 0===e.type){var n=Object.keys(e).join(",");throw new Error("Objects are not valid as a child. Encountered an object with the keys {"+n+"}.\n\n"+G(t))}})),"string"==typeof o&&(ee(o)||"p"===o)){var s=Q(i);if(""!==s)"table"===o&&"td"!==s&&ee(s)?(console.log(s,i.__e),console.error("Improper nesting of table. Your <table> should not have a table-node parent."+re(t)+"\n\n"+G(t))):"thead"!==o&&"tfoot"!==o&&"tbody"!==o||"table"===s?"tr"===o&&"thead"!==s&&"tfoot"!==s&&"tbody"!==s&&"table"!==s?console.error("Improper nesting of table. Your <tr> should have a <thead/tbody/tfoot/table> parent."+re(t)+"\n\n"+G(t)):"td"===o&&"tr"!==s?console.error("Improper nesting of table. Your <td> should have a <tr> parent."+re(t)+"\n\n"+G(t)):"th"===o&&"tr"!==s&&console.error("Improper nesting of table. Your <th> should have a <tr>."+re(t)+"\n\n"+G(t)):console.error("Improper nesting of table. Your <thead/tbody/tfoot> should have a <table> parent."+re(t)+"\n\n"+G(t));else if("p"===o){var a=X(t).filter((function(e){return te.test(e)}));a.length&&console.error("Improper nesting of paragraph. Your <p> should not have "+a.join(", ")+"as child-elements."+re(t)+"\n\n"+G(t))}}if(e=!1,n&&n(t),null!=t.__k)for(var u=[],c=0;c<t.__k.length;c++){var l=t.__k[c];if(l&&null!=l.key){var _=l.key;if(-1!==u.indexOf(_)){console.error('Following component has two or more children with the same key attribute: "'+_+'". This may cause glitches and misbehavior in rendering process. Component: \n\n'+re(t)+"\n\n"+G(t));break}u.push(_)}}if(null!=t.__c&&null!=t.__c.__H){var f=t.__c.__H.__;if(f)for(var p=0;p<f.length;p+=1){var h=f[p];if(h.__H)for(var d=0;d<h.__H.length;d++)if((r=h.__H[d])!=r){var v=V(t);throw new Error("Invalid argument passed to hook. Hooks should not be called with NaN in the dependency array. Hook index "+p+" in component "+v+" was called with NaN.")}}}}}();var oe,ie,se,ae,ue=0,ce=[],le=[],_e=r.__b,fe=r.__r,pe=r.diffed,he=r.__c,de=r.unmount;function ve(e,t){r.__h&&r.__h(ie,e,ue||t),ue=0;var n=ie.__H||(ie.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:le}),n.__[e]}function ye(e){return ue=1,function(e,t,n){var r=ve(oe++,2);if(r.t=e,!r.__c&&(r.__=[Ce(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=ie,!ie.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var s=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(s=!0)}})),!(!s&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};ie.u=!0;var i=ie.shouldComponentUpdate,s=ie.componentWillUpdate;ie.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}s&&s.call(this,e,t,n)},ie.shouldComponentUpdate=o}return r.__N||r.__}(Ce,e)}function me(e,t){var n=ve(oe++,3);!r.__s&&Te(n.__H,t)&&(n.__=e,n.i=t,ie.__H.__h.push(n))}function ge(e){return ue=5,we((function(){return{current:e}}),[])}function we(e,t){var n=ve(oe++,7);return Te(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function be(e,t){return ue=8,we((function(){return e}),t)}function ke(e){var t=ie.context[e.__c],n=ve(oe++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(ie)),t.props.value):e.__}function xe(){for(var e;e=ce.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Pe),e.__H.__h.forEach(Oe),e.__H.__h=[]}catch(t){e.__H.__h=[],r.__e(t,e.__v)}}r.__b=function(e){ie=null,_e&&_e(e)},r.__r=function(e){fe&&fe(e),oe=0;var t=(ie=e.__c).__H;t&&(se===ie?(t.__h=[],ie.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=le,e.__N=e.i=void 0}))):(t.__h.forEach(Pe),t.__h.forEach(Oe),t.__h=[],oe=0)),se=ie},r.diffed=function(e){pe&&pe(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==ce.push(t)&&ae===r.requestAnimationFrame||((ae=r.requestAnimationFrame)||Se)(xe)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==le&&(e.__=e.__V),e.i=void 0,e.__V=le}))),se=ie=null},r.__c=function(e,t){t.some((function(e){try{e.__h.forEach(Pe),e.__h=e.__h.filter((function(e){return!e.__||Oe(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],r.__e(n,e.__v)}})),he&&he(e,t)},r.unmount=function(e){de&&de(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{Pe(e)}catch(e){t=e}})),n.__H=void 0,t&&r.__e(t,n.__v))};var Ee="function"==typeof requestAnimationFrame;function Se(e){var t,n=function(){clearTimeout(r),Ee&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ee&&(t=requestAnimationFrame(n))}function Pe(e){var t=ie,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),ie=t}function Oe(e){var t=ie;e.__c=e.__(),ie=t}function Te(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function Ce(e,t){return"function"==typeof t?t(e):t}function Ne(){throw new Error("Cycle detected")}function $e(){if(We>1)We--;else{for(var e,t=!1;void 0!==Ue;){var n=Ue;for(Ue=void 0,Ae++;void 0!==n;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Fe(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(Ae=0,We--,t)throw e}}function je(e){if(We>0)return e();We++;try{return e()}finally{$e()}}var Me,He=void 0,Ue=void 0,We=0,Ae=0,Le=0;function De(e){if(void 0!==He){var t=e.n;if(void 0===t||t.t!==He)return t={i:0,S:e,p:He.s,n:void 0,t:He,e:void 0,x:void 0,r:t},void 0!==He.s&&(He.s.n=t),He.s=t,e.n=t,32&He.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=He.s,t.n=void 0,He.s.n=t,He.s=t),t}}function Ie(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}function Re(e){return new Ie(e)}function Fe(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 Ve(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 ze(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 Ye(e){Ie.call(this,void 0),this.x=e,this.s=void 0,this.g=Le-1,this.f=4}function Be(e){return new Ye(e)}function Je(e){var t=e.u;if(e.u=void 0,"function"==typeof t){We++;var n=He;He=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,qe(e),t}finally{He=n,$e()}}}function qe(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Je(e)}function Ge(e){if(He!==this)throw new Error("Out-of-order effect");ze(this),He=e,this.f&=-2,8&this.f&&qe(this),$e()}function Ke(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function Xe(e){var t=new Ke(e);try{t.c()}catch(e){throw t.d(),e}return t.d.bind(t)}function Qe(e,t){r[e]=t.bind(null,r[e]||function(){})}function Ze(e){Me&&Me(),Me=e&&e.S()}function et(e){var t=this,n=e.data,r=function(e){return we((function(){return Re(e)}),[])}(n);r.value=n;var o=we((function(){for(var e=t.__v;e=e.__;)if(e.__c){e.__c.__$f|=4;break}return t.__$u.c=function(){var e;i(o.peek())||3!==(null==(e=t.base)?void 0:e.nodeType)?(t.__$f|=1,t.setState({})):t.base.data=o.peek()},Be((function(){var e=r.value.value;return 0===e?0:!0===e?"":e||""}))}),[]);return o.value}function tt(e,t,n,r){var o=t in e&&void 0===e.ownerSVGElement,i=Re(n);return{o:function(e,t){i.value=e,r=t},d:Xe((function(){var n=i.value.value;r[t]!==n&&(r[t]=n,o?e[t]=n:n?e.setAttribute(t,n):e.removeAttribute(t))}))}}Ie.prototype.h=function(){return!0},Ie.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)},Ie.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)}},Ie.prototype.subscribe=function(e){var t=this;return Xe((function(){var n=t.value,r=32&this.f;this.f&=-33;try{e(n)}finally{this.f|=r}}))},Ie.prototype.valueOf=function(){return this.value},Ie.prototype.toString=function(){return this.value+""},Ie.prototype.toJSON=function(){return this.value},Ie.prototype.peek=function(){return this.v},Object.defineProperty(Ie.prototype,"value",{get:function(){var e=De(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(He instanceof Ye&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){Ae>100&&Ne(),this.v=e,this.i++,Le++,We++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{$e()}}}}),(Ye.prototype=new Ie).h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===Le)return!0;if(this.g=Le,this.f|=1,this.i>0&&!Fe(this))return this.f&=-2,!0;var e=He;try{Ve(this),He=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 He=e,ze(this),this.f&=-2,!0},Ye.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)}Ie.prototype.S.call(this,e)},Ye.prototype.U=function(e){if(void 0!==this.t&&(Ie.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)}},Ye.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},Ye.prototype.peek=function(){if(this.h()||Ne(),16&this.f)throw this.v;return this.v},Object.defineProperty(Ye.prototype,"value",{get:function(){1&this.f&&Ne();var e=De(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),Ke.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()}},Ke.prototype.S=function(){1&this.f&&Ne(),this.f|=1,this.f&=-9,Je(this),Ve(this),We++;var e=He;return He=this,Ge.bind(this,e)},Ke.prototype.N=function(){2&this.f||(this.f|=2,this.o=Ue,Ue=this)},Ke.prototype.d=function(){this.f|=8,1&this.f||qe(this)},et.displayName="_st",Object.defineProperties(Ie.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:et},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Qe("__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 Ie&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)})),Qe("__r",(function(e,t){Ze();var n,r=t.__c;r&&(r.__$f&=-2,void 0===(n=r.__$u)&&(r.__$u=n=function(e){var t;return Xe((function(){t=this})),t.c=function(){r.__$f|=1,r.setState({})},t}())),Ze(n),e(t)})),Qe("__e",(function(e,t,n,r){Ze(),e(t,n,r)})),Qe("diffed",(function(e,t){var n;if(Ze(),"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 a=i[s];void 0===a||s in r||(a.d(),i[s]=void 0)}else n.U=i={};for(var u in r){var c=i[u],l=r[u];void 0===c?(c=tt(n,u,l,o),i[u]=c):c.o(l,o)}}}e(t)})),Qe("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 a=s.__$u;a&&(s.__$u=void 0,a.d())}}e(t)})),Qe("__h",(function(e,t,n,r){(r<3||9===r)&&(t.__$f|=2),e(t,n,r)})),w.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};var nt=new WeakMap,rt=new WeakMap,ot=new WeakMap,it=new WeakSet,st=new WeakMap,at=/^\$/,ut=Object.getOwnPropertyDescriptor,ct=!1,lt=function(e){if(!gt(e))throw new Error("This object can't be observed.");return rt.has(e)||rt.set(e,ft(e,dt)),rt.get(e)},_t=function(e,t){ct=!0;var n=e[t];try{ct=!1}catch(e){}return n},ft=function(e,t){var n=new Proxy(e,t);return it.add(n),n},pt=function(){throw new Error("Don't mutate the signals directly.")},ht=function(e){return function(t,n,r){var o;if(ct)return Reflect.get(t,n,r);var i=e||"$"===n[0];if(!e&&i&&Array.isArray(t)){if("$"===n)return ot.has(t)||ot.set(t,ft(t,vt)),ot.get(t);i="$length"===n}nt.has(r)||nt.set(r,new Map);var s=nt.get(r),a=i?n.replace(at,""):n;if(s.has(a)||"function"!=typeof(null==(o=ut(t,a))?void 0:o.get)){var u=Reflect.get(t,a,r);if(i&&"function"==typeof u)return;if("symbol"==typeof a&&yt.has(a))return u;s.has(a)||(gt(u)&&(rt.has(u)||rt.set(u,ft(u,dt)),u=rt.get(u)),s.set(a,Re(u)))}else s.set(a,Be((function(){return Reflect.get(t,a,r)})));return i?s.get(a):s.get(a).value}},dt={get:ht(!1),set:function(e,t,n,r){var o;if("function"==typeof(null==(o=ut(e,t))?void 0:o.set))return Reflect.set(e,t,n,r);nt.has(r)||nt.set(r,new Map);var i=nt.get(r);if("$"===t[0]){n instanceof Ie||pt();var s=t.replace(at,"");return i.set(s,n),Reflect.set(e,s,n.peek(),r)}var a=n;gt(n)&&(rt.has(n)||rt.set(n,ft(n,dt)),a=rt.get(n));var u=!(t in e),c=Reflect.set(e,t,n,r);return i.has(t)?i.get(t).value=a:i.set(t,Re(a)),u&&st.has(e)&&st.get(e).value++,Array.isArray(e)&&i.has("length")&&(i.get("length").value=e.length),c},deleteProperty:function(e,t){"$"===t[0]&&pt();var n=nt.get(rt.get(e)),r=Reflect.deleteProperty(e,t);return n&&n.has(t)&&(n.get(t).value=void 0),st.has(e)&&st.get(e).value++,r},ownKeys:function(e){return st.has(e)||st.set(e,Re(0)),st._=st.get(e).value,Reflect.ownKeys(e)}},vt={get:ht(!0),set:pt,deleteProperty:pt},yt=new Set(Object.getOwnPropertyNames(Symbol).map((function(e){return Symbol[e]})).filter((function(e){return"symbol"==typeof e}))),mt=new Set([Object,Array]),gt=function(e){return"object"==typeof e&&null!==e&&(!("function"==typeof e.constructor&&e.constructor.name in globalThis&&globalThis[e.constructor.name]===e.constructor)||mt.has(e.constructor))&&!it.has(e)};const wt=e=>Boolean(e&&"object"==typeof e&&e.constructor===Object),bt=(e,t)=>{if(wt(e)&&wt(t))for(const n in t){const r=Object.getOwnPropertyDescriptor(t,n)?.get;if("function"==typeof r)Object.defineProperty(e,n,{get:r});else if(wt(t[n]))e[n]||(e[n]={}),bt(e[n],t[n]);else try{e[n]=t[n]}catch(e){}}},kt=new Map,xt=new Map,Et=new Map,St=new Map,Pt=new WeakMap,Ot=new WeakMap,Tt=new WeakMap,Ct=(e,t)=>{if(!Pt.has(e)){const n=new Proxy(e,Nt);Pt.set(e,n),Ot.set(n,t)}return Pt.get(e)},Nt={get:(e,t,n)=>{const r=Ot.get(n),o=Object.getOwnPropertyDescriptor(e,t)?.get;if(o){const t=Bt();if(t){const n=Tt.get(t)||Tt.set(t,new Map).get(t);return n.has(o)||n.set(o,Be((()=>{Kt(r),Jt(t);try{return o.call(e)}finally{qt(),Xt()}}))),n.get(o).value}}const i=Reflect.get(e,t);if(void 0===i&&n===kt.get(r)){const n={};return Reflect.set(e,t,n),Ct(n,r)}return"GeneratorFunction"===i?.constructor?.name?async(...e)=>{const t=Bt(),n=i(...e);let o,s;for(;;){Kt(r),Jt(t);try{s=n.next(o)}finally{qt(),Xt()}try{o=await s.value}catch(e){Kt(r),Jt(t),n.throw(e)}finally{qt(),Xt()}if(s.done)break}return o}:"function"==typeof i?(...e)=>{Kt(r);try{return i(...e)}finally{Xt()}}:wt(i)?Ct(i,r):i},set:(e,t,n)=>Reflect.set(e,t,n)},$t=e=>St.get(e||Gt())||{},jt="I acknowledge that using a private store means my plugin will inevitably break on the next store release.";function Mt(e,{state:t={},...n}={},{lock:r=!1}={}){if(kt.has(e)){if(r===jt||Et.has(e)){const t=Et.get(e);if(r!==jt&&(!0===r||r!==t))throw t?Error("Cannot unlock a private store with an invalid lock code"):Error("Cannot lock a public store")}else Et.set(e,r);const o=xt.get(e);bt(o,n),bt(o.state,t)}else{r!==jt&&Et.set(e,r);const o={state:lt(wt(t)?t:{}),...n},i=new Proxy(o,Nt);xt.set(e,o),kt.set(e,i),Ot.set(i,e)}return kt.get(e)}const Ht=(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{}},Ut=e=>{wt(e?.state)&&Object.entries(e.state).forEach((([e,t])=>{Mt(e,{state:t},{lock:jt})})),wt(e?.config)&&Object.entries(e.config).forEach((([e,t])=>{St.set(e,t)}))},Wt=Ht();Ut(Wt);const At=function(e,t){var n={__c:t="__cC"+l++,__:{},Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,x(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}(),Lt=new WeakMap,Dt=()=>{throw new Error("Please use `data-wp-bind` to modify the attributes of an element.")},It={get(e,t,n){const r=Reflect.get(e,t,n);return r&&"object"==typeof r?Rt(r):r},set:Dt,deleteProperty:Dt},Rt=e=>(Lt.has(e)||Lt.set(e,new Proxy(e,It)),Lt.get(e)),Ft=[],Vt=[],zt=e=>Bt()?.context[e||Gt()],Yt=()=>{if(!Bt())throw Error("Cannot call `getElement()` outside getters and actions used by directives.");const{ref:e,attributes:t}=Bt();return Object.freeze({ref:e.current,attributes:Rt(t)})},Bt=()=>Ft.slice(-1)[0],Jt=e=>{Ft.push(e)},qt=()=>{Ft.pop()},Gt=()=>Vt.slice(-1)[0],Kt=e=>{Vt.push(e)},Xt=()=>{Vt.pop()},Qt={},Zt={},en=(e,t,{priority:n=10}={})=>{Qt[e]=t,Zt[e]=n},tn=({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));Jt(e);const s=((e,t)=>{if(!t)return void dn(`Namespace missing for "${e}". The value for that path won't be resolved.`);let n=kt.get(t);void 0===n&&(n=Mt(t,void 0,{lock:jt}));const r={...n,context:Bt().context[t]};try{return e.split(".").reduce(((e,t)=>e[t]),r)}catch(e){}})(r,o),a="function"==typeof s?s(...n):s;return qt(),i?!a:a},nn=({directives:e,priorityLevels:[t,...n],element:r,originalProps:o,previousScope:i})=>{const s=ge({}).current;s.evaluate=be(tn({scope:s}),[]),s.context=ke(At),s.ref=i?.ref||ge(null),r=R(r,{ref:s.ref}),s.attributes=r.props;const a=n.length>0?y(nn,{directives:e,priorityLevels:n,element:r,originalProps:o,previousScope:s}):r,u={...o,children:a},c={directives:e,props:u,element:r,context:At,evaluate:s.evaluate};Jt(s);for(const e of t){const t=Qt[e]?.(c);void 0!==t&&(u.children=t)}return qt(),u.children},rn=r.vnode;r.vnode=e=>{if(e.props.__directives){const t=e.props,n=t.__directives;n.key&&(e.key=n.key.find((({suffix:e})=>"default"===e)).value),delete t.__directives;const r=(e=>{const t=Object.keys(e).reduce(((e,t)=>{if(Qt[t]){const n=Zt[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:y(e.type,t),top:!0},e.type=nn)}rn&&rn(e)};const on=e=>new Promise((t=>{const n=()=>{clearTimeout(r),window.cancelAnimationFrame(o),setTimeout((()=>{e(),t()}))},r=setTimeout(n,100),o=window.requestAnimationFrame(n)})),sn=()=>new Promise((e=>{setTimeout(e,0)}));function an(e){const t=Bt(),n=Gt();return"GeneratorFunction"===e?.constructor?.name?async(...r)=>{const o=e(...r);let i,s;for(;;){Kt(n),Jt(t);try{s=o.next(i)}finally{Xt(),qt()}try{i=await s.value}catch(e){o.throw(e)}if(s.done)break}return i}:(...r)=>{Kt(n),Jt(t);try{return e(...r)}finally{Xt(),qt()}}}function un(e){!function(e){me((()=>{let t=null,n=!1;return t=function(e,t){let n=()=>{};const r=Xe((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 on(t.flush),n=!1)})),t.dispose}),[])}(an(e))}function cn(e){me(an(e),[])}function ln(e,t){me(an(e),t)}function fn(e,t){!function(e,t){var n=ve(oe++,4);!r.__s&&Te(n.__H,t)&&(n.__=e,n.i=t,ie.__h.push(n))}(an(e),t)}function pn(e,t){return be(an(e),t)}function hn(e,t){return we(an(e),t)}new Set;const dn=e=>{},vn=new WeakMap,yn=new WeakMap,mn=new WeakMap,gn=new WeakMap,wn=e=>Boolean(e&&"object"==typeof e&&e.constructor===Object),bn=Reflect.getOwnPropertyDescriptor,kn=(e,t={})=>{if(gn.set(e,t),!yn.has(e)){const t=new Proxy(e,{get:(t,n)=>{const r=gn.get(e),o=t[n];return!(n in t)&&n in r?r[n]:n in t&&!vn.get(t)?.has(n)&&wn(_t(t,n))?kn(o,r[n]):yn.has(o)?yn.get(o):n in t?o:r[n]},set:(t,n,r)=>{const o=gn.get(e),i=n in t||!(n in o)?t:o;if(r&&"object"==typeof r&&(vn.has(i)||vn.set(i,new Set),vn.get(i).add(n)),mn.has(r)){const e=mn.get(r);i[n]=e}else i[n]=r;return!0},ownKeys:t=>[...new Set([...Object.keys(gn.get(e)),...Object.keys(t)])],getOwnPropertyDescriptor:(t,n)=>bn(t,n)||bn(gn.get(e),n)});yn.set(e,t),mn.set(t,e)}return yn.get(e)},xn=(e,t)=>{for(const n in t)wn(_t(e,n))&&wn(_t(t,n))?xn(e[`$${n}`].peek(),t[n]):e[n]=t[n]};function En(e){return wn(e)?Object.fromEntries(Object.entries(e).map((([e,t])=>[e,En(t)]))):Array.isArray(e)?e.map((e=>En(e))):e}const Sn=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,Pn=/\/\*[^]*?\*\/| +/g,On=/\n+/g,Tn=e=>({directives:t,evaluate:n})=>{t[`on-${e}`].filter((({suffix:e})=>"default"!==e)).forEach((t=>{const r=t.suffix.split("--",1)[0];cn((()=>{const o=e=>n(t,e),i="window"===e?window:document;return i.addEventListener(r,o),()=>i.removeEventListener(r,o)}))}))},Cn=e=>({directives:t,evaluate:n})=>{t[`on-async-${e}`].filter((({suffix:e})=>"default"!==e)).forEach((t=>{const r=t.suffix.split("--",1)[0];cn((()=>{const o=async e=>{await sn(),n(t,e)},i="window"===e?window:document;return i.addEventListener(r,o,{passive:!0}),()=>i.removeEventListener(r,o)}))}))},Nn="wp",$n=`data-${Nn}-ignore`,jn=`data-${Nn}-interactive`,Mn=`data-${Nn}-`,Hn=[],Un=new RegExp(`^data-${Nn}-([a-z0-9]+(?:-[a-z0-9]+)*)(?:--([a-z0-9_-]+))?$`,"i"),Wn=/^([\w_\/-]+)::(.+)$/,An=new WeakSet;function Ln(e){const t=document.createTreeWalker(e,205);return function e(n){const{nodeType:r}=n;if(3===r)return[n.data];if(4===r){const e=t.nextSibling();return n.replaceWith(new window.Text(n.nodeValue??"")),[n.nodeValue,e]}if(8===r||7===r){const e=t.nextSibling();return n.remove(),[null,e]}const o=n,{attributes:i}=o,s=o.localName,a={},u=[],c=[];let l=!1,_=!1;for(let e=0;e<i.length;e++){const t=i[e].name,n=i[e].value;if(t[Mn.length]&&t.slice(0,Mn.length)===Mn)if(t===$n)l=!0;else{const e=Wn.exec(n),r=e?.[1]??null;let o=e?.[2]??n;try{const e=JSON.parse(o);f=e,o=Boolean(f&&"object"==typeof f&&f.constructor===Object)?e:o}catch{}if(t===jn){_=!0;const e="string"==typeof o?o:"string"==typeof o?.namespace?o.namespace:null;Hn.push(e)}else c.push([t,r,o])}else if("ref"===t)continue;a[t]=n}var f;if(l&&!_)return[y(s,{...a,innerHTML:o.innerHTML,__directives:{ignore:!0}})];if(_&&An.add(o),c.length&&(a.__directives=c.reduce(((e,[t,n,r])=>{const o=Un.exec(t);if(null===o)return dn(`Found malformed directive name: ${t}.`),e;const i=o[1]||"",s=o[2]||"default";return e[i]=e[i]||[],e[i].push({namespace:n??Hn[Hn.length-1]??null,value:r,suffix:s}),e}),{})),"template"===s)a.content=[...o.content.childNodes].map((e=>Ln(e)));else{let n=t.firstChild();if(n){for(;n;){const[r,o]=e(n);r&&u.push(r),n=o||t.nextSibling()}t.parentNode()}}return _&&Hn.pop(),[y(s,a,u)]}(t.currentNode)}const Dn=new WeakMap,In=e=>{if(!e.parentElement)throw Error("The passed region should be an element with a parent.");return Dn.has(e)||Dn.set(e,((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)}}})(e.parentElement,e)),Dn.get(e)},Rn=new WeakMap,Fn=e=>{if("I acknowledge that using private APIs means my theme or plugin will inevitably break in the next version of WordPress."===e)return{directivePrefix:Nn,getRegionRootFragment:In,initialVdom:Rn,toVdom:Ln,directive:en,getNamespace:Gt,h:y,cloneElement:R,render:D,deepSignal:lt,parseInitialData:Ht,populateInitialData:Ut,batch:je};throw new Error("Forbidden access.")};document.addEventListener("DOMContentLoaded",(async()=>{en("context",(({directives:{context:e},props:{children:t},context:n})=>{const{Provider:r}=n,o=ke(n),i=ge(lt({})),s=e.find((({suffix:e})=>"default"===e));return y(r,{value:we((()=>{if(s){const{namespace:e,value:t}=s;wn(t)||dn(`The value of data-wp-context in "${e}" store must be a valid stringified JSON object.`),xn(i.current,{[e]:En(t)})}return kn(i.current,o)}),[s,o])},t)}),{priority:5}),en("watch",(({directives:{watch:e},evaluate:t})=>{e.forEach((e=>{un((()=>t(e)))}))})),en("init",(({directives:{init:e},evaluate:t})=>{e.forEach((e=>{cn((()=>t(e)))}))})),en("on",(({directives:{on:e},element:t,evaluate:n})=>{const r=new Map;e.filter((({suffix:e})=>"default"!==e)).forEach((e=>{const t=e.suffix.split("--")[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=>{e.forEach((e=>{o&&o(t),n(e,t)}))}}))})),en("on-async",(({directives:{"on-async":e},element:t,evaluate:n})=>{const r=new Map;e.filter((({suffix:e})=>"default"!==e)).forEach((e=>{const t=e.suffix.split("--")[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 sn(),n(e,t)}))}}))})),en("on-window",Tn("window")),en("on-document",Tn("document")),en("on-async-window",Cn("window")),en("on-async-document",Cn("document")),en("class",(({directives:{class:e},element:t,evaluate:n})=>{e.filter((({suffix:e})=>"default"!==e)).forEach((e=>{const r=e.suffix,o=n(e),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(),cn((()=>{o?t.ref.current.classList.add(r):t.ref.current.classList.remove(r)}))}))})),en("style",(({directives:{style:e},element:t,evaluate:n})=>{e.filter((({suffix:e})=>"default"!==e)).forEach((e=>{const r=e.suffix,o=n(e);t.props.style=t.props.style||{},"string"==typeof t.props.style&&(t.props.style=(e=>{const t=[{}];let n,r;for(;n=Sn.exec(e.replace(Pn,""));)n[4]?t.shift():n[3]?(r=n[3].replace(On," ").trim(),t.unshift(t[0][r]=t[0][r]||{})):t[0][n[1]]=n[2].replace(On," ").trim();return t[0]})(t.props.style)),o?t.props.style[r]=o:delete t.props.style[r],cn((()=>{o?t.ref.current.style[r]=o:t.ref.current.style.removeProperty(r)}))}))})),en("bind",(({directives:{bind:e},element:t,evaluate:n})=>{e.filter((({suffix:e})=>"default"!==e)).forEach((e=>{const r=e.suffix,o=n(e);t.props[r]=o,cn((()=>{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)}))}))})),en("ignore",(({element:{type:e,props:{innerHTML:t,...n}}})=>y(e,{dangerouslySetInnerHTML:{__html:we((()=>t),[])},...n}))),en("text",(({directives:{text:e},element:t,evaluate:n})=>{const r=e.find((({suffix:e})=>"default"===e));if(r)try{const e=n(r);t.props.children="object"==typeof e?null:e.toString()}catch(e){t.props.children=null}else t.props.children=null})),en("run",(({directives:{run:e},evaluate:t})=>{e.forEach((e=>t(e)))})),en("each",(({directives:{each:e,"each-key":t},context:n,element:r,evaluate:o})=>{if("template"!==r.type)return;const{Provider:i}=n,s=ke(n),[a]=e,{namespace:u,suffix:c}=a;return o(a).map((e=>{const n="default"===c?"item":c.replace(/^-+|-+$/g,"").toLowerCase().replace(/-([a-z])/g,(function(e,t){return t.toUpperCase()})),o=lt({[u]:{}}),a=kn(o,s);a[u][n]=e;const l={...Bt(),context:a},_=t?tn({scope:l})(t[0]):e;return y(i,{value:a,key:_},r.props.content)}))}),{priority:20}),en("each-child",(()=>null),{priority:1}),await(async()=>{const e=document.querySelectorAll(`[data-${Nn}-interactive]`);for(const t of e)if(!An.has(t)){await sn();const e=In(t),n=Ln(t);Rn.set(t,n),await sn(),I(n,e)}})()}));var Vn=t.iE,zn=t.fw,Yn=t.sb,Bn=t.YH,Jn=t.QN,qn=t.h,Gn=t.I4,Kn=t.d4,Xn=t.Dp,Qn=t.bt,Zn=t.Ye,er=t.sO,tr=t.eJ,nr=t.qo,rr=t.$e;export{Vn as getConfig,zn as getContext,Yn as getElement,Bn as privateApis,Jn as splitTask,qn as store,Gn as useCallback,Kn as useEffect,Xn as useInit,Qn as useLayoutEffect,Zn as useMemo,er as useRef,tr as useState,nr as useWatch,rr as withScope};
//# sourceMappingURL=debug.min.js.map