diff --git a/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/0_js_module/build/js/vendors.js b/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/0_js_module/build/js/vendors.js index f103f81292..dfc9d80bc4 100644 --- a/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/0_js_module/build/js/vendors.js +++ b/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/0_js_module/build/js/vendors.js @@ -1,8 +1,8 @@ -var n$1,l$1,u$3,i$1,o$1,r$2,f$2,e$1,c$1,s$1,a$1,h$1={},v$2=[],p$2=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y$1=Array.isArray;function d$1(n,l){for(var u in l)n[u]=l[u];return n}function w$2(n){n&&n.parentNode&&n.parentNode.removeChild(n);}function _$1(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n$1.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return g$3(l,f,i,o,null)}function g$3(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++u$3:r,__i:-1,__u:0};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function m$1(){return {current:null}}function b$1(n){return n.children}function k$2(n,l){this.props=n,this.context=l;}function x$2(n,l){if(null==l)return n.__?x$2(n.__,n.__i+1):null;for(var u;lu&&i$1.sort(f$2));P$2.__r=0;}function S(n,l,u,t,i,o,r,f,e,c,s){var a,p,y,d,w,_=t&&t.__k||v$2,g=l.length;for(u.__d=e,$$1(u,l,_),e=u.__d,a=0;a0?g$3(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=n,i.__b=n.__b+1,o=null,-1!==(f=i.__i=L$1(i,u,r,s))&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f==r-1?a--:f==r+1?a++:(f>r?a--:a++,i.__u|=65536))):i=n.__k[t]=null;if(s)for(t=0;t(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--;}if(f2&&(e.children=arguments.length>3?n$1.call(arguments,2):t),g$3(l.type,e,i||l.key,o||l.ref,null)}function G$1(n,l){var u={__c:l="__cC"+a$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null;},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,M$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n$1=v$2.slice,l$1={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l;}throw n}},u$3=0,k$2.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d$1({},this.state),"function"==typeof n&&(n=n(d$1({},u),this.props)),n&&d$1(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M$1(this));},k$2.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M$1(this));},k$2.prototype.render=b$1,i$1=[],r$2="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f$2=function(n,l){return n.__v.__b-l.__v.__b},P$2.__r=0,e$1=0,c$1=F$2(!1),s$1=F$2(!0),a$1=0; +var n,l$1,u$2,i$1,o$1,r$1,f$2,e$1,c$1,s$1,a$1,h$1={},v$1=[],p$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y$1=Array.isArray;function d$1(n,l){for(var u in l)n[u]=l[u];return n}function w$2(n){n&&n.parentNode&&n.parentNode.removeChild(n);}function _$1(l,u,t){var i,o,r,f={};for(r in u)"key"==r?i=u[r]:"ref"==r?o=u[r]:f[r]=u[r];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(r in l.defaultProps)void 0===f[r]&&(f[r]=l.defaultProps[r]);return g$2(l,f,i,o,null)}function g$2(n,t,i,o,r){var f={type:n,props:t,key:i,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++u$2:r,__i:-1,__u:0};return null==r&&null!=l$1.vnode&&l$1.vnode(f),f}function m$1(){return {current:null}}function b$1(n){return n.children}function k$2(n,l){this.props=n,this.context=l;}function x$2(n,l){if(null==l)return n.__?x$2(n.__,n.__i+1):null;for(var u;lu&&i$1.sort(f$2));P$2.__r=0;}function S(n,l,u,t,i,o,r,f,e,c,s){var a,p,y,d,w,_=t&&t.__k||v$1,g=l.length;for(u.__d=e,$$1(u,l,_),e=u.__d,a=0;a0?g$2(i.type,i.props,i.key,i.ref?i.ref:null,i.__v):i).__=n,i.__b=n.__b+1,o=null,-1!==(f=i.__i=L$1(i,u,r,s))&&(s--,(o=u[f])&&(o.__u|=131072)),null==o||null===o.__v?(-1==f&&a--,"function"!=typeof i.type&&(i.__u|=65536)):f!==r&&(f==r-1?a--:f==r+1?a++:(f>r?a--:a++,i.__u|=65536))):i=n.__k[t]=null;if(s)for(t=0;t(null!=e&&0==(131072&e.__u)?1:0))for(;r>=0||f=0){if((e=l[r])&&0==(131072&e.__u)&&i==e.key&&o===e.type)return r;r--;}if(f2&&(e.children=arguments.length>3?n.call(arguments,2):t),g$2(l.type,e,i||l.key,o||l.ref,null)}function G$1(n,l){var u={__c:l="__cC"+a$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=[],(t={})[l]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null;},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,M$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=v$1.slice,l$1={__e:function(n,l,u,t){for(var i,o,r;l=l.__;)if((i=l.__c)&&!i.__)try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),r=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),r=i.__d),r)return i.__E=i}catch(l){n=l;}throw n}},u$2=0,k$2.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=d$1({},this.state),"function"==typeof n&&(n=n(d$1({},u),this.props)),n&&d$1(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M$1(this));},k$2.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M$1(this));},k$2.prototype.render=b$1,i$1=[],r$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f$2=function(n,l){return n.__v.__b-l.__v.__b},P$2.__r=0,e$1=0,c$1=F$2(!1),s$1=F$2(!0),a$1=0; -var t$1,r$1,u$2,i,o=0,f$1=[],c=l$1,e=c.__b,a=c.__r,v$1=c.diffed,l=c.__c,m=c.unmount,s=c.__;function d(n,t){c.__h&&c.__h(r$1,n,o||t),o=0;var u=r$1.__H||(r$1.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function h(n){return o=1,p$1(D$1,n)}function p$1(n,u,i){var o=d(t$1++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):D$1(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r$1,!r$1.u)){var f=function(n,t,r){if(!o.__c.__H)return !0;var u=o.__c.__H.__.filter(function(n){return !!n.__c});if(u.every(function(n){return !n.__N}))return !c||c.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0);}}),!(!i&&o.__c.props===n)&&(!c||c.call(this,n,t,r))};r$1.u=!0;var c=r$1.shouldComponentUpdate,e=r$1.componentWillUpdate;r$1.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u;}e&&e.call(this,n,t,r);},r$1.shouldComponentUpdate=f;}return o.__N||o.__}function y(n,u){var i=d(t$1++,3);!c.__s&&C$1(i.__H,u)&&(i.__=n,i.i=u,r$1.__H.__h.push(i));}function _(n,u){var i=d(t$1++,4);!c.__s&&C$1(i.__H,u)&&(i.__=n,i.i=u,r$1.__h.push(i));}function A$1(n){return o=5,T$1(function(){return {current:n}},[])}function F$1(n,t,r){o=6,_(function(){return "function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==r?r:r.concat(n));}function T$1(n,r){var u=d(t$1++,7);return C$1(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function q$2(n,t){return o=8,T$1(function(){return n},t)}function x$1(n){var u=r$1.context[n.__c],i=d(t$1++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r$1)),u.props.value):n.__}function P$1(n,t){c.useDebugValue&&c.useDebugValue(t?t(n):n);}function b(n){var u=d(t$1++,10),i=h();return u.__=n,r$1.componentDidCatch||(r$1.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n);}),[i[0],function(){i[1](void 0);}]}function g$2(){var n=d(t$1++,11);if(!n.__){for(var u=r$1.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__="P"+i[0]+"-"+i[1]++;}return n.__}function j$1(){for(var n;n=f$1.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(z$1),n.__H.__h.forEach(B$1),n.__H.__h=[];}catch(t){n.__H.__h=[],c.__e(t,n.__v);}}c.__b=function(n){r$1=null,e&&e(n);},c.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t);},c.__r=function(n){a&&a(n),t$1=0;var i=(r$1=n.__c).__H;i&&(u$2===r$1?(i.__h=[],r$1.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0;})):(i.__h.forEach(z$1),i.__h.forEach(B$1),i.__h=[],t$1=0)),u$2=r$1;},c.diffed=function(n){v$1&&v$1(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f$1.push(t)&&i===c.requestAnimationFrame||((i=c.requestAnimationFrame)||w$1)(j$1)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0;})),u$2=r$1=null;},c.__c=function(n,t){t.some(function(n){try{n.__h.forEach(z$1),n.__h=n.__h.filter(function(n){return !n.__||B$1(n)});}catch(r){t.some(function(n){n.__h&&(n.__h=[]);}),t=[],c.__e(r,n.__v);}}),l&&l(n,t);},c.unmount=function(n){m&&m(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{z$1(n);}catch(n){t=n;}}),r.__H=void 0,t&&c.__e(t,r.__v));};var k$1="function"==typeof requestAnimationFrame;function w$1(n){var t,r=function(){clearTimeout(u),k$1&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);k$1&&(t=requestAnimationFrame(r));}function z$1(n){var t=r$1,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r$1=t;}function B$1(n){var t=r$1;n.__c=n.__(),r$1=t;}function C$1(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function D$1(n,t){return "function"==typeof t?t(n):t} +var t,r,u$1,i,o=0,f$1=[],c=l$1,e=c.__b,a=c.__r,v=c.diffed,l=c.__c,m=c.unmount,s=c.__;function d(n,t){c.__h&&c.__h(r,n,o||t),o=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function h(n){return o=1,p(D$1,n)}function p(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):D$1(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r,!r.u)){var f=function(n,t,r){if(!o.__c.__H)return !0;var u=o.__c.__H.__.filter(function(n){return !!n.__c});if(u.every(function(n){return !n.__N}))return !c||c.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0);}}),!(!i&&o.__c.props===n)&&(!c||c.call(this,n,t,r))};r.u=!0;var c=r.shouldComponentUpdate,e=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u;}e&&e.call(this,n,t,r);},r.shouldComponentUpdate=f;}return o.__N||o.__}function y(n,u){var i=d(t++,3);!c.__s&&C$1(i.__H,u)&&(i.__=n,i.i=u,r.__H.__h.push(i));}function _(n,u){var i=d(t++,4);!c.__s&&C$1(i.__H,u)&&(i.__=n,i.i=u,r.__h.push(i));}function A$1(n){return o=5,T$1(function(){return {current:n}},[])}function F$1(n,t,r){o=6,_(function(){return "function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==r?r:r.concat(n));}function T$1(n,r){var u=d(t++,7);return C$1(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function q$1(n,t){return o=8,T$1(function(){return n},t)}function x$1(n){var u=r.context[n.__c],i=d(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function P$1(n,t){c.useDebugValue&&c.useDebugValue(t?t(n):n);}function b(n){var u=d(t++,10),i=h();return u.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n);}),[i[0],function(){i[1](void 0);}]}function g$1(){var n=d(t++,11);if(!n.__){for(var u=r.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__="P"+i[0]+"-"+i[1]++;}return n.__}function j$1(){for(var n;n=f$1.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(z$1),n.__H.__h.forEach(B$1),n.__H.__h=[];}catch(t){n.__H.__h=[],c.__e(t,n.__v);}}c.__b=function(n){r=null,e&&e(n);},c.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t);},c.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u$1===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0;})):(i.__h.forEach(z$1),i.__h.forEach(B$1),i.__h=[],t=0)),u$1=r;},c.diffed=function(n){v&&v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f$1.push(t)&&i===c.requestAnimationFrame||((i=c.requestAnimationFrame)||w$1)(j$1)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0;})),u$1=r=null;},c.__c=function(n,t){t.some(function(n){try{n.__h.forEach(z$1),n.__h=n.__h.filter(function(n){return !n.__||B$1(n)});}catch(r){t.some(function(n){n.__h&&(n.__h=[]);}),t=[],c.__e(r,n.__v);}}),l&&l(n,t);},c.unmount=function(n){m&&m(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{z$1(n);}catch(n){t=n;}}),r.__H=void 0,t&&c.__e(t,r.__v));};var k$1="function"==typeof requestAnimationFrame;function w$1(n){var t,r=function(){clearTimeout(u),k$1&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);k$1&&(t=requestAnimationFrame(r));}function z$1(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function B$1(n){var t=r;n.__c=n.__(),r=t;}function C$1(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function D$1(n,t){return "function"==typeof t?t(n):t} -function g$1(n,t){for(var e in t)n[e]=t[e];return n}function E(n,t){for(var e in n)if("__source"!==e&&!(e in t))return !0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return !0;return !1}function C(n,t){this.props=n,this.context=t;}function x(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return !r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:E(this.props,n)}function u(e){return this.shouldComponentUpdate=r,_$1(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(C.prototype=new k$2).isPureReactComponent=!0,C.prototype.shouldComponentUpdate=function(n,t){return E(this.props,n)||E(this.state,t)};var R=l$1.__b;l$1.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),R&&R(n);};var w="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function k(n){function t(t){var e=g$1({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=w,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var I=function(n,t){return null==n?null:H$1(H$1(n).map(t))},N={map:I,forEach:I,count:function(n){return n?H$1(n).length:0},only:function(n){var t=H$1(n);if(1!==t.length)throw "Children.only";return t[0]},toArray:H$1},M=l$1.__e;l$1.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);M(n,t,e,r);};var T=l$1.unmount;function A(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),n.__c.__H=null),null!=(n=g$1({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return A(n,t,e)})),n}function D(n,t,e){return n&&e&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return D(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=e)),n}function L(){this.__u=0,this.t=null,this.__b=null;}function O(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function F(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n;},function(n){u=n;}),u)throw u;if(!r)throw e;return _$1(r,o)}return o.displayName="Lazy",o.__f=!0,o}function U(){this.u=null,this.o=null;}l$1.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),T&&T(n);},(L.prototype=new k$2).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=O(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(c):c());};e.__R=i;var c=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=D(n,n.__c.__P,n.__c.__O);}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate();}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i);},L.prototype.componentWillUnmount=function(){this.t=[];},L.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=A(this.__b,r,o.__O=o.__P);}this.__b=null;}var i=e.__a&&_$1(b$1,null,n.fallback);return i&&(i.__u&=-33),[_$1(b$1,null,e.__a?null:n.children),i]};var V=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]>>1,1),e.i.removeChild(n);}}),B$2(_$1(W,{context:e.context},n.__v),e.l);}function j(n,e){var r=_$1(P,{__v:n,i:e});return r.containerInfo=e,r}(U.prototype=new k$2).__a=function(n){var t=this,e=O(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),V(t,n,r)):u();};e?e(o):o();}},U.prototype.render=function(n){this.u=null,this.o=new Map;var t=H$1(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},U.prototype.componentDidUpdate=U.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){V(n,e,t);});};var z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,B=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,H=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Z=/[A-Z0-9]/g,Y="undefined"!=typeof document,$=function(n){return ("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function q$1(n,t,e){return null==t.__k&&(t.textContent=""),B$2(n,t),"function"==typeof e&&e(),n?n.__c:null}function G(n,t,e){return D$2(n,t),"function"==typeof e&&e(),n?n.__c:null}k$2.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(k$2.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n});}});});var J=l$1.event;function K(){}function Q(){return this.cancelBubble}function X(){return this.defaultPrevented}l$1.event=function(n){return J&&(n=J(n)),n.persist=K,n.isPropagationStopped=Q,n.isDefaultPrevented=X,n.nativeEvent=n};var nn,tn={enumerable:!1,configurable:!0,get:function(){return this.class}},en=l$1.vnode;l$1.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={},o=-1===e.indexOf("-");for(var i in t){var c=t[i];if(!("value"===i&&"defaultValue"in t&&null==c||Y&&"children"===i&&"noscript"===e||"class"===i||"className"===i)){var l=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===c?c="":"translate"===l&&"no"===c?c=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?i="ondblclick":"onchange"!==l||"input"!==e&&"textarea"!==e||$(t.type)?"onfocus"===l?i="onfocusin":"onblur"===l?i="onfocusout":H.test(i)&&(i=l):l=i="oninput":o&&B.test(i)?i=i.replace(Z,"-$&").toLowerCase():null===c&&(c=void 0),"oninput"===l&&u[i=l]&&(i="oninputCapture"),u[i]=c;}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=H$1(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),"select"==e&&null!=u.defaultValue&&(u.value=H$1(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",tn)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u;}(n),n.$$typeof=z,en&&en(n);};var rn=l$1.__r;l$1.__r=function(n){rn&&rn(n),nn=n.__c;};var un=l$1.diffed;l$1.diffed=function(n){un&&un(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),nn=null;};var on={ReactCurrentDispatcher:{current:{readContext:function(n){return nn.__n[n.__c].props.value},useCallback:q$2,useContext:x$1,useDebugValue:P$1,useDeferredValue:bn,useEffect:y,useId:g$2,useImperativeHandle:F$1,useInsertionEffect:gn,useLayoutEffect:_,useMemo:T$1,useReducer:p$1,useRef:A$1,useState:h,useSyncExternalStore:Cn,useTransition:Sn}}},cn="18.3.1";function ln(n){return _$1.bind(null,n)}function fn(n){return !!n&&n.$$typeof===z}function an(n){return fn(n)&&n.type===b$1}function sn(n){return !!n&&!!n.displayName&&("string"==typeof n.displayName||n.displayName instanceof String)&&n.displayName.startsWith("Memo(")}function hn(n){return fn(n)?E$1.apply(null,arguments):n}function vn(n){return !!n.__k&&(B$2(null,n),!0)}function dn(n){return n&&(n.base||1===n.nodeType&&n)||null}var pn=function(n,t){return n(t)},mn=function(n,t){return n(t)},yn=b$1;function _n(n){n();}function bn(n){return n}function Sn(){return [!1,_n]}var gn=_,En=fn;function Cn(n,t){var e=t(),r=h({h:{__:e,v:t}}),u=r[0].h,o=r[1];return _(function(){u.__=e,u.v=t,xn(u)&&o({h:u});},[n,e,t]),y(function(){return xn(u)&&o({h:u}),n(function(){xn(u)&&o({h:u});})},[n]),e}function xn(n){var t,e,r=n.v,u=n.__;try{var o=r();return !((t=u)===(e=o)&&(0!==t||1/t==1/e)||t!=t&&e!=e)}catch(n){return !0}}var Rn={useState:h,useId:g$2,useReducer:p$1,useEffect:y,useLayoutEffect:_,useInsertionEffect:gn,useTransition:Sn,useDeferredValue:bn,useSyncExternalStore:Cn,startTransition:_n,useRef:A$1,useImperativeHandle:F$1,useMemo:T$1,useCallback:q$2,useContext:x$1,useDebugValue:P$1,version:"18.3.1",Children:N,render:q$1,hydrate:G,unmountComponentAtNode:vn,createPortal:j,createElement:_$1,createContext:G$1,createFactory:ln,cloneElement:hn,createRef:m$1,Fragment:b$1,isValidElement:fn,isElement:En,isFragment:an,isMemo:sn,findDOMNode:dn,Component:k$2,PureComponent:C,memo:x,forwardRef:k,flushSync:mn,unstable_batchedUpdates:pn,StrictMode:yn,Suspense:L,SuspenseList:U,lazy:F,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:on}; +function g(n,t){for(var e in t)n[e]=t[e];return n}function E(n,t){for(var e in n)if("__source"!==e&&!(e in t))return !0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return !0;return !1}function C(n,t){this.props=n,this.context=t;}function x(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return !r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:E(this.props,n)}function u(e){return this.shouldComponentUpdate=r,_$1(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(C.prototype=new k$2).isPureReactComponent=!0,C.prototype.shouldComponentUpdate=function(n,t){return E(this.props,n)||E(this.state,t)};var R=l$1.__b;l$1.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),R&&R(n);};var w="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function k(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=w,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var I=function(n,t){return null==n?null:H$1(H$1(n).map(t))},N={map:I,forEach:I,count:function(n){return n?H$1(n).length:0},only:function(n){var t=H$1(n);if(1!==t.length)throw "Children.only";return t[0]},toArray:H$1},M=l$1.__e;l$1.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);M(n,t,e,r);};var T=l$1.unmount;function A(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c();}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return A(n,t,e)})),n}function D(n,t,e){return n&&e&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return D(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=e)),n}function L(){this.__u=0,this.t=null,this.__b=null;}function O(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function F(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n;},function(n){u=n;}),u)throw u;if(!r)throw e;return _$1(r,o)}return o.displayName="Lazy",o.__f=!0,o}function U(){this.u=null,this.o=null;}l$1.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&32&n.__u&&(n.type=null),T&&T(n);},(L.prototype=new k$2).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=O(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(c):c());};e.__R=i;var c=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=D(n,n.__c.__P,n.__c.__O);}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate();}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i);},L.prototype.componentWillUnmount=function(){this.t=[];},L.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=A(this.__b,r,o.__O=o.__P);}this.__b=null;}var i=e.__a&&_$1(b$1,null,n.fallback);return i&&(i.__u&=-33),[_$1(b$1,null,e.__a?null:n.children),i]};var V=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]>>1,1),e.i.removeChild(n);}}),B$2(_$1(W,{context:e.context},n.__v),e.l);}function j(n,e){var r=_$1(P,{__v:n,i:e});return r.containerInfo=e,r}(U.prototype=new k$2).__a=function(n){var t=this,e=O(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),V(t,n,r)):u();};e?e(o):o();}},U.prototype.render=function(n){this.u=null,this.o=new Map;var t=H$1(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},U.prototype.componentDidUpdate=U.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){V(n,e,t);});};var z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,B=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,H=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Z=/[A-Z0-9]/g,Y="undefined"!=typeof document,$=function(n){return ("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function q(n,t,e){return null==t.__k&&(t.textContent=""),B$2(n,t),"function"==typeof e&&e(),n?n.__c:null}function G(n,t,e){return D$2(n,t),"function"==typeof e&&e(),n?n.__c:null}k$2.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(k$2.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n});}});});var J=l$1.event;function K(){}function Q(){return this.cancelBubble}function X(){return this.defaultPrevented}l$1.event=function(n){return J&&(n=J(n)),n.persist=K,n.isPropagationStopped=Q,n.isDefaultPrevented=X,n.nativeEvent=n};var nn,tn={enumerable:!1,configurable:!0,get:function(){return this.class}},en=l$1.vnode;l$1.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={},o=-1===e.indexOf("-");for(var i in t){var c=t[i];if(!("value"===i&&"defaultValue"in t&&null==c||Y&&"children"===i&&"noscript"===e||"class"===i||"className"===i)){var l=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===c?c="":"translate"===l&&"no"===c?c=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?i="ondblclick":"onchange"!==l||"input"!==e&&"textarea"!==e||$(t.type)?"onfocus"===l?i="onfocusin":"onblur"===l?i="onfocusout":H.test(i)&&(i=l):l=i="oninput":o&&B.test(i)?i=i.replace(Z,"-$&").toLowerCase():null===c&&(c=void 0),"oninput"===l&&u[i=l]&&(i="oninputCapture"),u[i]=c;}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=H$1(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),"select"==e&&null!=u.defaultValue&&(u.value=H$1(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",tn)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u;}(n),n.$$typeof=z,en&&en(n);};var rn=l$1.__r;l$1.__r=function(n){rn&&rn(n),nn=n.__c;};var un=l$1.diffed;l$1.diffed=function(n){un&&un(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),nn=null;};var on={ReactCurrentDispatcher:{current:{readContext:function(n){return nn.__n[n.__c].props.value},useCallback:q$1,useContext:x$1,useDebugValue:P$1,useDeferredValue:bn,useEffect:y,useId:g$1,useImperativeHandle:F$1,useInsertionEffect:gn,useLayoutEffect:_,useMemo:T$1,useReducer:p,useRef:A$1,useState:h,useSyncExternalStore:Cn,useTransition:Sn}}},cn="18.3.1";function ln(n){return _$1.bind(null,n)}function fn(n){return !!n&&n.$$typeof===z}function an(n){return fn(n)&&n.type===b$1}function sn(n){return !!n&&!!n.displayName&&("string"==typeof n.displayName||n.displayName instanceof String)&&n.displayName.startsWith("Memo(")}function hn(n){return fn(n)?E$1.apply(null,arguments):n}function vn(n){return !!n.__k&&(B$2(null,n),!0)}function dn(n){return n&&(n.base||1===n.nodeType&&n)||null}var pn=function(n,t){return n(t)},mn=function(n,t){return n(t)},yn=b$1;function _n(n){n();}function bn(n){return n}function Sn(){return [!1,_n]}var gn=_,En=fn;function Cn(n,t){var e=t(),r=h({h:{__:e,v:t}}),u=r[0].h,o=r[1];return _(function(){u.__=e,u.v=t,xn(u)&&o({h:u});},[n,e,t]),y(function(){return xn(u)&&o({h:u}),n(function(){xn(u)&&o({h:u});})},[n]),e}function xn(n){var t,e,r=n.v,u=n.__;try{var o=r();return !((t=u)===(e=o)&&(0!==t||1/t==1/e)||t!=t&&e!=e)}catch(n){return !0}}var Rn={useState:h,useId:g$1,useReducer:p,useEffect:y,useLayoutEffect:_,useInsertionEffect:gn,useTransition:Sn,useDeferredValue:bn,useSyncExternalStore:Cn,startTransition:_n,useRef:A$1,useImperativeHandle:F$1,useMemo:T$1,useCallback:q$1,useContext:x$1,useDebugValue:P$1,version:"18.3.1",Children:N,render:q,hydrate:G,unmountComponentAtNode:vn,createPortal:j,createElement:_$1,createContext:G$1,createFactory:ln,cloneElement:hn,createRef:m$1,Fragment:b$1,isValidElement:fn,isElement:En,isFragment:an,isMemo:sn,findDOMNode:dn,Component:k$2,PureComponent:C,memo:x,forwardRef:k,flushSync:mn,unstable_batchedUpdates:pn,StrictMode:yn,Suspense:L,SuspenseList:U,lazy:F,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:on}; const ReactOriginal = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({ __proto__: null, @@ -31,22 +31,22 @@ const ReactOriginal = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.definePrope isValidElement: fn, lazy: F, memo: x, - render: q$1, + render: q, startTransition: _n, unmountComponentAtNode: vn, unstable_batchedUpdates: pn, - useCallback: q$2, + useCallback: q$1, useContext: x$1, useDebugValue: P$1, useDeferredValue: bn, useEffect: y, useErrorBoundary: b, - useId: g$2, + useId: g$1, useImperativeHandle: F$1, useInsertionEffect: gn, useLayoutEffect: _, useMemo: T$1, - useReducer: p$1, + useReducer: p, useRef: A$1, useState: h, useSyncExternalStore: Cn, @@ -67,15 +67,31 @@ var useSyncExternalStoreWithSelector_production_min = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var g=Rn;function n(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var p="function"===typeof Object.is?Object.is:n,q=g.useSyncExternalStore,r=g.useRef,t=g.useEffect,u$1=g.useMemo,v=g.useDebugValue; -useSyncExternalStoreWithSelector_production_min.useSyncExternalStoreWithSelector=function(a,b,e,l,h){var c=r(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f;}else f=c.current;c=u$1(function(){function a(a){if(!c){c=!0;d=a;a=l(a);if(void 0!==h&&f.hasValue){var b=f.value;if(h(b,a))return k=b}return k=a}b=k;if(p(d,a))return b;var e=l(a);if(void 0!==h&&h(b,e))return b;d=a;return k=e}var c=!1,d,k,m=void 0===e?null:e;return [function(){return a(b())},null===m?void 0:function(){return a(m())}]},[b,e,l,h]);var d=q(a,c[0],c[1]); -t(function(){f.hasValue=!0;f.value=d;},[d]);v(d);return d}; -{ - withSelector.exports = useSyncExternalStoreWithSelector_production_min; +var hasRequiredUseSyncExternalStoreWithSelector_production_min; + +function requireUseSyncExternalStoreWithSelector_production_min () { + if (hasRequiredUseSyncExternalStoreWithSelector_production_min) return useSyncExternalStoreWithSelector_production_min; + hasRequiredUseSyncExternalStoreWithSelector_production_min = 1; +var g=Rn;function n(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}var p="function"===typeof Object.is?Object.is:n,q=g.useSyncExternalStore,r=g.useRef,t=g.useEffect,u=g.useMemo,v=g.useDebugValue; + useSyncExternalStoreWithSelector_production_min.useSyncExternalStoreWithSelector=function(a,b,e,l,h){var c=r(null);if(null===c.current){var f={hasValue:!1,value:null};c.current=f;}else f=c.current;c=u(function(){function a(a){if(!c){c=!0;d=a;a=l(a);if(void 0!==h&&f.hasValue){var b=f.value;if(h(b,a))return k=b}return k=a}b=k;if(p(d,a))return b;var e=l(a);if(void 0!==h&&h(b,e))return b;d=a;return k=e}var c=!1,d,k,m=void 0===e?null:e;return [function(){return a(b())},null===m?void 0:function(){return a(m())}]},[b,e,l,h]);var d=q(a,c[0],c[1]); + t(function(){f.hasValue=!0;f.value=d;},[d]);v(d);return d}; + return useSyncExternalStoreWithSelector_production_min; +} + +var hasRequiredWithSelector; + +function requireWithSelector () { + if (hasRequiredWithSelector) return withSelector.exports; + hasRequiredWithSelector = 1; + + { + withSelector.exports = requireUseSyncExternalStoreWithSelector_production_min(); + } + return withSelector.exports; } -var withSelectorExports = withSelector.exports; +var withSelectorExports = requireWithSelector(); var useSyncExternalStoreWithSelector$1 = withSelectorExports.useSyncExternalStoreWithSelector; diff --git a/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/0_js_module/build/main.html b/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/0_js_module/build/main.html index 12d4dd355a..7b58985615 100644 --- a/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/0_js_module/build/main.html +++ b/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/0_js_module/build/main.html @@ -7,7 +7,7 @@ diff --git a/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/1_js_module_fallback/build/js/main.nomodule.js b/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/1_js_module_fallback/build/js/main.nomodule.js index 30b595719c..d08dd26f41 100644 --- a/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/1_js_module_fallback/build/js/main.nomodule.js +++ b/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/1_js_module_fallback/build/js/main.nomodule.js @@ -22,7 +22,7 @@ function _await(value, then, direct) { System.register([], function (_export, _context) { "use strict"; - var n$1, l$1, u$3, i$1, o$1, r$2, f$2, e$1, c$1, s$1, a$1, h$1, v$2, p$2, y$1, t$1, r$1, u$2, i, o, f$1, c, e, a, v$1, l, m, s, k$1, R, w, I, N, M, T, V, z, B, H, Z, Y, $, J, nn, tn, en, rn, un, on, cn, pn, mn, yn, gn, En, Rn, ReactOriginal, withSelector, useSyncExternalStoreWithSelector_production_min, g, p, q, r, t, u$1, v, withSelectorExports, useSyncExternalStoreWithSelector$1, React, ContextKey, gT, ReactReduxContext, notInitialized, useReduxContext, useSyncExternalStoreWithSelector, initializeUseSelector, refEquality, useSelector, nullListeners, canUseDOM, isReactNative, useIsomorphicLayoutEffect, Provider_default, useStore, useDispatch, $$observable, symbol_observable_default, randomString, ActionTypes, actionTypes_default, counterReducer, composeEnhancers, initialState, store, f, App, resolveRenderPromise, renderPromise, spanContentAfterIncrement, spanContentAfterDecrement; + var n, l$1, u$2, i$1, o$1, r$1, f$2, e$1, c$1, s$1, a$1, h$1, v$1, p$1, y$1, t, r, u$1, i, o, f$1, c, e, a, v, l, m, s, k$1, R, w, I, N, M, T, V, z, B, H, Z, Y, $, J, nn, tn, en, rn, un, on, cn, pn, mn, yn, gn, En, Rn, ReactOriginal, withSelector, useSyncExternalStoreWithSelector_production_min, hasRequiredUseSyncExternalStoreWithSelector_production_min, hasRequiredWithSelector, withSelectorExports, useSyncExternalStoreWithSelector$1, React, ContextKey, gT, ReactReduxContext, notInitialized, useReduxContext, useSyncExternalStoreWithSelector, initializeUseSelector, refEquality, useSelector, nullListeners, canUseDOM, isReactNative, useIsomorphicLayoutEffect, Provider_default, useStore, useDispatch, $$observable, symbol_observable_default, randomString, ActionTypes, actionTypes_default, counterReducer, composeEnhancers, initialState, store, f, App, resolveRenderPromise, renderPromise, spanContentAfterIncrement, spanContentAfterDecrement; function d$1(n, l) { for (var u in l) n[u] = l[u]; return n; @@ -36,10 +36,10 @@ System.register([], function (_export, _context) { r, f = {}; for (r in u) "key" == r ? i = u[r] : "ref" == r ? o = u[r] : f[r] = u[r]; - if (arguments.length > 2 && (f.children = arguments.length > 3 ? n$1.call(arguments, 2) : t), "function" == typeof l && null != l.defaultProps) for (r in l.defaultProps) void 0 === f[r] && (f[r] = l.defaultProps[r]); - return g$3(l, f, i, o, null); + if (arguments.length > 2 && (f.children = arguments.length > 3 ? n.call(arguments, 2) : t), "function" == typeof l && null != l.defaultProps) for (r in l.defaultProps) void 0 === f[r] && (f[r] = l.defaultProps[r]); + return g$2(l, f, i, o, null); } - function g$3(n, t, i, o, r) { + function g$2(n, t, i, o, r) { var f = { type: n, props: t, @@ -52,7 +52,7 @@ System.register([], function (_export, _context) { __d: void 0, __c: null, constructor: void 0, - __v: null == r ? ++u$3 : r, + __v: null == r ? ++u$2 : r, __i: -1, __u: 0 }; @@ -85,7 +85,7 @@ System.register([], function (_export, _context) { } } function M$1(n) { - (!n.__d && (n.__d = !0) && i$1.push(n) && !P$2.__r++ || o$1 !== l$1.debounceRendering) && ((o$1 = l$1.debounceRendering) || r$2)(P$2); + (!n.__d && (n.__d = !0) && i$1.push(n) && !P$2.__r++ || o$1 !== l$1.debounceRendering) && ((o$1 = l$1.debounceRendering) || r$1)(P$2); } function P$2() { var n, u, t, o, r, e, c, s; @@ -98,7 +98,7 @@ System.register([], function (_export, _context) { y, d, w, - _ = t && t.__k || v$2, + _ = t && t.__k || v$1, g = l.length; for (u.__d = e, $$1(u, l, _), e = u.__d, a = 0; a < g; a++) null != (y = u.__k[a]) && (p = -1 === y.__i ? h$1 : _[y.__i] || h$1, y.__i = a, O$1(n, y, p, i, o, r, f, e, c, s), d = y.__e, y.ref && p.ref != y.ref && (p.ref && N$1(p.ref, null, y), s.push(y.ref, y.__c || d, y)), null == w && null != d && (w = d), 65536 & y.__u || p.__k === y.__k ? e = I$1(y, e, n) : "function" == typeof y.type && void 0 !== y.__d ? e = y.__d : d && (e = d.nextSibling), y.__d = void 0, y.__u &= -196609); u.__d = e, u.__e = w; @@ -113,9 +113,9 @@ System.register([], function (_export, _context) { c = u.length, s = c, a = 0; - for (n.__k = [], t = 0; t < e; t++) null != (i = l[t]) && "boolean" != typeof i && "function" != typeof i ? (r = t + a, (i = n.__k[t] = "string" == typeof i || "number" == typeof i || "bigint" == typeof i || i.constructor == String ? g$3(null, i, null, null, null) : y$1(i) ? g$3(b$1, { + for (n.__k = [], t = 0; t < e; t++) null != (i = l[t]) && "boolean" != typeof i && "function" != typeof i ? (r = t + a, (i = n.__k[t] = "string" == typeof i || "number" == typeof i || "bigint" == typeof i || i.constructor == String ? g$2(null, i, null, null, null) : y$1(i) ? g$2(b$1, { children: i - }, null, null, null) : void 0 === i.constructor && i.__b > 0 ? g$3(i.type, i.props, i.key, i.ref ? i.ref : null, i.__v) : i).__ = n, i.__b = n.__b + 1, o = null, -1 !== (f = i.__i = L$1(i, u, r, s)) && (s--, (o = u[f]) && (o.__u |= 131072)), null == o || null === o.__v ? (-1 == f && a--, "function" != typeof i.type && (i.__u |= 65536)) : f !== r && (f == r - 1 ? a-- : f == r + 1 ? a++ : (f > r ? a-- : a++, i.__u |= 65536))) : i = n.__k[t] = null; + }, null, null, null) : void 0 === i.constructor && i.__b > 0 ? g$2(i.type, i.props, i.key, i.ref ? i.ref : null, i.__v) : i).__ = n, i.__b = n.__b + 1, o = null, -1 !== (f = i.__i = L$1(i, u, r, s)) && (s--, (o = u[f]) && (o.__u |= 131072)), null == o || null === o.__v ? (-1 == f && a--, "function" != typeof i.type && (i.__u |= 65536)) : f !== r && (f == r - 1 ? a-- : f == r + 1 ? a++ : (f > r ? a-- : a++, i.__u |= 65536))) : i = n.__k[t] = null; if (s) for (t = 0; t < c; t++) null != (o = u[t]) && 0 == (131072 & o.__u) && (o.__e == n.__d && (n.__d = x$2(o)), V$1(o, o)); } function I$1(n, l, u) { @@ -155,7 +155,7 @@ System.register([], function (_export, _context) { return -1; } function T$2(n, l, u) { - "-" === l[0] ? n.setProperty(l, null == u ? "" : u) : n[l] = null == u ? "" : "number" != typeof u || p$2.test(l) ? u : u + "px"; + "-" === l[0] ? n.setProperty(l, null == u ? "" : u) : n[l] = null == u ? "" : "number" != typeof u || p$1.test(l) ? u : u + "px"; } function A$2(n, l, u, t, i) { var o; @@ -202,7 +202,7 @@ System.register([], function (_export, _context) { if (void 0 !== u.constructor) return null; 128 & t.__u && (c = !!(32 & t.__u), r = [e = u.__e = t.__e]), (a = l$1.__b) && a(u); n: if ("function" == typeof T) try { - if (m = u.props, x = "prototype" in T && T.prototype.render, C = (a = T.contextType) && i[a.__c], M = a ? C ? C.props.value : a.__ : i, t.__c ? g = (h = u.__c = t.__c).__ = h.__E : (x ? u.__c = h = new T(m, M) : (u.__c = h = new k$2(m, M), h.constructor = T, h.render = q$3), C && C.sub(h), h.props = m, h.state || (h.state = {}), h.context = M, h.__n = i, v = h.__d = !0, h.__h = [], h._sb = []), x && null == h.__s && (h.__s = h.state), x && null != T.getDerivedStateFromProps && (h.__s == h.state && (h.__s = d$1({}, h.__s)), d$1(h.__s, T.getDerivedStateFromProps(m, h.__s))), p = h.props, w = h.state, h.__v = u, v) x && null == T.getDerivedStateFromProps && null != h.componentWillMount && h.componentWillMount(), x && null != h.componentDidMount && h.__h.push(h.componentDidMount);else { + if (m = u.props, x = "prototype" in T && T.prototype.render, C = (a = T.contextType) && i[a.__c], M = a ? C ? C.props.value : a.__ : i, t.__c ? g = (h = u.__c = t.__c).__ = h.__E : (x ? u.__c = h = new T(m, M) : (u.__c = h = new k$2(m, M), h.constructor = T, h.render = q$2), C && C.sub(h), h.props = m, h.state || (h.state = {}), h.context = M, h.__n = i, v = h.__d = !0, h.__h = [], h._sb = []), x && null == h.__s && (h.__s = h.state), x && null != T.getDerivedStateFromProps && (h.__s == h.state && (h.__s = d$1({}, h.__s)), d$1(h.__s, T.getDerivedStateFromProps(m, h.__s))), p = h.props, w = h.state, h.__v = u, v) x && null == T.getDerivedStateFromProps && null != h.componentWillMount && h.componentWillMount(), x && null != h.componentDidMount && h.__h.push(h.componentDidMount);else { if (x && null == T.getDerivedStateFromProps && m !== p && null != h.componentWillReceiveProps && h.componentWillReceiveProps(m, M), !h.__e && (null != h.shouldComponentUpdate && !1 === h.shouldComponentUpdate(m, h.__s, M) || u.__v === t.__v)) { for (u.__v !== t.__v && (h.props = m, h.state = h.__s, h.__d = !1), u.__e = t.__e, u.__k = t.__k, u.__k.some(function (n) { n && (n.__ = u); @@ -263,7 +263,7 @@ System.register([], function (_export, _context) { u = document.createElementNS(r, C, k.is && k), c && (l$1.__m && l$1.__m(t, f), c = !1), f = null; } if (null === C) b === k || c && u.data === k || (u.data = k);else { - if (f = f && n$1.call(u.childNodes), b = i.props || h$1, !c && null != f) for (b = {}, a = 0; a < u.attributes.length; a++) b[(_ = u.attributes[a]).name] = _.value; + if (f = f && n.call(u.childNodes), b = i.props || h$1, !c && null != f) for (b = {}, a = 0; a < u.attributes.length; a++) b[(_ = u.attributes[a]).name] = _.value; for (a in b) if (_ = b[a], "children" == a) ;else if ("dangerouslySetInnerHTML" == a) p = _;else if (!(a in k)) { if ("value" == a && "defaultValue" in k || "checked" == a && "defaultChecked" in k) continue; A$2(u, a, null, _, r); @@ -297,12 +297,12 @@ System.register([], function (_export, _context) { if (i = n.__k) for (o = 0; o < i.length; o++) i[o] && V$1(i[o], u, t || "function" != typeof n.type); t || w$2(n.__e), n.__c = n.__ = n.__e = n.__d = void 0; } - function q$3(n, l, u) { + function q$2(n, l, u) { return this.constructor(n, u); } function B$2(u, t, i) { var o, r, f, e; - l$1.__ && l$1.__(u, t), r = (o = "function" == typeof i) ? null : i && i.__k || t.__k, f = [], e = [], O$1(t, u = (!o && i || t).__k = _$1(b$1, null, [u]), r || h$1, h$1, t.namespaceURI, !o && i ? [i] : r ? null : t.firstChild ? n$1.call(t.childNodes) : null, f, !o && i ? i : r ? r.__e : t.firstChild, o, e), j$2(f, u, e); + l$1.__ && l$1.__(u, t), r = (o = "function" == typeof i) ? null : i && i.__k || t.__k, f = [], e = [], O$1(t, u = (!o && i || t).__k = _$1(b$1, null, [u]), r || h$1, h$1, t.namespaceURI, !o && i ? [i] : r ? null : t.firstChild ? n.call(t.childNodes) : null, f, !o && i ? i : r ? r.__e : t.firstChild, o, e), j$2(f, u, e); } function D$2(n, l) { B$2(n, l, D$2); @@ -314,7 +314,7 @@ System.register([], function (_export, _context) { f, e = d$1({}, l.props); for (r in l.type && l.type.defaultProps && (f = l.type.defaultProps), u) "key" == r ? i = u[r] : "ref" == r ? o = u[r] : e[r] = void 0 === u[r] && void 0 !== f ? f[r] : u[r]; - return arguments.length > 2 && (e.children = arguments.length > 3 ? n$1.call(arguments, 2) : t), g$3(l.type, e, i || l.key, o || l.ref, null); + return arguments.length > 2 && (e.children = arguments.length > 3 ? n.call(arguments, 2) : t), g$2(l.type, e, i || l.key, o || l.ref, null); } function G$1(n, l) { var u = { @@ -345,23 +345,23 @@ System.register([], function (_export, _context) { return u.Provider.__ = u.Consumer.contextType = u; } function d(n, t) { - c.__h && c.__h(r$1, n, o || t), o = 0; - var u = r$1.__H || (r$1.__H = { + c.__h && c.__h(r, n, o || t), o = 0; + var u = r.__H || (r.__H = { __: [], __h: [] }); return n >= u.__.length && u.__.push({}), u.__[n]; } function h(n) { - return o = 1, p$1(D$1, n); + return o = 1, p(D$1, n); } - function p$1(n, u, i) { - var o = d(t$1++, 2); + function p(n, u, i) { + var o = d(t++, 2); if (o.t = n, !o.__c && (o.__ = [i ? i(u) : D$1(void 0, u), function (n) { var t = o.__N ? o.__N[0] : o.__[0], r = o.t(t, n); t !== r && (o.__N = [r, o.__[1]], o.__c.setState({})); - }], o.__c = r$1, !r$1.u)) { + }], o.__c = r, !r.u)) { var f = function (n, t, r) { if (!o.__c.__H) return !0; var u = o.__c.__H.__.filter(function (n) { @@ -378,26 +378,26 @@ System.register([], function (_export, _context) { } }), !(!i && o.__c.props === n) && (!c || c.call(this, n, t, r)); }; - r$1.u = !0; - var c = r$1.shouldComponentUpdate, - e = r$1.componentWillUpdate; - r$1.componentWillUpdate = function (n, t, r) { + r.u = !0; + var c = r.shouldComponentUpdate, + e = r.componentWillUpdate; + r.componentWillUpdate = function (n, t, r) { if (this.__e) { var u = c; c = void 0, f(n, t, r), c = u; } e && e.call(this, n, t, r); - }, r$1.shouldComponentUpdate = f; + }, r.shouldComponentUpdate = f; } return o.__N || o.__; } function y(n, u) { - var i = d(t$1++, 3); - !c.__s && C$1(i.__H, u) && (i.__ = n, i.i = u, r$1.__H.__h.push(i)); + var i = d(t++, 3); + !c.__s && C$1(i.__H, u) && (i.__ = n, i.i = u, r.__H.__h.push(i)); } function _(n, u) { - var i = d(t$1++, 4); - !c.__s && C$1(i.__H, u) && (i.__ = n, i.i = u, r$1.__h.push(i)); + var i = d(t++, 4); + !c.__s && C$1(i.__H, u) && (i.__ = n, i.i = u, r.__h.push(i)); } function A$1(n) { return o = 5, T$1(function () { @@ -416,35 +416,35 @@ System.register([], function (_export, _context) { }, null == r ? r : r.concat(n)); } function T$1(n, r) { - var u = d(t$1++, 7); + var u = d(t++, 7); return C$1(u.__H, r) && (u.__ = n(), u.__H = r, u.__h = n), u.__; } - function q$2(n, t) { + function q$1(n, t) { return o = 8, T$1(function () { return n; }, t); } function x$1(n) { - var u = r$1.context[n.__c], - i = d(t$1++, 9); - return i.c = n, u ? (null == i.__ && (i.__ = !0, u.sub(r$1)), u.props.value) : n.__; + var u = r.context[n.__c], + i = d(t++, 9); + return i.c = n, u ? (null == i.__ && (i.__ = !0, u.sub(r)), u.props.value) : n.__; } function P$1(n, t) { c.useDebugValue && c.useDebugValue(t ? t(n) : n); } function b(n) { - var u = d(t$1++, 10), + var u = d(t++, 10), i = h(); - return u.__ = n, r$1.componentDidCatch || (r$1.componentDidCatch = function (n, t) { + return u.__ = n, r.componentDidCatch || (r.componentDidCatch = function (n, t) { u.__ && u.__(n, t), i[1](n); }), [i[0], function () { i[1](void 0); }]; } - function g$2() { - var n = d(t$1++, 11); + function g$1() { + var n = d(t++, 11); if (!n.__) { - for (var u = r$1.__v; null !== u && !u.__m && null !== u.__;) u = u.__; + for (var u = r.__v; null !== u && !u.__m && null !== u.__;) u = u.__; var i = u.__m || (u.__m = [0, 0]); n.__ = "P" + i[0] + "-" + i[1]++; } @@ -466,13 +466,13 @@ System.register([], function (_export, _context) { k$1 && (t = requestAnimationFrame(r)); } function z$1(n) { - var t = r$1, + var t = r, u = n.__c; - "function" == typeof u && (n.__c = void 0, u()), r$1 = t; + "function" == typeof u && (n.__c = void 0, u()), r = t; } function B$1(n) { - var t = r$1; - n.__c = n.__(), r$1 = t; + var t = r; + n.__c = n.__(), r = t; } function C$1(n, t) { return !n || n.length !== t.length || t.some(function (t, r) { @@ -482,7 +482,7 @@ System.register([], function (_export, _context) { function D$1(n, t) { return "function" == typeof t ? t(n) : t; } - function g$1(n, t) { + function g(n, t) { for (var e in t) n[e] = t[e]; return n; } @@ -507,7 +507,7 @@ System.register([], function (_export, _context) { } function k(n) { function t(t) { - var e = g$1({}, t); + var e = g({}, t); return delete e.ref, n(e, t.ref || null); } return t.$$typeof = w, t.render = t, t.prototype.isReactComponent = t.__f = !0, t.displayName = "ForwardRef(" + (n.displayName || n.name) + ")", t; @@ -515,7 +515,7 @@ System.register([], function (_export, _context) { function A(n, t, e) { return n && (n.__c && n.__c.__H && (n.__c.__H.__.forEach(function (n) { "function" == typeof n.__c && n.__c(); - }), n.__c.__H = null), null != (n = g$1({}, n)).__c && (n.__c.__P === e && (n.__c.__P = t), n.__c = null), n.__k = n.__k && n.__k.map(function (n) { + }), n.__c.__H = null), null != (n = g({}, n)).__c && (n.__c.__P === e && (n.__c.__P = t), n.__c = null), n.__k = n.__k && n.__k.map(function (n) { return A(n, t, e); })), n; } @@ -584,7 +584,7 @@ System.register([], function (_export, _context) { }); return r.containerInfo = e, r; } - function q$1(n, t, e) { + function q(n, t, e) { return null == t.__k && (t.textContent = ""), B$2(n, t), "function" == typeof e && e(), n ? n.__c : null; } function G(n, t, e) { @@ -663,8 +663,74 @@ System.register([], function (_export, _context) { return !0; } } - function n(a, b) { - return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b; + function requireUseSyncExternalStoreWithSelector_production_min() { + if (hasRequiredUseSyncExternalStoreWithSelector_production_min) return useSyncExternalStoreWithSelector_production_min; + hasRequiredUseSyncExternalStoreWithSelector_production_min = 1; + var g = Rn; + function n(a, b) { + return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b; + } + var p = "function" === typeof Object.is ? Object.is : n, + q = g.useSyncExternalStore, + r = g.useRef, + t = g.useEffect, + u = g.useMemo, + v = g.useDebugValue; + useSyncExternalStoreWithSelector_production_min.useSyncExternalStoreWithSelector = function (a, b, e, l, h) { + var c = r(null); + if (null === c.current) { + var f = { + hasValue: !1, + value: null + }; + c.current = f; + } else f = c.current; + c = u(function () { + function a(a) { + if (!c) { + c = !0; + d = a; + a = l(a); + if (void 0 !== h && f.hasValue) { + var b = f.value; + if (h(b, a)) return k = b; + } + return k = a; + } + b = k; + if (p(d, a)) return b; + var e = l(a); + if (void 0 !== h && h(b, e)) return b; + d = a; + return k = e; + } + var c = !1, + d, + k, + m = void 0 === e ? null : e; + return [function () { + return a(b()); + }, null === m ? void 0 : function () { + return a(m()); + }]; + }, [b, e, l, h]); + var d = q(a, c[0], c[1]); + t(function () { + f.hasValue = !0; + f.value = d; + }, [d]); + v(d); + return d; + }; + return useSyncExternalStoreWithSelector_production_min; + } + function requireWithSelector() { + if (hasRequiredWithSelector) return withSelector.exports; + hasRequiredWithSelector = 1; + { + withSelector.exports = requireUseSyncExternalStoreWithSelector_production_min(); + } + return withSelector.exports; } function getContext() { if (!React.createContext) return {}; @@ -1169,8 +1235,8 @@ System.register([], function (_export, _context) { return { setters: [], execute: async function () { - h$1 = {}, v$2 = [], p$2 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, y$1 = Array.isArray; - n$1 = v$2.slice, l$1 = { + h$1 = {}, v$1 = [], p$1 = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, y$1 = Array.isArray; + n = v$1.slice, l$1 = { __e: function (n, l, u, t) { for (var i, o, r; l = l.__;) if ((i = l.__c) && !i.__) try { if ((o = i.constructor) && null != o.getDerivedStateFromError && (i.setState(o.getDerivedStateFromError(n)), r = i.__d), null != i.componentDidCatch && (i.componentDidCatch(n, t || {}), r = i.__d), r) return i.__E = i; @@ -1179,31 +1245,31 @@ System.register([], function (_export, _context) { } throw n; } - }, u$3 = 0, k$2.prototype.setState = function (n, l) { + }, u$2 = 0, k$2.prototype.setState = function (n, l) { var u; u = null != this.__s && this.__s !== this.state ? this.__s : this.__s = d$1({}, this.state), "function" == typeof n && (n = n(d$1({}, u), this.props)), n && d$1(u, n), null != n && this.__v && (l && this._sb.push(l), M$1(this)); }, k$2.prototype.forceUpdate = function (n) { this.__v && (this.__e = !0, n && this.__h.push(n), M$1(this)); - }, k$2.prototype.render = b$1, i$1 = [], r$2 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f$2 = function (n, l) { + }, k$2.prototype.render = b$1, i$1 = [], r$1 = "function" == typeof Promise ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, f$2 = function (n, l) { return n.__v.__b - l.__v.__b; }, P$2.__r = 0, e$1 = 0, c$1 = F$2(!1), s$1 = F$2(!0), a$1 = 0; - o = 0, f$1 = [], c = l$1, e = c.__b, a = c.__r, v$1 = c.diffed, l = c.__c, m = c.unmount, s = c.__; + o = 0, f$1 = [], c = l$1, e = c.__b, a = c.__r, v = c.diffed, l = c.__c, m = c.unmount, s = c.__; c.__b = function (n) { - r$1 = null, e && e(n); + r = null, e && e(n); }, c.__ = function (n, t) { n && t.__k && t.__k.__m && (n.__m = t.__k.__m), s && s(n, t); }, c.__r = function (n) { - a && a(n), t$1 = 0; - var i = (r$1 = n.__c).__H; - i && (u$2 === r$1 ? (i.__h = [], r$1.__h = [], i.__.forEach(function (n) { + a && a(n), t = 0; + var i = (r = n.__c).__H; + i && (u$1 === r ? (i.__h = [], r.__h = [], i.__.forEach(function (n) { n.__N && (n.__ = n.__N), n.i = n.__N = void 0; - })) : (i.__h.forEach(z$1), i.__h.forEach(B$1), i.__h = [], t$1 = 0)), u$2 = r$1; + })) : (i.__h.forEach(z$1), i.__h.forEach(B$1), i.__h = [], t = 0)), u$1 = r; }, c.diffed = function (n) { - v$1 && v$1(n); + v && v(n); var t = n.__c; t && t.__H && (t.__H.__h.length && (1 !== f$1.push(t) && i === c.requestAnimationFrame || ((i = c.requestAnimationFrame) || w$1)(j$1)), t.__H.__.forEach(function (n) { n.i && (n.__H = n.i), n.i = void 0; - })), u$2 = r$1 = null; + })), u$1 = r = null; }, c.__c = function (n, t) { t.some(function (n) { try { @@ -1394,17 +1460,17 @@ System.register([], function (_export, _context) { readContext: function (n) { return nn.__n[n.__c].props.value; }, - useCallback: q$2, + useCallback: q$1, useContext: x$1, useDebugValue: P$1, useDeferredValue: bn, useEffect: y, - useId: g$2, + useId: g$1, useImperativeHandle: F$1, useInsertionEffect: gn, useLayoutEffect: _, useMemo: T$1, - useReducer: p$1, + useReducer: p, useRef: A$1, useState: h, useSyncExternalStore: Cn, @@ -1420,8 +1486,8 @@ System.register([], function (_export, _context) { gn = _, En = fn; Rn = { useState: h, - useId: g$2, - useReducer: p$1, + useId: g$1, + useReducer: p, useEffect: y, useLayoutEffect: _, useInsertionEffect: gn, @@ -1432,12 +1498,12 @@ System.register([], function (_export, _context) { useRef: A$1, useImperativeHandle: F$1, useMemo: T$1, - useCallback: q$2, + useCallback: q$1, useContext: x$1, useDebugValue: P$1, version: "18.3.1", Children: N, - render: q$1, + render: q, hydrate: G, unmountComponentAtNode: vn, createPortal: j, @@ -1491,22 +1557,22 @@ System.register([], function (_export, _context) { isValidElement: fn, lazy: F, memo: x, - render: q$1, + render: q, startTransition: _n, unmountComponentAtNode: vn, unstable_batchedUpdates: pn, - useCallback: q$2, + useCallback: q$1, useContext: x$1, useDebugValue: P$1, useDeferredValue: bn, useEffect: y, useErrorBoundary: b, - useId: g$2, + useId: g$1, useImperativeHandle: F$1, useInsertionEffect: gn, useLayoutEffect: _, useMemo: T$1, - useReducer: p$1, + useReducer: p, useRef: A$1, useState: h, useSyncExternalStore: Cn, @@ -1528,58 +1594,7 @@ System.register([], function (_export, _context) { * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ - g = Rn; - p = "function" === typeof Object.is ? Object.is : n, q = g.useSyncExternalStore, r = g.useRef, t = g.useEffect, u$1 = g.useMemo, v = g.useDebugValue; - useSyncExternalStoreWithSelector_production_min.useSyncExternalStoreWithSelector = function (a, b, e, l, h) { - var c = r(null); - if (null === c.current) { - var f = { - hasValue: !1, - value: null - }; - c.current = f; - } else f = c.current; - c = u$1(function () { - function a(a) { - if (!c) { - c = !0; - d = a; - a = l(a); - if (void 0 !== h && f.hasValue) { - var b = f.value; - if (h(b, a)) return k = b; - } - return k = a; - } - b = k; - if (p(d, a)) return b; - var e = l(a); - if (void 0 !== h && h(b, e)) return b; - d = a; - return k = e; - } - var c = !1, - d, - k, - m = void 0 === e ? null : e; - return [function () { - return a(b()); - }, null === m ? void 0 : function () { - return a(m()); - }]; - }, [b, e, l, h]); - var d = q(a, c[0], c[1]); - t(function () { - f.hasValue = !0; - f.value = d; - }, [d]); - v(d); - return d; - }; - { - withSelector.exports = useSyncExternalStoreWithSelector_production_min; - } - withSelectorExports = withSelector.exports; + withSelectorExports = requireWithSelector(); useSyncExternalStoreWithSelector$1 = withSelectorExports.useSyncExternalStoreWithSelector; // src/index.ts React = // prettier-ignore diff --git a/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/1_js_module_fallback/build/main.html b/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/1_js_module_fallback/build/main.html index 6866733102..8560b099fb 100644 --- a/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/1_js_module_fallback/build/main.html +++ b/packages/related/plugin-preact/tests/preact_and_redux/_preact_and_redux_build.test.mjs/1_js_module_fallback/build/main.html @@ -7,7 +7,7 @@