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.16 to 1.0.17

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 $=function(r){if(typeof window<"u")try{window.parent.postMessage(r,"*")}catch(l){console.error("Error sending message to parent:",l)}},G=function(){const r=x();if(r){const l=P(r,!1);$({type:"onUpdateTree",data:l,artboardId:window.artboardId})}},N=function(r=10,l=500){let f=0;const i=setInterval(()=>{x()&&window.artboardId?(clearInterval(i),G()):f>=r&&(clearInterval(i),console.error("Failed to find React root fiber node after multiple attempts")),f++},l)},O=function(r){var f,i;let l=null;try{for(;r;){if(r.stateNode instanceof HTMLElement||r.stateNode instanceof SVGElement){l=r.stateNode;break}if(((f=r.child)==null?void 0:f.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(s){console.error("Error in getDomNodeFromFiber:",s)}return l},Z=function(r){const{id:l,fnName:f,fnArgs:i}=r.payload;let s;switch(f){case"add":s=i.a+i.b;break;case"getLayerById":s=I(i);break;case"getLayerComputedStyle":s=it(i);break;case"getLayerAtXY":s=D(i);break;case"setLayerResizing":s=k(i);break;case"findContainerForDimensions":s=J(i);break;case"getPositionedAncestorOffset":s=ut(i);break;case"getPathOfChildFromParent":s=st(i);break;default:console.warn(`Unknown RPC function: ${f}`);return}$({type:"rpcResolved",calledMethod:f,id:l,result:s})},k=function({isResizing:r}){window.layerResizing=r},D=function(r){let{x:l,y:f,inLayers:i,zoomLevel:s}=r;const d=document.elementFromPoint(l,f);let e,o=U(d),p=null;if(i&&Array.isArray(i))for(;o;){const c=o.memoizedProps;if(c&&"data-bx-path"in c&&(e=c["data-bx-path"],e&&i.includes(e))){p=O(o);break}o=o.return}else p=d,e=o==null?void 0:o.memoizedProps["data-bx-path"];if(p){const c=p.getBoundingClientRect(),h={x:c.left,y:c.top,width:c.width,height:c.height,path:e};return h.container=et(o,p),h}return null},q=function(r){const l=at(r);let f;return l&&(f=O(l)),f||(f=document.querySelector(`[data-bx-path="${r}"]`)),f},I=function(r){try{const{layerId:l}=r,f=q(l);if(f){const i=f.getBoundingClientRect(),s=window.getComputedStyle(f),d=s.transform,e=s.rotate;let o=0;if(e&&e!=="none")o=parseFloat(e);else if(d&&d!=="none"){const h=d.split("(")[1].split(")")[0].split(",");o=Math.round(Math.atan2(Number(h[1]),Number(h[0]))*(180/Math.PI))}const p={x:i.left,y:i.top,width:i.width,height:i.height,path:l,rotation:o};let c=U(f);return p.container=et(c,f),p}return null}catch(l){return console.error("Error in getLayerById:",l),null}},J=function({x:r,y:l,width:f,height:i,artboardId:s}){const d=document.querySelector(`[data-bx-path^="${s}"]`);if(!d)return console.error(`Artboard with ID ${s} not found`),null;const e=d.querySelectorAll("[data-bx-path]");let o=null,p=1/0;if(e.forEach(c=>{const h=c.getBoundingClientRect(),m=c.getAttribute("data-bx-path");if(h.left<=r&&h.top<=l&&h.left+h.width>=r+f&&h.top+h.height>=l+i){const w=h.width*h.height;w<p&&(p=w,o={path:m,x:h.left,y:h.top,width:h.width,height:h.height,container:{x:0,y:0}})}}),!o){const c=d.getBoundingClientRect();o={path:d.getAttribute("data-bx-path"),x:c.left,y:c.top,width:c.width,height:c.height,container:{x:0,y:0}}}return o},ut=function({elementPath:r,artboardId:l,position:f}){const i=document.querySelector(`[data-bx-path^="${l}"]`);if(!i)return console.error(`Artboard with ID ${l} not found`),null;const s=i==null?void 0:i.querySelectorAll(`[data-bx-path="${r}"]`);if(!s)return{x:0,y:0};let d=null,e=1/0;if(s.forEach(p=>{const c=p.getBoundingClientRect(),h=c.left+c.width/2,m=c.top+c.height/2,w=Math.sqrt(Math.pow(h-f.x,2)+Math.pow(m-f.y,2));w<e&&(e=w,d=p)}),!d)return{x:0,y:0};const o=d.getBoundingClientRect();return{x:o.left,y:o.top}},st=function({path:r,artboardId:l,index:f}){const i=document==null?void 0:document.querySelector(`[data-bx-path="${r}"]`);if(!i)return null;const s=i.children;if(s.length===0)return null;const d=typeof f=="number"?f:s.length-1;return d<0||d>=s.length?null:s[d].getAttribute("data-bx-path")},it=function(r){const{layerId:l}=r,f=q(l);if(f){const i=window.getComputedStyle(f);return JSON.parse(JSON.stringify(i))}else return null},U=function(r){if(!r)return null;const l=Object.keys(r).find(f=>f.startsWith("__reactFiber$")||f.startsWith("__reactContainer$")||f.startsWith("__reactInternalInstance$"));return l?r[l]:null},x=function(){const r=document.querySelector("body"),l=r==null?void 0:r.querySelector("[data-bx-path]");return l?U(l):null},z=function(r){return typeof r=="object"&&r!==null&&"type"in r&&"props"in r&&"key"in r},j=function(r){return!r||!r._debugInfo?null:{name:r._debugInfo.name,env:r._debugInfo.env}},K=function(r,l,f){if(!r||!l)return null;function i(s){if(!s)return null;if(s!=null&&s.memoizedProps&&(s==null?void 0:s.memoizedProps["data-bx-path"])===l)return s;if(s.child){const d=i(s.child);if(d)return d}if(s.sibling){const d=i(s.sibling);if(d)return d}return null}return i(r)},Y=function(r){var f,i;return(r==null?void 0:r.displayName)||((f=r==null?void 0:r.type)==null?void 0:f.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")},C=function(r,l=!1){function f(i){var o,p,c;const s=K(i==null?void 0:i._owner,(o=i==null?void 0:i.props)==null?void 0:o["data-bx-path"]);if(!s&&!z(i))return null;let d=tt(s,l);const e={displayName:Y(i),path:((p=i.props)==null?void 0:p["data-bx-path"])||null,fiber:l?s:null,componentTree:d,debugInfo:j(i),children:[]};if((c=i.props)!=null&&c.children)if(Array.isArray(i.props.children))e.children=i.props.children.map(h=>f(h)).filter(Boolean);else{const h=f(i.props.children);h&&(e.children=[h])}return Q(s)&&(e!=null&&e.children)&&(d!=null&&d.children)&&(e.children=e.children.filter(h=>!d.children.some(m=>m.path===h.path))),e}if(Array.isArray(r))return r.map(f).filter(Boolean);if(z(r)){const i=f(r);return i?[i]:[]}return[]},Q=function(r){var d;const l=(d=r==null?void 0:r.memoizedProps)==null?void 0:d.children;if(!l&&!(r!=null&&r.child))return!1;if(!l)return!0;let f=r.child;const i=[];for(;f;)i.push(f),f=f.sibling;const s=(e,o)=>{var p,c;return typeof e=="string"?(o==null?void 0:o.memoizedProps)===e:((p=e==null?void 0:e.props)==null?void 0:p["data-bx-path"])===((c=o==null?void 0:o.memoizedProps)==null?void 0:c["data-bx-path"])};return Array.isArray(l)?l.length!==i.length?!0:!l.every((e,o)=>s(e,i[o])):i.length!==1||!s(l,i[0])},X=function(r,l=!1){var d,e;let f=[],i=null,s=r.child;for(;s;){const o=X(s,l),p=o.children;(d=s.memoizedProps)!=null&&d.children&&(Array.isArray(s.memoizedProps.children)?s.memoizedProps.children:[s.memoizedProps.children]).forEach(m=>{var w;p.some(L=>{var A;return L.path===((A=m==null?void 0:m.props)==null?void 0:A["data-bx-path"])})||p.push({displayName:Y(m),debugInfo:j(m==null?void 0:m._owner),path:((w=m==null?void 0:m.props)==null?void 0:w["data-bx-path"])||null,props:{...m==null?void 0:m.props},_owner:m==null?void 0:m._owner})});const c={displayName:Y(s),debugInfo:j(s),path:((e=s.memoizedProps)==null?void 0:e["data-bx-path"])||null,props:{...s.memoizedProps,children:p},componentTree:o.componentTree,_owner:s};f.push(c),s=s.sibling}return{children:f,componentTree:i}},tt=function(r,l=!1){var s;if(!r)return null;const f={displayName:"Component-"+Y(r),debugInfo:j(r),path:((s=r.memoizedProps)==null?void 0:s["data-bx-path"])||null,fiber:l?r:null,children:[],componentTree:null,props:{}},i=X(r,l);return f.children=C(i.children,l),f},P=function(r,l=!1){var d;if(!r)return null;if(!(r.memoizedProps&&r.memoizedProps["data-bx-path"]&&((d=r.memoizedProps["data-bx-path"])==null?void 0:d.includes("node_modules"))===!1)){const e=r.child?P(r.child,l):null;return e||(r.sibling?P(r.sibling,l):null)}const i={displayName:Y(r),debugInfo:j(r),path:r.memoizedProps["data-bx-path"],fiber:l?r:null,componentTree:tt(r,l),children:[],props:{}};for(const[e,o]of Object.entries(r.memoizedProps))e!=="children"&&e!=="data-bx-path"&&typeof o!="function"&&(i.props[e]=o);const s=r.memoizedProps.children;return s&&(i.children=C(s,l)),i},at=function(r){const l=x(),f=P(l,!0);function i(s){if((s==null?void 0:s.path)===r&&(s!=null&&s.fiber))return s.fiber;if(s!=null&&s.children){if(Array.isArray(s.children))for(let d of s.children){const e=i(d);if(e)return e}else if(typeof s.children=="object")return i(s.children)}if(s!=null&&s.componentTree){const d=i(s.componentTree);if(d)return d}return null}return i(f)},et=function(r,l){var h;if(l.parentElement){const m=l.parentElement.getBoundingClientRect();return{x:m.left,y:m.top,width:m.width,height:m.height}}let f=null;if(r&&(f=r.return),!f)return null;const i=O(f);if(!i)return null;const s=i.getBoundingClientRect(),d=window.getComputedStyle(i),e=d.flexDirection,o={top:parseFloat(d.paddingTop),right:parseFloat(d.paddingRight),bottom:parseFloat(d.paddingBottom),left:parseFloat(d.paddingLeft)},p={x:s.left,y:s.top,width:s.width,height:s.height,flexDirection:e,padding:o,contentBox:{x:s.left+o.left,y:s.top+o.top,width:s.width-(o.left+o.right),height:s.height-(o.top+o.bottom)},children:[]};let c=f.child;for(;c;){const m=O(c);if(m){const w=m.getBoundingClientRect();p.children.push({path:((h=c.memoizedProps)==null?void 0:h["data-bx-path"])||"",width:w.width,height:w.height,x:w.left-s.left,y:w.top-s.top})}c=c.sibling}return p};window.isInitialized=!0,window.addEventListener("load",()=>{window.parent.postMessage({type:"preview-ready",message:""},"*")});const nt=()=>{$({type:"onAppLoaded"}),N()},V=r=>{var f;if(r.data&&r.data.type==="navigate/back"&&(window.history.back(),N()),r.data&&r.data.type==="navigate/forward"&&(window.history.forward(),N()),r.data&&r.data.type==="rpc"&&Z(r.data),((f=r==null?void 0:r.data)==null?void 0:f.type)=="setDOMStyleUntilHMR"){var l=document.querySelectorAll('[data-bx-path="'+r.data.payload.path+'"]');Array.from(l).forEach(i=>{E(i,r.data.payload.style)})}r.data&&r.data.type==="setArtboardId"&&(window.artboardId=r.data.payload.artboardId)};if(typeof window<"u"){let r=function(){N(),$({type:"navigation",url:window.location.href})},l=function(){const d=document.querySelector("html"),e={childList:!0,subtree:!0};d?s.observe(d,e):setTimeout(l)};window.addEventListener("message",V),window.addEventListener("load",nt),window.addEventListener("popstate",r);const f=history.pushState,i=history.replaceState;history.pushState=function(d,e,o){f.call(this,d,e,o),r()},history.replaceState=function(d,e,o){i.call(this,d,e,o),r()},$({type:"builderxToolsLoaded",value:!0}),N();const s=new MutationObserver(()=>{window.layerResizing||setTimeout(()=>{setTimeout(()=>{N()},2e3)},500)});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 B(){return typeof window<"u"?(window.domUpdateActions=window.domUpdateActions||[],window.domUpdateActions):[]}function E($,G){const N={},O={DOM:$,originalStyles:{},newStyles:{}};for(const[k,D]of Object.entries(G))N[k]=$.style.getPropertyValue(k),$.style.setProperty(k,`${D}`),O.originalStyles[k]=N[k],O.newStyles[k]=D;B().push(O)}console.log("Bridge initialized")}var jt={exports:{}},_={};/**
"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)}},K=function(){const r=Y();if(r){const l=W(r,!1);P({type:"onUpdateTree",data:l,artboardId:window.artboardId})}},I=function(){P({type:"onDomUpdate",artboardId:window.artboardId})},O=function(r=10,l=500){let c=0;const i=setInterval(()=>{Y()&&window.artboardId?(clearInterval(i),K()):c>=r&&(clearInterval(i),console.error("Failed to find React root fiber node after multiple attempts")),c++},l)},U=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=q(i);break;case"getLayerAtXY":u=Q(i);break;case"setLayerResizing":u=D(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})},D=function({isResizing:r}){window.layerResizing=r},Q=function(r){let{x:l,y:c,inLayers:i,zoomLevel:u}=r;const e=document.elementFromPoint(l,c);let o,a=$(e),d=null;if(i&&Array.isArray(i))for(;a;){const h=a.memoizedProps;if(h&&"data-bx-path"in h&&(o=h["data-bx-path"],o&&i.includes(o))){d=U(a);break}a=a.return}else d=e,o=a==null?void 0:a.memoizedProps["data-bx-path"];if(d){const h=d.getBoundingClientRect(),m={x:h.left,y:h.top,width:h.width,height:h.height,path:o};return m.container=X(a,d),m}return null},M=function(r){const l=it(r);let c;return l&&(c=U(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 d={x:i.left,y:i.top,width:i.width,height:i.height,path:l,rotation:a};let h=$(c);return d.container=X(h,c),d}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,d=1/0;if(o.forEach(h=>{const m=h.getBoundingClientRect(),p=h.getAttribute("data-bx-path");if(m.left<=r&&m.top<=l&&m.left+m.width>=r+c&&m.top+m.height>=l+i){const T=m.width*m.height;T<d&&(d=T,a={path:p,x:m.left,y:m.top,width:m.width,height:m.height,container:{x:0,y:0}})}}),!a){const h=e.getBoundingClientRect();a={path:e.getAttribute("data-bx-path"),x:h.left,y:h.top,width:h.width,height:h.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(d=>{const h=d.getBoundingClientRect(),m=h.left+h.width/2,p=h.top+h.height/2,T=Math.sqrt(Math.pow(m-c.x,2)+Math.pow(p-c.y,2));T<o&&(o=T,e=d)}),!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")},q=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},$=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},Y=function(){const r=document.querySelector("body"),l=r==null?void 0:r.querySelector("[data-bx-path]");return l?$(l):null},L=function(r){return typeof r=="object"&&r!==null&&"type"in r&&"props"in r&&"key"in r},x=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")},z=function(r,l=!1){function c(i){var a,d,h;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&&!L(i))return null;let e=k(u,l);const o={displayName:b(i),path:((d=i.props)==null?void 0:d["data-bx-path"])||null,fiber:l?u:null,componentTree:e,debugInfo:x(i),children:[]};if((h=i.props)!=null&&h.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(L(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 d,h;return typeof o=="string"?(a==null?void 0:a.memoizedProps)===o:((d=o==null?void 0:o.props)==null?void 0:d["data-bx-path"])===((h=a==null?void 0:a.memoizedProps)==null?void 0:h["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),d=a.children;(e=u.memoizedProps)!=null&&e.children&&(Array.isArray(u.memoizedProps.children)?u.memoizedProps.children:[u.memoizedProps.children]).forEach(p=>{var T;d.some(A=>{var Z;return A.path===((Z=p==null?void 0:p.props)==null?void 0:Z["data-bx-path"])})||d.push({displayName:b(p),debugInfo:x(p==null?void 0:p._owner),path:((T=p==null?void 0:p.props)==null?void 0:T["data-bx-path"])||null,props:{...p==null?void 0:p.props},_owner:p==null?void 0:p._owner})});const h={displayName:b(u),debugInfo:x(u),path:((o=u.memoizedProps)==null?void 0:o["data-bx-path"])||null,props:{...u.memoizedProps,children:d},componentTree:a.componentTree,_owner:u};c.push(h),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:x(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=z(i.children,l),c},W=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?W(r.child,l):null;return o||(r.sibling?W(r.sibling,l):null)}const i={displayName:b(r),debugInfo:x(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=z(u,l)),i},it=function(r){const l=Y(),c=W(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)},X=function(r,l){var m;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 p=U(u);if(!p)return null;c=p.getBoundingClientRect()}const e=window.getComputedStyle(i),o=e.flexDirection,a={top:parseFloat(e.paddingTop),right:parseFloat(e.paddingRight),bottom:parseFloat(e.paddingBottom),left:parseFloat(e.paddingLeft)},d={x:c.left,y:c.top,width:c.width,height:c.height,flexDirection:o,padding:a,contentBox:{x:c.left+a.left,y:c.top+a.top,width:c.width-(a.left+a.right),height:c.height-(a.top+a.bottom)},children:[]};let h=u.child;for(;h;){const p=U(h);if(p){const T=p.getBoundingClientRect();d.children.push({path:((m=h.memoizedProps)==null?void 0:m["data-bx-path"])||"",width:T.width,height:T.height,x:T.left-c.left,y:T.top-c.top})}h=h.sibling}return d};window.isInitialized=!0,window.addEventListener("load",()=>{window.parent.postMessage({type:"preview-ready",message:""},"*")});const V=()=>{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",V),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||(I(),e.some(d=>{const h=Array.from(d.addedNodes).some(p=>p instanceof Element&&(p.hasAttribute("data-bx-path")||p.querySelector("[data-bx-path]"))),m=Array.from(d.removedNodes).some(p=>p instanceof Element&&(p.hasAttribute("data-bx-path")||p.querySelector("[data-bx-path]")));return h||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 B(){return typeof window<"u"?(window.domUpdateActions=window.domUpdateActions||[],window.domUpdateActions):[]}function w(P,K){const I={},O={DOM:P,originalStyles:{},newStyles:{}};for(const[N,D]of Object.entries(K))I[N]=P.style.getPropertyValue(N),P.style.setProperty(N,`${D}`),O.originalStyles[N]=I[N],O.newStyles[N]=D;B().push(O)}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 se(){if(Jt)return _;Jt=1;var B=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),$=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),Z=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),q=Symbol.for("react.memo"),I=Symbol.for("react.lazy"),J=Symbol.iterator;function ut(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,U={};function x(e,o,p){this.props=e,this.context=o,this.refs=U,this.updater=p||st}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 z(){}z.prototype=x.prototype;function j(e,o,p){this.props=e,this.context=o,this.refs=U,this.updater=p||st}var K=j.prototype=new z;K.constructor=j,it(K,x.prototype),K.isPureReactComponent=!0;var Y=Array.isArray,C={H:null,A:null,T:null,S:null},Q=Object.prototype.hasOwnProperty;function X(e,o,p,c,h,m){return p=m.ref,{$$typeof:B,type:e,key:o,ref:p!==void 0?p:null,props:m}}function tt(e,o){return X(e.type,o,void 0,void 0,void 0,e.props)}function P(e){return typeof e=="object"&&e!==null&&e.$$typeof===B}function at(e){var o={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(p){return o[p]})}var et=/\/+/g;function nt(e,o){return typeof e=="object"&&e!==null&&e.key!=null?at(""+e.key):o.toString(36)}function V(){}function r(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(V,V):(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 l(e,o,p,c,h){var m=typeof e;(m==="undefined"||m==="boolean")&&(e=null);var w=!1;if(e===null)w=!0;else switch(m){case"bigint":case"string":case"number":w=!0;break;case"object":switch(e.$$typeof){case B:case E:w=!0;break;case I:return w=e._init,l(w(e._payload),o,p,c,h)}}if(w)return h=h(e),w=c===""?"."+nt(e,0):c,Y(h)?(p="",w!=null&&(p=w.replace(et,"$&/")+"/"),l(h,o,p,"",function(ct){return ct})):h!=null&&(P(h)&&(h=tt(h,p+(h.key==null||e&&e.key===h.key?"":(""+h.key).replace(et,"$&/")+"/")+w)),o.push(h)),1;w=0;var L=c===""?".":c+":";if(Y(e))for(var A=0;A<e.length;A++)c=e[A],m=L+nt(c,A),w+=l(c,o,p,m,h);else if(A=ut(e),typeof A=="function")for(e=A.call(e),A=0;!(c=e.next()).done;)c=c.value,m=L+nt(c,A++),w+=l(c,o,p,m,h);else if(m==="object"){if(typeof e.then=="function")return l(r(e),o,p,c,h);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 w}function f(e,o,p){if(e==null)return e;var c=[],h=0;return l(e,c,"","",function(m){return o.call(p,m,h++)}),c}function i(e){if(e._status===-1){var o=e._result;o=o(),o.then(function(p){(e._status===0||e._status===-1)&&(e._status=1,e._result=p)},function(p){(e._status===0||e._status===-1)&&(e._status=2,e._result=p)}),e._status===-1&&(e._status=0,e._result=o)}if(e._status===1)return e._result.default;throw e._result}var s=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 d(){}return _.Children={map:f,forEach:function(e,o,p){f(e,function(){o.apply(this,arguments)},p)},count:function(e){var o=0;return f(e,function(){o++}),o},toArray:function(e){return f(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}},_.Component=x,_.Fragment=$,_.Profiler=N,_.PureComponent=j,_.StrictMode=G,_.Suspense=D,_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,_.act=function(){throw Error("act(...) is not supported in production builds of React.")},_.cache=function(e){return function(){return e.apply(null,arguments)}},_.cloneElement=function(e,o,p){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var c=it({},e.props),h=e.key,m=void 0;if(o!=null)for(w in o.ref!==void 0&&(m=void 0),o.key!==void 0&&(h=""+o.key),o)!Q.call(o,w)||w==="key"||w==="__self"||w==="__source"||w==="ref"&&o.ref===void 0||(c[w]=o[w]);var w=arguments.length-2;if(w===1)c.children=p;else if(1<w){for(var L=Array(w),A=0;A<w;A++)L[A]=arguments[A+2];c.children=L}return X(e.type,h,void 0,void 0,m,c)},_.createContext=function(e){return e={$$typeof:Z,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:O,_context:e},e},_.createElement=function(e,o,p){var c,h={},m=null;if(o!=null)for(c in o.key!==void 0&&(m=""+o.key),o)Q.call(o,c)&&c!=="key"&&c!=="__self"&&c!=="__source"&&(h[c]=o[c]);var w=arguments.length-2;if(w===1)h.children=p;else if(1<w){for(var L=Array(w),A=0;A<w;A++)L[A]=arguments[A+2];h.children=L}if(e&&e.defaultProps)for(c in w=e.defaultProps,w)h[c]===void 0&&(h[c]=w[c]);return X(e,m,void 0,void 0,null,h)},_.createRef=function(){return{current:null}},_.forwardRef=function(e){return{$$typeof:k,render:e}},_.isValidElement=P,_.lazy=function(e){return{$$typeof:I,_payload:{_status:-1,_result:e},_init:i}},_.memo=function(e,o){return{$$typeof:q,type:e,compare:o===void 0?null:o}},_.startTransition=function(e){var o=C.T,p={};C.T=p;try{var c=e(),h=C.S;h!==null&&h(p,c),typeof c=="object"&&c!==null&&typeof c.then=="function"&&c.then(d,s)}catch(m){s(m)}finally{C.T=o}},_.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},_.use=function(e){return C.H.use(e)},_.useActionState=function(e,o,p){return C.H.useActionState(e,o,p)},_.useCallback=function(e,o){return C.H.useCallback(e,o)},_.useContext=function(e){return C.H.useContext(e)},_.useDebugValue=function(){},_.useDeferredValue=function(e,o){return C.H.useDeferredValue(e,o)},_.useEffect=function(e,o){return C.H.useEffect(e,o)},_.useId=function(){return C.H.useId()},_.useImperativeHandle=function(e,o,p){return C.H.useImperativeHandle(e,o,p)},_.useInsertionEffect=function(e,o){return C.H.useInsertionEffect(e,o)},_.useLayoutEffect=function(e,o){return C.H.useLayoutEffect(e,o)},_.useMemo=function(e,o){return C.H.useMemo(e,o)},_.useOptimistic=function(e,o){return C.H.useOptimistic(e,o)},_.useReducer=function(e,o,p){return C.H.useReducer(e,o,p)},_.useRef=function(e){return C.H.useRef(e)},_.useState=function(e){return C.H.useState(e)},_.useSyncExternalStore=function(e,o,p){return C.H.useSyncExternalStore(e,o,p)},_.useTransition=function(){return C.H.useTransition()},_.version="19.0.0",_}var pt={exports:{}};/**
*/var Jt;function se(){if(Jt)return E;Jt=1;var B=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),P=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),U=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),Q=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,q={};function $(e,o,a){this.props=e,this.context=o,this.refs=q,this.updater=a||ut}$.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 Y(){}Y.prototype=$.prototype;function L(e,o,a){this.props=e,this.context=o,this.refs=q,this.updater=a||ut}var x=L.prototype=new Y;x.constructor=L,st(x,$.prototype),x.isPureReactComponent=!0;var at=Array.isArray,b={H:null,A:null,T:null,S:null},z=Object.prototype.hasOwnProperty;function tt(e,o,a,d,h,m){return a=m.ref,{$$typeof:B,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===B}function W(e){var o={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(a){return o[a]})}var it=/\/+/g;function X(e,o){return typeof e=="object"&&e!==null&&e.key!=null?W(""+e.key):o.toString(36)}function V(){}function ct(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(V,V):(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,d,h){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 B:case w:p=!0;break;case M:return p=e._init,r(p(e._payload),o,a,d,h)}}if(p)return h=h(e),p=d===""?"."+X(e,0):d,at(h)?(a="",p!=null&&(a=p.replace(it,"$&/")+"/"),r(h,o,a,"",function(Z){return Z})):h!=null&&(k(h)&&(h=et(h,a+(h.key==null||e&&e.key===h.key?"":(""+h.key).replace(it,"$&/")+"/")+p)),o.push(h)),1;p=0;var T=d===""?".":d+":";if(at(e))for(var A=0;A<e.length;A++)d=e[A],m=T+X(d,A),p+=r(d,o,a,m,h);else if(A=ot(e),typeof A=="function")for(e=A.call(e),A=0;!(d=e.next()).done;)d=d.value,m=T+X(d,A++),p+=r(d,o,a,m,h);else if(m==="object"){if(typeof e.then=="function")return r(ct(e),o,a,d,h);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 d=[],h=0;return r(e,d,"","",function(m){return o.call(a,m,h++)}),d}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=$,E.Fragment=P,E.Profiler=I,E.PureComponent=L,E.StrictMode=K,E.Suspense=D,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 d=st({},e.props),h=e.key,m=void 0;if(o!=null)for(p in o.ref!==void 0&&(m=void 0),o.key!==void 0&&(h=""+o.key),o)!z.call(o,p)||p==="key"||p==="__self"||p==="__source"||p==="ref"&&o.ref===void 0||(d[p]=o[p]);var p=arguments.length-2;if(p===1)d.children=a;else if(1<p){for(var T=Array(p),A=0;A<p;A++)T[A]=arguments[A+2];d.children=T}return tt(e.type,h,void 0,void 0,m,d)},E.createContext=function(e){return e={$$typeof:U,_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 d,h={},m=null;if(o!=null)for(d in o.key!==void 0&&(m=""+o.key),o)z.call(o,d)&&d!=="key"&&d!=="__self"&&d!=="__source"&&(h[d]=o[d]);var p=arguments.length-2;if(p===1)h.children=a;else if(1<p){for(var T=Array(p),A=0;A<p;A++)T[A]=arguments[A+2];h.children=T}if(e&&e.defaultProps)for(d in p=e.defaultProps,p)h[d]===void 0&&(h[d]=p[d]);return tt(e,m,void 0,void 0,null,h)},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:Q,type:e,compare:o===void 0?null:o}},E.startTransition=function(e){var o=b.T,a={};b.T=a;try{var d=e(),h=b.S;h!==null&&h(a,d),typeof d=="object"&&d!==null&&typeof d.then=="function"&&d.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:{}};/**
* @license React

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

* LICENSE file in the root directory of this source tree.
*/pt.exports;var te;function ie(){return te||(te=1,function(B,E){process.env.NODE_ENV!=="production"&&function(){function $(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 G(t){return t===null||typeof t!="object"?null:(t=Mt&&t[Mt]||t["@@iterator"],typeof t=="function"?t:null)}function N(t,n){t=(t=t.constructor)&&(t.displayName||t.name)||"ReactClass";var u=t+"."+n;$t[u]||(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),$t[u]=!0)}function O(t,n,u){this.props=t,this.context=n,this.refs=St,this.updater=u||xt}function Z(){}function k(t,n,u){this.props=t,this.context=n,this.refs=St,this.updater=u||xt}function D(t){return""+t}function q(t){try{D(t);var n=!1}catch{n=!0}if(n){n=console;var u=n.error,a=typeof Symbol=="function"&&Symbol.toStringTag&&t[Symbol.toStringTag]||t.constructor.name||"Object";return u.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),D(t)}}function I(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 A:return"Fragment";case L:return"Portal";case Tt:return"Profiler";case ct: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 Ct: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 ft:return n=t.displayName||null,n!==null?n:I(t.type)||"Memo";case lt:n=t._payload,t=t._init;try{return I(t(n))}catch{}}return null}function J(t){return typeof t=="string"||typeof t=="function"||t===A||t===Tt||t===ct||t===gt||t===At||t===ne||typeof t=="object"&&t!==null&&(t.$$typeof===lt||t.$$typeof===ft||t.$$typeof===Ct||t.$$typeof===ht||t.$$typeof===yt||t.$$typeof===oe||t.getModuleId!==void 0)}function ut(){}function st(){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:ut,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}dt++}function it(){if(dt--,dt===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:W({},t,{value:Lt}),info:W({},t,{value:It}),warn:W({},t,{value:Ut}),error:W({},t,{value:Yt}),group:W({},t,{value:Ht}),groupCollapsed:W({},t,{value:Bt}),groupEnd:W({},t,{value:Dt})})}0>dt&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function U(t){if(Ot===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);Ot=n&&n[1]||"",qt=-1<u.stack.indexOf(`
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Ot+t+qt}function x(t,n){if(!t||Pt)return"";var u=Nt.get(t);if(u!==void 0)return u;Pt=!0,u=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var a=null;a=b.H,b.H=null,st();try{var y={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(F){var Rt=F}Reflect.construct(t,[],H)}else{try{H.call()}catch(F){Rt=F}t.call(H.prototype)}}else{try{throw Error()}catch(F){Rt=F}(H=t())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(F){if(F&&Rt&&typeof F.stack=="string")return[F.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],R=g[1];if(T&&R){var S=T.split(`
`),M=R.split(`
`);for(g=v=0;v<S.length&&!S[v].includes("DetermineComponentFrameRoot");)v++;for(;g<M.length&&!M[g].includes("DetermineComponentFrameRoot");)g++;if(v===S.length||g===M.length)for(v=S.length-1,g=M.length-1;1<=v&&0<=g&&S[v]!==M[g];)g--;for(;1<=v&&0<=g;v--,g--)if(S[v]!==M[g]){if(v!==1||g!==1)do if(v--,g--,0>g||S[v]!==M[g]){var ot=`
`+S[v].replace(" at new "," at ");return t.displayName&&ot.includes("<anonymous>")&&(ot=ot.replace("<anonymous>",t.displayName)),typeof t=="function"&&Nt.set(t,ot),ot}while(1<=v&&0<=g);break}}}finally{Pt=!1,b.H=a,it(),Error.prepareStackTrace=u}return S=(S=t?t.displayName||t.name:"")?U(S):"",typeof t=="function"&&Nt.set(t,S),S}function z(t){if(t==null)return"";if(typeof t=="function"){var n=t.prototype;return x(t,!(!n||!n.isReactComponent))}if(typeof t=="string")return U(t);switch(t){case gt:return U("Suspense");case At:return U("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case yt:return t=x(t.render,!1),t;case ft:return z(t.type);case lt:n=t._payload,t=t._init;try{return z(t(n))}catch{}}return""}function j(){var t=b.A;return t===null?null:t.getOwner()}function K(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 Y(t,n){function u(){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))}u.isReactWarning=!0,Object.defineProperty(t,"key",{get:u,configurable:!0})}function C(){var t=I(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 Q(t,n,u,a,y,v){return u=v.ref,t={$$typeof:w,type:t,key:n,props:v,_owner:y},(u!==void 0?u: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 X(t,n){return n=Q(t.type,n,void 0,void 0,t._owner,t.props),n._store.validated=t._store.validated,n}function tt(t,n){if(typeof t=="object"&&t&&t.$$typeof!==ue){if(vt(t))for(var u=0;u<t.length;u++){var a=t[u];P(a)&&at(a,n)}else if(P(t))t._store&&(t._store.validated=1);else if(u=G(t),typeof u=="function"&&u!==t.entries&&(u=u.call(t),u!==t))for(;!(t=u.next()).done;)P(t.value)&&at(t.value,n)}}function P(t){return typeof t=="object"&&t!==null&&t.$$typeof===w}function at(t,n){if(t._store&&!t._store.validated&&t.key==null&&(t._store.validated=1,n=et(n),!Gt[n])){Gt[n]=!0;var u="";t&&t._owner!=null&&t._owner!==j()&&(u=null,typeof t._owner.tag=="number"?u=I(t._owner.type):typeof t._owner.name=="string"&&(u=t._owner.name),u=" It was passed a child from "+u+".");var a=b.getCurrentStack;b.getCurrentStack=function(){var y=z(t.type);return a&&(y+=a()||""),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,u),b.getCurrentStack=a}}function et(t){var n="",u=j();return u&&(u=I(u.type))&&(n=`
*/pt.exports;var te;function ae(){return te||(te=1,function(B,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 K(t){return t===null||typeof t!="object"?null:(t=Mt&&t[Mt]||t["@@iterator"],typeof t=="function"?t:null)}function I(t,n){t=(t=t.constructor)&&(t.displayName||t.name)||"ReactClass";var s=t+"."+n;$t[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),$t[s]=!0)}function O(t,n,s){this.props=t,this.context=n,this.refs=St,this.updater=s||xt}function U(){}function N(t,n,s){this.props=t,this.context=n,this.refs=St,this.updater=s||xt}function D(t){return""+t}function Q(t){try{D(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),D(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 A:return"Fragment";case T:return"Portal";case Ct:return"Profiler";case Z: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===A||t===Ct||t===Z||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:F({},t,{value:Lt}),info:F({},t,{value:It}),warn:F({},t,{value:Ut}),error:F({},t,{value:Yt}),group:F({},t,{value:Ht}),groupCollapsed:F({},t,{value:Bt}),groupEnd:F({},t,{value:Dt})})}0>dt&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function q(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 f=null;f=_.H,_.H=null,ut();try{var y={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(G){var Rt=G}Reflect.construct(t,[],H)}else{try{H.call()}catch(G){Rt=G}t.call(H.prototype)}}else{try{throw Error()}catch(G){Rt=G}(H=t())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(G){if(G&&Rt&&typeof G.stack=="string")return[G.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(),C=g[0],R=g[1];if(C&&R){var S=C.split(`
`),j=R.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:"")?q(S):"",typeof t=="function"&&Nt.set(t,S),S}function Y(t){if(t==null)return"";if(typeof t=="function"){var n=t.prototype;return $(t,!(!n||!n.isReactComponent))}if(typeof t=="string")return q(t);switch(t){case gt:return q("Suspense");case At:return q("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case yt:return t=$(t.render,!1),t;case lt:return Y(t.type);case ft:n=t._payload,t=t._init;try{return Y(t(n))}catch{}}return""}function L(){var t=_.A;return t===null?null:t.getOwner()}function x(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 z(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=z(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)&&W(f,n)}else if(k(t))t._store&&(t._store.validated=1);else if(s=K(t),typeof s=="function"&&s!==t.entries&&(s=s.call(t),s!==t))for(;!(t=s.next()).done;)k(t.value)&&W(t.value,n)}}function k(t){return typeof t=="object"&&t!==null&&t.$$typeof===p}function W(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!==L()&&(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=Y(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=L();return s&&(s=M(s.type))&&(n=`
Check the render method of \``+u+"`."),n||(t=I(t))&&(n=`
Check the render method of \``+s+"`."),n||(t=M(t))&&(n=`
Check the top-level render call using <`+t+">."),n}function nt(t){var n={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(u){return n[u]})}function V(t,n){return typeof t=="object"&&t!==null&&t.key!=null?(q(t.key),nt(""+t.key)):n.toString(36)}function r(){}function l(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(r,r):(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 f(t,n,u,a,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 w:case L:g=!0;break;case lt:return g=t._init,f(g(t._payload),n,u,a,y)}}if(g){g=t,y=y(g);var T=a===""?"."+V(g,0):a;return vt(y)?(u="",T!=null&&(u=T.replace(Qt,"$&/")+"/"),f(y,n,u,"",function(S){return S})):y!=null&&(P(y)&&(y.key!=null&&(g&&g.key===y.key||q(y.key)),u=X(y,u+(y.key==null||g&&g.key===y.key?"":(""+y.key).replace(Qt,"$&/")+"/")+T),a!==""&&g!=null&&P(g)&&g.key==null&&g._store&&!g._store.validated&&(u._store.validated=2),y=u),n.push(y)),1}if(g=0,T=a===""?".":a+":",vt(t))for(var R=0;R<t.length;R++)a=t[R],v=T+V(a,R),g+=f(a,n,u,v,y);else if(R=G(t),typeof R=="function")for(R===t.entries&&(Kt||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Kt=!0),t=R.call(t),R=0;!(a=t.next()).done;)a=a.value,v=T+V(a,R++),g+=f(a,n,u,v,y);else if(v==="object"){if(typeof t.then=="function")return f(l(t),n,u,a,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 i(t,n,u){if(t==null)return t;var a=[],y=0;return f(t,a,"","",function(v){return n.call(u,v,y++)}),a}function s(t){if(t._status===-1){var n=t._result;n=n(),n.then(function(u){(t._status===0||t._status===-1)&&(t._status=1,t._result=u)},function(u){(t._status===0||t._status===-1)&&(t._status=2,t._result=u)}),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 X(t){var n={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(s){return n[s]})}function V(t,n){return typeof t=="object"&&t!==null&&t.key!=null?(Q(t.key),X(""+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 T: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 C=f===""?"."+V(g,0):f;return vt(y)?(s="",C!=null&&(s=C.replace(Qt,"$&/")+"/"),l(y,n,s,"",function(S){return S})):y!=null&&(k(y)&&(y.key!=null&&(g&&g.key===y.key||Q(y.key)),s=tt(y,s+(y.key==null||g&&g.key===y.key?"":(""+y.key).replace(Qt,"$&/")+"/")+C),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,C=f===""?".":f+":",vt(t))for(var R=0;R<t.length;R++)f=t[R],v=C+V(f,R),g+=l(f,n,s,v,y);else if(R=K(t),typeof R=="function")for(R===t.entries&&(Kt||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Kt=!0),t=R.call(t),R=0;!(f=t.next()).done;)f=f.value,v=C+V(f,R++),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

@@ -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 d(){var t=b.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 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:
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=(B&&B[n]).call(B,"timers").setImmediate}catch{Et=function(a){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=a,y.port2.postMessage(void 0)}}return Et(t)}function p(t){return 1<t.length&&typeof AggregateError=="function"?new AggregateError(t):t[0]}function c(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 h(t,n,u){var a=b.actQueue;if(a!==null)if(a.length!==0)try{m(a),o(function(){return h(t,n,u)});return}catch(y){b.thrownErrors.push(y)}else b.actQueue=null;0<b.thrownErrors.length?(a=p(b.thrownErrors),b.thrownErrors.length=0,u(a)):n(t)}function m(t){if(!kt){kt=!0;var n=0;try{for(;n<t.length;n++){var u=t[n];do{b.didUsePromise=!1;var a=u(!1);if(a!==null){if(b.didUsePromise){t[n]=u,t.splice(0,n);return}u=a}else break}while(1)}t.length=0}catch(y){t.splice(0,n+1),b.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 w=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),ct=Symbol.for("react.strict_mode"),Tt=Symbol.for("react.profiler"),ht=Symbol.for("react.consumer"),Ct=Symbol.for("react.context"),yt=Symbol.for("react.forward_ref"),gt=Symbol.for("react.suspense"),At=Symbol.for("react.suspense_list"),ft=Symbol.for("react.memo"),lt=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),Mt=Symbol.iterator,$t={},xt={isMounted:function(){return!1},enqueueForceUpdate:function(t){N(t,"forceUpdate")},enqueueReplaceState:function(t){N(t,"replaceState")},enqueueSetState:function(t){N(t,"setState")}},W=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 rt={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 rt)rt.hasOwnProperty(mt)&&$(mt,rt[mt]);Z.prototype=O.prototype,rt=k.prototype=new Z,rt.constructor=k,W(rt,O.prototype),rt.isPureReactComponent=!0;var vt=Array.isArray,re=Symbol.for("react.client.reference"),b={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;ut.__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;E.Children={map:i,forEach:function(t,n,u){i(t,function(){n.apply(this,arguments)},u)},count:function(t){var n=0;return i(t,function(){n++}),n},toArray:function(t){return i(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}},E.Component=O,E.Fragment=A,E.Profiler=Tt,E.PureComponent=k,E.StrictMode=ct,E.Suspense=gt,E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=b,E.act=function(t){var n=b.actQueue,u=_t;_t++;var a=b.actQueue=n!==null?n:[],y=!1;try{var v=t()}catch(R){b.thrownErrors.push(R)}if(0<b.thrownErrors.length)throw c(n,u),t=p(b.thrownErrors),b.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(R,S){y=!0,g.then(function(M){if(c(n,u),u===0){try{m(a),o(function(){return h(M,R,S)})}catch(H){b.thrownErrors.push(H)}if(0<b.thrownErrors.length){var ot=p(b.thrownErrors);b.thrownErrors.length=0,S(ot)}}else R(M)},function(M){c(n,u),0<b.thrownErrors.length&&(M=p(b.thrownErrors),b.thrownErrors.length=0),S(M)})}}}var T=v;if(c(n,u),u===0&&(m(a),a.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(() => ...)"))}),b.actQueue=null),0<b.thrownErrors.length)throw t=p(b.thrownErrors),b.thrownErrors.length=0,t;return{then:function(R,S){y=!0,u===0?(b.actQueue=a,o(function(){return h(T,R,S)})):R(T)}}},E.cache=function(t){return function(){return t.apply(null,arguments)}},E.cloneElement=function(t,n,u){if(t==null)throw Error("The argument must be a React element, but you passed "+t+".");var a=W({},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=j()),K(n)&&(q(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||(a[T]=n[T])}var T=arguments.length-2;if(T===1)a.children=u;else if(1<T){g=Array(T);for(var R=0;R<T;R++)g[R]=arguments[R+2];a.children=g}for(a=Q(t.type,y,void 0,void 0,v,a),y=2;y<arguments.length;y++)tt(arguments[y],a.type);return a},E.createContext=function(t){return t={$$typeof:Ct,_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},E.createElement=function(t,n,u){if(J(t))for(var a=2;a<arguments.length;a++)tt(arguments[a],t);else{if(a="",(t===void 0||typeof t=="object"&&t!==null&&Object.keys(t).length===0)&&(a+=" 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===w?(y="<"+(I(t.type)||"Unknown")+" />",a=" 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,a)}var v;if(a={},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")),K(n)&&(q(n.key),y=""+n.key),n)wt.call(n,v)&&v!=="key"&&v!=="__self"&&v!=="__source"&&(a[v]=n[v]);var g=arguments.length-2;if(g===1)a.children=u;else if(1<g){for(var T=Array(g),R=0;R<g;R++)T[R]=arguments[R+2];Object.freeze&&Object.freeze(T),a.children=T}if(t&&t.defaultProps)for(v in g=t.defaultProps,g)a[v]===void 0&&(a[v]=g[v]);return y&&Y(a,typeof t=="function"?t.displayName||t.name||"Unknown":t),Q(t,y,void 0,void 0,j(),a)},E.createRef=function(){var t={current:null};return Object.seal(t),t},E.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:yt,render:t},u;return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return u},set:function(a){u=a,t.name||t.displayName||(Object.defineProperty(t,"name",{value:a}),t.displayName=a)}}),n},E.isValidElement=P,E.lazy=function(t){return{$$typeof:lt,_payload:{_status:-1,_result:t},_init:s}},E.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 u;return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return u},set:function(a){u=a,t.name||t.displayName||(Object.defineProperty(t,"name",{value:a}),t.displayName=a)}}),n},E.startTransition=function(t){var n=b.T,u={};b.T=u,u._updatedFibers=new Set;try{var a=t(),y=b.S;y!==null&&y(u,a),typeof a=="object"&&a!==null&&typeof a.then=="function"&&a.then(e,Xt)}catch(v){Xt(v)}finally{n===null&&u._updatedFibers&&(t=u._updatedFibers.size,u._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.")),b.T=n}},E.unstable_useCacheRefresh=function(){return d().useCacheRefresh()},E.use=function(t){return d().use(t)},E.useActionState=function(t,n,u){return d().useActionState(t,n,u)},E.useCallback=function(t,n){return d().useCallback(t,n)},E.useContext=function(t){var n=d();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)},E.useDebugValue=function(t,n){return d().useDebugValue(t,n)},E.useDeferredValue=function(t,n){return d().useDeferredValue(t,n)},E.useEffect=function(t,n){return d().useEffect(t,n)},E.useId=function(){return d().useId()},E.useImperativeHandle=function(t,n,u){return d().useImperativeHandle(t,n,u)},E.useInsertionEffect=function(t,n){return d().useInsertionEffect(t,n)},E.useLayoutEffect=function(t,n){return d().useLayoutEffect(t,n)},E.useMemo=function(t,n){return d().useMemo(t,n)},E.useOptimistic=function(t,n){return d().useOptimistic(t,n)},E.useReducer=function(t,n,u){return d().useReducer(t,n,u)},E.useRef=function(t){return d().useRef(t)},E.useState=function(t){return d().useState(t)},E.useSyncExternalStore=function(t,n,u){return d().useSyncExternalStore(t,n,u)},E.useTransition=function(){return d().useTransition()},E.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=ie();var ae=jt.exports;const ce=()=>(ae.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 o(t){if(Et===null)try{var n=("require"+Math.random()).slice(0,7);Et=(B&&B[n]).call(B,"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 d(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 h(t,n,s){var f=_.actQueue;if(f!==null)if(f.length!==0)try{m(f),o(function(){return h(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"),T=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),Z=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,$t={},xt={isMounted:function(){return!1},enqueueForceUpdate:function(t){I(t,"forceUpdate")},enqueueReplaceState:function(t){I(t,"replaceState")},enqueueSetState:function(t){I(t,"setState")}},F=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]);U.prototype=O.prototype,nt=N.prototype=new U,nt.constructor=N,F(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=A,w.Profiler=Ct,w.PureComponent=N,w.StrictMode=Z,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(R){_.thrownErrors.push(R)}if(0<_.thrownErrors.length)throw d(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(R,S){y=!0,g.then(function(j){if(d(n,s),s===0){try{m(f),o(function(){return h(j,R,S)})}catch(H){_.thrownErrors.push(H)}if(0<_.thrownErrors.length){var rt=a(_.thrownErrors);_.thrownErrors.length=0,S(rt)}}else R(j)},function(j){d(n,s),0<_.thrownErrors.length&&(j=a(_.thrownErrors),_.thrownErrors.length=0),S(j)})}}}var C=v;if(d(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(R,S){y=!0,s===0?(_.actQueue=f,o(function(){return h(C,R,S)})):R(C)}}},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=F({},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=L()),x(n)&&(Q(n.key),y=""+n.key);for(C in n)!wt.call(n,C)||C==="key"||C==="__self"||C==="__source"||C==="ref"&&n.ref===void 0||(f[C]=n[C])}var C=arguments.length-2;if(C===1)f.children=s;else if(1<C){g=Array(C);for(var R=0;R<C;R++)g[R]=arguments[R+2];f.children=g}for(f=z(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")),x(n)&&(Q(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 C=Array(g),R=0;R<g;R++)C[R]=arguments[R+2];Object.freeze&&Object.freeze(C),f.children=C}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),z(t,y,void 0,void 0,L(),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;
{
"name": "@builderx/bridge",
"version": "1.0.16",
"version": "1.0.17",
"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