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
4
Versions
38
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 1.0.18 to 1.0.19

24

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

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

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

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

* LICENSE file in the root directory of this source tree.
*/pt.exports;var te;function ae(){return te||(te=1,function(D,w){process.env.NODE_ENV!=="production"&&function(){function P(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 Q(t){return t===null||typeof t!="object"?null:(t=Mt&&t[Mt]||t["@@iterator"],typeof t=="function"?t:null)}function U(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||$t}function Y(){}function N(t,n,s){this.props=t,this.context=n,this.refs=St,this.updater=s||$t}function q(t){return""+t}function X(t){try{q(t);var n=!1}catch{n=!0}if(n){n=console;var s=n.error,f=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.",f),q(t)}}function M(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 R:return"Fragment";case A:return"Portal";case Ct:return"Profiler";case $:return"StrictMode";case gt: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 Tt:return(t.displayName||"Context")+".Provider";case ht:return(t._context.displayName||"Context")+".Consumer";case yt:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case lt:return n=t.displayName||null,n!==null?n:M(t.type)||"Memo";case ft:n=t._payload,t=t._init;try{return M(t(n))}catch{}}return null}function J(t){return typeof t=="string"||typeof t=="function"||t===R||t===Ct||t===$||t===gt||t===At||t===ne||typeof t=="object"&&t!==null&&(t.$$typeof===ft||t.$$typeof===lt||t.$$typeof===Tt||t.$$typeof===ht||t.$$typeof===yt||t.$$typeof===oe||t.getModuleId!==void 0)}function ot(){}function ut(){if(dt===0){Lt=console.log,It=console.info,Ut=console.warn,Yt=console.error,Ht=console.group,Bt=console.groupCollapsed,Dt=console.groupEnd;var t={configurable:!0,enumerable:!0,value:ot,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}dt++}function st(){if(dt--,dt===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:G({},t,{value:Lt}),info:G({},t,{value:It}),warn:G({},t,{value:Ut}),error:G({},t,{value:Yt}),group:G({},t,{value:Ht}),groupCollapsed:G({},t,{value:Bt}),groupEnd:G({},t,{value:Dt})})}0>dt&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function z(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 x(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 f=null;f=_.H,_.H=null,ut();try{var y={DetermineComponentFrameRoot:function(){try{if(n){var B=function(){throw Error()};if(Object.defineProperty(B.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(B,[])}catch(K){var Rt=K}Reflect.construct(t,[],B)}else{try{B.call()}catch(K){Rt=K}t.call(B.prototype)}}else{try{throw Error()}catch(K){Rt=K}(B=t())&&typeof B.catch=="function"&&B.catch(function(){})}}catch(K){if(K&&Rt&&typeof K.stack=="string")return[K.stack,Rt.stack]}return[null,null]}};y.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(y.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(y.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=y.DetermineComponentFrameRoot(),T=g[0],C=g[1];if(T&&C){var S=T.split(`
`),j=C.split(`
`);for(g=v=0;v<S.length&&!S[v].includes("DetermineComponentFrameRoot");)v++;for(;g<j.length&&!j[g].includes("DetermineComponentFrameRoot");)g++;if(v===S.length||g===j.length)for(v=S.length-1,g=j.length-1;1<=v&&0<=g&&S[v]!==j[g];)g--;for(;1<=v&&0<=g;v--,g--)if(S[v]!==j[g]){if(v!==1||g!==1)do if(v--,g--,0>g||S[v]!==j[g]){var rt=`
`+S[v].replace(" at new "," at ");return t.displayName&&rt.includes("<anonymous>")&&(rt=rt.replace("<anonymous>",t.displayName)),typeof t=="function"&&Nt.set(t,rt),rt}while(1<=v&&0<=g);break}}}finally{Pt=!1,_.H=f,st(),Error.prepareStackTrace=s}return S=(S=t?t.displayName||t.name:"")?z(S):"",typeof t=="function"&&Nt.set(t,S),S}function H(t){if(t==null)return"";if(typeof t=="function"){var n=t.prototype;return x(t,!(!n||!n.isReactComponent))}if(typeof t=="string")return z(t);switch(t){case gt:return z("Suspense");case At:return z("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case yt:return t=x(t.render,!1),t;case lt:return H(t.type);case ft:n=t._payload,t=t._init;try{return H(t(n))}catch{}}return""}function I(){var t=_.A;return t===null?null:t.getOwner()}function L(t){if(wt.call(t,"key")){var n=Object.getOwnPropertyDescriptor(t,"key").get;if(n&&n.isReactWarning)return!1}return t.key!==void 0}function at(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 b(){var t=M(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 W(t,n,s,f,y,v){return s=v.ref,t={$$typeof:p,type:t,key:n,props:v,_owner:y},(s!==void 0?s: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 tt(t,n){return n=W(t.type,n,void 0,void 0,t._owner,t.props),n._store.validated=t._store.validated,n}function et(t,n){if(typeof t=="object"&&t&&t.$$typeof!==ue){if(vt(t))for(var s=0;s<t.length;s++){var f=t[s];k(f)&&F(f,n)}else if(k(t))t._store&&(t._store.validated=1);else if(s=Q(t),typeof s=="function"&&s!==t.entries&&(s=s.call(t),s!==t))for(;!(t=s.next()).done;)k(t.value)&&F(t.value,n)}}function k(t){return typeof t=="object"&&t!==null&&t.$$typeof===p}function F(t,n){if(t._store&&!t._store.validated&&t.key==null&&(t._store.validated=1,n=it(n),!Gt[n])){Gt[n]=!0;var s="";t&&t._owner!=null&&t._owner!==I()&&(s=null,typeof t._owner.tag=="number"?s=M(t._owner.type):typeof t._owner.name=="string"&&(s=t._owner.name),s=" It was passed a child from "+s+".");var f=_.getCurrentStack;_.getCurrentStack=function(){var y=H(t.type);return f&&(y+=f()||""),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=f}}function it(t){var n="",s=I();return s&&(s=M(s.type))&&(n=`
*/he.exports;var et;function at(){return et||(et=1,function(z,w){process.env.NODE_ENV!=="production"&&function(){function P(e,n){Object.defineProperty(O.prototype,e,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",n[0],n[1])}})}function Z(e){return e===null||typeof e!="object"?null:(e=Me&&e[Me]||e["@@iterator"],typeof e=="function"?e:null)}function Y(e,n){e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass";var a=e+"."+n;xe[a]||(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,e),xe[a]=!0)}function O(e,n,a){this.props=e,this.context=n,this.refs=Se,this.updater=a||$e}function M(){}function S(e,n,a){this.props=e,this.context=n,this.refs=Se,this.updater=a||$e}function W(e){return""+e}function J(e){try{W(e);var n=!1}catch{n=!0}if(n){n=console;var a=n.error,l=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return a.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",l),W(e)}}function x(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===rt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case b:return"Fragment";case v:return"Portal";case U:return"Profiler";case j:return"StrictMode";case me:return"Suspense";case Ae:return"SuspenseList"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case Ce:return(e.displayName||"Context")+".Provider";case ye:return(e._context.displayName||"Context")+".Consumer";case ge:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fe:return n=e.displayName||null,n!==null?n:x(e.type)||"Memo";case de:n=e._payload,e=e._init;try{return x(e(n))}catch{}}return null}function ee(e){return typeof e=="string"||typeof e=="function"||e===b||e===U||e===j||e===me||e===Ae||e===nt||typeof e=="object"&&e!==null&&(e.$$typeof===de||e.$$typeof===fe||e.$$typeof===Ce||e.$$typeof===ye||e.$$typeof===ge||e.$$typeof===ot||e.getModuleId!==void 0)}function se(){}function ae(){if(pe===0){Le=console.log,Ie=console.info,Ue=console.warn,Ye=console.error,He=console.group,De=console.groupCollapsed,Be=console.groupEnd;var e={configurable:!0,enumerable:!0,value:se,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}pe++}function ie(){if(pe--,pe===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:X({},e,{value:Le}),info:X({},e,{value:Ie}),warn:X({},e,{value:Ue}),error:X({},e,{value:Ye}),group:X({},e,{value:He}),groupCollapsed:X({},e,{value:De}),groupEnd:X({},e,{value:Be})})}0>pe&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function F(e){if(Oe===void 0)try{throw Error()}catch(a){var n=a.stack.trim().match(/\n( *(at )?)/);Oe=n&&n[1]||"",qe=-1<a.stack.indexOf(`
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Oe+e+qe}function I(e,n){if(!e||Pe)return"";var a=Ne.get(e);if(a!==void 0)return a;Pe=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var l=null;l=_.H,_.H=null,ae();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(V){var Te=V}Reflect.construct(e,[],q)}else{try{q.call()}catch(V){Te=V}e.call(q.prototype)}}else{try{throw Error()}catch(V){Te=V}(q=e())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(V){if(V&&Te&&typeof V.stack=="string")return[V.stack,Te.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(),T=g[0],R=g[1];if(T&&R){var A=T.split(`
`),k=R.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 ue=`
`+A[m].replace(" at new "," at ");return e.displayName&&ue.includes("<anonymous>")&&(ue=ue.replace("<anonymous>",e.displayName)),typeof e=="function"&&Ne.set(e,ue),ue}while(1<=m&&0<=g);break}}}finally{Pe=!1,_.H=l,ie(),Error.prepareStackTrace=a}return A=(A=e?e.displayName||e.name:"")?F(A):"",typeof e=="function"&&Ne.set(e,A),A}function H(e){if(e==null)return"";if(typeof e=="function"){var n=e.prototype;return I(e,!(!n||!n.isReactComponent))}if(typeof e=="string")return F(e);switch(e){case me:return F("Suspense");case Ae:return F("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case ge:return e=I(e.render,!1),e;case fe:return H(e.type);case de:n=e._payload,e=e._init;try{return H(e(n))}catch{}}return""}function $(){var e=_.A;return e===null?null:e.getOwner()}function G(e){if(Ee.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function D(e,n){function a(){ze||(ze=!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))}a.isReactWarning=!0,Object.defineProperty(e,"key",{get:a,configurable:!0})}function C(){var e=x(this.type);return Fe[e]||(Fe[e]=!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.")),e=this.props.ref,e!==void 0?e:null}function L(e,n,a,l,y,m){return a=m.ref,e={$$typeof:d,type:e,key:n,props:m,_owner:y},(a!==void 0?a:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:C}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function te(e,n){return n=L(e.type,n,void 0,void 0,e._owner,e.props),n._store.validated=e._store.validated,n}function ce(e,n){if(typeof e=="object"&&e&&e.$$typeof!==ut){if(we(e))for(var a=0;a<e.length;a++){var l=e[a];N(l)&&ne(l,n)}else if(N(e))e._store&&(e._store.validated=1);else if(a=Z(e),typeof a=="function"&&a!==e.entries&&(a=a.call(e),a!==e))for(;!(e=a.next()).done;)N(e.value)&&ne(e.value,n)}}function N(e){return typeof e=="object"&&e!==null&&e.$$typeof===d}function ne(e,n){if(e._store&&!e._store.validated&&e.key==null&&(e._store.validated=1,n=K(n),!Ge[n])){Ge[n]=!0;var a="";e&&e._owner!=null&&e._owner!==$()&&(a=null,typeof e._owner.tag=="number"?a=x(e._owner.type):typeof e._owner.name=="string"&&(a=e._owner.name),a=" It was passed a child from "+a+".");var l=_.getCurrentStack;_.getCurrentStack=function(){var y=H(e.type);return l&&(y+=l()||""),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,a),_.getCurrentStack=l}}function K(e){var n="",a=$();return a&&(a=x(a.type))&&(n=`
Check the render method of \``+s+"`."),n||(t=M(t))&&(n=`
Check the render method of \``+a+"`."),n||(e=x(e))&&(n=`
Check the top-level render call using <`+t+">."),n}function V(t){var n={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(s){return n[s]})}function Z(t,n){return typeof t=="object"&&t!==null&&t.key!=null?(X(t.key),V(""+t.key)):n.toString(36)}function ct(){}function r(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(ct,ct):(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 l(t,n,s,f,y){var v=typeof t;(v==="undefined"||v==="boolean")&&(t=null);var g=!1;if(t===null)g=!0;else switch(v){case"bigint":case"string":case"number":g=!0;break;case"object":switch(t.$$typeof){case p:case A:g=!0;break;case ft:return g=t._init,l(g(t._payload),n,s,f,y)}}if(g){g=t,y=y(g);var T=f===""?"."+Z(g,0):f;return vt(y)?(s="",T!=null&&(s=T.replace(Qt,"$&/")+"/"),l(y,n,s,"",function(S){return S})):y!=null&&(k(y)&&(y.key!=null&&(g&&g.key===y.key||X(y.key)),s=tt(y,s+(y.key==null||g&&g.key===y.key?"":(""+y.key).replace(Qt,"$&/")+"/")+T),f!==""&&g!=null&&k(g)&&g.key==null&&g._store&&!g._store.validated&&(s._store.validated=2),y=s),n.push(y)),1}if(g=0,T=f===""?".":f+":",vt(t))for(var C=0;C<t.length;C++)f=t[C],v=T+Z(f,C),g+=l(f,n,s,v,y);else if(C=Q(t),typeof C=="function")for(C===t.entries&&(Kt||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Kt=!0),t=C.call(t),C=0;!(f=t.next()).done;)f=f.value,v=T+Z(f,C++),g+=l(f,n,s,v,y);else if(v==="object"){if(typeof t.then=="function")return l(r(t),n,s,f,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 c(t,n,s){if(t==null)return t;var f=[],y=0;return l(t,f,"","",function(v){return n.call(s,v,y++)}),f}function i(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 <`+e+">."),n}function re(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return n[a]})}function Q(e,n){return typeof e=="object"&&e!==null&&e.key!=null?(J(e.key),re(""+e.key)):n.toString(36)}function le(){}function B(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(le,le):(e.status="pending",e.then(function(n){e.status==="pending"&&(e.status="fulfilled",e.value=n)},function(n){e.status==="pending"&&(e.status="rejected",e.reason=n)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function r(e,n,a,l,y){var m=typeof e;(m==="undefined"||m==="boolean")&&(e=null);var g=!1;if(e===null)g=!0;else switch(m){case"bigint":case"string":case"number":g=!0;break;case"object":switch(e.$$typeof){case d:case v:g=!0;break;case de:return g=e._init,r(g(e._payload),n,a,l,y)}}if(g){g=e,y=y(g);var T=l===""?"."+Q(g,0):l;return we(y)?(a="",T!=null&&(a=T.replace(Qe,"$&/")+"/"),r(y,n,a,"",function(A){return A})):y!=null&&(N(y)&&(y.key!=null&&(g&&g.key===y.key||J(y.key)),a=te(y,a+(y.key==null||g&&g.key===y.key?"":(""+y.key).replace(Qe,"$&/")+"/")+T),l!==""&&g!=null&&N(g)&&g.key==null&&g._store&&!g._store.validated&&(a._store.validated=2),y=a),n.push(y)),1}if(g=0,T=l===""?".":l+":",we(e))for(var R=0;R<e.length;R++)l=e[R],m=T+Q(l,R),g+=r(l,n,a,m,y);else if(R=Z(e),typeof R=="function")for(R===e.entries&&(Ke||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ke=!0),e=R.call(e),R=0;!(l=e.next()).done;)l=l.value,m=T+Q(l,R++),g+=r(l,n,a,m,y);else if(m==="object"){if(typeof e.then=="function")return r(B(e),n,a,l,y);throw n=String(e),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return g}function f(e,n,a){if(e==null)return e;var l=[],y=0;return r(e,l,"","",function(m){return n.call(a,m,y++)}),l}function c(e){if(e._status===-1){var n=e._result;n=n(),n.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=n)}if(e._status===1)return n=e._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 e._result}function u(){var e=_.H;return e===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(Et===null)try{var n=("require"+Math.random()).slice(0,7);Et=(D&&D[n]).call(D,"timers").setImmediate}catch{Et=function(f){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=f,y.port2.postMessage(void 0)}}return Et(t)}function a(t){return 1<t.length&&typeof AggregateError=="function"?new AggregateError(t):t[0]}function h(t,n){n!==_t-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. "),_t=n}function d(t,n,s){var f=_.actQueue;if(f!==null)if(f.length!==0)try{m(f),o(function(){return d(t,n,s)});return}catch(y){_.thrownErrors.push(y)}else _.actQueue=null;0<_.thrownErrors.length?(f=a(_.thrownErrors),_.thrownErrors.length=0,s(f)):n(t)}function m(t){if(!kt){kt=!0;var n=0;try{for(;n<t.length;n++){var s=t[n];do{_.didUsePromise=!1;var f=s(!1);if(f!==null){if(_.didUsePromise){t[n]=s,t.splice(0,n);return}s=f}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 p=Symbol.for("react.transitional.element"),A=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),Ct=Symbol.for("react.profiler"),ht=Symbol.for("react.consumer"),Tt=Symbol.for("react.context"),yt=Symbol.for("react.forward_ref"),gt=Symbol.for("react.suspense"),At=Symbol.for("react.suspense_list"),lt=Symbol.for("react.memo"),ft=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),Mt=Symbol.iterator,xt={},$t={isMounted:function(){return!1},enqueueForceUpdate:function(t){U(t,"forceUpdate")},enqueueReplaceState:function(t){U(t,"replaceState")},enqueueSetState:function(t){U(t,"setState")}},G=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 nt={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)."]},mt;for(mt in nt)nt.hasOwnProperty(mt)&&P(mt,nt[mt]);Y.prototype=O.prototype,nt=N.prototype=new Y,nt.constructor=N,G(nt,O.prototype),nt.isPureReactComponent=!0;var vt=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},wt=Object.prototype.hasOwnProperty,oe=Symbol.for("react.client.reference"),dt=0,Lt,It,Ut,Yt,Ht,Bt,Dt;ot.__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,Et=null,_t=0,bt=!1,kt=!1,Zt=typeof queueMicrotask=="function"?function(t){queueMicrotask(function(){return queueMicrotask(t)})}:o;w.Children={map:c,forEach:function(t,n,s){c(t,function(){n.apply(this,arguments)},s)},count:function(t){var n=0;return c(t,function(){n++}),n},toArray:function(t){return c(t,function(n){return n})||[]},only:function(t){if(!k(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},w.Component=O,w.Fragment=R,w.Profiler=Ct,w.PureComponent=N,w.StrictMode=$,w.Suspense=gt,w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,w.act=function(t){var n=_.actQueue,s=_t;_t++;var f=_.actQueue=n!==null?n:[],y=!1;try{var v=t()}catch(C){_.thrownErrors.push(C)}if(0<_.thrownErrors.length)throw h(n,s),t=a(_.thrownErrors),_.thrownErrors.length=0,t;if(v!==null&&typeof v=="object"&&typeof v.then=="function"){var g=v;return Zt(function(){y||bt||(bt=!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(C,S){y=!0,g.then(function(j){if(h(n,s),s===0){try{m(f),o(function(){return d(j,C,S)})}catch(B){_.thrownErrors.push(B)}if(0<_.thrownErrors.length){var rt=a(_.thrownErrors);_.thrownErrors.length=0,S(rt)}}else C(j)},function(j){h(n,s),0<_.thrownErrors.length&&(j=a(_.thrownErrors),_.thrownErrors.length=0),S(j)})}}}var T=v;if(h(n,s),s===0&&(m(f),f.length!==0&&Zt(function(){y||bt||(bt=!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(C,S){y=!0,s===0?(_.actQueue=f,o(function(){return d(T,C,S)})):C(T)}}},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 f=G({},t.props),y=t.key,v=t._owner;if(n!=null){var g;t:{if(wt.call(n,"ref")&&(g=Object.getOwnPropertyDescriptor(n,"ref").get)&&g.isReactWarning){g=!1;break t}g=n.ref!==void 0}g&&(v=I()),L(n)&&(X(n.key),y=""+n.key);for(T in n)!wt.call(n,T)||T==="key"||T==="__self"||T==="__source"||T==="ref"&&n.ref===void 0||(f[T]=n[T])}var T=arguments.length-2;if(T===1)f.children=s;else if(1<T){g=Array(T);for(var C=0;C<T;C++)g[C]=arguments[C+2];f.children=g}for(f=W(t.type,y,void 0,void 0,v,f),y=2;y<arguments.length;y++)et(arguments[y],f.type);return f},w.createContext=function(t){return t={$$typeof:Tt,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:ht,_context:t},t._currentRenderer=null,t._currentRenderer2=null,t},w.createElement=function(t,n,s){if(J(t))for(var f=2;f<arguments.length;f++)et(arguments[f],t);else{if(f="",(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(f+=" 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 vt(t)?y="array":t!==void 0&&t.$$typeof===p?(y="<"+(M(t.type)||"Unknown")+" />",f=" 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,f)}var v;if(f={},y=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")),L(n)&&(X(n.key),y=""+n.key),n)wt.call(n,v)&&v!=="key"&&v!=="__self"&&v!=="__source"&&(f[v]=n[v]);var g=arguments.length-2;if(g===1)f.children=s;else if(1<g){for(var T=Array(g),C=0;C<g;C++)T[C]=arguments[C+2];Object.freeze&&Object.freeze(T),f.children=T}if(t&&t.defaultProps)for(v in g=t.defaultProps,g)f[v]===void 0&&(f[v]=g[v]);return y&&at(f,typeof t=="function"?t.displayName||t.name||"Unknown":t),W(t,y,void 0,void 0,I(),f)},w.createRef=function(){var t={current:null};return Object.seal(t),t},w.forwardRef=function(t){t!=null&&t.$$typeof===lt?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:yt,render:t},s;return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return s},set:function(f){s=f,t.name||t.displayName||(Object.defineProperty(t,"name",{value:f}),t.displayName=f)}}),n},w.isValidElement=k,w.lazy=function(t){return{$$typeof:ft,_payload:{_status:-1,_result:t},_init:i}},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:lt,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(f){s=f,t.name||t.displayName||(Object.defineProperty(t,"name",{value:f}),t.displayName=f)}}),n},w.startTransition=function(t){var n=_.T,s={};_.T=s,s._updatedFibers=new Set;try{var f=t(),y=_.S;y!==null&&y(s,f),typeof f=="object"&&f!==null&&typeof f.then=="function"&&f.then(e,Xt)}catch(v){Xt(v)}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===ht&&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())}()}(pt,pt.exports)),pt.exports}process.env.NODE_ENV==="production"?jt.exports=se():jt.exports=ae();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.`),e}function t(){}function o(e){if(_e===null)try{var n=("require"+Math.random()).slice(0,7);_e=(z&&z[n]).call(z,"timers").setImmediate}catch{_e=function(l){Ve===!1&&(Ve=!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=l,y.port2.postMessage(void 0)}}return _e(e)}function s(e){return 1<e.length&&typeof AggregateError=="function"?new AggregateError(e):e[0]}function i(e,n){n!==be-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. "),be=n}function p(e,n,a){var l=_.actQueue;if(l!==null)if(l.length!==0)try{h(l),o(function(){return p(e,n,a)});return}catch(y){_.thrownErrors.push(y)}else _.actQueue=null;0<_.thrownErrors.length?(l=s(_.thrownErrors),_.thrownErrors.length=0,a(l)):n(e)}function h(e){if(!ke){ke=!0;var n=0;try{for(;n<e.length;n++){var a=e[n];do{_.didUsePromise=!1;var l=a(!1);if(l!==null){if(_.didUsePromise){e[n]=a,e.splice(0,n);return}a=l}else break}while(1)}e.length=0}catch(y){e.splice(0,n+1),_.thrownErrors.push(y)}finally{ke=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var d=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),ye=Symbol.for("react.consumer"),Ce=Symbol.for("react.context"),ge=Symbol.for("react.forward_ref"),me=Symbol.for("react.suspense"),Ae=Symbol.for("react.suspense_list"),fe=Symbol.for("react.memo"),de=Symbol.for("react.lazy"),nt=Symbol.for("react.offscreen"),Me=Symbol.iterator,xe={},$e={isMounted:function(){return!1},enqueueForceUpdate:function(e){Y(e,"forceUpdate")},enqueueReplaceState:function(e){Y(e,"replaceState")},enqueueSetState:function(e){Y(e,"setState")}},X=Object.assign,Se={};Object.freeze(Se),O.prototype.isReactComponent={},O.prototype.setState=function(e,n){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,n,"setState")},O.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var oe={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)."]},ve;for(ve in oe)oe.hasOwnProperty(ve)&&P(ve,oe[ve]);M.prototype=O.prototype,oe=S.prototype=new M,oe.constructor=S,X(oe,O.prototype),oe.isPureReactComponent=!0;var we=Array.isArray,rt=Symbol.for("react.client.reference"),_={H:null,A:null,T:null,S:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null},Ee=Object.prototype.hasOwnProperty,ot=Symbol.for("react.client.reference"),pe=0,Le,Ie,Ue,Ye,He,De,Be;se.__reactDisabledLog=!0;var Oe,qe,Pe=!1,Ne=new(typeof WeakMap=="function"?WeakMap:Map),ut=Symbol.for("react.client.reference"),ze,We,Fe={},Ge={},Ke=!1,Qe=/\/+/g,Xe=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=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(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Ve=!1,_e=null,be=0,Re=!1,ke=!1,Ze=typeof queueMicrotask=="function"?function(e){queueMicrotask(function(){return queueMicrotask(e)})}:o;w.Children={map:f,forEach:function(e,n,a){f(e,function(){n.apply(this,arguments)},a)},count:function(e){var n=0;return f(e,function(){n++}),n},toArray:function(e){return f(e,function(n){return n})||[]},only:function(e){if(!N(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},w.Component=O,w.Fragment=b,w.Profiler=U,w.PureComponent=S,w.StrictMode=j,w.Suspense=me,w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,w.act=function(e){var n=_.actQueue,a=be;be++;var l=_.actQueue=n!==null?n:[],y=!1;try{var m=e()}catch(R){_.thrownErrors.push(R)}if(0<_.thrownErrors.length)throw i(n,a),e=s(_.thrownErrors),_.thrownErrors.length=0,e;if(m!==null&&typeof m=="object"&&typeof m.then=="function"){var g=m;return Ze(function(){y||Re||(Re=!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(R,A){y=!0,g.then(function(k){if(i(n,a),a===0){try{h(l),o(function(){return p(k,R,A)})}catch(q){_.thrownErrors.push(q)}if(0<_.thrownErrors.length){var ue=s(_.thrownErrors);_.thrownErrors.length=0,A(ue)}}else R(k)},function(k){i(n,a),0<_.thrownErrors.length&&(k=s(_.thrownErrors),_.thrownErrors.length=0),A(k)})}}}var T=m;if(i(n,a),a===0&&(h(l),l.length!==0&&Ze(function(){y||Re||(Re=!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 e=s(_.thrownErrors),_.thrownErrors.length=0,e;return{then:function(R,A){y=!0,a===0?(_.actQueue=l,o(function(){return p(T,R,A)})):R(T)}}},w.cache=function(e){return function(){return e.apply(null,arguments)}},w.cloneElement=function(e,n,a){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var l=X({},e.props),y=e.key,m=e._owner;if(n!=null){var g;e:{if(Ee.call(n,"ref")&&(g=Object.getOwnPropertyDescriptor(n,"ref").get)&&g.isReactWarning){g=!1;break e}g=n.ref!==void 0}g&&(m=$()),G(n)&&(J(n.key),y=""+n.key);for(T in n)!Ee.call(n,T)||T==="key"||T==="__self"||T==="__source"||T==="ref"&&n.ref===void 0||(l[T]=n[T])}var T=arguments.length-2;if(T===1)l.children=a;else if(1<T){g=Array(T);for(var R=0;R<T;R++)g[R]=arguments[R+2];l.children=g}for(l=L(e.type,y,void 0,void 0,m,l),y=2;y<arguments.length;y++)ce(arguments[y],l.type);return l},w.createContext=function(e){return e={$$typeof:Ce,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:ye,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},w.createElement=function(e,n,a){if(ee(e))for(var l=2;l<arguments.length;l++)ce(arguments[l],e);else{if(l="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(l+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null)var y="null";else we(e)?y="array":e!==void 0&&e.$$typeof===d?(y="<"+(x(e.type)||"Unknown")+" />",l=" Did you accidentally export a JSX literal instead of a component?"):y=typeof e;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,l)}var m;if(l={},y=null,n!=null)for(m in We||!("__self"in n)||"key"in n||(We=!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)&&(J(n.key),y=""+n.key),n)Ee.call(n,m)&&m!=="key"&&m!=="__self"&&m!=="__source"&&(l[m]=n[m]);var g=arguments.length-2;if(g===1)l.children=a;else if(1<g){for(var T=Array(g),R=0;R<g;R++)T[R]=arguments[R+2];Object.freeze&&Object.freeze(T),l.children=T}if(e&&e.defaultProps)for(m in g=e.defaultProps,g)l[m]===void 0&&(l[m]=g[m]);return y&&D(l,typeof e=="function"?e.displayName||e.name||"Unknown":e),L(e,y,void 0,void 0,$(),l)},w.createRef=function(){var e={current:null};return Object.seal(e),e},w.forwardRef=function(e){e!=null&&e.$$typeof===fe?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e!="function"?console.error("forwardRef requires a render function but was given %s.",e===null?"null":typeof e):e.length!==0&&e.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",e.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),e!=null&&e.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var n={$$typeof:ge,render:e},a;return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return a},set:function(l){a=l,e.name||e.displayName||(Object.defineProperty(e,"name",{value:l}),e.displayName=l)}}),n},w.isValidElement=N,w.lazy=function(e){return{$$typeof:de,_payload:{_status:-1,_result:e},_init:c}},w.memo=function(e,n){ee(e)||console.error("memo: The first argument must be a component. Instead received: %s",e===null?"null":typeof e),n={$$typeof:fe,type:e,compare:n===void 0?null:n};var a;return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return a},set:function(l){a=l,e.name||e.displayName||(Object.defineProperty(e,"name",{value:l}),e.displayName=l)}}),n},w.startTransition=function(e){var n=_.T,a={};_.T=a,a._updatedFibers=new Set;try{var l=e(),y=_.S;y!==null&&y(a,l),typeof l=="object"&&l!==null&&typeof l.then=="function"&&l.then(t,Xe)}catch(m){Xe(m)}finally{n===null&&a._updatedFibers&&(e=a._updatedFibers.size,a._updatedFibers.clear(),10<e&&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(e){return u().use(e)},w.useActionState=function(e,n,a){return u().useActionState(e,n,a)},w.useCallback=function(e,n){return u().useCallback(e,n)},w.useContext=function(e){var n=u();return e.$$typeof===ye&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),n.useContext(e)},w.useDebugValue=function(e,n){return u().useDebugValue(e,n)},w.useDeferredValue=function(e,n){return u().useDeferredValue(e,n)},w.useEffect=function(e,n){return u().useEffect(e,n)},w.useId=function(){return u().useId()},w.useImperativeHandle=function(e,n,a){return u().useImperativeHandle(e,n,a)},w.useInsertionEffect=function(e,n){return u().useInsertionEffect(e,n)},w.useLayoutEffect=function(e,n){return u().useLayoutEffect(e,n)},w.useMemo=function(e,n){return u().useMemo(e,n)},w.useOptimistic=function(e,n){return u().useOptimistic(e,n)},w.useReducer=function(e,n,a){return u().useReducer(e,n,a)},w.useRef=function(e){return u().useRef(e)},w.useState=function(e){return u().useState(e)},w.useSyncExternalStore=function(e,n,a){return u().useSyncExternalStore(e,n,a)},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())}()}(he,he.exports)),he.exports}process.env.NODE_ENV==="production"?je.exports=st():je.exports=at();var it=je.exports;const ct=()=>(it.useEffect(()=>{tt()},[]),null);exports.Bridge=ct;exports.initBridge=tt;
{
"name": "@builderx/bridge",
"version": "1.0.18",
"version": "1.0.19",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc