New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@builderx/bridge

Package Overview
Dependencies
Maintainers
0
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@builderx/bridge - npm Package Compare versions

Comparing version

to
1.0.23

22

dist/index.cjs.js

@@ -1,2 +0,2 @@

"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});console.log("Before initBridge function definition");function ee(){if(typeof window<"u"){let N=function(r){if(typeof window<"u")try{window.parent.postMessage(r,"*")}catch(l){console.error("Error sending message to parent:",l)}},V=function(){const r=U();if(r){const l=et(r,!1),c=window==null?void 0:window.reactElementTree;let u=[];c&&(u=D(l,c));const e={type:"onUpdateTree",data:l,previousData:c,addedLayers:u,artboardId:window.artboardId};window.reactElementTree=l,N(e)}},D=function(r,l){let c=[];function u(a,i,p=0){if(!a)return;const h=(!a.children||a.children.length===0)&&(!a.componentTree||!a.componentTree.children||a.componentTree.children.length===0);a.path&&h&&i.set(a.path,p),a.children&&a.children.forEach(f=>u(f,i,p+1)),a.componentTree&&u(a.componentTree,i,p+1)}const e=new Map,o=new Map;if(u(r,e),u(l,o),e.forEach((a,i)=>{o.has(i)||c.push({path:i,depth:a})}),c.sort((a,i)=>i.depth-a.depth),c.length>0){const a=c[0].depth;c=c.filter(i=>i.depth===a)}return c.map(a=>a.path)},O=function(){N({type:"onDomUpdate",artboardId:window.artboardId})},M=function(r=10,l=500){let c=0;const u=setInterval(()=>{U()&&window.artboardId?(clearInterval(u),V()):c>=r&&(clearInterval(u),console.error("Failed to find React root fiber node after multiple attempts")),c++},l)},S=function(r){var c,u;let l=null;try{for(;r;){if(r.stateNode instanceof HTMLElement||r.stateNode instanceof SVGElement){l=r.stateNode;break}if(((c=r.child)==null?void 0:c.memoizedProps["data-bx-path"])===r.memoizedProps["data-bx-path"]||((u=r.return)==null?void 0:u.memoizedProps["data-bx-path"])===r.memoizedProps["data-bx-path"])break;r.child?r=r.child:r=r.return}}catch(e){console.error("Error in getDomNodeFromFiber:",e)}return l},W=function(r){const{id:l,fnName:c,fnArgs:u}=r.payload;let e;switch(c){case"add":e=u.a+u.b;break;case"getLayerById":e=at(u);break;case"getLayerComputedStyle":e=$(u);break;case"getLayerAtXY":e=x(u);break;case"setLayerResizing":e=Z(u);break;case"findContainerForDimensions":e=st(u);break;case"getPositionedAncestorOffset":e=it(u);break;case"getPathOfChildFromParent":e=F(u);break;default:console.warn(`Unknown RPC function: ${c}`);return}N({type:"rpcResolved",calledMethod:c,id:l,result:e})},Z=function({isResizing:r}){window.layerResizing=r},x=function(r){let{x:l,y:c,inLayers:u,zoomLevel:e}=r;const o=document.elementFromPoint(l,c);let a,i=I(o),p=null;if(u&&Array.isArray(u))for(;i;){const h=i.memoizedProps;if(h&&"data-bx-path"in h&&(a=h["data-bx-path"],a&&u.includes(a))){p=S(i);break}i=i.return}else p=o,a=i==null?void 0:i.memoizedProps["data-bx-path"];if(p){const h=p.getBoundingClientRect(),f={x:h.left,y:h.top,width:h.width,height:h.height,path:a};return f.container=K(i,p),f}return null},J=function(r){const l=rt(r);let c;return l&&(c=S(l)),c||(c=document.querySelector(`[data-bx-path="${r}"]`)),c},at=function(r){try{const{layerId:l}=r,c=J(l);if(c){const u=c.getBoundingClientRect(),e=window.getComputedStyle(c),o=e.transform,a=e.rotate;let i=0;if(a&&a!=="none")i=parseFloat(a);else if(o&&o!=="none"){const f=o.split("(")[1].split(")")[0].split(",");i=Math.round(Math.atan2(Number(f[1]),Number(f[0]))*(180/Math.PI))}const p={x:u.left,y:u.top,width:u.width,height:u.height,path:l,rotation:i};let h=I(c);return p.container=K(h,c),p}return null}catch(l){return console.error("Error in getLayerById:",l),null}},st=function({x:r,y:l,width:c,height:u,artboardId:e}){const o=document.querySelector(`[data-bx-path^="${e}"]`);if(!o)return console.error(`Artboard with ID ${e} not found`),null;const a=o.querySelectorAll("[data-bx-path]");let i=null,p=1/0;if(a.forEach(h=>{const f=h.getBoundingClientRect(),v=h.getAttribute("data-bx-path");if(f.left<=r&&f.top<=l&&f.left+f.width>=r+c&&f.top+f.height>=l+u){const b=f.width*f.height;b<p&&(p=b,i={path:v,x:f.left,y:f.top,width:f.width,height:f.height,container:{x:0,y:0}})}}),!i){const h=o.getBoundingClientRect();i={path:o.getAttribute("data-bx-path"),x:h.left,y:h.top,width:h.width,height:h.height,container:{x:0,y:0}}}return i},it=function({elementPath:r,artboardId:l,position:c}){const u=document.querySelector(`[data-bx-path^="${l}"]`);if(!u)return console.error(`Artboard with ID ${l} not found`),null;const e=u==null?void 0:u.querySelectorAll(`[data-bx-path="${r}"]`);if(!e)return{x:0,y:0};let o=null,a=1/0;if(e.forEach(p=>{const h=p.getBoundingClientRect(),f=h.left+h.width/2,v=h.top+h.height/2,b=Math.sqrt(Math.pow(f-c.x,2)+Math.pow(v-c.y,2));b<a&&(a=b,o=p)}),!o)return{x:0,y:0};const i=o.getBoundingClientRect();return{x:i.left,y:i.top}},F=function({path:r,artboardId:l,index:c}){const u=document==null?void 0:document.querySelector(`[data-bx-path="${r}"]`);if(!u)return null;const e=u.children;if(e.length===0)return null;const o=typeof c=="number"?c:e.length-1;return o<0||o>=e.length?null:e[o].getAttribute("data-bx-path")},$=function(r){const{layerId:l}=r,c=J(l);if(c){const u=window.getComputedStyle(c);return JSON.parse(JSON.stringify(u))}else return null},I=function(r){if(!r)return null;const l=Object.keys(r).find(c=>c.startsWith("__reactFiber$")||c.startsWith("__reactContainer$")||c.startsWith("__reactInternalInstance$"));return l?r[l]:null},U=function(){const r=document.querySelector("body"),l=r==null?void 0:r.querySelector("[data-bx-path]");return l?I(l):null},G=function(r){return typeof r=="object"&&r!==null&&"type"in r&&"props"in r&&"key"in r},Y=function(r){return!r||!r._debugInfo?null:{name:r._debugInfo.name,env:r._debugInfo.env}},C=function(r,l,c){if(!r||!l)return null;function u(e){if(!e)return null;if(e!=null&&e.memoizedProps&&(e==null?void 0:e.memoizedProps["data-bx-path"])===l)return e;if(e.child){const o=u(e.child);if(o)return o}if(e.sibling){const o=u(e.sibling);if(o)return o}return null}return u(r)},L=function(r){var c,u;return(r==null?void 0:r.displayName)||((c=r==null?void 0:r.type)==null?void 0:c.displayName)||((u=r==null?void 0:r.type)==null?void 0:u.name)||(typeof(r==null?void 0:r.type)=="string"?r==null?void 0:r.type:"AnonymousComponent")},tt=function(r,l=!1){function c(u){var i,p,h;const e=C(u==null?void 0:u._owner,(i=u==null?void 0:u.props)==null?void 0:i["data-bx-path"]);if(!e&&!G(u))return null;let o=nt(e,l);const a={displayName:L(u),path:((p=u.props)==null?void 0:p["data-bx-path"])||null,fiber:l?e:null,componentTree:o,debugInfo:Y(u),children:[]};if((h=u.props)!=null&&h.children)if(Array.isArray(u.props.children))a.children=u.props.children.map(f=>c(f)).filter(Boolean);else{const f=c(u.props.children);f&&(a.children=[f])}return ct(e)&&(a!=null&&a.children)&&(o!=null&&o.children)&&(a.children=a.children.filter(f=>!o.children.some(v=>v.path===f.path))),a}if(Array.isArray(r))return r.map(c).filter(Boolean);if(G(r)){const u=c(r);return u?[u]:[]}return[]},ct=function(r){var o;const l=(o=r==null?void 0:r.memoizedProps)==null?void 0:o.children;if(!l&&!(r!=null&&r.child))return!1;if(!l)return!0;let c=r.child;const u=[];for(;c;)u.push(c),c=c.sibling;const e=(a,i)=>{var p,h;return typeof a=="string"?(i==null?void 0:i.memoizedProps)===a:((p=a==null?void 0:a.props)==null?void 0:p["data-bx-path"])===((h=i==null?void 0:i.memoizedProps)==null?void 0:h["data-bx-path"])};return Array.isArray(l)?l.length!==u.length?!0:!l.every((a,i)=>e(a,u[i])):u.length!==1||!e(l,u[0])},P=function(r,l=!1){var o,a;let c=[],u=null,e=r.child;for(;e;){const i=P(e,l),p=i.children;(o=e.memoizedProps)!=null&&o.children&&(Array.isArray(e.memoizedProps.children)?e.memoizedProps.children:[e.memoizedProps.children]).forEach(v=>{var b;p.some(j=>{var H;return j.path===((H=v==null?void 0:v.props)==null?void 0:H["data-bx-path"])})||p.push({displayName:L(v),debugInfo:Y(v==null?void 0:v._owner),path:((b=v==null?void 0:v.props)==null?void 0:b["data-bx-path"])||null,props:{...v==null?void 0:v.props},_owner:v==null?void 0:v._owner})});const h={displayName:L(e),debugInfo:Y(e),path:((a=e.memoizedProps)==null?void 0:a["data-bx-path"])||null,props:{...e.memoizedProps,children:p},componentTree:i.componentTree,_owner:e};c.push(h),e=e.sibling}return r!=null&&r.stateNode&&(r!=null&&r.stateNode.children)&&Array.from(r==null?void 0:r.stateNode.children).forEach(p=>{const h=p.getAttribute("data-bx-path");if(h&&!c.some(f=>f.path===h)){const f=I(p);c.push({displayName:p.tagName.toLowerCase(),path:h,props:{...f==null?void 0:f.memoizedProps},debugInfo:Y(f),_owner:f})}}),{children:c,componentTree:u}},nt=function(r,l=!1){var e;if(!r)return null;const c={displayName:"Component-"+L(r),debugInfo:Y(r),path:((e=r.memoizedProps)==null?void 0:e["data-bx-path"])||null,fiber:l?r:null,children:[],componentTree:null,props:{}},u=P(r,l);return c.children=tt(u.children,l),c},et=function(r,l=!1){var o;if(!r)return null;if(!(r.memoizedProps&&r.memoizedProps["data-bx-path"]&&((o=r.memoizedProps["data-bx-path"])==null?void 0:o.includes("node_modules"))===!1)){const a=r.child?et(r.child,l):null;return a||(r.sibling?et(r.sibling,l):null)}const u={displayName:L(r),debugInfo:Y(r),path:r.memoizedProps["data-bx-path"],fiber:l?r:null,componentTree:nt(r,l),children:[],props:{}};for(const[a,i]of Object.entries(r.memoizedProps))a!=="children"&&a!=="data-bx-path"&&typeof i!="function"&&(u.props[a]=i);const e=P(r,l);return e.children&&(u.children=tt(e.children,l)),u},rt=function(r){const l=window==null?void 0:window.reactElementTree;function c(u){if((u==null?void 0:u.path)===r&&(u!=null&&u.fiber))return u.fiber;if(u!=null&&u.children){if(Array.isArray(u.children))for(let e of u.children){const o=c(e);if(o)return o}else if(typeof u.children=="object")return c(u.children)}if(u!=null&&u.componentTree){const e=c(u.componentTree);if(e)return e}return null}return c(l)},K=function(r,l){var b;let c=null,u=null,e=null;if(l.parentElement)u=l.parentElement,c=l.parentElement.getBoundingClientRect(),r&&(e=r.return);else{if(r&&(e=r.return),!e)return null;const j=S(e);if(!j)return null;c=j.getBoundingClientRect()}const o=window.getComputedStyle(u),a=o.flexDirection,i=o.display,p=o.flexWrap,h={top:parseFloat(o.paddingTop),right:parseFloat(o.paddingRight),bottom:parseFloat(o.paddingBottom),left:parseFloat(o.paddingLeft)},f={x:c.left,y:c.top,width:c.width,height:c.height,flexDirection:a,display:i,flexWrap:p,padding:h,path:u.getAttribute("data-bx-path")||"",contentBox:{x:c.left+h.left,y:c.top+h.top,width:c.width-(h.left+h.right),height:c.height-(h.top+h.bottom)},children:[]};let v=e.child;for(;v;){const j=S(v);if(j){const H=j.getBoundingClientRect();f.children.push({path:((b=v.memoizedProps)==null?void 0:b["data-bx-path"])||"",width:H.width,height:H.height,x:H.left-c.left,y:H.top-c.top})}v=v.sibling}return f};window.isInitialized=!0,window.reactElementTree=null,window.addEventListener("load",()=>{window.parent.postMessage({type:"preview-ready",message:""},"*")});const lt=()=>{N({type:"onAppLoaded"}),M()},B=r=>{var c;if(r.data&&r.data.type==="navigate/back"&&(window.history.back(),M()),r.data&&r.data.type==="navigate/forward"&&(window.history.forward(),M()),r.data&&r.data.type==="rpc"&&W(r.data),((c=r==null?void 0:r.data)==null?void 0:c.type)=="setDOMStyleUntilHMR"){var l=document.querySelectorAll('[data-bx-path="'+r.data.payload.path+'"]');Array.from(l).forEach(u=>{w(u,r.data.payload.style)})}r.data&&r.data.type==="setArtboardId"&&(window.artboardId=r.data.payload.artboardId)};if(typeof window<"u"){let r=function(){M(),N({type:"navigation",url:window.location.href})},l=function(){const o=document.querySelector("html"),a={attributes:!0,childList:!0,subtree:!0};o?e.observe(o,a):setTimeout(l)};window.addEventListener("message",B),window.addEventListener("load",lt),window.addEventListener("popstate",r);const c=history.pushState,u=history.replaceState;history.pushState=function(o,a,i){c.call(this,o,a,i),r()},history.replaceState=function(o,a,i){u.call(this,o,a,i),r()},N({type:"builderxToolsLoaded",value:!0}),M();const e=new MutationObserver((o,a)=>{window.layerResizing||(O(),o.some(p=>{const h=Array.from(p.addedNodes).some(v=>v instanceof Element&&(v.hasAttribute("data-bx-path")||v.querySelector("[data-bx-path]"))),f=Array.from(p.removedNodes).some(v=>v instanceof Element&&(v.hasAttribute("data-bx-path")||v.querySelector("[data-bx-path]")));return h||f})&&M())});document.readyState==="loading"?document.addEventListener("DOMContentLoaded",l):l()}console.log("BuilderX Tools initialized v2")}else typeof window<"u"&&window.isInitialized&&console.log("BuilderX Tools already initialized, skipping re-initialization");function z(){return typeof window<"u"?(window.domUpdateActions=window.domUpdateActions||[],window.domUpdateActions):[]}function w(N,V){const D={},O={DOM:N,originalStyles:{},newStyles:{}};for(const[S,W]of Object.entries(V))D[S]=N.style.getPropertyValue(S),N.style.setProperty(S,`${W}`),O.originalStyles[S]=D[S],O.newStyles[S]=W;z().push(O)}console.log("Bridge initialized")}var jt={exports:{}},E={};/**
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});console.log("Before initBridge function definition");function ee(){if(typeof window<"u"){let N=function(o){if(typeof window<"u")try{window.parent.postMessage(o,"*")}catch(f){console.error("Error sending message to parent:",f)}},X=function(){const o=F();if(o){const f=G(o,!1),a=window==null?void 0:window.reactElementTree;let e=[];a&&(e=B(f,a));const r={type:"onUpdateTree",data:f,previousData:a,addedLayers:e,artboardId:window.artboardId};window.reactElementTree=f,N(r)}},B=function(o,f){let a=[];function e(u,c,y=0){if(!u)return;const l=(!u.children||u.children.length===0)&&(!u.componentTree||!u.componentTree.children||u.componentTree.children.length===0);u.path&&l&&c.set(u.path,y),u.children&&u.children.forEach(p=>e(p,c,y+1)),u.componentTree&&e(u.componentTree,c,y+1)}const r=new Map,s=new Map;if(e(o,r),e(f,s),r.forEach((u,c)=>{s.has(c)||a.push({path:c,depth:u})}),a.sort((u,c)=>c.depth-u.depth),a.length>0){const u=a[0].depth;a=a.filter(c=>c.depth===u)}return a.map(u=>u.path)},P=function(){N({type:"onDomUpdate",artboardId:window.artboardId})},$=function(o=10,f=500){let a=0;const e=setInterval(()=>{F()&&window.artboardId?(clearInterval(e),X()):a>=o&&(clearInterval(e),console.error("Failed to find React root fiber node after multiple attempts")),a++},f)},S=function(o){var a,e;let f=null;try{for(;o;){if(o.stateNode instanceof HTMLElement||o.stateNode instanceof SVGElement){f=o.stateNode;break}if(((a=o.child)==null?void 0:a.memoizedProps["data-bx-path"])===o.memoizedProps["data-bx-path"]||((e=o.return)==null?void 0:e.memoizedProps["data-bx-path"])===o.memoizedProps["data-bx-path"])break;o.child?o=o.child:o=o.return}}catch(r){console.error("Error in getDomNodeFromFiber:",r)}return f},z=function(o){const{id:f,fnName:a,fnArgs:e}=o.payload;let r;switch(a){case"add":r=e.a+e.b;break;case"getLayerById":r=ct(e);break;case"getLayerComputedStyle":r=J(e);break;case"getLayerAtXY":r=L(e);break;case"setLayerResizing":r=V(e);break;case"findContainerForDimensions":r=lt(e);break;case"findNearestSibling":r=ft(e);break;case"getPositionedAncestorOffset":r=W(e);break;case"getPathOfChildFromParent":r=U(e);break;default:console.warn(`Unknown RPC function: ${a}`);return}N({type:"rpcResolved",calledMethod:a,id:f,result:r})},V=function({isResizing:o}){window.layerResizing=o},L=function(o){let{x:f,y:a,inLayers:e,zoomLevel:r}=o;const s=document.elementFromPoint(f,a);let u,c=j(s),y=null;if(e&&Array.isArray(e))for(;c;){const l=c.memoizedProps;if(l&&"data-bx-path"in l&&(u=l["data-bx-path"],u&&e.includes(u))){y=S(c);break}c=c.return}else y=s,u=c==null?void 0:c.memoizedProps["data-bx-path"];if(y){const l=y.getBoundingClientRect(),p={x:l.left,y:l.top,width:l.width,height:l.height,path:u};return p.container=at(c,y),p}return null},Z=function(o){const f=nt(o);let a;return f&&(a=S(f)),a||(a=document.querySelector(`[data-bx-path="${o}"]`)),a},ct=function(o){try{const{layerId:f}=o,a=Z(f);if(a){const e=a.getBoundingClientRect(),r=window.getComputedStyle(a),s=r.transform,u=r.rotate;let c=0;if(u&&u!=="none")c=parseFloat(u);else if(s&&s!=="none"){const p=s.split("(")[1].split(")")[0].split(",");c=Math.round(Math.atan2(Number(p[1]),Number(p[0]))*(180/Math.PI))}const y={x:e.left,y:e.top,width:e.width,height:e.height,path:f,rotation:c};let l=j(a);return y.container=at(l,a),y}return null}catch(f){return console.error("Error in getLayerById:",f),null}},lt=function({x:o,y:f,width:a,height:e,artboardId:r}){const s=document.querySelector(`[data-bx-path^="${r}"]`);if(!s)return console.error(`Artboard with ID ${r} not found`),null;const u=s.querySelectorAll("[data-bx-path]");let c=null,y=1/0;if(u.forEach(l=>{const p=l.getBoundingClientRect(),h=l.getAttribute("data-bx-path");if(p.left<=o&&p.top<=f&&p.left+p.width>=o+a&&p.top+p.height>=f+e){const R=p.width*p.height;R<y&&(y=R,c={path:h,x:p.left,y:p.top,width:p.width,height:p.height,container:{x:0,y:0}})}}),!c){const l=s.getBoundingClientRect();c={path:s.getAttribute("data-bx-path"),x:l.left,y:l.top,width:l.width,height:l.height,container:{x:0,y:0}}}return c},ft=function({x:o,y:f,artboardId:a,finalParent:e}){if(!document.querySelector(`[data-bx-path^="${a}"]`))return null;const s=document.querySelector(`[data-bx-path="${e}"]`);if(!s)return null;console.log(s,"parentElement here");const u=Array.from(s.children).map(p=>p.getAttribute("data-bx-path")).filter(p=>p!==null);if(!u||u.length===0)return{index:0,distance:0};const c=u.map(p=>{const h=document.querySelector(`[data-bx-path="${p}"]`);if(console.log(h,"element here 11`"),!h)return null;const R=h.getBoundingClientRect(),O=window.getComputedStyle(h).display;return O==="grid"?null:{element:h,rect:R,path:p,isBlock:O==="block"||O==="flex",center:{x:R.left+R.width/2,y:R.top+R.height/2}}}).filter(Boolean);if(c.length===0)return{index:0,distance:0};let y=-1,l=1/0;return c.forEach((p,h)=>{if(p)if(p.isBlock)if(f<p.rect.top){const R=p.rect.top-f;R<l&&(l=R,y=h)}else f>p.rect.bottom&&h===c.length-1&&(y=h+1,l=f-p.rect.bottom);else{const R=Math.sqrt(Math.pow(o-p.center.x,2)+Math.pow(f-p.center.y,2));R<l&&(l=R,y=o<p.center.x?h:h+1)}}),y===-1&&(y=u.length),{index:y,distance:l}},W=function({elementPath:o,artboardId:f,position:a}){const e=document.querySelector(`[data-bx-path^="${f}"]`);if(!e)return console.error(`Artboard with ID ${f} not found`),null;const r=e==null?void 0:e.querySelectorAll(`[data-bx-path="${o}"]`);if(!r)return{x:0,y:0};let s=null,u=1/0;if(r.forEach(y=>{const l=y.getBoundingClientRect(),p=l.left+l.width/2,h=l.top+l.height/2,R=Math.sqrt(Math.pow(p-a.x,2)+Math.pow(h-a.y,2));R<u&&(u=R,s=y)}),!s)return{x:0,y:0};const c=s.getBoundingClientRect();return{x:c.left,y:c.top}},U=function({path:o,artboardId:f,index:a}){const e=document==null?void 0:document.querySelector(`[data-bx-path="${o}"]`);if(!e)return null;const r=e.children;if(r.length===0)return null;const s=typeof a=="number"?a:r.length-1;return s<0||s>=r.length?null:r[s].getAttribute("data-bx-path")},J=function(o){const{layerId:f}=o,a=Z(f);if(a){const e=window.getComputedStyle(a);return JSON.parse(JSON.stringify(e))}else return null},j=function(o){if(!o)return null;const f=Object.keys(o).find(a=>a.startsWith("__reactFiber$")||a.startsWith("__reactContainer$")||a.startsWith("__reactInternalInstance$"));return f?o[f]:null},F=function(){const o=document.querySelector("body"),f=o==null?void 0:o.querySelector("[data-bx-path]");return f?j(f):null},rt=function(o){return typeof o=="object"&&o!==null&&"type"in o&&"props"in o&&"key"in o},b=function(o){return!o||!o._debugInfo?null:{name:o._debugInfo.name,env:o._debugInfo.env}},tt=function(o,f,a){if(!o||!f)return null;function e(r){if(!r)return null;if(r!=null&&r.memoizedProps&&(r==null?void 0:r.memoizedProps["data-bx-path"])===f)return r;if(r.child){const s=e(r.child);if(s)return s}if(r.sibling){const s=e(r.sibling);if(s)return s}return null}return e(o)},Y=function(o){var a,e;return(o==null?void 0:o.displayName)||((a=o==null?void 0:o.type)==null?void 0:a.displayName)||((e=o==null?void 0:o.type)==null?void 0:e.name)||(typeof(o==null?void 0:o.type)=="string"?o==null?void 0:o.type:"AnonymousComponent")},ot=function(o,f=!1){function a(e){var c,y,l;const r=tt(e==null?void 0:e._owner,(c=e==null?void 0:e.props)==null?void 0:c["data-bx-path"]);if(!r&&!rt(e))return null;let s=ut(r,f);const u={displayName:Y(e),path:((y=e.props)==null?void 0:y["data-bx-path"])||null,fiber:f?r:null,componentTree:s,debugInfo:b(e),children:[]};if((l=e.props)!=null&&l.children)if(Array.isArray(e.props.children))u.children=e.props.children.map(p=>a(p)).filter(Boolean);else{const p=a(e.props.children);p&&(u.children=[p])}return x(r)&&(u!=null&&u.children)&&(s!=null&&s.children)&&(u.children=u.children.filter(p=>!s.children.some(h=>h.path===p.path))),u}if(Array.isArray(o))return o.map(a).filter(Boolean);if(rt(o)){const e=a(o);return e?[e]:[]}return[]},x=function(o){var s;const f=(s=o==null?void 0:o.memoizedProps)==null?void 0:s.children;if(!f&&!(o!=null&&o.child))return!1;if(!f)return!0;let a=o.child;const e=[];for(;a;)e.push(a),a=a.sibling;const r=(u,c)=>{var y,l;return typeof u=="string"?(c==null?void 0:c.memoizedProps)===u:((y=u==null?void 0:u.props)==null?void 0:y["data-bx-path"])===((l=c==null?void 0:c.memoizedProps)==null?void 0:l["data-bx-path"])};return Array.isArray(f)?f.length!==e.length?!0:!f.every((u,c)=>r(u,e[c])):e.length!==1||!r(f,e[0])},et=function(o,f=!1){var s,u;let a=[],e=null,r=o.child;for(;r;){const c=et(r,f),y=c.children;(s=r.memoizedProps)!=null&&s.children&&(Array.isArray(r.memoizedProps.children)?r.memoizedProps.children:[r.memoizedProps.children]).forEach(h=>{var R;y.some(I=>{var O;return I.path===((O=h==null?void 0:h.props)==null?void 0:O["data-bx-path"])})||y.push({displayName:Y(h),debugInfo:b(h==null?void 0:h._owner),path:((R=h==null?void 0:h.props)==null?void 0:R["data-bx-path"])||null,props:{...h==null?void 0:h.props},_owner:h==null?void 0:h._owner})});const l={displayName:Y(r),debugInfo:b(r),path:((u=r.memoizedProps)==null?void 0:u["data-bx-path"])||null,props:{...r.memoizedProps,children:y},componentTree:c.componentTree,_owner:r};a.push(l),r=r.sibling}return o!=null&&o.stateNode&&(o!=null&&o.stateNode.children)&&Array.from(o==null?void 0:o.stateNode.children).forEach(y=>{const l=y.getAttribute("data-bx-path");if(l&&!a.some(p=>p.path===l)){const p=j(y);a.push({displayName:y.tagName.toLowerCase(),path:l,props:{...p==null?void 0:p.memoizedProps},debugInfo:b(p),_owner:p})}}),{children:a,componentTree:e}},ut=function(o,f=!1){var r;if(!o)return null;const a={displayName:"Component-"+Y(o),debugInfo:b(o),path:((r=o.memoizedProps)==null?void 0:r["data-bx-path"])||null,fiber:f?o:null,children:[],componentTree:null,props:{}},e=et(o,f);return a.children=ot(e.children,f),a},G=function(o,f=!1){var s;if(!o)return null;if(!(o.memoizedProps&&o.memoizedProps["data-bx-path"]&&((s=o.memoizedProps["data-bx-path"])==null?void 0:s.includes("node_modules"))===!1)){const u=o.child?G(o.child,f):null;return u||(o.sibling?G(o.sibling,f):null)}const e={displayName:Y(o),debugInfo:b(o),path:o.memoizedProps["data-bx-path"],fiber:f?o:null,componentTree:ut(o,f),children:[],props:{}};for(const[u,c]of Object.entries(o.memoizedProps))u!=="children"&&u!=="data-bx-path"&&typeof c!="function"&&(e.props[u]=c);const r=et(o,f);return r.children&&(e.children=ot(r.children,f)),e},nt=function(o){const f=window==null?void 0:window.reactElementTree;function a(e){if((e==null?void 0:e.path)===o&&(e!=null&&e.fiber))return e.fiber;if(e!=null&&e.children){if(Array.isArray(e.children))for(let r of e.children){const s=a(r);if(s)return s}else if(typeof e.children=="object")return a(e.children)}if(e!=null&&e.componentTree){const r=a(e.componentTree);if(r)return r}return null}return a(f)},at=function(o,f){var R;let a=null,e=null,r=null;if(f.parentElement)e=f.parentElement,a=f.parentElement.getBoundingClientRect(),o&&(r=o.return);else{if(o&&(r=o.return),!r)return null;const I=S(r);if(!I)return null;a=I.getBoundingClientRect()}const s=window.getComputedStyle(e),u=s.flexDirection,c=s.display,y=s.flexWrap,l={top:parseFloat(s.paddingTop),right:parseFloat(s.paddingRight),bottom:parseFloat(s.paddingBottom),left:parseFloat(s.paddingLeft)},p={x:a.left,y:a.top,width:a.width,height:a.height,flexDirection:u,display:c,flexWrap:y,padding:l,path:e.getAttribute("data-bx-path")||"",contentBox:{x:a.left+l.left,y:a.top+l.top,width:a.width-(l.left+l.right),height:a.height-(l.top+l.bottom)},children:[]};let h=r.child;for(;h;){const I=S(h);if(I){const O=I.getBoundingClientRect();p.children.push({path:((R=h.memoizedProps)==null?void 0:R["data-bx-path"])||"",width:O.width,height:O.height,x:O.left-a.left,y:O.top-a.top})}h=h.sibling}return p};window.isInitialized=!0,window.reactElementTree=null,window.addEventListener("load",()=>{window.parent.postMessage({type:"preview-ready",message:""},"*")});const D=()=>{N({type:"onAppLoaded"}),$()},M=o=>{var a;if(o.data&&o.data.type==="navigate/back"&&(window.history.back(),$()),o.data&&o.data.type==="navigate/forward"&&(window.history.forward(),$()),o.data&&o.data.type==="rpc"&&z(o.data),((a=o==null?void 0:o.data)==null?void 0:a.type)=="setDOMStyleUntilHMR"){var f=document.querySelectorAll('[data-bx-path="'+o.data.payload.path+'"]');Array.from(f).forEach(e=>{w(e,o.data.payload.style)})}o.data&&o.data.type==="setArtboardId"&&(window.artboardId=o.data.payload.artboardId)};if(typeof window<"u"){let o=function(){$(),N({type:"navigation",url:window.location.href})},f=function(){const s=document.querySelector("html"),u={attributes:!0,childList:!0,subtree:!0};s?r.observe(s,u):setTimeout(f)};window.addEventListener("message",M),window.addEventListener("load",D),window.addEventListener("popstate",o);const a=history.pushState,e=history.replaceState;history.pushState=function(s,u,c){a.call(this,s,u,c),o()},history.replaceState=function(s,u,c){e.call(this,s,u,c),o()},N({type:"builderxToolsLoaded",value:!0}),$();const r=new MutationObserver((s,u)=>{window.layerResizing||(P(),s.some(y=>{const l=Array.from(y.addedNodes).some(h=>h instanceof Element&&(h.hasAttribute("data-bx-path")||h.querySelector("[data-bx-path]"))),p=Array.from(y.removedNodes).some(h=>h instanceof Element&&(h.hasAttribute("data-bx-path")||h.querySelector("[data-bx-path]")));return l||p})&&$())});document.readyState==="loading"?document.addEventListener("DOMContentLoaded",f):f()}console.log("BuilderX Tools initialized v2")}else typeof window<"u"&&window.isInitialized&&console.log("BuilderX Tools already initialized, skipping re-initialization");function q(){return typeof window<"u"?(window.domUpdateActions=window.domUpdateActions||[],window.domUpdateActions):[]}function w(N,X){const B={},P={DOM:N,originalStyles:{},newStyles:{}};for(const[S,z]of Object.entries(X))B[S]=N.style.getPropertyValue(S),N.style.setProperty(S,`${z}`),P.originalStyles[S]=B[S],P.newStyles[S]=z;q().push(P)}console.log("Bridge initialized")}var jt={exports:{}},E={};/**
* @license React

@@ -9,3 +9,3 @@ * react.production.js

* LICENSE file in the root directory of this source tree.
*/var Jt;function ae(){if(Jt)return E;Jt=1;var z=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),M=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),W=Symbol.for("react.suspense"),Z=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),J=Symbol.iterator;function at(e){return e===null||typeof e!="object"?null:(e=J&&e[J]||e["@@iterator"],typeof e=="function"?e:null)}var st={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},it=Object.assign,F={};function $(e,o,a){this.props=e,this.context=o,this.refs=F,this.updater=a||st}$.prototype.isReactComponent={},$.prototype.setState=function(e,o){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,o,"setState")},$.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function I(){}I.prototype=$.prototype;function U(e,o,a){this.props=e,this.context=o,this.refs=F,this.updater=a||st}var G=U.prototype=new I;G.constructor=U,it(G,$.prototype),G.isPureReactComponent=!0;var Y=Array.isArray,C={H:null,A:null,T:null,S:null},L=Object.prototype.hasOwnProperty;function tt(e,o,a,i,p,h){return a=h.ref,{$$typeof:z,type:e,key:o,ref:a!==void 0?a:null,props:h}}function ct(e,o){return tt(e.type,o,void 0,void 0,void 0,e.props)}function P(e){return typeof e=="object"&&e!==null&&e.$$typeof===z}function nt(e){var o={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return o[a]})}var et=/\/+/g;function rt(e,o){return typeof e=="object"&&e!==null&&e.key!=null?nt(""+e.key):o.toString(36)}function K(){}function lt(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(K,K):(e.status="pending",e.then(function(o){e.status==="pending"&&(e.status="fulfilled",e.value=o)},function(o){e.status==="pending"&&(e.status="rejected",e.reason=o)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function B(e,o,a,i,p){var h=typeof e;(h==="undefined"||h==="boolean")&&(e=null);var f=!1;if(e===null)f=!0;else switch(h){case"bigint":case"string":case"number":f=!0;break;case"object":switch(e.$$typeof){case z:case w:f=!0;break;case x:return f=e._init,B(f(e._payload),o,a,i,p)}}if(f)return p=p(e),f=i===""?"."+rt(e,0):i,Y(p)?(a="",f!=null&&(a=f.replace(et,"$&/")+"/"),B(p,o,a,"",function(j){return j})):p!=null&&(P(p)&&(p=ct(p,a+(p.key==null||e&&e.key===p.key?"":(""+p.key).replace(et,"$&/")+"/")+f)),o.push(p)),1;f=0;var v=i===""?".":i+":";if(Y(e))for(var b=0;b<e.length;b++)i=e[b],h=v+rt(i,b),f+=B(i,o,a,h,p);else if(b=at(e),typeof b=="function")for(e=b.call(e),b=0;!(i=e.next()).done;)i=i.value,h=v+rt(i,b++),f+=B(i,o,a,h,p);else if(h==="object"){if(typeof e.then=="function")return B(lt(e),o,a,i,p);throw o=String(e),Error("Objects are not valid as a React child (found: "+(o==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.")}return f}function r(e,o,a){if(e==null)return e;var i=[],p=0;return B(e,i,"","",function(h){return o.call(a,h,p++)}),i}function l(e){if(e._status===-1){var o=e._result;o=o(),o.then(function(a){(e._status===0||e._status===-1)&&(e._status=1,e._result=a)},function(a){(e._status===0||e._status===-1)&&(e._status=2,e._result=a)}),e._status===-1&&(e._status=0,e._result=o)}if(e._status===1)return e._result.default;throw e._result}var c=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function u(){}return E.Children={map:r,forEach:function(e,o,a){r(e,function(){o.apply(this,arguments)},a)},count:function(e){var o=0;return r(e,function(){o++}),o},toArray:function(e){return r(e,function(o){return o})||[]},only:function(e){if(!P(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},E.Component=$,E.Fragment=N,E.Profiler=D,E.PureComponent=U,E.StrictMode=V,E.Suspense=W,E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,E.act=function(){throw Error("act(...) is not supported in production builds of React.")},E.cache=function(e){return function(){return e.apply(null,arguments)}},E.cloneElement=function(e,o,a){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var i=it({},e.props),p=e.key,h=void 0;if(o!=null)for(f in o.ref!==void 0&&(h=void 0),o.key!==void 0&&(p=""+o.key),o)!L.call(o,f)||f==="key"||f==="__self"||f==="__source"||f==="ref"&&o.ref===void 0||(i[f]=o[f]);var f=arguments.length-2;if(f===1)i.children=a;else if(1<f){for(var v=Array(f),b=0;b<f;b++)v[b]=arguments[b+2];i.children=v}return tt(e.type,p,void 0,void 0,h,i)},E.createContext=function(e){return e={$$typeof:M,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:O,_context:e},e},E.createElement=function(e,o,a){var i,p={},h=null;if(o!=null)for(i in o.key!==void 0&&(h=""+o.key),o)L.call(o,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(p[i]=o[i]);var f=arguments.length-2;if(f===1)p.children=a;else if(1<f){for(var v=Array(f),b=0;b<f;b++)v[b]=arguments[b+2];p.children=v}if(e&&e.defaultProps)for(i in f=e.defaultProps,f)p[i]===void 0&&(p[i]=f[i]);return tt(e,h,void 0,void 0,null,p)},E.createRef=function(){return{current:null}},E.forwardRef=function(e){return{$$typeof:S,render:e}},E.isValidElement=P,E.lazy=function(e){return{$$typeof:x,_payload:{_status:-1,_result:e},_init:l}},E.memo=function(e,o){return{$$typeof:Z,type:e,compare:o===void 0?null:o}},E.startTransition=function(e){var o=C.T,a={};C.T=a;try{var i=e(),p=C.S;p!==null&&p(a,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(u,c)}catch(h){c(h)}finally{C.T=o}},E.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},E.use=function(e){return C.H.use(e)},E.useActionState=function(e,o,a){return C.H.useActionState(e,o,a)},E.useCallback=function(e,o){return C.H.useCallback(e,o)},E.useContext=function(e){return C.H.useContext(e)},E.useDebugValue=function(){},E.useDeferredValue=function(e,o){return C.H.useDeferredValue(e,o)},E.useEffect=function(e,o){return C.H.useEffect(e,o)},E.useId=function(){return C.H.useId()},E.useImperativeHandle=function(e,o,a){return C.H.useImperativeHandle(e,o,a)},E.useInsertionEffect=function(e,o){return C.H.useInsertionEffect(e,o)},E.useLayoutEffect=function(e,o){return C.H.useLayoutEffect(e,o)},E.useMemo=function(e,o){return C.H.useMemo(e,o)},E.useOptimistic=function(e,o){return C.H.useOptimistic(e,o)},E.useReducer=function(e,o,a){return C.H.useReducer(e,o,a)},E.useRef=function(e){return C.H.useRef(e)},E.useState=function(e){return C.H.useState(e)},E.useSyncExternalStore=function(e,o,a){return C.H.useSyncExternalStore(e,o,a)},E.useTransition=function(){return C.H.useTransition()},E.version="19.0.0",E}var ht={exports:{}};/**
*/var Jt;function ae(){if(Jt)return E;Jt=1;var q=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),N=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),P=Symbol.for("react.consumer"),$=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),V=Symbol.for("react.memo"),L=Symbol.for("react.lazy"),Z=Symbol.iterator;function ct(e){return e===null||typeof e!="object"?null:(e=Z&&e[Z]||e["@@iterator"],typeof e=="function"?e:null)}var lt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ft=Object.assign,W={};function U(e,r,s){this.props=e,this.context=r,this.refs=W,this.updater=s||lt}U.prototype.isReactComponent={},U.prototype.setState=function(e,r){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,r,"setState")},U.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function J(){}J.prototype=U.prototype;function j(e,r,s){this.props=e,this.context=r,this.refs=W,this.updater=s||lt}var F=j.prototype=new J;F.constructor=j,ft(F,U.prototype),F.isPureReactComponent=!0;var rt=Array.isArray,b={H:null,A:null,T:null,S:null},tt=Object.prototype.hasOwnProperty;function Y(e,r,s,u,c,y){return s=y.ref,{$$typeof:q,type:e,key:r,ref:s!==void 0?s:null,props:y}}function ot(e,r){return Y(e.type,r,void 0,void 0,void 0,e.props)}function x(e){return typeof e=="object"&&e!==null&&e.$$typeof===q}function et(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(s){return r[s]})}var ut=/\/+/g;function G(e,r){return typeof e=="object"&&e!==null&&e.key!=null?et(""+e.key):r.toString(36)}function nt(){}function at(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(nt,nt):(e.status="pending",e.then(function(r){e.status==="pending"&&(e.status="fulfilled",e.value=r)},function(r){e.status==="pending"&&(e.status="rejected",e.reason=r)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function D(e,r,s,u,c){var y=typeof e;(y==="undefined"||y==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(y){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case q:case w:l=!0;break;case L:return l=e._init,D(l(e._payload),r,s,u,c)}}if(l)return c=c(e),l=u===""?"."+G(e,0):u,rt(c)?(s="",l!=null&&(s=l.replace(ut,"$&/")+"/"),D(c,r,s,"",function(R){return R})):c!=null&&(x(c)&&(c=ot(c,s+(c.key==null||e&&e.key===c.key?"":(""+c.key).replace(ut,"$&/")+"/")+l)),r.push(c)),1;l=0;var p=u===""?".":u+":";if(rt(e))for(var h=0;h<e.length;h++)u=e[h],y=p+G(u,h),l+=D(u,r,s,y,c);else if(h=ct(e),typeof h=="function")for(e=h.call(e),h=0;!(u=e.next()).done;)u=u.value,y=p+G(u,h++),l+=D(u,r,s,y,c);else if(y==="object"){if(typeof e.then=="function")return D(at(e),r,s,u,c);throw r=String(e),Error("Objects are not valid as a React child (found: "+(r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.")}return l}function M(e,r,s){if(e==null)return e;var u=[],c=0;return D(e,u,"","",function(y){return r.call(s,y,c++)}),u}function o(e){if(e._status===-1){var r=e._result;r=r(),r.then(function(s){(e._status===0||e._status===-1)&&(e._status=1,e._result=s)},function(s){(e._status===0||e._status===-1)&&(e._status=2,e._result=s)}),e._status===-1&&(e._status=0,e._result=r)}if(e._status===1)return e._result.default;throw e._result}var f=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function a(){}return E.Children={map:M,forEach:function(e,r,s){M(e,function(){r.apply(this,arguments)},s)},count:function(e){var r=0;return M(e,function(){r++}),r},toArray:function(e){return M(e,function(r){return r})||[]},only:function(e){if(!x(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},E.Component=U,E.Fragment=N,E.Profiler=B,E.PureComponent=j,E.StrictMode=X,E.Suspense=z,E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,E.act=function(){throw Error("act(...) is not supported in production builds of React.")},E.cache=function(e){return function(){return e.apply(null,arguments)}},E.cloneElement=function(e,r,s){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var u=ft({},e.props),c=e.key,y=void 0;if(r!=null)for(l in r.ref!==void 0&&(y=void 0),r.key!==void 0&&(c=""+r.key),r)!tt.call(r,l)||l==="key"||l==="__self"||l==="__source"||l==="ref"&&r.ref===void 0||(u[l]=r[l]);var l=arguments.length-2;if(l===1)u.children=s;else if(1<l){for(var p=Array(l),h=0;h<l;h++)p[h]=arguments[h+2];u.children=p}return Y(e.type,c,void 0,void 0,y,u)},E.createContext=function(e){return e={$$typeof:$,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:P,_context:e},e},E.createElement=function(e,r,s){var u,c={},y=null;if(r!=null)for(u in r.key!==void 0&&(y=""+r.key),r)tt.call(r,u)&&u!=="key"&&u!=="__self"&&u!=="__source"&&(c[u]=r[u]);var l=arguments.length-2;if(l===1)c.children=s;else if(1<l){for(var p=Array(l),h=0;h<l;h++)p[h]=arguments[h+2];c.children=p}if(e&&e.defaultProps)for(u in l=e.defaultProps,l)c[u]===void 0&&(c[u]=l[u]);return Y(e,y,void 0,void 0,null,c)},E.createRef=function(){return{current:null}},E.forwardRef=function(e){return{$$typeof:S,render:e}},E.isValidElement=x,E.lazy=function(e){return{$$typeof:L,_payload:{_status:-1,_result:e},_init:o}},E.memo=function(e,r){return{$$typeof:V,type:e,compare:r===void 0?null:r}},E.startTransition=function(e){var r=b.T,s={};b.T=s;try{var u=e(),c=b.S;c!==null&&c(s,u),typeof u=="object"&&u!==null&&typeof u.then=="function"&&u.then(a,f)}catch(y){f(y)}finally{b.T=r}},E.unstable_useCacheRefresh=function(){return b.H.useCacheRefresh()},E.use=function(e){return b.H.use(e)},E.useActionState=function(e,r,s){return b.H.useActionState(e,r,s)},E.useCallback=function(e,r){return b.H.useCallback(e,r)},E.useContext=function(e){return b.H.useContext(e)},E.useDebugValue=function(){},E.useDeferredValue=function(e,r){return b.H.useDeferredValue(e,r)},E.useEffect=function(e,r){return b.H.useEffect(e,r)},E.useId=function(){return b.H.useId()},E.useImperativeHandle=function(e,r,s){return b.H.useImperativeHandle(e,r,s)},E.useInsertionEffect=function(e,r){return b.H.useInsertionEffect(e,r)},E.useLayoutEffect=function(e,r){return b.H.useLayoutEffect(e,r)},E.useMemo=function(e,r){return b.H.useMemo(e,r)},E.useOptimistic=function(e,r){return b.H.useOptimistic(e,r)},E.useReducer=function(e,r,s){return b.H.useReducer(e,r,s)},E.useRef=function(e){return b.H.useRef(e)},E.useState=function(e){return b.H.useState(e)},E.useSyncExternalStore=function(e,r,s){return b.H.useSyncExternalStore(e,r,s)},E.useTransition=function(){return b.H.useTransition()},E.version="19.0.0",E}var yt={exports:{}};/**
* @license React

@@ -18,12 +18,12 @@ * react.development.js

* LICENSE file in the root directory of this source tree.
*/ht.exports;var te;function se(){return te||(te=1,function(z,w){process.env.NODE_ENV!=="production"&&function(){function N(t,n){Object.defineProperty(O.prototype,t,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",n[0],n[1])}})}function V(t){return t===null||typeof t!="object"?null:(t=Mt&&t[Mt]||t["@@iterator"],typeof t=="function"?t:null)}function D(t,n){t=(t=t.constructor)&&(t.displayName||t.name)||"ReactClass";var s=t+"."+n;xt[s]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",n,t),xt[s]=!0)}function O(t,n,s){this.props=t,this.context=n,this.refs=St,this.updater=s||Lt}function M(){}function S(t,n,s){this.props=t,this.context=n,this.refs=St,this.updater=s||Lt}function W(t){return""+t}function Z(t){try{W(t);var n=!1}catch{n=!0}if(n){n=console;var s=n.error,d=typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",d),W(t)}}function x(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===re?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case b:return"Fragment";case v:return"Portal";case H:return"Profiler";case j:return"StrictMode";case mt:return"Suspense";case At:return"SuspenseList"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case Ct:return(t.displayName||"Context")+".Provider";case yt:return(t._context.displayName||"Context")+".Consumer";case gt:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case ft:return n=t.displayName||null,n!==null?n:x(t.type)||"Memo";case dt:n=t._payload,t=t._init;try{return x(t(n))}catch{}}return null}function J(t){return typeof t=="string"||typeof t=="function"||t===b||t===H||t===j||t===mt||t===At||t===ne||typeof t=="object"&&t!==null&&(t.$$typeof===dt||t.$$typeof===ft||t.$$typeof===Ct||t.$$typeof===yt||t.$$typeof===gt||t.$$typeof===oe||t.getModuleId!==void 0)}function at(){}function st(){if(pt===0){$t=console.log,It=console.info,Ut=console.warn,Yt=console.error,Ht=console.group,Dt=console.groupCollapsed,Bt=console.groupEnd;var t={configurable:!0,enumerable:!0,value:at,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}pt++}function it(){if(pt--,pt===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},t,{value:$t}),info:Q({},t,{value:It}),warn:Q({},t,{value:Ut}),error:Q({},t,{value:Yt}),group:Q({},t,{value:Ht}),groupCollapsed:Q({},t,{value:Dt}),groupEnd:Q({},t,{value:Bt})})}0>pt&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function F(t){if(Ot===void 0)try{throw Error()}catch(s){var n=s.stack.trim().match(/\n( *(at )?)/);Ot=n&&n[1]||"",qt=-1<s.stack.indexOf(`
at`)?" (<anonymous>)":-1<s.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ot+t+qt}function $(t,n){if(!t||Pt)return"";var s=Nt.get(t);if(s!==void 0)return s;Pt=!0,s=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var d=null;d=_.H,_.H=null,st();try{var y={DetermineComponentFrameRoot:function(){try{if(n){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(X){var Rt=X}Reflect.construct(t,[],q)}else{try{q.call()}catch(X){Rt=X}t.call(q.prototype)}}else{try{throw Error()}catch(X){Rt=X}(q=t())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(X){if(X&&Rt&&typeof X.stack=="string")return[X.stack,Rt.stack]}return[null,null]}};y.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(y.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(y.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=y.DetermineComponentFrameRoot(),R=g[0],T=g[1];if(R&&T){var A=R.split(`
*/yt.exports;var te;function se(){return te||(te=1,function(q,w){process.env.NODE_ENV!=="production"&&function(){function N(t,n){Object.defineProperty(P.prototype,t,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",n[0],n[1])}})}function X(t){return t===null||typeof t!="object"?null:(t=xt&&t[xt]||t["@@iterator"],typeof t=="function"?t:null)}function B(t,n){t=(t=t.constructor)&&(t.displayName||t.name)||"ReactClass";var i=t+"."+n;Mt[i]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",n,t),Mt[i]=!0)}function P(t,n,i){this.props=t,this.context=n,this.refs=St,this.updater=i||$t}function $(){}function S(t,n,i){this.props=t,this.context=n,this.refs=St,this.updater=i||$t}function z(t){return""+t}function V(t){try{z(t);var n=!1}catch{n=!0}if(n){n=console;var i=n.error,d=typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object";return i.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",d),z(t)}}function L(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===re?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case h:return"Fragment";case p:return"Portal";case I:return"Profiler";case R:return"StrictMode";case vt:return"Suspense";case At:return"SuspenseList"}if(typeof t=="object")switch(typeof t.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),t.$$typeof){case gt:return(t.displayName||"Context")+".Provider";case O:return(t._context.displayName||"Context")+".Consumer";case mt:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case dt:return n=t.displayName||null,n!==null?n:L(t.type)||"Memo";case pt:n=t._payload,t=t._init;try{return L(t(n))}catch{}}return null}function Z(t){return typeof t=="string"||typeof t=="function"||t===h||t===I||t===R||t===vt||t===At||t===ne||typeof t=="object"&&t!==null&&(t.$$typeof===pt||t.$$typeof===dt||t.$$typeof===gt||t.$$typeof===O||t.$$typeof===mt||t.$$typeof===oe||t.getModuleId!==void 0)}function ct(){}function lt(){if(ht===0){Lt=console.log,It=console.info,Ut=console.warn,Yt=console.error,Bt=console.group,Dt=console.groupCollapsed,Ht=console.groupEnd;var t={configurable:!0,enumerable:!0,value:ct,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}ht++}function ft(){if(ht--,ht===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:K({},t,{value:Lt}),info:K({},t,{value:It}),warn:K({},t,{value:Ut}),error:K({},t,{value:Yt}),group:K({},t,{value:Bt}),groupCollapsed:K({},t,{value:Dt}),groupEnd:K({},t,{value:Ht})})}0>ht&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function W(t){if(Ot===void 0)try{throw Error()}catch(i){var n=i.stack.trim().match(/\n( *(at )?)/);Ot=n&&n[1]||"",qt=-1<i.stack.indexOf(`
at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ot+t+qt}function U(t,n){if(!t||Pt)return"";var i=Nt.get(t);if(i!==void 0)return i;Pt=!0,i=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var d=null;d=_.H,_.H=null,lt();try{var g={DetermineComponentFrameRoot:function(){try{if(n){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(Q){var Ct=Q}Reflect.construct(t,[],H)}else{try{H.call()}catch(Q){Ct=Q}t.call(H.prototype)}}else{try{throw Error()}catch(Q){Ct=Q}(H=t())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(Q){if(Q&&Ct&&typeof Q.stack=="string")return[Q.stack,Ct.stack]}return[null,null]}};g.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(g.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(g.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var m=g.DetermineComponentFrameRoot(),C=m[0],T=m[1];if(C&&T){var A=C.split(`
`),k=T.split(`
`);for(g=m=0;m<A.length&&!A[m].includes("DetermineComponentFrameRoot");)m++;for(;g<k.length&&!k[g].includes("DetermineComponentFrameRoot");)g++;if(m===A.length||g===k.length)for(m=A.length-1,g=k.length-1;1<=m&&0<=g&&A[m]!==k[g];)g--;for(;1<=m&&0<=g;m--,g--)if(A[m]!==k[g]){if(m!==1||g!==1)do if(m--,g--,0>g||A[m]!==k[g]){var ut=`
`+A[m].replace(" at new "," at ");return t.displayName&&ut.includes("<anonymous>")&&(ut=ut.replace("<anonymous>",t.displayName)),typeof t=="function"&&Nt.set(t,ut),ut}while(1<=m&&0<=g);break}}}finally{Pt=!1,_.H=d,it(),Error.prepareStackTrace=s}return A=(A=t?t.displayName||t.name:"")?F(A):"",typeof t=="function"&&Nt.set(t,A),A}function I(t){if(t==null)return"";if(typeof t=="function"){var n=t.prototype;return $(t,!(!n||!n.isReactComponent))}if(typeof t=="string")return F(t);switch(t){case mt:return F("Suspense");case At:return F("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case gt:return t=$(t.render,!1),t;case ft:return I(t.type);case dt:n=t._payload,t=t._init;try{return I(t(n))}catch{}}return""}function U(){var t=_.A;return t===null?null:t.getOwner()}function G(t){if(Et.call(t,"key")){var n=Object.getOwnPropertyDescriptor(t,"key").get;if(n&&n.isReactWarning)return!1}return t.key!==void 0}function Y(t,n){function s(){zt||(zt=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}s.isReactWarning=!0,Object.defineProperty(t,"key",{get:s,configurable:!0})}function C(){var t=x(this.type);return Ft[t]||(Ft[t]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),t=this.props.ref,t!==void 0?t:null}function L(t,n,s,d,y,m){return s=m.ref,t={$$typeof:f,type:t,key:n,props:m,_owner:y},(s!==void 0?s:null)!==null?Object.defineProperty(t,"ref",{enumerable:!1,get:C}):Object.defineProperty(t,"ref",{enumerable:!1,value:null}),t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(t,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t}function tt(t,n){return n=L(t.type,n,void 0,void 0,t._owner,t.props),n._store.validated=t._store.validated,n}function ct(t,n){if(typeof t=="object"&&t&&t.$$typeof!==ue){if(wt(t))for(var s=0;s<t.length;s++){var d=t[s];P(d)&&nt(d,n)}else if(P(t))t._store&&(t._store.validated=1);else if(s=V(t),typeof s=="function"&&s!==t.entries&&(s=s.call(t),s!==t))for(;!(t=s.next()).done;)P(t.value)&&nt(t.value,n)}}function P(t){return typeof t=="object"&&t!==null&&t.$$typeof===f}function nt(t,n){if(t._store&&!t._store.validated&&t.key==null&&(t._store.validated=1,n=et(n),!Gt[n])){Gt[n]=!0;var s="";t&&t._owner!=null&&t._owner!==U()&&(s=null,typeof t._owner.tag=="number"?s=x(t._owner.type):typeof t._owner.name=="string"&&(s=t._owner.name),s=" It was passed a child from "+s+".");var d=_.getCurrentStack;_.getCurrentStack=function(){var y=I(t.type);return d&&(y+=d()||""),y},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',n,s),_.getCurrentStack=d}}function et(t){var n="",s=U();return s&&(s=x(s.type))&&(n=`
`);for(m=v=0;v<A.length&&!A[v].includes("DetermineComponentFrameRoot");)v++;for(;m<k.length&&!k[m].includes("DetermineComponentFrameRoot");)m++;if(v===A.length||m===k.length)for(v=A.length-1,m=k.length-1;1<=v&&0<=m&&A[v]!==k[m];)m--;for(;1<=v&&0<=m;v--,m--)if(A[v]!==k[m]){if(v!==1||m!==1)do if(v--,m--,0>m||A[v]!==k[m]){var it=`
`+A[v].replace(" at new "," at ");return t.displayName&&it.includes("<anonymous>")&&(it=it.replace("<anonymous>",t.displayName)),typeof t=="function"&&Nt.set(t,it),it}while(1<=v&&0<=m);break}}}finally{Pt=!1,_.H=d,ft(),Error.prepareStackTrace=i}return A=(A=t?t.displayName||t.name:"")?W(A):"",typeof t=="function"&&Nt.set(t,A),A}function J(t){if(t==null)return"";if(typeof t=="function"){var n=t.prototype;return U(t,!(!n||!n.isReactComponent))}if(typeof t=="string")return W(t);switch(t){case vt:return W("Suspense");case At:return W("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case mt:return t=U(t.render,!1),t;case dt:return J(t.type);case pt:n=t._payload,t=t._init;try{return J(t(n))}catch{}}return""}function j(){var t=_.A;return t===null?null:t.getOwner()}function F(t){if(_t.call(t,"key")){var n=Object.getOwnPropertyDescriptor(t,"key").get;if(n&&n.isReactWarning)return!1}return t.key!==void 0}function rt(t,n){function i(){zt||(zt=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}i.isReactWarning=!0,Object.defineProperty(t,"key",{get:i,configurable:!0})}function b(){var t=L(this.type);return Ft[t]||(Ft[t]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),t=this.props.ref,t!==void 0?t:null}function tt(t,n,i,d,g,v){return i=v.ref,t={$$typeof:l,type:t,key:n,props:v,_owner:g},(i!==void 0?i:null)!==null?Object.defineProperty(t,"ref",{enumerable:!1,get:b}):Object.defineProperty(t,"ref",{enumerable:!1,value:null}),t._store={},Object.defineProperty(t._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(t,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(t.props),Object.freeze(t)),t}function Y(t,n){return n=tt(t.type,n,void 0,void 0,t._owner,t.props),n._store.validated=t._store.validated,n}function ot(t,n){if(typeof t=="object"&&t&&t.$$typeof!==ue){if(Et(t))for(var i=0;i<t.length;i++){var d=t[i];x(d)&&et(d,n)}else if(x(t))t._store&&(t._store.validated=1);else if(i=X(t),typeof i=="function"&&i!==t.entries&&(i=i.call(t),i!==t))for(;!(t=i.next()).done;)x(t.value)&&et(t.value,n)}}function x(t){return typeof t=="object"&&t!==null&&t.$$typeof===l}function et(t,n){if(t._store&&!t._store.validated&&t.key==null&&(t._store.validated=1,n=ut(n),!Gt[n])){Gt[n]=!0;var i="";t&&t._owner!=null&&t._owner!==j()&&(i=null,typeof t._owner.tag=="number"?i=L(t._owner.type):typeof t._owner.name=="string"&&(i=t._owner.name),i=" It was passed a child from "+i+".");var d=_.getCurrentStack;_.getCurrentStack=function(){var g=J(t.type);return d&&(g+=d()||""),g},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',n,i),_.getCurrentStack=d}}function ut(t){var n="",i=j();return i&&(i=L(i.type))&&(n=`
Check the render method of \``+s+"`."),n||(t=x(t))&&(n=`
Check the render method of \``+i+"`."),n||(t=L(t))&&(n=`
Check the top-level render call using <`+t+">."),n}function rt(t){var n={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(s){return n[s]})}function K(t,n){return typeof t=="object"&&t!==null&&t.key!=null?(Z(t.key),rt(""+t.key)):n.toString(36)}function lt(){}function B(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(lt,lt):(t.status="pending",t.then(function(n){t.status==="pending"&&(t.status="fulfilled",t.value=n)},function(n){t.status==="pending"&&(t.status="rejected",t.reason=n)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function r(t,n,s,d,y){var m=typeof t;(m==="undefined"||m==="boolean")&&(t=null);var g=!1;if(t===null)g=!0;else switch(m){case"bigint":case"string":case"number":g=!0;break;case"object":switch(t.$$typeof){case f:case v:g=!0;break;case dt:return g=t._init,r(g(t._payload),n,s,d,y)}}if(g){g=t,y=y(g);var R=d===""?"."+K(g,0):d;return wt(y)?(s="",R!=null&&(s=R.replace(Qt,"$&/")+"/"),r(y,n,s,"",function(A){return A})):y!=null&&(P(y)&&(y.key!=null&&(g&&g.key===y.key||Z(y.key)),s=tt(y,s+(y.key==null||g&&g.key===y.key?"":(""+y.key).replace(Qt,"$&/")+"/")+R),d!==""&&g!=null&&P(g)&&g.key==null&&g._store&&!g._store.validated&&(s._store.validated=2),y=s),n.push(y)),1}if(g=0,R=d===""?".":d+":",wt(t))for(var T=0;T<t.length;T++)d=t[T],m=R+K(d,T),g+=r(d,n,s,m,y);else if(T=V(t),typeof T=="function")for(T===t.entries&&(Kt||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Kt=!0),t=T.call(t),T=0;!(d=t.next()).done;)d=d.value,m=R+K(d,T++),g+=r(d,n,s,m,y);else if(m==="object"){if(typeof t.then=="function")return r(B(t),n,s,d,y);throw n=String(t),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return g}function l(t,n,s){if(t==null)return t;var d=[],y=0;return r(t,d,"","",function(m){return n.call(s,m,y++)}),d}function c(t){if(t._status===-1){var n=t._result;n=n(),n.then(function(s){(t._status===0||t._status===-1)&&(t._status=1,t._result=s)},function(s){(t._status===0||t._status===-1)&&(t._status=2,t._result=s)}),t._status===-1&&(t._status=0,t._result=n)}if(t._status===1)return n=t._result,n===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Check the top-level render call using <`+t+">."),n}function G(t){var n={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(i){return n[i]})}function nt(t,n){return typeof t=="object"&&t!==null&&t.key!=null?(V(t.key),G(""+t.key)):n.toString(36)}function at(){}function D(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(at,at):(t.status="pending",t.then(function(n){t.status==="pending"&&(t.status="fulfilled",t.value=n)},function(n){t.status==="pending"&&(t.status="rejected",t.reason=n)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function M(t,n,i,d,g){var v=typeof t;(v==="undefined"||v==="boolean")&&(t=null);var m=!1;if(t===null)m=!0;else switch(v){case"bigint":case"string":case"number":m=!0;break;case"object":switch(t.$$typeof){case l:case p:m=!0;break;case pt:return m=t._init,M(m(t._payload),n,i,d,g)}}if(m){m=t,g=g(m);var C=d===""?"."+nt(m,0):d;return Et(g)?(i="",C!=null&&(i=C.replace(Qt,"$&/")+"/"),M(g,n,i,"",function(A){return A})):g!=null&&(x(g)&&(g.key!=null&&(m&&m.key===g.key||V(g.key)),i=Y(g,i+(g.key==null||m&&m.key===g.key?"":(""+g.key).replace(Qt,"$&/")+"/")+C),d!==""&&m!=null&&x(m)&&m.key==null&&m._store&&!m._store.validated&&(i._store.validated=2),g=i),n.push(g)),1}if(m=0,C=d===""?".":d+":",Et(t))for(var T=0;T<t.length;T++)d=t[T],v=C+nt(d,T),m+=M(d,n,i,v,g);else if(T=X(t),typeof T=="function")for(T===t.entries&&(Kt||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Kt=!0),t=T.call(t),T=0;!(d=t.next()).done;)d=d.value,v=C+nt(d,T++),m+=M(d,n,i,v,g);else if(v==="object"){if(typeof t.then=="function")return M(D(t),n,i,d,g);throw n=String(t),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return m}function o(t,n,i){if(t==null)return t;var d=[],g=0;return M(t,d,"","",function(v){return n.call(i,v,g++)}),d}function f(t){if(t._status===-1){var n=t._result;n=n(),n.then(function(i){(t._status===0||t._status===-1)&&(t._status=1,t._result=i)},function(i){(t._status===0||t._status===-1)&&(t._status=2,t._result=i)}),t._status===-1&&(t._status=0,t._result=n)}if(t._status===1)return n=t._result,n===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s

@@ -36,6 +36,6 @@ Your code should look like:

Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,n),n.default;throw t._result}function u(){var t=_.H;return t===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
const MyComponent = lazy(() => import('./MyComponent'))`,n),n.default;throw t._result}function a(){var t=_.H;return t===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),t}function e(){}function o(t){if(_t===null)try{var n=("require"+Math.random()).slice(0,7);_t=(z&&z[n]).call(z,"timers").setImmediate}catch{_t=function(d){Vt===!1&&(Vt=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var y=new MessageChannel;y.port1.onmessage=d,y.port2.postMessage(void 0)}}return _t(t)}function a(t){return 1<t.length&&typeof AggregateError=="function"?new AggregateError(t):t[0]}function i(t,n){n!==bt-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),bt=n}function p(t,n,s){var d=_.actQueue;if(d!==null)if(d.length!==0)try{h(d),o(function(){return p(t,n,s)});return}catch(y){_.thrownErrors.push(y)}else _.actQueue=null;0<_.thrownErrors.length?(d=a(_.thrownErrors),_.thrownErrors.length=0,s(d)):n(t)}function h(t){if(!kt){kt=!0;var n=0;try{for(;n<t.length;n++){var s=t[n];do{_.didUsePromise=!1;var d=s(!1);if(d!==null){if(_.didUsePromise){t[n]=s,t.splice(0,n);return}s=d}else break}while(1)}t.length=0}catch(y){t.splice(0,n+1),_.thrownErrors.push(y)}finally{kt=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var f=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),yt=Symbol.for("react.consumer"),Ct=Symbol.for("react.context"),gt=Symbol.for("react.forward_ref"),mt=Symbol.for("react.suspense"),At=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),dt=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),Mt=Symbol.iterator,xt={},Lt={isMounted:function(){return!1},enqueueForceUpdate:function(t){D(t,"forceUpdate")},enqueueReplaceState:function(t){D(t,"replaceState")},enqueueSetState:function(t){D(t,"setState")}},Q=Object.assign,St={};Object.freeze(St),O.prototype.isReactComponent={},O.prototype.setState=function(t,n){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,n,"setState")},O.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};var ot={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},vt;for(vt in ot)ot.hasOwnProperty(vt)&&N(vt,ot[vt]);M.prototype=O.prototype,ot=S.prototype=new M,ot.constructor=S,Q(ot,O.prototype),ot.isPureReactComponent=!0;var wt=Array.isArray,re=Symbol.for("react.client.reference"),_={H:null,A:null,T:null,S:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null},Et=Object.prototype.hasOwnProperty,oe=Symbol.for("react.client.reference"),pt=0,$t,It,Ut,Yt,Ht,Dt,Bt;at.__reactDisabledLog=!0;var Ot,qt,Pt=!1,Nt=new(typeof WeakMap=="function"?WeakMap:Map),ue=Symbol.for("react.client.reference"),zt,Wt,Ft={},Gt={},Kt=!1,Qt=/\/+/g,Xt=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Vt=!1,_t=null,bt=0,Tt=!1,kt=!1,Zt=typeof queueMicrotask=="function"?function(t){queueMicrotask(function(){return queueMicrotask(t)})}:o;w.Children={map:l,forEach:function(t,n,s){l(t,function(){n.apply(this,arguments)},s)},count:function(t){var n=0;return l(t,function(){n++}),n},toArray:function(t){return l(t,function(n){return n})||[]},only:function(t){if(!P(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},w.Component=O,w.Fragment=b,w.Profiler=H,w.PureComponent=S,w.StrictMode=j,w.Suspense=mt,w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,w.act=function(t){var n=_.actQueue,s=bt;bt++;var d=_.actQueue=n!==null?n:[],y=!1;try{var m=t()}catch(T){_.thrownErrors.push(T)}if(0<_.thrownErrors.length)throw i(n,s),t=a(_.thrownErrors),_.thrownErrors.length=0,t;if(m!==null&&typeof m=="object"&&typeof m.then=="function"){var g=m;return Zt(function(){y||Tt||(Tt=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(T,A){y=!0,g.then(function(k){if(i(n,s),s===0){try{h(d),o(function(){return p(k,T,A)})}catch(q){_.thrownErrors.push(q)}if(0<_.thrownErrors.length){var ut=a(_.thrownErrors);_.thrownErrors.length=0,A(ut)}}else T(k)},function(k){i(n,s),0<_.thrownErrors.length&&(k=a(_.thrownErrors),_.thrownErrors.length=0),A(k)})}}}var R=m;if(i(n,s),s===0&&(h(d),d.length!==0&&Zt(function(){y||Tt||(Tt=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),_.actQueue=null),0<_.thrownErrors.length)throw t=a(_.thrownErrors),_.thrownErrors.length=0,t;return{then:function(T,A){y=!0,s===0?(_.actQueue=d,o(function(){return p(R,T,A)})):T(R)}}},w.cache=function(t){return function(){return t.apply(null,arguments)}},w.cloneElement=function(t,n,s){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var d=Q({},t.props),y=t.key,m=t._owner;if(n!=null){var g;t:{if(Et.call(n,"ref")&&(g=Object.getOwnPropertyDescriptor(n,"ref").get)&&g.isReactWarning){g=!1;break t}g=n.ref!==void 0}g&&(m=U()),G(n)&&(Z(n.key),y=""+n.key);for(R in n)!Et.call(n,R)||R==="key"||R==="__self"||R==="__source"||R==="ref"&&n.ref===void 0||(d[R]=n[R])}var R=arguments.length-2;if(R===1)d.children=s;else if(1<R){g=Array(R);for(var T=0;T<R;T++)g[T]=arguments[T+2];d.children=g}for(d=L(t.type,y,void 0,void 0,m,d),y=2;y<arguments.length;y++)ct(arguments[y],d.type);return d},w.createContext=function(t){return t={$$typeof:Ct,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:yt,_context:t},t._currentRenderer=null,t._currentRenderer2=null,t},w.createElement=function(t,n,s){if(J(t))for(var d=2;d<arguments.length;d++)ct(arguments[d],t);else{if(d="",(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),t===null)var y="null";else wt(t)?y="array":t!==void 0&&t.$$typeof===f?(y="<"+(x(t.type)||"Unknown")+" />",d=" Did you accidentally export a JSX literal instead of a component?"):y=typeof t;console.error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",y,d)}var m;if(d={},y=null,n!=null)for(m in Wt||!("__self"in n)||"key"in n||(Wt=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),G(n)&&(Z(n.key),y=""+n.key),n)Et.call(n,m)&&m!=="key"&&m!=="__self"&&m!=="__source"&&(d[m]=n[m]);var g=arguments.length-2;if(g===1)d.children=s;else if(1<g){for(var R=Array(g),T=0;T<g;T++)R[T]=arguments[T+2];Object.freeze&&Object.freeze(R),d.children=R}if(t&&t.defaultProps)for(m in g=t.defaultProps,g)d[m]===void 0&&(d[m]=g[m]);return y&&Y(d,typeof t=="function"?t.displayName||t.name||"Unknown":t),L(t,y,void 0,void 0,U(),d)},w.createRef=function(){var t={current:null};return Object.seal(t),t},w.forwardRef=function(t){t!=null&&t.$$typeof===ft?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof t!="function"?console.error("forwardRef requires a render function but was given %s.",t===null?"null":typeof t):t.length!==0&&t.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",t.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),t!=null&&t.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var n={$$typeof:gt,render:t},s;return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return s},set:function(d){s=d,t.name||t.displayName||(Object.defineProperty(t,"name",{value:d}),t.displayName=d)}}),n},w.isValidElement=P,w.lazy=function(t){return{$$typeof:dt,_payload:{_status:-1,_result:t},_init:c}},w.memo=function(t,n){J(t)||console.error("memo: The first argument must be a component. Instead received: %s",t===null?"null":typeof t),n={$$typeof:ft,type:t,compare:n===void 0?null:n};var s;return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return s},set:function(d){s=d,t.name||t.displayName||(Object.defineProperty(t,"name",{value:d}),t.displayName=d)}}),n},w.startTransition=function(t){var n=_.T,s={};_.T=s,s._updatedFibers=new Set;try{var d=t(),y=_.S;y!==null&&y(s,d),typeof d=="object"&&d!==null&&typeof d.then=="function"&&d.then(e,Xt)}catch(m){Xt(m)}finally{n===null&&s._updatedFibers&&(t=s._updatedFibers.size,s._updatedFibers.clear(),10<t&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),_.T=n}},w.unstable_useCacheRefresh=function(){return u().useCacheRefresh()},w.use=function(t){return u().use(t)},w.useActionState=function(t,n,s){return u().useActionState(t,n,s)},w.useCallback=function(t,n){return u().useCallback(t,n)},w.useContext=function(t){var n=u();return t.$$typeof===yt&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),n.useContext(t)},w.useDebugValue=function(t,n){return u().useDebugValue(t,n)},w.useDeferredValue=function(t,n){return u().useDeferredValue(t,n)},w.useEffect=function(t,n){return u().useEffect(t,n)},w.useId=function(){return u().useId()},w.useImperativeHandle=function(t,n,s){return u().useImperativeHandle(t,n,s)},w.useInsertionEffect=function(t,n){return u().useInsertionEffect(t,n)},w.useLayoutEffect=function(t,n){return u().useLayoutEffect(t,n)},w.useMemo=function(t,n){return u().useMemo(t,n)},w.useOptimistic=function(t,n){return u().useOptimistic(t,n)},w.useReducer=function(t,n,s){return u().useReducer(t,n,s)},w.useRef=function(t){return u().useRef(t)},w.useState=function(t){return u().useState(t)},w.useSyncExternalStore=function(t,n,s){return u().useSyncExternalStore(t,n,s)},w.useTransition=function(){return u().useTransition()},w.version="19.0.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(ht,ht.exports)),ht.exports}process.env.NODE_ENV==="production"?jt.exports=ae():jt.exports=se();var ie=jt.exports;const ce=()=>(ie.useEffect(()=>{ee()},[]),null);exports.Bridge=ce;exports.initBridge=ee;
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),t}function e(){}function r(t){if(bt===null)try{var n=("require"+Math.random()).slice(0,7);bt=(q&&q[n]).call(q,"timers").setImmediate}catch{bt=function(d){Vt===!1&&(Vt=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var g=new MessageChannel;g.port1.onmessage=d,g.port2.postMessage(void 0)}}return bt(t)}function s(t){return 1<t.length&&typeof AggregateError=="function"?new AggregateError(t):t[0]}function u(t,n){n!==Tt-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Tt=n}function c(t,n,i){var d=_.actQueue;if(d!==null)if(d.length!==0)try{y(d),r(function(){return c(t,n,i)});return}catch(g){_.thrownErrors.push(g)}else _.actQueue=null;0<_.thrownErrors.length?(d=s(_.thrownErrors),_.thrownErrors.length=0,i(d)):n(t)}function y(t){if(!kt){kt=!0;var n=0;try{for(;n<t.length;n++){var i=t[n];do{_.didUsePromise=!1;var d=i(!1);if(d!==null){if(_.didUsePromise){t[n]=i,t.splice(0,n);return}i=d}else break}while(1)}t.length=0}catch(g){t.splice(0,n+1),_.thrownErrors.push(g)}finally{kt=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var l=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),R=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),gt=Symbol.for("react.context"),mt=Symbol.for("react.forward_ref"),vt=Symbol.for("react.suspense"),At=Symbol.for("react.suspense_list"),dt=Symbol.for("react.memo"),pt=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),xt=Symbol.iterator,Mt={},$t={isMounted:function(){return!1},enqueueForceUpdate:function(t){B(t,"forceUpdate")},enqueueReplaceState:function(t){B(t,"replaceState")},enqueueSetState:function(t){B(t,"setState")}},K=Object.assign,St={};Object.freeze(St),P.prototype.isReactComponent={},P.prototype.setState=function(t,n){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,n,"setState")},P.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};var st={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},wt;for(wt in st)st.hasOwnProperty(wt)&&N(wt,st[wt]);$.prototype=P.prototype,st=S.prototype=new $,st.constructor=S,K(st,P.prototype),st.isPureReactComponent=!0;var Et=Array.isArray,re=Symbol.for("react.client.reference"),_={H:null,A:null,T:null,S:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null},_t=Object.prototype.hasOwnProperty,oe=Symbol.for("react.client.reference"),ht=0,Lt,It,Ut,Yt,Bt,Dt,Ht;ct.__reactDisabledLog=!0;var Ot,qt,Pt=!1,Nt=new(typeof WeakMap=="function"?WeakMap:Map),ue=Symbol.for("react.client.reference"),zt,Wt,Ft={},Gt={},Kt=!1,Qt=/\/+/g,Xt=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},Vt=!1,bt=null,Tt=0,Rt=!1,kt=!1,Zt=typeof queueMicrotask=="function"?function(t){queueMicrotask(function(){return queueMicrotask(t)})}:r;w.Children={map:o,forEach:function(t,n,i){o(t,function(){n.apply(this,arguments)},i)},count:function(t){var n=0;return o(t,function(){n++}),n},toArray:function(t){return o(t,function(n){return n})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},w.Component=P,w.Fragment=h,w.Profiler=I,w.PureComponent=S,w.StrictMode=R,w.Suspense=vt,w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,w.act=function(t){var n=_.actQueue,i=Tt;Tt++;var d=_.actQueue=n!==null?n:[],g=!1;try{var v=t()}catch(T){_.thrownErrors.push(T)}if(0<_.thrownErrors.length)throw u(n,i),t=s(_.thrownErrors),_.thrownErrors.length=0,t;if(v!==null&&typeof v=="object"&&typeof v.then=="function"){var m=v;return Zt(function(){g||Rt||(Rt=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(T,A){g=!0,m.then(function(k){if(u(n,i),i===0){try{y(d),r(function(){return c(k,T,A)})}catch(H){_.thrownErrors.push(H)}if(0<_.thrownErrors.length){var it=s(_.thrownErrors);_.thrownErrors.length=0,A(it)}}else T(k)},function(k){u(n,i),0<_.thrownErrors.length&&(k=s(_.thrownErrors),_.thrownErrors.length=0),A(k)})}}}var C=v;if(u(n,i),i===0&&(y(d),d.length!==0&&Zt(function(){g||Rt||(Rt=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),_.actQueue=null),0<_.thrownErrors.length)throw t=s(_.thrownErrors),_.thrownErrors.length=0,t;return{then:function(T,A){g=!0,i===0?(_.actQueue=d,r(function(){return c(C,T,A)})):T(C)}}},w.cache=function(t){return function(){return t.apply(null,arguments)}},w.cloneElement=function(t,n,i){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var d=K({},t.props),g=t.key,v=t._owner;if(n!=null){var m;t:{if(_t.call(n,"ref")&&(m=Object.getOwnPropertyDescriptor(n,"ref").get)&&m.isReactWarning){m=!1;break t}m=n.ref!==void 0}m&&(v=j()),F(n)&&(V(n.key),g=""+n.key);for(C in n)!_t.call(n,C)||C==="key"||C==="__self"||C==="__source"||C==="ref"&&n.ref===void 0||(d[C]=n[C])}var C=arguments.length-2;if(C===1)d.children=i;else if(1<C){m=Array(C);for(var T=0;T<C;T++)m[T]=arguments[T+2];d.children=m}for(d=tt(t.type,g,void 0,void 0,v,d),g=2;g<arguments.length;g++)ot(arguments[g],d.type);return d},w.createContext=function(t){return t={$$typeof:gt,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:O,_context:t},t._currentRenderer=null,t._currentRenderer2=null,t},w.createElement=function(t,n,i){if(Z(t))for(var d=2;d<arguments.length;d++)ot(arguments[d],t);else{if(d="",(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(d+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),t===null)var g="null";else Et(t)?g="array":t!==void 0&&t.$$typeof===l?(g="<"+(L(t.type)||"Unknown")+" />",d=" Did you accidentally export a JSX literal instead of a component?"):g=typeof t;console.error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",g,d)}var v;if(d={},g=null,n!=null)for(v in Wt||!("__self"in n)||"key"in n||(Wt=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),F(n)&&(V(n.key),g=""+n.key),n)_t.call(n,v)&&v!=="key"&&v!=="__self"&&v!=="__source"&&(d[v]=n[v]);var m=arguments.length-2;if(m===1)d.children=i;else if(1<m){for(var C=Array(m),T=0;T<m;T++)C[T]=arguments[T+2];Object.freeze&&Object.freeze(C),d.children=C}if(t&&t.defaultProps)for(v in m=t.defaultProps,m)d[v]===void 0&&(d[v]=m[v]);return g&&rt(d,typeof t=="function"?t.displayName||t.name||"Unknown":t),tt(t,g,void 0,void 0,j(),d)},w.createRef=function(){var t={current:null};return Object.seal(t),t},w.forwardRef=function(t){t!=null&&t.$$typeof===dt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof t!="function"?console.error("forwardRef requires a render function but was given %s.",t===null?"null":typeof t):t.length!==0&&t.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",t.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),t!=null&&t.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var n={$$typeof:mt,render:t},i;return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return i},set:function(d){i=d,t.name||t.displayName||(Object.defineProperty(t,"name",{value:d}),t.displayName=d)}}),n},w.isValidElement=x,w.lazy=function(t){return{$$typeof:pt,_payload:{_status:-1,_result:t},_init:f}},w.memo=function(t,n){Z(t)||console.error("memo: The first argument must be a component. Instead received: %s",t===null?"null":typeof t),n={$$typeof:dt,type:t,compare:n===void 0?null:n};var i;return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return i},set:function(d){i=d,t.name||t.displayName||(Object.defineProperty(t,"name",{value:d}),t.displayName=d)}}),n},w.startTransition=function(t){var n=_.T,i={};_.T=i,i._updatedFibers=new Set;try{var d=t(),g=_.S;g!==null&&g(i,d),typeof d=="object"&&d!==null&&typeof d.then=="function"&&d.then(e,Xt)}catch(v){Xt(v)}finally{n===null&&i._updatedFibers&&(t=i._updatedFibers.size,i._updatedFibers.clear(),10<t&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),_.T=n}},w.unstable_useCacheRefresh=function(){return a().useCacheRefresh()},w.use=function(t){return a().use(t)},w.useActionState=function(t,n,i){return a().useActionState(t,n,i)},w.useCallback=function(t,n){return a().useCallback(t,n)},w.useContext=function(t){var n=a();return t.$$typeof===O&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),n.useContext(t)},w.useDebugValue=function(t,n){return a().useDebugValue(t,n)},w.useDeferredValue=function(t,n){return a().useDeferredValue(t,n)},w.useEffect=function(t,n){return a().useEffect(t,n)},w.useId=function(){return a().useId()},w.useImperativeHandle=function(t,n,i){return a().useImperativeHandle(t,n,i)},w.useInsertionEffect=function(t,n){return a().useInsertionEffect(t,n)},w.useLayoutEffect=function(t,n){return a().useLayoutEffect(t,n)},w.useMemo=function(t,n){return a().useMemo(t,n)},w.useOptimistic=function(t,n){return a().useOptimistic(t,n)},w.useReducer=function(t,n,i){return a().useReducer(t,n,i)},w.useRef=function(t){return a().useRef(t)},w.useState=function(t){return a().useState(t)},w.useSyncExternalStore=function(t,n,i){return a().useSyncExternalStore(t,n,i)},w.useTransition=function(){return a().useTransition()},w.version="19.0.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(yt,yt.exports)),yt.exports}process.env.NODE_ENV==="production"?jt.exports=ae():jt.exports=se();var ie=jt.exports;const ce=()=>(ie.useEffect(()=>{ee()},[]),null);exports.Bridge=ce;exports.initBridge=ee;
{
"name": "@builderx/bridge",
"version": "1.0.22",
"version": "1.0.23",
"main": "dist/index.es.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

Sorry, the diff of this file is too big to display