@jsenv/core 41.2.11 → 41.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2499,7 +2499,7 @@ const createUrlInfoTransformer = ({
2499
2499
  urlInfo.isInline ||
2500
2500
  (sources &&
2501
2501
  sources.some((source) => !source || !source.startsWith("file:")));
2502
- if (sources && sources.length > 1) {
2502
+ if (sources && sources.length > 0) {
2503
2503
  sourcemap.sources = sources.map(
2504
2504
  (source) => new URL(source, urlInfo.originalUrl).href,
2505
2505
  );
@@ -2508,6 +2508,11 @@ const createUrlInfoTransformer = ({
2508
2508
  }
2509
2509
  return sourcemap;
2510
2510
  }
2511
+ // No source info at all (e.g. an empty sourcemap): only then fall back
2512
+ // to describing this url as its own source. A single source is real
2513
+ // information (it can point at a different file entirely, e.g. a
2514
+ // bundled chunk whose only literal content comes from another module)
2515
+ // and must not be discarded in favor of this assumption.
2511
2516
  sourcemap.sources = [urlInfo.originalUrl];
2512
2517
  sourcemap.sourcesContent = [urlInfo.originalContent];
2513
2518
  if (!wantSourcesContent) {
@@ -5818,13 +5818,13 @@ const applyPackageResolve = (packageSpecifier, resolutionContext) => {
5818
5818
  : resolvePackageSymlink(packageDirectoryFacadeUrl);
5819
5819
  const packageJson = readPackageJson(packageDirectoryUrl);
5820
5820
  if (packageJson !== null) {
5821
- const { exports: exports$1 } = packageJson;
5822
- if (exports$1 !== null && exports$1 !== undefined) {
5821
+ const { exports } = packageJson;
5822
+ if (exports !== null && exports !== undefined) {
5823
5823
  return applyPackageExportsResolution(packageSubpath, {
5824
5824
  ...resolutionContext,
5825
5825
  packageDirectoryUrl,
5826
5826
  packageJson,
5827
- exports: exports$1,
5827
+ exports,
5828
5828
  });
5829
5829
  }
5830
5830
  }
@@ -5862,8 +5862,8 @@ const applyPackageSelfResolution = (packageSubpath, resolutionContext) => {
5862
5862
  if (packageJson.name !== packageName) {
5863
5863
  return undefined;
5864
5864
  }
5865
- const { exports: exports$1 } = packageJson;
5866
- if (!exports$1) {
5865
+ const { exports } = packageJson;
5866
+ if (!exports) {
5867
5867
  const subpathResolution = applyLegacySubpathResolution(packageSubpath, {
5868
5868
  ...resolutionContext,
5869
5869
  packageDirectoryUrl,
@@ -1,4 +1,4 @@
1
- import { G, u, E, k } from "../jsenv_core_node_modules.js";
1
+ import { K, u, N, $ } from "../jsenv_core_node_modules.js";
2
2
 
3
3
  const directoryIconUrl = new URL("../other/dir.png", import.meta.url).href;
4
4
  const fileIconUrl = new URL("../other/file.png", import.meta.url).href;
@@ -30,12 +30,12 @@ const updateDirectoryContentItems = value => {
30
30
  }
31
31
  };
32
32
  const DirectoryListing = () => {
33
- const directoryItems = E(callback => {
33
+ const directoryItems = N(callback => {
34
34
  directoryItemsChangeCallbackSet.add(callback);
35
35
  }, () => {
36
36
  return directoryContentItems;
37
37
  });
38
- return u(k, {
38
+ return u($, {
39
39
  children: [enoentDetails ? u(ErrorMessage, {}) : null, u(Breadcrumb, {
40
40
  items: breadcrumb
41
41
  }), u(DirectoryContent, {
@@ -50,7 +50,7 @@ const ErrorMessage = () => {
50
50
  } = enoentDetails;
51
51
  let errorText;
52
52
  let errorSuggestion;
53
- errorText = u(k, {
53
+ errorText = u($, {
54
54
  children: [u("strong", {
55
55
  children: "File not found:"
56
56
  }), "\xA0", u(Overflow, {
@@ -65,7 +65,7 @@ const ErrorMessage = () => {
65
65
  }), " ", "does not exist on the server."]
66
66
  })]
67
67
  });
68
- errorSuggestion = u(k, {
68
+ errorSuggestion = u($, {
69
69
  children: [u("span", {
70
70
  className: "icon",
71
71
  children: "\uD83D\uDD0D"
@@ -115,7 +115,7 @@ const Breadcrumb = ({
115
115
  isServerRootDirectory
116
116
  } = navItem;
117
117
  const isDirectory = new URL(url).pathname.endsWith("/");
118
- return u(k, {
118
+ return u($, {
119
119
  children: [u(BreadcrumbItem, {
120
120
  url: urlRelativeToServer,
121
121
  isCurrent: isCurrent,
@@ -210,7 +210,7 @@ const DirectoryContentItem = ({
210
210
  className: "directory_content_item_text",
211
211
  children: [u(Overflow, {
212
212
  children: children
213
- }), isDirectory ? u(k, {
213
+ }), isDirectory ? u($, {
214
214
  children: [u("span", {
215
215
  style: "flex:1"
216
216
  }), u("span", {
@@ -275,4 +275,4 @@ if (autoreload) {
275
275
  }
276
276
  };
277
277
  }
278
- G(u(DirectoryListing, {}), document.querySelector("#root"));
278
+ K(u(DirectoryListing, {}), document.querySelector("#root"));
@@ -1,9 +1,9 @@
1
- var n,l$1,t$1,i$1,r$1,o$2,f$1,e$1,c$1,s$1,a$1={},p$1=[],v$1=/(mi|mn|mo|ms$|mte|msp)/,y$1=Array.isArray,w$1=p$1.slice,d$1=Object.assign;function g$1(n){n&&n.parentNode&&n.remove();}function _$1(n,l,u){var t,i,r,o={};for(r in l)"key"==r?t=l[r]:"ref"==r&&"function"!=typeof n?i=l[r]:o[r]=l[r];return arguments.length>2&&(o.children=arguments.length>3?w$1.call(arguments,2):u),m$1(n,o,t,i,null)}function m$1(u,t,i,r,o){var f={type:u,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++l$1:o,__i:-1,__u:0};return null==o&&null!=n.vnode&&n.vnode(f),f}function k$2(n){return n.children}function M(n,l){this.props=n,this.context=l,this.__g=0;}function $(n,l){if(null==l)return n.__?$(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?$(n):null}function S(n){if(null!=(n=n.__)&&null!=n.__c)return n.__e=null,n.__k.some(function(l){if(null!=l&&null!=l.__e)return n.__e=l.__e}),S(n)}function x(l){(8&l.__g||!(l.__g|=8)||!t$1.push(l)||r$1++)&&i$1==n.debounceRendering||((i$1=n.debounceRendering)||queueMicrotask)(C$2);}function C$2(){for(var l,u,i,f,e,c,s,h,a=1;t$1.length;)t$1.length>a&&t$1.sort(o$2),l=t$1.shift(),a=t$1.length,8&l.__g&&(i=void 0,f=void 0,e=(f=(u=l).__v).__e,c=[],s=[],(h=u.__P)&&((i=d$1({},f)).__v=f.__v+1,n.vnode&&n.vnode(i),N$1(h,i,f,u.__n,h.namespaceURI,32&f.__u?[e]:null,c,null==e?$(f):e,!!(32&f.__u),s,h.ownerDocument),i.__v=f.__v,i.__.__k[i.__i]=i,V$1(c,i,s),f.__=f.__e=null,i.__e!=e&&S(i)));r$1=0;}function L(n,l,u,t,i,r,o,f,e,c,s,h){var v,y,w,d,g,_,m,b=t&&t.__k||p$1,k=l.length;for(e=j$1(u,l,b,e,k),v=0;v<k;v++)null!=(w=u.__k[v])&&(y=-1!=w.__i&&b[w.__i]||a$1,w.__i=v,_=N$1(n,w,y,i,r,o,f,e,c,s,h),d=w.__e,w.ref&&y.ref!=w.ref&&(y.ref&&D$1(y.ref,null,w),s.push(w.ref,w.__c||d,w)),null==g&&null!=d&&(g=d),(m=4&w.__u)||y.__k===w.__k?e=A$1(w,e,n,m):"function"==typeof w.type&&void 0!==_?e=_:d&&(e=d.nextSibling),w.__u&=-7);return u.__e=g,e}function j$1(n,l,u,t,i){var r,o,f,e,c,s=u.length,h=s,a=0;for(n.__k=new Array(i),r=0;r<i;r++)null!=(o=l[r])&&"boolean"!=typeof o&&"function"!=typeof o?("string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?o=n.__k[r]=m$1(null,o,null,null,null):y$1(o)?o=n.__k[r]=m$1(k$2,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?o=n.__k[r]=m$1(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):n.__k[r]=o,e=r+a,o.__=n,o.__b=n.__b+1,f=null,-1!=(c=o.__i=I$1(o,u,e,h))&&(h--,(f=u[c])&&(f.__u|=2)),null==f||null==f.__v?(-1==c&&(i>s?a--:i<s&&a++),"function"!=typeof o.type&&(o.__u|=4)):c!=e&&(c==e-1?a--:c==e+1?a++:(c>e?a--:a++,o.__u|=4))):n.__k[r]=null;if(h)for(r=0;r<s;r++)null!=(f=u[r])&&0==(2&f.__u)&&(f.__e==t&&(t=$(f)),E$1(f,f));return t}function A$1(n,l,u,t){var i,r;if("function"==typeof n.type){for(i=n.__k,r=0;i&&r<i.length;r++)i[r]&&(i[r].__=n,l=A$1(i[r],l,u,t));return l}n.__e!=l&&(t&&(l&&n.type&&!l.parentNode&&(l=$(n)),u.insertBefore(n.__e,l||null)),l=n.__e);do{l=l&&l.nextSibling;}while(null!=l&&8==l.nodeType);return l}function H(n,l){return l=l||[],null==n||"boolean"==typeof n||(y$1(n)?n.some(function(n){H(n,l);}):l.push(n)),l}function I$1(n,l,u,t){var i,r,o,f=n.key,e=n.type,c=l[u],s=null!=c&&0==(2&c.__u);if(null===c&&null==f||s&&f==c.key&&e==c.type)return u;if(t>(s?1:0))for(i=u-1,r=u+1;i>=0||r<l.length;)if(null!=(c=l[o=i>=0?i--:r++])&&0==(2&c.__u)&&f==c.key&&e==c.type)return o;return -1}function O$1(n,l,u){"-"==l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":u;}function T$1(n,l,u,t,i){var r;n:if("style"==l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||O$1(n.style,l,"");if(u)for(l in u)t&&u[l]==t[l]||O$1(n.style,l,u[l]);}else if("o"==l[0]&&"n"==l[1])r=l!=(l=l.replace(f$1,"$1")),l=l.slice(2).toLowerCase(),n.__l||(n.__l={}),n.__l[l+r]=u,u?t?u.l=t.l:(u.l=e$1,n.addEventListener(l,r?s$1:c$1,r)):n.removeEventListener(l,r?s$1:c$1,r);else {if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||false===u&&"-"!=l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u));}}function q$1(l){return function(u){if(this.__l){var t=this.__l[u.type+l];if(null==u.u)u.u=e$1++;else if(u.u<t.l)return;return t(n.event?n.event(u):u)}}}function N$1(l,u,t,i,r,o,f,e,c,s,h){var a,p,v,w,_,m,b,$,S,x,C,j,A,H,I,O,T,q,N,V=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=32&t.__u)&&t.__c.__z&&(e=(o=t.__c.__z)[0],t.__c.__z=null),(a=n.__b)&&a(u);n:if("function"==typeof V)try{if(m=u.props,b="prototype"in V&&V.prototype.render,$=(a=V.contextType)&&i[a.__c],S=a?$?$.props.value:a.__:i,t.__c?2&(p=u.__c=t.__c).__g&&(p.__g|=1):(b?u.__c=p=new V(m,S):(u.__c=p=new M(m,S),p.constructor=V,p.render=F$1),$&&$.sub(p),p.state||(p.state={}),p.__n=i,p.__g|=8,p.__h=[],p._sb=[]),b&&null==p.__s&&(p.__s=p.state),b&&null!=V.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=d$1({},p.__s)),d$1(p.__s,V.getDerivedStateFromProps(m,p.__s))),v=p.props,w=p.state,p.__v=u,t.__c){if(b&&null==V.getDerivedStateFromProps&&m!==v&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(m,S),u.__v==t.__v||!(4&p.__g)&&null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(m,p.__s,S)){u.__v!=t.__v&&(p.props=m,p.state=p.__s,p.__g&=-9),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u);}),(x=p.__h).push.apply(x,p._sb),p._sb=[],p.__h.length&&f.push(p);break n}null!=p.componentWillUpdate&&p.componentWillUpdate(m,p.__s,S),b&&null!=p.componentDidUpdate&&p.__h.push(function(){p.componentDidUpdate(v,w,_);});}else b&&null==V.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),b&&null!=p.componentDidMount&&p.__h.push(p.componentDidMount);if(p.context=S,p.props=m,p.__P=l,p.__g&=-5,C=n.__r,j=0,b)p.state=p.__s,p.__g&=-9,C&&C(u),a=p.render(p.props,p.state,p.context),(A=p.__h).push.apply(A,p._sb),p._sb=[];else do{p.__g&=-9,C&&C(u),a=p.render(p.props,p.state,p.context),p.state=p.__s;}while(8&p.__g&&++j<25);p.state=p.__s,null!=p.getChildContext&&(i=d$1({},i,p.getChildContext())),b&&t.__c&&null!=p.getSnapshotBeforeUpdate&&(_=p.getSnapshotBeforeUpdate(v,w)),H=null!=a&&a.type===k$2&&null==a.key?z$1(a.props.children):a,e=L(l,y$1(H)?H:[H],u,t,i,r,o,f,e,c,s,h),u.__u&=-161,p.__h.length&&f.push(p),2&p.__g&&(p.__g&=-4);}catch(l){if(u.__v=null,c||null!=o)if(l.then){for(I=0,u.__u|=c?160:128,u.__c.__z=[],T=0;T<o.length;T++)null==(q=o[T])||O||(8==q.nodeType?("$s"==q.data?(I&&u.__c.__z.push(q),I++):"/$s"==q.data&&(--I&&u.__c.__z.push(q),O=0==I,e=o[T]),o[T]=null):I&&(u.__c.__z.push(q),o[T]=null));if(!O){for(;e&&8==e.nodeType&&e.nextSibling;)e=e.nextSibling;o[o.indexOf(e)]=null,u.__c.__z=[e];}u.__e=e;}else {for(N=o.length;N--;)g$1(o[N]);P(u);}else u.__e=t.__e,u.__k=t.__k,l.then||P(u);n.__e(l,u,t);}else e=u.__e=B$2(t.__e,u,t,i,r,o,f,c,s,h);return (a=n.diffed)&&a(u),128&u.__u?void 0:e}function P(n){n&&n.__c&&(n.__c.__g|=4),n&&n.__k&&n.__k.forEach(P);}function V$1(l,u,t){for(var i=0;i<t.length;i++)D$1(t[i],t[++i],t[++i]);n.__c&&n.__c(u,l),l.some(function(u){try{l=u.__h,u.__h=[],l.some(function(n){n.call(u);});}catch(l){n.__e(l,u.__v);}});}function z$1(n){return "object"!=typeof n||null==n||n.__b>0?n:y$1(n)?n.map(z$1):d$1({},n)}function B$2(l,u,t,i,r,o,f,e,c,s){var h,p,d,_,m,b,k,M,S=t.props||a$1,x=u.props,C=u.type;if("svg"==C?r="http://www.w3.org/2000/svg":"math"==C?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=o)for(h=0;h<o.length;h++)if((m=o[h])&&"setAttribute"in m==!!C&&(C?m.localName==C:3==m.nodeType)){l=m,o[h]=null;break}if(null==l){if(null==C)return s.createTextNode(x);l=s.createElementNS(r,C,x.is&&x),e&&(n.__m&&n.__m(u,o),e=false),o=null;}if(null==C)S===x||e&&l.data==x||(l.data=x);else {if(o=o&&w$1.call(l.childNodes),!e&&null!=o)for(S={},h=0;h<l.attributes.length;h++)S[(m=l.attributes[h]).name]=m.value;for(h in S)m=S[h],"dangerouslySetInnerHTML"==h?d=m:"children"==h||h in x||"value"==h&&"defaultValue"in x||"checked"==h&&"defaultChecked"in x||T$1(l,h,null,m,r);for(h in M=1&t.__u,x)m=x[h],"children"==h?_=m:"dangerouslySetInnerHTML"==h?p=m:"value"==h?b=m:"checked"==h?k=m:e&&"function"!=typeof m||S[h]===m&&!M||T$1(l,h,m,S[h],r);if(p)e||d&&(p.__html==d.__html||p.__html==l.innerHTML)||(l.innerHTML=p.__html),u.__k=[];else if(d&&(l.innerHTML=""),("foreignObject"==C||"http://www.w3.org/1998/Math/MathML"==r&&v$1.test(C))&&(r="http://www.w3.org/1999/xhtml"),L("template"==C?l.content:l,y$1(_)?_:[_],u,t,i,r,o,f,o?o[0]:t.__k&&$(t,0),e,c,s),null!=o)for(h=o.length;h--;)g$1(o[h]);e||(h="value","progress"==C&&null==b?l.removeAttribute("value"):null==b||b===l[h]&&("progress"!==C||b)||T$1(l,h,b,S[h],r),h="checked",null!=k&&k!=l[h]&&T$1(l,h,k,S[h],r));}return l}function D$1(l,u,t){try{"function"==typeof l?("function"==typeof l.__u&&l.__u(),"function"==typeof l.__u&&null==u||(l.__u=l(u))):l.current=u;}catch(l){n.__e(l,t);}}function E$1(l,u,t){var i,r;if(n.unmount&&n.unmount(l),!(i=l.ref)||i.current&&i.current!=l.__e||D$1(i,null,u),null!=(i=l.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(l){n.__e(l,u);}i.__P=null;}if(i=l.__k)for(r=0;r<i.length;r++)i[r]&&E$1(i[r],u,t||"function"!=typeof l.type);t||g$1(l.__e),l.__e&&l.__e.__l&&(l.__e.__l=null),l.__e=l.__c=l.__=null;}function F$1(n,l,u){return this.constructor(n,u)}function G$1(l,u){var t,i,r,o;u==document&&(u=document.documentElement),n.__&&n.__(l,u),i=(t=l&&32&l.__u)?null:u.__k,u.__k=_$1(k$2,null,[l]),r=[],o=[],N$1(u,u.__k,i||a$1,a$1,u.namespaceURI,i?null:u.firstChild?w$1.call(u.childNodes):null,r,i?i.__e:u.firstChild,t,o,u.ownerDocument),V$1(r,u.__k,o);}n={__e:function(n,l,u,t){for(var i,o,f;l=l.__;)if((i=l.__c)&&!(1&i.__g)){i.__g|=4;try{if((o=i.constructor)&&null!=o.getDerivedStateFromError&&(i.setState(o.getDerivedStateFromError(n)),f=8&i.__g),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),f=8&i.__g),f)return void(i.__g|=2)}catch(l){n=l;}}throw r$1=0,n}},l$1=0,M.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),this.__v&&(l&&this._sb.push(l),x(this)));},M.prototype.forceUpdate=function(n){this.__v&&(this.__g|=4,n&&this.__h.push(n),x(this));},M.prototype.render=k$2,t$1=[],r$1=0,o$2=function(n,l){return n.__v.__b-l.__v.__b},f$1=/(PointerCapture)$|Capture$/i,e$1=0,c$1=q$1(false),s$1=q$1(true);
1
+ var n,l$1,t$1,i$1,r$1,f$1,e$1,o$2,c$1,s$1,a$1,h$1,v$1={},y$1=[],w$2=/(mi|mn|mo|ms$|mte|msp)/,d$1=Array.isArray,g$1=y$1.slice,_$1=Object.assign;function b(n){n&&n.parentNode&&n.remove();}function m$1(n,l,u){var t,i,r,f={};for(r in l)"key"==r?t=l[r]:"ref"==r&&"function"!=typeof n?i=l[r]:f[r]=l[r];return arguments.length>2&&(f.children=arguments.length>3?g$1.call(arguments,2):u),k$1(n,f,t,i,null)}function k$1(u,t,i,r,f){var e={type:u,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==f?++l$1:f,__i:-1,__u:0};return null==f&&null!=n.vnode&&n.vnode(e),e}function $$1(n){return n.children}function S(n,l){this.props=n,this.context=l,this.__g=0;}function x$1(n,l){if(null==l)return n.__?x$1(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?x$1(n):null}function C$2(n){if(null!=(n=n.__)&&null!=n.__c)return n.__e=null,n.__k.some(function(l){if(null!=l&&null!=l.__e)return n.__e=l.__e}),C$2(n)}function L(l){(8&l.__g||!(l.__g|=8)||!t$1.push(l)||r$1++)&&i$1==n.debounceRendering||((i$1=n.debounceRendering)||queueMicrotask)(j$1);}function j$1(){var l,u,i,e,o,c,s,a,h;try{for(u=1;t$1.length;)t$1.length>u&&t$1.sort(f$1),l=t$1.shift(),u=t$1.length,8&l.__g&&(e=void 0,o=void 0,c=(o=(i=l).__v).__e,s=[],a=[],(h=i.__P)&&((e=_$1({},o)).__v=o.__v+1,n.vnode&&n.vnode(e),V(h,e,o,i.__n,h.namespaceURI,32&o.__u?[c]:null,s,null==c?x$1(o):c,!!(32&o.__u),a,h.ownerDocument),e.__v=o.__v,e.__.__k[e.__i]=e,B$1(s,e,a),o.__=o.__e=null,e.__e!=c&&C$2(e)));}finally{t$1.length=r$1=0;}}function A$1(n,l,u,t,i,r,f,e,o,c,s,a){var h,p,w,d,g,_,b,m=t&&t.__k||y$1,k=l.length;for(o=H(u,l,m,o,k),h=0;h<k;h++)null!=(w=u.__k[h])&&(p=-1!=w.__i&&m[w.__i]||v$1,w.__i=h,_=V(n,w,p,i,r,f,e,o,c,s,a),d=w.__e,w.ref&&p.ref!=w.ref&&(p.ref&&F(p.ref,null,w),s.push(w.ref,w.__c||d,w)),null==g&&null!=d&&(g=d),(b=4&w.__u)||p.__k===w.__k?(o=I(w,o,n,b),b&&p.__e&&(p.__e=null)):"function"==typeof w.type&&void 0!==_?o=_:d&&(o=d.nextSibling),w.__u&=-7);return u.__e=g,o}function H(n,l,u,t,i){var r,f,e,o,c,s=u.length,a=s,h=0;for(n.__k=new Array(i),r=0;r<i;r++)null!=(f=l[r])&&"boolean"!=typeof f&&"function"!=typeof f?("string"==typeof f||"number"==typeof f||"bigint"==typeof f||f.constructor==String?f=n.__k[r]=k$1(null,f,null,null,null):d$1(f)?f=n.__k[r]=k$1($$1,{children:f},null,null,null):void 0===f.constructor&&f.__b>0?f=n.__k[r]=k$1(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):n.__k[r]=f,o=r+h,f.__=n,f.__b=n.__b+1,e=null,-1!=(c=f.__i=T(f,u,o,a))&&(a--,(e=u[c])&&(e.__u|=2)),null==e||null==e.__v?(-1==c&&(i>s?h--:i<s&&h++),"function"!=typeof f.type&&(f.__u|=4)):c!=o&&(c==o-1?h--:c==o+1?h++:(c>o?h--:h++,f.__u|=4))):n.__k[r]=null;if(a)for(r=0;r<s;r++)null!=(e=u[r])&&0==(2&e.__u)&&(e.__e==t&&(t=x$1(e)),G$1(e,e));return t}function I(n,l,u,t){var i,r;if("function"==typeof n.type){for(i=n.__k,r=0;i&&r<i.length;r++)i[r]&&(i[r].__=n,l=I(i[r],l,u,t));return l}n.__e!=l&&(t&&(l&&n.type&&!l.parentNode&&(l=x$1(n)),u.insertBefore(n.__e,l||null)),l=n.__e);do{l=l&&l.nextSibling;}while(null!=l&&8==l.nodeType);return l}function O$1(n,l){return l=l||[],null==n||"boolean"==typeof n||(d$1(n)?n.some(function(n){O$1(n,l);}):l.push(n)),l}function T(n,l,u,t){var i,r,f,e=n.key,o=n.type,c=l[u],s=null!=c&&0==(2&c.__u);if(null===c&&null==e||s&&e==c.key&&o==c.type)return u;if(t>(s?1:0))for(i=u-1,r=u+1;i>=0||r<l.length;)if(null!=(c=l[f=i>=0?i--:r++])&&0==(2&c.__u)&&e==c.key&&o==c.type)return f;return -1}function q$1(n,l,u){"-"==l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":u;}function N$1(n,l,u,t,i){var r;n:if("style"==l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||q$1(n.style,l,"");if(u)for(l in u)t&&u[l]==t[l]||q$1(n.style,l,u[l]);}else if("o"==l[0]&&"n"==l[1])r=l!=(l=l.replace(c$1,"$1")),l=l.slice(2).toLowerCase(),n.__l||(n.__l={}),n.__l[l+r]=u,u?t?u[o$2]=t[o$2]:(u[o$2]=s$1,n.addEventListener(l,r?h$1:a$1,r)):n.removeEventListener(l,r?h$1:a$1,r);else {if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||false===u&&"-"!=l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u));}}function P$1(l){return function(u){if(this.__l){var t=this.__l[u.type+l];if(null==u[e$1])u[e$1]=s$1++;else if(u[e$1]<t[o$2])return;return t(n.event?n.event(u):u)}}}function V(l,u,t,i,r,f,e,o,c,s,a){var h,p,v,w,g,m,k,M,x,C,L,j,H,I,O,T,q,N,P,V,B,F=u.type;if(void 0!==u.constructor)return null;if(128&t.__u&&(c=32&t.__u)&&t.__c.__z){if(f=[],8==(p=t.__c.__z).nodeType)for(v=1,w=p.nextSibling;w&&v>0;w=w.nextSibling){if(8==w.nodeType)if(w.data.startsWith("$s"))v++;else if(w.data.startsWith("/$s")&&!--v)break;f.push(w);}else f.push(p);o=f[0],t.__c.__z=null;}(h=n.__b)&&h(u);n:if("function"==typeof F){g=e.length;try{if(C=u.props,L=F.prototype&&F.prototype.render,j=(h=F.contextType)&&i[h.__c],H=h?j?j.props.value:h.__:i,t.__c?2&(m=u.__c=t.__c).__g&&(m.__g|=1):(L?u.__c=m=new F(C,H):(u.__c=m=new S(C,H),m.constructor=F,m.render=J$1),j&&j.sub(m),m.state||(m.state={}),m.__n=i,m.__g|=8,m.__h=[],m._sb=[]),L&&null==m.__s&&(m.__s=m.state),L&&null!=F.getDerivedStateFromProps&&(m.__s==m.state&&(m.__s=_$1({},m.__s)),_$1(m.__s,F.getDerivedStateFromProps(C,m.__s))),k=m.props,M=m.state,m.__v=u,t.__c){if(L&&null==F.getDerivedStateFromProps&&C!==k&&null!=m.componentWillReceiveProps&&m.componentWillReceiveProps(C,H),u.__v==t.__v||!(4&m.__g)&&null!=m.shouldComponentUpdate&&!1===m.shouldComponentUpdate(C,m.__s,H)){u.__v!=t.__v&&(m.props=C,m.state=m.__s,m.__g&=-9),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u);}),y$1.push.apply(m.__h,m._sb),m._sb=[],m.__h.length&&e.push(m);break n}null!=m.componentWillUpdate&&m.componentWillUpdate(C,m.__s,H),L&&null!=m.componentDidUpdate&&m.__h.push(function(){m.componentDidUpdate(k,M,x);});}else L&&null==F.getDerivedStateFromProps&&null!=m.componentWillMount&&m.componentWillMount(),L&&null!=m.componentDidMount&&m.__h.push(m.componentDidMount);if(m.context=H,m.props=C,m.__P=l,m.__g&=-5,I=n.__r,O=0,L)m.state=m.__s,m.__g&=-9,I&&I(u),h=m.render(m.props,m.state,m.context),y$1.push.apply(m.__h,m._sb),m._sb=[];else do{m.__g&=-9,I&&I(u),h=m.render(m.props,m.state,m.context),m.state=m.__s;}while(8&m.__g&&++O<25);m.state=m.__s,null!=m.getChildContext&&(i=_$1({},i,m.getChildContext())),L&&t.__c&&null!=m.getSnapshotBeforeUpdate&&(x=m.getSnapshotBeforeUpdate(k,M)),T=null!=h&&h.type===$$1&&null==h.key?D$1(h.props.children):h,o=A$1(l,d$1(T)?T:[T],u,t,i,r,f,e,o,c,s,a),u.__u&=-161,m.__h.length&&e.push(m),2&m.__g&&(m.__g&=-4);}catch(l){if(e.length=g,u.__v=null,c||null!=f){if(l.then){if(q=0,u.__u|=c?160:128,null!=f)for(P=0;P<f.length;P++)if(null!=(V=f[P]))if(8==V.nodeType){if(V.data.startsWith("$s"))q||(N=V),q++;else if(V.data.startsWith("/$s")&&0==--q){o=V,f[P]=null;break}f[P]=null;}else q&&(f[P]=null);if(N)u.__c.__z=N;else {for(;o&&8==o.nodeType&&o.nextSibling;)o=o.nextSibling;null!=f&&(f[f.indexOf(o)]=null),u.__c.__z=o;}u.__e=o;}else if(null!=f)for(B=f.length;B--;)b(f[B]);}else u.__e=t.__e;null==u.__k&&(u.__k=t.__k||[]),l.then||z$2(u),n.__e(l,u,t);}}else o=u.__e=E(t.__e,u,t,i,r,f,e,c,s,a);return (h=n.diffed)&&h(u),128&u.__u?void 0:o}function z$2(n){n&&n.__c&&(n.__c.__g|=4),n&&n.__k&&n.__k.forEach(z$2);}function B$1(l,u,t){for(var i=0;i<t.length;i++)F(t[i],t[++i],t[++i]);n.__c&&n.__c(u,l),l.some(function(u){try{l=u.__h,u.__h=[],l.some(function(n){n.call(u);});}catch(l){n.__e(l,u.__v);}});}function D$1(n){return "object"!=typeof n||null==n||n.__b>0?n:d$1(n)?n.map(D$1):void 0!==n.constructor?null:_$1({},n)}function E(l,u,t,i,r,f,e,o,c,s){var a,h,p,y,_,m,k,M,$=t.props||v$1,S=u.props,C=u.type;if("svg"==C?r="http://www.w3.org/2000/svg":"math"==C?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=f)for(a=0;a<f.length;a++)if((_=f[a])&&"setAttribute"in _==!!C&&(C?_.localName==C:3==_.nodeType)){l=_,f[a]=null;break}if(null==l){if(null==C)return s.createTextNode(S);l=s.createElementNS(r,C,S.is&&S),o&&(n.__m&&n.__m(u,f),o=false),f=null;}if(null==C)$===S||o&&l.data==S||(l.data=S);else {if(f="textarea"==C&&null!=S.defaultValue?null:f&&g$1.call(l.childNodes),!o&&null!=f)for($={},a=0;a<l.attributes.length;a++)$[(_=l.attributes[a]).name]=_.value;for(a in $)_=$[a],"dangerouslySetInnerHTML"==a?p=_:"children"==a||a in S||"value"==a&&"defaultValue"in S||"checked"==a&&"defaultChecked"in S||N$1(l,a,null,_,r);for(a in M=1&t.__u,S)_=S[a],"children"==a?y=_:"dangerouslySetInnerHTML"==a?h=_:"value"==a?m=_:"checked"==a?k=_:o&&"function"!=typeof _||!($[a]!==_||M&&null!=_)||N$1(l,a,_,$[a],r);if(h)o||p&&(h.__html==p.__html||h.__html==l.innerHTML)||(l.innerHTML=h.__html),u.__k=[];else if(p&&(l.innerHTML=""),("foreignObject"==C||"http://www.w3.org/1998/Math/MathML"==r&&w$2.test(C))&&(r="http://www.w3.org/1999/xhtml"),A$1("template"==C?l.content:l,d$1(y)?y:[y],u,t,i,r,f,e,f?f[0]:t.__k&&x$1(t,0),o,c,s),null!=f)for(a=f.length;a--;)b(f[a]);o&&"textarea"!=C||(a="value","progress"==C&&null==m?l.removeAttribute("value"):null==m||m===l[a]&&("progress"!==C||m)||N$1(l,a,m,$[a],r),a="checked",null!=k&&k!=l[a]&&N$1(l,a,k,$[a],r));}return l}function F(l,u,t){try{"function"==typeof l?("function"==typeof l.__u&&l.__u(),"function"==typeof l.__u&&null==u||(l.__u=l(u))):l.current=u;}catch(l){n.__e(l,t);}}function G$1(l,u,t){var i,r;if(n.unmount&&n.unmount(l),!(i=l.ref)||i.current&&i.current!=l.__e||F(i,null,u),null!=(i=l.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(l){n.__e(l,u);}i.__P=i.__n=null;}if(i=l.__k)for(r=0;r<i.length;r++)i[r]&&G$1(i[r],u,t||"function"!=typeof l.type);t||b(l.__e),l.__e&&l.__e.__l&&(l.__e.__l=null),l.__e=l.__c=l.__=null;}function J$1(n,l,u){return this.constructor(n,u)}function K$1(l,u){var t,i,r,f;n.__&&n.__(l,u),9==u.nodeType&&(u=u.documentElement),i=(t=l&&32&l.__u)?null:u.__k,u.__k=m$1($$1,null,[l]),r=[],f=[],V(u,u.__k,i||v$1,v$1,u.namespaceURI,i?null:u.firstChild?g$1.call(u.childNodes):null,r,i?i.__e:u.firstChild,t,f,u.ownerDocument),B$1(r,u.__k,f),u.__k.props.children=null;}n={__e:function(n,l,u,t){for(var i,f,e;l=l.__;)if((i=l.__c)&&!(1&i.__g)){i.__g|=4;try{if((f=i.constructor)&&null!=f.getDerivedStateFromError&&(i.setState(f.getDerivedStateFromError(n)),e=8&i.__g),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),e=8&i.__g),e)return void(i.__g|=2)}catch(l){n=l;}}throw r$1=0,n}},l$1=0,S.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=_$1({},this.state),"function"==typeof n&&(n=n(_$1({},u),this.props)),n&&(_$1(u,n),this.__v&&(l&&this._sb.push(l),L(this)));},S.prototype.forceUpdate=function(n){this.__v&&(this.__g|=4,n&&this.__h.push(n),L(this));},S.prototype.render=$$1,t$1=[],r$1=0,f$1=function(n,l){return n.__v.__b-l.__v.__b},e$1=Symbol(),o$2=Symbol(),c$1=/(PointerCapture)$|Capture$/i,s$1=0,a$1=P$1(false),h$1=P$1(true);
2
2
 
3
- var t,r,u$1,i,o$1=Object.is,f=0,c=[],e=n,a=e.__b,v=e.__r,l=e.diffed,m=e.__c,p=e.unmount,s=e.__;function d(n,t){e.__h&&e.__h(r,n,f||t),f=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function y(n){return f=1,h(D,n)}function h(n,u,i){var f=d(t++,2);if(f.t=n,!f.__c&&(f.__=[i?i(u):D(void 0,u),function(n){var t=f.__N?f.__N[0]:f.__[0],r=f.t(t,n);o$1(t,r)||(f.__N=[r,f.__[1]],f.__c.setState({}));}],f.__c=r,!r.__f)){var c=function(n,t,r){if(!f.__c.__H)return true;var u=f.__c.__H.__,i=f.__c.props!==n||u.every(function(n){return !n.__N});return u.some(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,o$1(t,n.__[0])||(i=true);}}),e&&e.call(this,n,t,r)||i};r.__f=true;var e=r.shouldComponentUpdate,a=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(4&this.__g){var u=e;e=void 0,c(n,t,r),e=u;}a&&a.call(this,n,t,r);},r.shouldComponentUpdate=c;}return f.__}function _(n,u){var i=d(t++,3);!e.__s&&C$1(i.__H,u)&&(i.__=n,i.u=u,r.__H.__h.push(i));}function A(n,u){var i=d(t++,4);!e.__s&&C$1(i.__H,u)&&(i.__=n,i.u=u,r.__h.push(i));}function g(){for(var n;n=c.shift();)if(n.__P&&n.__H)try{n.__H.__h.some(z),n.__H.__h.some(B$1),n.__H.__h=[];}catch(t){n.__H.__h=[],e.__e(t,n.__v);}}e.__b=function(n){r=null,a&&a(n);},e.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t);},e.__r=function(n){v&&v(n),t=0;var i=(r=n.__c).__H;i&&(u$1===r?(i.__h=[],r.__h=[],i.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0;})):(i.__h.some(z),i.__h.some(B$1),i.__h=[],t=0)),u$1=r;},e.diffed=function(n){l&&l(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==c.push(t)&&i===e.requestAnimationFrame||((i=e.requestAnimationFrame)||w)(g)),t.__H.__.some(function(n){n.u&&(n.__H=n.u),n.u=void 0;})),u$1=r=null;},e.__c=function(n,t){t.some(function(n){try{n.__h.some(z),n.__h=n.__h.filter(function(n){return !n.__||B$1(n)});}catch(r){t.some(function(n){n.__h&&(n.__h=[]);}),t=[],e.__e(r,n.__v);}}),m&&m(n,t);},e.unmount=function(n){p&&p(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.some(function(n){try{z(n);}catch(n){t=n;}}),r.__H=void 0,t&&e.__e(t,r.__v));};var k$1="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k$1&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,35);k$1&&(t=requestAnimationFrame(r));}function z(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 !o$1(t,n[r])})}function D(n,t){return "function"==typeof t?t(n):t}
3
+ var t,r,u$1,i,o$1=Object.is,f=0,c=[],e=n,a=e.__b,v=e.__r,l=e.diffed,m=e.__c,p=e.unmount,s=e.__;function d(n,t){e.__h&&e.__h(r,n,f||t),f=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function y(n){return f=1,h(D,n)}function h(n,u,i){var f=d(t++,2);if(f.t=n,!f.__c&&(f.__=[i?i(u):D(void 0,u),function(n){var t=f.__N?f.__N[0]:f.__[0],r=f.t(t,n);o$1(t,r)||(f.__N=[r,f.__[1]],f.__c.setState({}));}],f.__c=r,!r.__f)){var c=function(n,t,r){if(!f.__c.__H)return true;var u=false,i=f.__c.props!==n;if(f.__c.__H.__.some(function(n){if(n.__N){u=true;var t=n.__[0];n.__=n.__N,n.__N=void 0,o$1(t,n.__[0])||(i=true);}}),e){var c=e.call(this,n,t,r);return u?c||i:c}return !u||i};r.__f=true;var e=r.shouldComponentUpdate,a=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(4&this.__g){var u=e;e=void 0,c(n,t,r),e=u;}a&&a.call(this,n,t,r);},r.shouldComponentUpdate=c;}return f.__}function _(n,u){var i=d(t++,3);!e.__s&&C$1(i.__H,u)&&(i.__=n,i.u=u,r.__H.__h.push(i));}function A(n,u){var i=d(t++,4);!e.__s&&C$1(i.__H,u)&&(i.__=n,i.u=u,r.__h.push(i));}function g(){for(var n;n=c.shift();){var t=n.__H;if(n.__P&&t)try{t.__h.some(z$1),t.__h.some(B),t.__h=[];}catch(r){t.__h=[],e.__e(r,n.__v);}}}e.__b=function(n){r=null,a&&a(n);},e.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t);},e.__r=function(n){v&&v(n),t=0;var i=(r=n.__c).__H;i&&(u$1===r?(i.__h=[],r.__h=[],i.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0;})):(i.__h.some(z$1),i.__h.some(B),i.__h=[],t=0)),u$1=r;},e.diffed=function(n){l&&l(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==c.push(t)&&i===e.requestAnimationFrame||((i=e.requestAnimationFrame)||w$1)(g)),t.__H.__.some(function(n){n.u&&(n.__H=n.u,n.u=void 0);})),u$1=r=null;},e.__c=function(n,t){t.some(function(n){try{n.__h.some(z$1),n.__h=n.__h.filter(function(n){return !n.__||B(n)});}catch(r){t.some(function(n){n.__h&&(n.__h=[]);}),t=[],e.__e(r,n.__v);}}),m&&m(n,t);},e.unmount=function(n){p&&p(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.some(function(n){try{z$1(n);}catch(n){t=n;}}),r.__H=void 0,t&&e.__e(t,r.__v));};var k="function"==typeof requestAnimationFrame;function w$1(n){var t,r=function(){clearTimeout(u),k&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,35);k&&(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(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 !o$1(t,n[r])})}function D(n,t){return "function"==typeof t?t(n):t}
4
4
 
5
- function E(n,e){var t=e(),r=y({t:{__:t,u:e}}),u=r[0].t,o=r[1];return A(function(){u.__=t,u.u=e,C(u)&&o({t:u});},[n,t,e]),_(function(){return C(u)&&o({t:u}),n(function(){C(u)&&o({t:u});})},[n]),t}function C(n){try{return !Object.is(n.__,n.u())}catch(n){return true}}var I=Object.assign;function k(n,e){for(var t in n)if("__source"!==t&&!(t in e))return true;for(var r in e)if("__source"!==r&&n[r]!==e[r])return true;return false}var N=/^(-|f[lo].*[^se]$|g.{5,}[^ps]$|z|o[pr]|(W.{5})?[lL]i.*(t|mp)$|an|(bo|s).{4}Im|sca|m.{6}[ds]|ta|c.*[st]$|wido|ini)/;function O(n,e){this.props=n,this.context=e;}(O.prototype=new M).isPureReactComponent=true,O.prototype.shouldComponentUpdate=function(n,e){return k(this.props,n)||k(this.state,e)};var F=n.__e;n.__e=function(n,e,t,r){if(n.then)for(var u,o=e;o=o.__;)if((u=o.__c)&&u.__c)return null==e.__e&&(e.__e=t.__e,e.__k=t.__k),u.__c(n,e);F(n,e,t,r);};var T=n.unmount;function V(n,e,t){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=I({},n)).__c&&(n.__c.__P===t&&(n.__c.__P=e),n.__c.__g|=4,n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return V(n,e,t)})),n}function j(n,e,t){return n&&t&&("string"==typeof n.type&&(n.__u|=1),n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return j(n,e,t)}),n.__c&&n.__c.__P===e&&(n.__e&&t.appendChild(n.__e),n.__c.__g|=4,n.__c.__P=t)),n}function W(){this.__u=0,this.o=null,this.__b=null;}n.unmount=function(n){var e=n.__c;e&&(e.__z=true),e&&e.__R&&e.__R(),T&&T(n);},(W.prototype=new M).__c=function(n,e){var t=e.__c,r=this;null==r.o&&(r.o=[]),r.o.push(t);var u=false,o=function(){u||r.__z||(u=true,t.__R=null,l());};t.__R=o;var i=t.__P;t.__P=null;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=j(n,n.__c.__P,n.__c.__O);}var e;for(r.setState({__a:r.__b=null});e=r.o.pop();)e.__P=i,e.forceUpdate();}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(o,o);},W.prototype.componentWillUnmount=function(){this.o=[];},W.prototype.render=function(n,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=V(this.__b,r,o.__O=o.__P);}this.__b=null;}return [_$1(k$2,null,t.__a?null:n.children),t.__a&&_$1(k$2,null,n.fallback)]};var B=Symbol.for("react.element"),Z=/^(?: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]/,Y=/[A-Z0-9]/g,q="undefined"!=typeof document,G=function(n){return /fil|che|rad/.test(n)};M.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(M.prototype,e,{configurable:true,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:true,writable:true,value:n});}});});var Q=n.event;function X(){}function nn(){return this.cancelBubble}function en(){return this.defaultPrevented}n.event=function(n){return Q&&(n=Q(n)),n.persist=X,n.isPropagationStopped=nn,n.isDefaultPrevented=en,n.nativeEvent=n};var rn={enumerable:false,configurable:true,get:function(){return this.class}},un=n.vnode;n.vnode=function(n){if("string"==typeof n.type)!function(n){var e=n.props,r=n.type,u={},o=-1===r.indexOf("-");for(var i in e){var l=e[i];if(!("value"===i&&"defaultValue"in e&&null==l||q&&"children"===i&&"noscript"===r||"class"===i||"className"===i)){if("style"===i&&"object"==typeof l)for(var c in l)"number"!=typeof l[c]||N.test(c)||(l[c]+="px");else if("defaultValue"===i&&"value"in e&&null==e.value)i="value";else if("download"===i&&true===l)l="";else if("translate"===i&&"no"===l)l=false;else if("o"===i[0]&&"n"===i[1]){var a=i.toLowerCase();"ondoubleclick"===a?i="ondblclick":"onchange"!==a||"input"!==r&&"textarea"!==r||G(e.type)?"onfocus"===a?i="onfocusin":"onblur"===a&&(i="onfocusout"):a=i="oninput","oninput"===a&&u[i=a]&&(i="oninputCapture");}else o&&Z.test(i)?i=i.replace(Y,"-$&").toLowerCase():null===l&&(l=void 0);u[i]=l;}}"select"==r&&u.multiple&&Array.isArray(u.value)&&(u.value=H(e.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),"select"==r&&null!=u.defaultValue&&(u.value=H(e.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;})),e.class&&!e.className?(u.class=e.class,Object.defineProperty(u,"className",rn)):e.className&&(u.class=u.className=e.className),n.props=u;}(n);else if("function"==typeof n.type&&("ref"in n.props&&"prototype"in n.type&&n.type.prototype.render&&(n.ref=n.props.ref,delete n.props.ref),n.type.defaultProps)){var e=I({},n.props);for(var r in n.type.defaultProps) void 0===e[r]&&(e[r]=n.type.defaultProps[r]);n.props=e;}n.$$typeof=B,un&&un(n);};var on=n.__r;n.__r=function(n){on&&on(n),n.__c;};var ln=n.diffed;n.diffed=function(n){ln&&ln(n);var e=n.props,t=n.__e;null!=t&&"textarea"===n.type&&"value"in e&&e.value!==t.value&&(t.value=null==e.value?"":e.value);};
5
+ var C=Object.assign;function x(n,t){for(var e in n)if("__source"!==e&&n[e]!==t[e])return true;for(var r in t)if("__source"!==r&&!(r in n))return true;return false}var R=/^(-|f[lo].*[^se]$|g.{5,}[^ps]$|z|o[pr]|(W.{5})?[lL]i.*(t|mp)$|an|(bo|s).{4}Im|sca|m.{6}[ds]|ta|c.*[st]$|wido|ini)/;function w(n,t){this.props=n,this.context=t;}(w.prototype=new S).isPureReactComponent=true,w.prototype.shouldComponentUpdate=function(n,t){return x(this.props,n)||x(this.state,t)};function N(n,t){var e=t(),r=y({t:{__:e,u:t}}),u=r[0].t,o=r[1];return A(function(){u.__=e,u.u=t,O(u)&&o({t:u});},[n,e,t]),_(function(){return O(u)&&o({t:u}),n(function(){O(u)&&o({t:u});})},[n]),e}function O(n){try{return !Object.is(n.__,n.u())}catch(n){return true}}var j=Symbol.for("react.element"),W=/^(?: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]/,$=/[A-Z0-9]/g,z="undefined"!=typeof document,P=function(n){return /fil|che|rad/.test(n)};S.prototype.isReactComponent=true,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(n){Object.defineProperty(S.prototype,n,{configurable:true,get:function(){return this["UNSAFE_"+n]},set:function(t){Object.defineProperty(this,n,{configurable:true,writable:true,value:t});}});});var Z=n.event;n.event=function(n){return Z&&(n=Z(n)),n.persist=function(){},n.isPropagationStopped=function(){return this.cancelBubble},n.isDefaultPrevented=function(){return this.defaultPrevented},n.nativeEvent=n};var q={configurable:true,get:function(){return this.class}},G=n.vnode;n.vnode=function(t){if("string"==typeof t.type)!function(t){var e=t.props,r=t.type,u={},o=-1==r.indexOf("-");for(var i in e){var l=e[i];if(!("value"===i&&"defaultValue"in e&&null==l||z&&"children"===i&&"noscript"===r||"class"===i||"className"===i)){if("style"===i&&"object"==typeof l)for(var a in l)"number"!=typeof l[a]||R.test(a)||(l[a]+="px");else if("defaultValue"===i&&"value"in e&&null==e.value)i="value";else if("download"===i&&true===l)l="";else if("translate"===i&&"no"===l)l=false;else if("o"===i[0]&&"n"===i[1]){var c=i.toLowerCase();"ondoubleclick"===c?i="ondblclick":"onchange"!==c||"input"!==r&&"textarea"!==r||P(e.type)?"onfocus"===c?i="onfocusin":"onblur"===c&&(i="onfocusout"):c=i="oninput","oninput"===c&&u[i=c]&&(i="oninputCapture");}else o&&W.test(i)?i=i.replace($,"-$&").toLowerCase():null===l&&(l=void 0);u[i]=l;}}"select"==r&&(u.multiple&&Array.isArray(u.value)&&(u.value=O$1(e.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value);})),null!=u.defaultValue&&(u.value=O$1(e.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value;}))),e.class&&!e.className?(u.class=e.class,Object.defineProperty(u,"className",q)):e.className&&(u.class=u.className=e.className),t.props=u;}(t);else if("function"==typeof t.type&&("ref"in t.props&&"prototype"in t.type&&t.type.prototype.render&&(t.ref=t.props.ref,delete t.props.ref),t.type.defaultProps)){var e=C({},t.props);for(var r in t.type.defaultProps) void 0===e[r]&&(e[r]=t.type.defaultProps[r]);t.props=e;}t.$$typeof=j,G&&G(t);};var J=n.__r;n.__r=function(n){J&&J(n),n.__c;};var K=n.diffed;n.diffed=function(n){K&&K(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);};var X=n.__e;n.__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);X(n,t,e,r);};var nn=n.unmount;function tn(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=C({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c.__g|=4,n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return tn(n,t,e)})),n}function en(n,t,e){return n&&e&&("string"==typeof n.type&&(n.__u|=1),n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return en(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.appendChild(n.__e),n.__c.__g|=4,n.__c.__P=e)),n}function rn(){this.__u=0,this.l=null,this.__b=null;}n.unmount=function(n){var t=n.__c;t&&(t.__z=true),t&&t.__R&&t.__R(),nn&&nn(n);},(rn.prototype=new S).__c=function(n,t){var e=this,r=t.__c;null==this.l&&(this.l=[]),this.l.push(r);var u=false,o=function(){u||e.__z||(u=true,r.__R=null,l());};r.__R=o;var i=r.__P;r.__P=null;var l=function(){if(!--e.__u){if(e.state.__a){var n=e.state.__a;e.__v.__k[0]=en(n,n.__c.__P,n.__c.__O);}var t;for(e.setState({__a:e.__b=null});t=e.l.pop();)t.__P=i,t.forceUpdate();}};this.__u++||32&t.__u||this.setState({__a:this.__b=this.__v.__k[0]}),n.then(o,o);},rn.prototype.componentWillUnmount=function(){this.l=[];},rn.prototype.render=function(n,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),u=this.__v.__k[0].__c;this.__v.__k[0]=tn(this.__b,r,u.__O=u.__P);}this.__b=null;}return [m$1($$1,null,t.__a?null:n.children),t.__a&&m$1($$1,null,n.fallback)]};
6
6
 
7
7
  var o=0;function u(t,e,n$1,f,u,i){e||(e={});var a,c,l=e;if("ref"in l&&"function"!=typeof t)for(c in l={},e)"ref"==c?a=e[c]:l[c]=e[c];var p={type:t,props:l,key:n$1,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--o,__i:-1,__u:0,__source:u,__self:i};return n.vnode&&n.vnode(p),p}
8
8
 
9
- export { E, G$1 as G, k$2 as k, u };
9
+ export { $$1 as $, K$1 as K, N, u };
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- var runtime = (function (exports$1) {
8
+ var runtime = (function (exports) {
9
9
 
10
10
  var Op = Object.prototype;
11
11
  var hasOwn = Op.hasOwnProperty;
@@ -45,7 +45,7 @@ var runtime = (function (exports$1) {
45
45
 
46
46
  return generator;
47
47
  }
48
- exports$1.wrap = wrap;
48
+ exports.wrap = wrap;
49
49
 
50
50
  // Try/catch helper to minimize deoptimizations. Returns a completion
51
51
  // record like context.tryEntries[i].completion. This interface could
@@ -119,7 +119,7 @@ var runtime = (function (exports$1) {
119
119
  });
120
120
  }
121
121
 
122
- exports$1.isGeneratorFunction = function(genFun) {
122
+ exports.isGeneratorFunction = function(genFun) {
123
123
  var ctor = typeof genFun === "function" && genFun.constructor;
124
124
  return ctor
125
125
  ? ctor === GeneratorFunction ||
@@ -129,7 +129,7 @@ var runtime = (function (exports$1) {
129
129
  : false;
130
130
  };
131
131
 
132
- exports$1.mark = function(genFun) {
132
+ exports.mark = function(genFun) {
133
133
  if (Object.setPrototypeOf) {
134
134
  Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
135
135
  } else {
@@ -144,7 +144,7 @@ var runtime = (function (exports$1) {
144
144
  // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
145
145
  // `hasOwn.call(value, "__await")` to determine if the yielded value is
146
146
  // meant to be awaited.
147
- exports$1.awrap = function(arg) {
147
+ exports.awrap = function(arg) {
148
148
  return { __await: arg };
149
149
  };
150
150
 
@@ -219,12 +219,12 @@ var runtime = (function (exports$1) {
219
219
  AsyncIterator.prototype[asyncIteratorSymbol] = function () {
220
220
  return this;
221
221
  };
222
- exports$1.AsyncIterator = AsyncIterator;
222
+ exports.AsyncIterator = AsyncIterator;
223
223
 
224
224
  // Note that simple async functions are implemented on top of
225
225
  // AsyncIterator objects; they just return a Promise for the value of
226
226
  // the final result produced by the iterator.
227
- exports$1.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
227
+ exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {
228
228
  if (PromiseImpl === void 0) PromiseImpl = Promise;
229
229
 
230
230
  var iter = new AsyncIterator(
@@ -232,7 +232,7 @@ var runtime = (function (exports$1) {
232
232
  PromiseImpl
233
233
  );
234
234
 
235
- return exports$1.isGeneratorFunction(outerFn)
235
+ return exports.isGeneratorFunction(outerFn)
236
236
  ? iter // If outerFn is a generator, return the full iterator.
237
237
  : iter.next().then(function(result) {
238
238
  return result.done ? result.value : iter.next();
@@ -450,7 +450,7 @@ var runtime = (function (exports$1) {
450
450
  this.reset(true);
451
451
  }
452
452
 
453
- exports$1.keys = function(object) {
453
+ exports.keys = function(object) {
454
454
  var keys = [];
455
455
  for (var key in object) {
456
456
  keys.push(key);
@@ -511,7 +511,7 @@ var runtime = (function (exports$1) {
511
511
  // Return an iterator with no values.
512
512
  return { next: doneResult };
513
513
  }
514
- exports$1.values = values;
514
+ exports.values = values;
515
515
 
516
516
  function doneResult() {
517
517
  return { value: undefined$1, done: true };
@@ -721,7 +721,7 @@ var runtime = (function (exports$1) {
721
721
  // or not, return the runtime object so that we can declare the variable
722
722
  // regeneratorRuntime in the outer scope, which allows this module to be
723
723
  // injected easily by `bin/regenerator --include-runtime script.js`.
724
- return exports$1;
724
+ return exports;
725
725
 
726
726
  }(
727
727
  // If this script is executing as a CommonJS module, use module.exports
@@ -5284,13 +5284,13 @@ const applyPackageResolve = (packageSpecifier, resolutionContext) => {
5284
5284
  : resolvePackageSymlink(packageDirectoryFacadeUrl);
5285
5285
  const packageJson = readPackageJson(packageDirectoryUrl);
5286
5286
  if (packageJson !== null) {
5287
- const { exports: exports$1 } = packageJson;
5288
- if (exports$1 !== null && exports$1 !== undefined) {
5287
+ const { exports } = packageJson;
5288
+ if (exports !== null && exports !== undefined) {
5289
5289
  return applyPackageExportsResolution(packageSubpath, {
5290
5290
  ...resolutionContext,
5291
5291
  packageDirectoryUrl,
5292
5292
  packageJson,
5293
- exports: exports$1,
5293
+ exports,
5294
5294
  });
5295
5295
  }
5296
5296
  }
@@ -5328,8 +5328,8 @@ const applyPackageSelfResolution = (packageSubpath, resolutionContext) => {
5328
5328
  if (packageJson.name !== packageName) {
5329
5329
  return undefined;
5330
5330
  }
5331
- const { exports: exports$1 } = packageJson;
5332
- if (!exports$1) {
5331
+ const { exports } = packageJson;
5332
+ if (!exports) {
5333
5333
  const subpathResolution = applyLegacySubpathResolution(packageSubpath, {
5334
5334
  ...resolutionContext,
5335
5335
  packageDirectoryUrl,
@@ -8322,7 +8322,7 @@ const createUrlInfoTransformer = ({
8322
8322
  urlInfo.isInline ||
8323
8323
  (sources &&
8324
8324
  sources.some((source) => !source || !source.startsWith("file:")));
8325
- if (sources && sources.length > 1) {
8325
+ if (sources && sources.length > 0) {
8326
8326
  sourcemap.sources = sources.map(
8327
8327
  (source) => new URL(source, urlInfo.originalUrl).href,
8328
8328
  );
@@ -8331,6 +8331,11 @@ const createUrlInfoTransformer = ({
8331
8331
  }
8332
8332
  return sourcemap;
8333
8333
  }
8334
+ // No source info at all (e.g. an empty sourcemap): only then fall back
8335
+ // to describing this url as its own source. A single source is real
8336
+ // information (it can point at a different file entirely, e.g. a
8337
+ // bundled chunk whose only literal content comes from another module)
8338
+ // and must not be discarded in favor of this assumption.
8334
8339
  sourcemap.sources = [urlInfo.originalUrl];
8335
8340
  sourcemap.sourcesContent = [urlInfo.originalContent];
8336
8341
  if (!wantSourcesContent) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/core",
3
- "version": "41.2.11",
3
+ "version": "41.2.13",
4
4
  "type": "module",
5
5
  "description": "Tool to develop, test and build js projects",
6
6
  "repository": {
@@ -72,20 +72,20 @@
72
72
  "test:snapshot_clear": "npx @jsenv/filesystem clear **/tests/**/side_effects/"
73
73
  },
74
74
  "dependencies": {
75
- "@jsenv/ast": "6.8.3",
76
- "@jsenv/js-module-fallback": "1.4.33",
77
- "@jsenv/plugin-bundling": "2.10.13",
78
- "@jsenv/plugin-minification": "1.7.4",
79
- "@jsenv/plugin-supervisor": "1.8.4",
80
- "@jsenv/plugin-transpilation": "1.5.75",
75
+ "@jsenv/ast": "6.8.4",
76
+ "@jsenv/js-module-fallback": "1.4.35",
77
+ "@jsenv/plugin-bundling": "2.10.15",
78
+ "@jsenv/plugin-minification": "1.7.5",
79
+ "@jsenv/plugin-supervisor": "1.8.6",
80
+ "@jsenv/plugin-transpilation": "1.5.77",
81
81
  "@jsenv/server": "17.3.1",
82
- "@jsenv/sourcemap": "1.3.19",
82
+ "@jsenv/sourcemap": "1.4.1",
83
83
  "react-table": "7.8.0"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@babel/eslint-parser": "7.28.6",
87
87
  "@babel/plugin-syntax-decorators": "7.28.6",
88
- "@babel/plugin-syntax-import-attributes": "7.28.6",
88
+ "@babel/plugin-syntax-import-attributes": "7.29.7",
89
89
  "@babel/plugin-syntax-optional-chaining-assign": "7.28.6",
90
90
  "@jsenv/abort": "workspace:*",
91
91
  "@jsenv/assert": "workspace:*",
@@ -114,24 +114,24 @@
114
114
  "@jsenv/url-meta": "workspace:*",
115
115
  "@jsenv/urls": "workspace:*",
116
116
  "@jsenv/utils": "workspace:*",
117
- "@playwright/browser-chromium": "1.58.1",
118
- "@playwright/browser-firefox": "1.58.1",
119
- "@playwright/browser-webkit": "1.58.1",
117
+ "@playwright/browser-chromium": "1.61.1",
118
+ "@playwright/browser-firefox": "1.61.1",
119
+ "@playwright/browser-webkit": "1.61.1",
120
120
  "babel-plugin-transform-async-to-promises": "0.8.18",
121
121
  "eslint": "9.39.2",
122
- "eslint-plugin-import-x": "4.16.2",
122
+ "eslint-plugin-import-x": "4.17.1",
123
123
  "eslint-plugin-react": "7.37.5",
124
- "eslint-plugin-regexp": "3.1.0",
125
- "globals": "17.4.0",
124
+ "eslint-plugin-regexp": "3.1.1",
125
+ "globals": "17.7.0",
126
126
  "open": "11.0.0",
127
- "playwright": "1.58.1",
128
- "preact": "11.0.0-beta.1",
129
- "prettier": "3.8.1",
127
+ "playwright": "1.61.1",
128
+ "preact": "11.0.0-beta.2",
129
+ "prettier": "3.9.6",
130
130
  "prettier-plugin-css-order": "git+https://github.com/dmail-fork/prettier-plugin-css-order.git",
131
131
  "prettier-plugin-embed": "0.5.1",
132
132
  "prettier-plugin-organize-imports": "4.3.0",
133
133
  "prettier-plugin-pkg": "0.22.1",
134
- "prettier-plugin-sql": "0.19.2",
134
+ "prettier-plugin-sql": "0.20.0",
135
135
  "strip-ansi": "7.2.0"
136
136
  },
137
137
  "publishConfig": {
@@ -59,7 +59,7 @@ export const createUrlInfoTransformer = ({
59
59
  urlInfo.isInline ||
60
60
  (sources &&
61
61
  sources.some((source) => !source || !source.startsWith("file:")));
62
- if (sources && sources.length > 1) {
62
+ if (sources && sources.length > 0) {
63
63
  sourcemap.sources = sources.map(
64
64
  (source) => new URL(source, urlInfo.originalUrl).href,
65
65
  );
@@ -68,6 +68,11 @@ export const createUrlInfoTransformer = ({
68
68
  }
69
69
  return sourcemap;
70
70
  }
71
+ // No source info at all (e.g. an empty sourcemap): only then fall back
72
+ // to describing this url as its own source. A single source is real
73
+ // information (it can point at a different file entirely, e.g. a
74
+ // bundled chunk whose only literal content comes from another module)
75
+ // and must not be discarded in favor of this assumption.
71
76
  sourcemap.sources = [urlInfo.originalUrl];
72
77
  sourcemap.sourcesContent = [urlInfo.originalContent];
73
78
  if (!wantSourcesContent) {