PageSourceSearch

https://ecosystem-edge.com/assets/index-6uK7Lcbq.js

js ecosystem-edge.com collected 2026-10-05 00:41:20 UTC 1,658,990 bytes, 1,422 lines download raw bytes

vendor: 6,235 bytes, lines 1-9
1var k8=Object.defineProperty;var AS=e=>{throw TypeError(e)};var T8=(e,t,n)=>t in e?k8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Qo=(e,t,n)=>T8(e,typeof t!="symbol"?t+"":t,n),nx=(e,t,n)=>t.has(e)||AS("Cannot "+n);var A=(e,t,n)=>(nx(e,t,"read from private field"),n?n.call(e):t.get(e)),ge=(e,t,n)=>t.has(e)?AS("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),te=(e,t,n,r)=>(nx(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Oe=(e,t,n)=>(nx(e,t,"access private method"),n);var yf=(e,t,n,r)=>({set _(o){te(e,t,o,n)},get _(){return A(e,t,r)}});function N8(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Hp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var XE={exports:{}},ly={},eC={exports:{}},Me={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var Vp=Symbol.for("react.element"),E8=Symbol.for("react.portal"),C8=Symbol.for("react.fragment"),_8=Symbol.for("react.strict_mode"),A8=Symbol.for("react.profiler"),R8=Symbol.for("react.provider"),P8=Symbol.for("react.context"),z8=Symbol.for("react.forward_ref"),I8=Symbol.for("react.suspense"),O8=Symbol.for("react.memo"),D8=Symbol.for("react.lazy"),RS=Symbol.iterator;function W8(e){return e===null||typeof e!="object"?null:(e=RS&&e[RS]||e["@@iterator"],typeof e=="function"?e:null)}var tC={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},nC=Object.assign,sC={};function iu(e,t,n){this.props=e,this.context=t,this.refs=sC,this.updater=n||tC}iu.prototype.isReactComponent={};iu.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};iu.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rC(){}rC.prototype=iu.prototype;function z1(e,t,n){this.props=e,this.context=t,this.refs=sC,this.updater=n||tC}var I1=z1.prototype=new rC;I1.constructor=z1;nC(I1,iu.prototype);I1.isPureReactComponent=!0;var PS=Array.isArray,oC=Object.prototype.hasOwnProperty,O1={current:null},iC={key:!0,ref:!0,__self:!0,__source:!0};function aC(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)oC.call(t,r)&&!iC.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];o.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:Vp,type:e,key:i,ref:a,props:o,_owner:O1.current}}function $8(e,t){return{$$typeof:Vp,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function D1(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vp}function L8(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var zS=/\/+/g;function sx(e,t){return typeof e=="object"&&e!==null&&e.key!=null?L8(""+e.key):t.toString(36)}function wm(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Vp:case E8:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+sx(a,0):r,PS(o)?(n="",e!=null&&(n=e.replace(zS,"$&/")+"/"),wm(o,t,n,"",function(d){return d})):o!=null&&(D1(o)&&(o=$8(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(zS,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",PS(e))for(var l=0;l<e.length;l++){i=e[l];var c=r+sx(i,l);a+=wm(i,t,n,c,o)}else if(c=W8(e),typeof c=="function")for(e=c.call(e),l=0;!(i=e.next()).done;)i=i.value,c=r+sx(i,l++),a+=wm(i,t,n,c,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function xf(e,t,n){if(e==null)return e;var r=[],o=0;return wm(e,r,"","",function(i){return t.call(n,i,o++)}),r}function M8(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var xs={current:null},jm={transition:null},B8={ReactCurrentDispatcher:xs,ReactCurrentBatchConfig:jm,ReactCurrentOwner:O1};function lC(){throw Error("act(...) is not supported in production builds of React.")}Me.Children={map:xf,forEach:function(e,t,n){xf(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return xf(e,function(){t++}),t},toArray:function(e){return xf(e,function(t){return t})||[]},only:function(e){if(!D1(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Me.Component=iu;Me.Fragment=C8;Me.Profiler=A8;
vendor: 5,132 bytes, lines 9-25
9Me.PureComponent=z1;Me.StrictMode=_8;Me.Suspense=I8;Me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=B8;Me.act=lC;Me.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=nC({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=O1.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)oC.call(t,c)&&!iC.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&l!==void 0?l[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];r.children=l}return{$$typeof:Vp,type:e.type,key:o,ref:i,props:r,_owner:a}};Me.createContext=function(e){return e={$$typeof:P8,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:R8,_context:e},e.Consumer=e};Me.createElement=aC;Me.createFactory=function(e){var t=aC.bind(null,e);return t.type=e,t};Me.createRef=function(){return{current:null}};Me.forwardRef=function(e){return{$$typeof:z8,render:e}};Me.isValidElement=D1;Me.lazy=function(e){return{$$typeof:D8,_payload:{_status:-1,_result:e},_init:M8}};Me.memo=function(e,t){return{$$typeof:O8,type:e,compare:t===void 0?null:t}};Me.startTransition=function(e){var t=jm.transition;jm.transition={};try{e()}finally{jm.transition=t}};Me.unstable_act=lC;Me.useCallback=function(e,t){return xs.current.useCallback(e,t)};Me.useContext=function(e){return xs.current.useContext(e)};Me.useDebugValue=function(){};Me.useDeferredValue=function(e){return xs.current.useDeferredValue(e)};Me.useEffect=function(e,t){return xs.current.useEffect(e,t)};Me.useId=function(){return xs.current.useId()};Me.useImperativeHandle=function(e,t,n){return xs.current.useImperativeHandle(e,t,n)};Me.useInsertionEffect=function(e,t){return xs.current.useInsertionEffect(e,t)};Me.useLayoutEffect=function(e,t){return xs.current.useLayoutEffect(e,t)};Me.useMemo=function(e,t){return xs.current.useMemo(e,t)};Me.useReducer=function(e,t,n){return xs.current.useReducer(e,t,n)};Me.useRef=function(e){return xs.current.useRef(e)};Me.useState=function(e){return xs.current.useState(e)};Me.useSyncExternalStore=function(e,t,n){return xs.current.useSyncExternalStore(e,t,n)};Me.useTransition=function(){return xs.current.useTransition()};Me.version="18.3.1";eC.exports=Me;var x=eC.exports;const P=Hp(x),W1=N8({__proto__:null,default:P},[x]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var F8=x,H8=Symbol.for("react.element"),V8=Symbol.for("react.fragment"),U8=Object.prototype.hasOwnProperty,G8=F8.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Y8={key:!0,ref:!0,__self:!0,__source:!0};function cC(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)U8.call(t,r)&&!Y8.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:H8,type:e,key:i,ref:a,props:o,_owner:G8.current}}ly.Fragment=V8;ly.jsx=cC;ly.jsxs=cC;XE.exports=ly;var s=XE.exports,dC={exports:{}},Xs={},uC={exports:{}},hC={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(O,W){var G=O.length;O.push(W);e:for(;0<G;){var pe=G-1>>>1,ce=O[pe];if(0<o(ce,W))O[pe]=W,O[G]=ce,G=pe;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var W=O[0],G=O.pop();if(G!==W){O[0]=G;e:for(var pe=0,ce=O.length,we=ce>>>1;pe<we;){var se=2*(pe+1)-1,Je=O[se],je=se+1,J=O[je];if(0>o(Je,G))je<ce&&0>o(J,Je)?(O[pe]=J,O[je]=G,pe=je):(O[pe]=Je,O[se]=G,pe=se);else if(je<ce&&0>o(J,G))O[pe]=J,O[je]=G,pe=je;else break e}}return W}function o(O,W){var G=O.sortIndex-W.sortIndex;return G!==0?G:O.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var c=[],d=[],u=1,p=null,f=3,h=!1,g=!1,m=!1,b=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(O){for(var W=n(d);W!==null;){if(W.callback===null)r(d);else if(W.startTime<=O)r(d),W.sortIndex=W.expirationTime,t(c,W);else break;W=n(d)}}function j(O){if(m=!1,w(O),!g)if(n(c)!==null)g=!0,U(S);else{var W=n(d);W!==null&&H(j,W.startTime-O)}}function S(O,W){g=!1,m&&(m=!1,v(T),T=-1),h=!0;var G=f;try{for(w(W),p=n(c);p!==null&&(!(p.expirationTime>W)||O&&!L());){var pe=p.callback;
vendor: 9,178 bytes, lines 25-34
25if(typeof pe=="function"){p.callback=null,f=p.priorityLevel;var ce=pe(p.expirationTime<=W);W=e.unstable_now(),typeof ce=="function"?p.callback=ce:p===n(c)&&r(c),w(W)}else r(c);p=n(c)}if(p!==null)var we=!0;else{var se=n(d);se!==null&&H(j,se.startTime-W),we=!1}return we}finally{p=null,f=G,h=!1}}var N=!1,k=null,T=-1,C=5,R=-1;function L(){return!(e.unstable_now()-R<C)}function I(){if(k!==null){var O=e.unstable_now();R=O;var W=!0;try{W=k(!0,O)}finally{W?F():(N=!1,k=null)}}else N=!1}var F;if(typeof y=="function")F=function(){y(I)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,K=D.port2;D.port1.onmessage=I,F=function(){K.postMessage(null)}}else F=function(){b(I,0)};function U(O){k=O,N||(N=!0,F())}function H(O,W){T=b(function(){O(e.unstable_now())},W)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){g||h||(g=!0,U(S))},e.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<O?Math.floor(1e3/O):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(O){switch(f){case 1:case 2:case 3:var W=3;break;default:W=f}var G=f;f=W;try{return O()}finally{f=G}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,W){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var G=f;f=O;try{return W()}finally{f=G}},e.unstable_scheduleCallback=function(O,W,G){var pe=e.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?pe+G:pe):G=pe,O){case 1:var ce=-1;break;case 2:ce=250;break;case 5:ce=1073741823;break;case 4:ce=1e4;break;default:ce=5e3}return ce=G+ce,O={id:u++,callback:W,priorityLevel:O,startTime:G,expirationTime:ce,sortIndex:-1},G>pe?(O.sortIndex=G,t(d,O),n(c)===null&&O===n(d)&&(m?(v(T),T=-1):m=!0,H(j,G-pe))):(O.sortIndex=ce,t(c,O),g||h||(g=!0,U(S))),O},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(O){var W=f;return function(){var G=f;f=W;try{return O.apply(this,arguments)}finally{f=G}}}})(hC);uC.exports=hC;var q8=uC.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var K8=x,Qs=q8;function V(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var pC=new Set,Qh={};function nc(e,t){Hd(e,t),Hd(e+"Capture",t)}function Hd(e,t){for(Qh[e]=t,e=0;e<t.length;e++)pC.add(t[e])}var Si=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),X0=Object.prototype.hasOwnProperty,Z8=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,IS={},OS={};function Q8(e){return X0.call(OS,e)?!0:X0.call(IS,e)?!1:Z8.test(e)?OS[e]=!0:(IS[e]=!0,!1)}function J8(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function X8(e,t,n,r){if(t===null||typeof t>"u"||J8(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function vs(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var $n={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$n[e]=new vs(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$n[t]=new vs(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){$n[e]=new vs(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$n[e]=new vs(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){$n[e]=new vs(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){$n[e]=new vs(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){$n[e]=new vs(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){$n[e]=new vs(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){$n[e]=new vs(e,5,!1,e.toLowerCase(),null,!1,!1)});var $1=/[\-:]([a-z])/g;function L1(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace($1,L1);$n[t]=new vs(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace($1,L1);$n[t]=new vs(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace($1,L1);$n[t]=new vs(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){$n[e]=new vs(e,1,!1,e.toLowerCase(),null,!1,!1)});$n.xlinkHref=new vs("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){$n[e]=new vs(e,1,!1,e.toLowerCase(),null,!0,!0)});function M1(e,t,n,r){var o=$n.hasOwnProperty(t)?$n[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(X8(t,n,o,r)&&(n=null),r||o===null?Q8(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Ri=K8.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,vf=Symbol.for("react.element"),Zc=Symbol.for("react.portal"),Qc=Symbol.for("react.fragment"),B1=Symbol.for("react.strict_mode"),ev=Symbol.for("react.profiler"),fC=Symbol.for("react.provider"),mC=Symbol.for("react.context"),F1=Symbol.for("react.forward_ref"),tv=Symbol.for("react.suspense"),nv=Symbol.for("react.suspense_list"),H1=Symbol.for("react.memo"),ea=Symbol.for("react.lazy"),gC=Symbol.for("react.offscreen"),DS=Symbol.iterator;function Ru(e){return e===null||typeof e!="object"?null:(e=DS&&e[DS]||e["@@iterator"],typeof e=="function"?e:null)}var It=Object.assign,rx;function gh(e){if(rx===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);rx=t&&t[1]||""}return`
34`+rx+e}var ox=!1;function ix(e,t){if(!e||ox)return"";ox=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(d){var r=d}Reflect.construct(e,[],t)}else{try{t.call()}catch(d){r=d}e.call(t.prototype)}else{try{throw Error()}catch(d){r=d}e()}}
vendor: 14,090 bytes, lines 34-37
34catch(d){if(d&&r&&typeof d.stack=="string"){for(var o=d.stack.split(`
35`),i=r.stack.split(`
36`),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(a!==1||l!==1)do if(a--,l--,0>l||o[a]!==i[l]){var c=`
37`+o[a].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=a&&0<=l);break}}}finally{ox=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?gh(e):""}function ez(e){switch(e.tag){case 5:return gh(e.type);case 16:return gh("Lazy");case 13:return gh("Suspense");case 19:return gh("SuspenseList");case 0:case 2:case 15:return e=ix(e.type,!1),e;case 11:return e=ix(e.type.render,!1),e;case 1:return e=ix(e.type,!0),e;default:return""}}function sv(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Qc:return"Fragment";case Zc:return"Portal";case ev:return"Profiler";case B1:return"StrictMode";case tv:return"Suspense";case nv:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case mC:return(e.displayName||"Context")+".Consumer";case fC:return(e._context.displayName||"Context")+".Provider";case F1:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case H1:return t=e.displayName||null,t!==null?t:sv(e.type)||"Memo";case ea:t=e._payload,e=e._init;try{return sv(e(t))}catch{}}return null}function tz(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return sv(t);case 8:return t===B1?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function $a(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function yC(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nz(e){var t=yC(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function bf(e){e._valueTracker||(e._valueTracker=nz(e))}function xC(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=yC(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function sg(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function rv(e,t){var n=t.checked;return It({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function WS(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=$a(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function vC(e,t){t=t.checked,t!=null&&M1(e,"checked",t,!1)}function ov(e,t){vC(e,t);var n=$a(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?iv(e,t.type,n):t.hasOwnProperty("defaultValue")&&iv(e,t.type,$a(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function $S(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function iv(e,t,n){(t!=="number"||sg(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var yh=Array.isArray;function gd(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+$a(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function av(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(V(91));return It({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function LS(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(V(92));if(yh(n)){if(1<n.length)throw Error(V(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:$a(n)}}function bC(e,t){var n=$a(t.value),r=$a(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function MS(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function wC(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function lv(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?wC(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var wf,jC=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(wf=wf||document.createElement("div"),wf.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=wf.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Jh(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Rh={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sz=["Webkit","ms","Moz","O"];Object.keys(Rh).forEach(function(e){sz.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Rh[t]=Rh[e]})});function SC(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Rh.hasOwnProperty(e)&&Rh[e]?(""+t).trim():t+"px"}function kC(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=SC(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var rz=It({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function cv(e,t){if(t){if(rz[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(V(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(V(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(V(61))}if(t.style!=null&&typeof t.style!="object")throw Error(V(62))}}function dv(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var uv=null;function V1(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hv=null,yd=null,xd=null;function BS(e){if(e=Yp(e)){if(typeof hv!="function")throw Error(V(280));var t=e.stateNode;t&&(t=py(t),hv(e.stateNode,e.type,t))}}function TC(e){yd?xd?xd.push(e):xd=[e]:yd=e}function NC(){if(yd){var e=yd,t=xd;if(xd=yd=null,BS(e),t)for(e=0;e<t.length;e++)BS(t[e])}}function EC(e,t){return e(t)}function CC(){}var ax=!1;function _C(e,t,n){if(ax)return e(t,n);ax=!0;try{return EC(e,t,n)}finally{ax=!1,(yd!==null||xd!==null)&&(CC(),NC())}}function Xh(e,t){var n=e.stateNode;if(n===null)return null;var r=py(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(V(231,t,typeof n));return n}var pv=!1;if(Si)try{var Pu={};Object.defineProperty(Pu,"passive",{get:function(){pv=!0}}),window.addEventListener("test",Pu,Pu),window.removeEventListener("test",Pu,Pu)}catch{pv=!1}function oz(e,t,n,r,o,i,a,l,c){var d=Array.prototype.slice.call(arguments,3);try{t.apply(n,d)}catch(u){this.onError(u)}}var Ph=!1,rg=null,og=!1,fv=null,iz={onError:function(e){Ph=!0,rg=e}};function az(e,t,n,r,o,i,a,l,c){Ph=!1,rg=null,oz.apply(iz,arguments)}function lz(e,t,n,r,o,i,a,l,c){if(az.apply(this,arguments),Ph){if(Ph){var d=rg;Ph=!1,rg=null}else throw Error(V(198));og||(og=!0,fv=d)}}function sc(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function AC(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function FS(e){if(sc(e)!==e)throw Error(V(188))}function cz(e){var t=e.alternate;if(!t){if(t=sc(e),t===null)throw Error(V(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return FS(o),e;if(i===r)return FS(o),t;i=i.sibling}throw Error(V(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(V(189))}}if(n.alternate!==r)throw Error(V(190))}if(n.tag!==3)throw Error(V(188));return n.stateNode.current===n?e:t}function RC(e){return e=cz(e),e!==null?PC(e):null}function PC(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=PC(e);if(t!==null)return t;e=e.sibling}return null}var zC=Qs.unstable_scheduleCallback,HS=Qs.unstable_cancelCallback,dz=Qs.unstable_shouldYield,uz=Qs.unstable_requestPaint,Vt=Qs.unstable_now,hz=Qs.unstable_getCurrentPriorityLevel,U1=Qs.unstable_ImmediatePriority,IC=Qs.unstable_UserBlockingPriority,ig=Qs.unstable_NormalPriority,pz=Qs.unstable_LowPriority,OC=Qs.unstable_IdlePriority,cy=null,$o=null;function fz(e){if($o&&typeof $o.onCommitFiberRoot=="function")try{$o.onCommitFiberRoot(cy,e,void 0,(e.current.flags&128)===128)}catch{}}var no=Math.clz32?Math.clz32:yz,mz=Math.log,gz=Math.LN2;function yz(e){return e>>>=0,e===0?32:31-(mz(e)/gz|0)|0}var jf=64,Sf=4194304;function xh(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ag(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~o;l!==0?r=xh(l):(i&=a,i!==0&&(r=xh(i)))}else a=n&~o,a!==0?r=xh(a):i!==0&&(r=xh(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-no(t),o=1<<n,r|=e[n],t&=~o;return r}function xz(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function vz(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-no(i),l=1<<a,c=o[a];c===-1?(!(l&n)||l&r)&&(o[a]=xz(l,t)):c<=t&&(e.expiredLanes|=l),i&=~l}}function mv(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function DC(){var e=jf;return jf<<=1,!(jf&4194240)&&(jf=64),e}function lx(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}
vendor: 4,087 bytes, line 37
37function Up(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-no(t),e[t]=n}function bz(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-no(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function G1(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-no(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var lt=0;function WC(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var $C,Y1,LC,MC,BC,gv=!1,kf=[],Ta=null,Na=null,Ea=null,ep=new Map,tp=new Map,oa=[],wz="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function VS(e,t){switch(e){case"focusin":case"focusout":Ta=null;break;case"dragenter":case"dragleave":Na=null;break;case"mouseover":case"mouseout":Ea=null;break;case"pointerover":case"pointerout":ep.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":tp.delete(t.pointerId)}}function zu(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Yp(t),t!==null&&Y1(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function jz(e,t,n,r,o){switch(t){case"focusin":return Ta=zu(Ta,e,t,n,r,o),!0;case"dragenter":return Na=zu(Na,e,t,n,r,o),!0;case"mouseover":return Ea=zu(Ea,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ep.set(i,zu(ep.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,tp.set(i,zu(tp.get(i)||null,e,t,n,r,o)),!0}return!1}function FC(e){var t=Sl(e.target);if(t!==null){var n=sc(t);if(n!==null){if(t=n.tag,t===13){if(t=AC(n),t!==null){e.blockedOn=t,BC(e.priority,function(){LC(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Sm(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=yv(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);uv=r,n.target.dispatchEvent(r),uv=null}else return t=Yp(n),t!==null&&Y1(t),e.blockedOn=n,!1;t.shift()}return!0}function US(e,t,n){Sm(e)&&n.delete(t)}function Sz(){gv=!1,Ta!==null&&Sm(Ta)&&(Ta=null),Na!==null&&Sm(Na)&&(Na=null),Ea!==null&&Sm(Ea)&&(Ea=null),ep.forEach(US),tp.forEach(US)}function Iu(e,t){e.blockedOn===t&&(e.blockedOn=null,gv||(gv=!0,Qs.unstable_scheduleCallback(Qs.unstable_NormalPriority,Sz)))}function np(e){function t(o){return Iu(o,e)}if(0<kf.length){Iu(kf[0],e);for(var n=1;n<kf.length;n++){var r=kf[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Ta!==null&&Iu(Ta,e),Na!==null&&Iu(Na,e),Ea!==null&&Iu(Ea,e),ep.forEach(t),tp.forEach(t),n=0;n<oa.length;n++)r=oa[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<oa.length&&(n=oa[0],n.blockedOn===null);)FC(n),n.blockedOn===null&&oa.shift()}var vd=Ri.ReactCurrentBatchConfig,lg=!0;function kz(e,t,n,r){var o=lt,i=vd.transition;vd.transition=null;try{lt=1,q1(e,t,n,r)}finally{lt=o,vd.transition=i}}function Tz(e,t,n,r){var o=lt,i=vd.transition;vd.transition=null;try{lt=4,q1(e,t,n,r)}finally{lt=o,vd.transition=i}}function q1(e,t,n,r){if(lg){var o=yv(e,t,n,r);if(o===null)xx(e,t,r,cg,n),VS(e,r);else if(jz(o,e,t,n,r))r.stopPropagation();else if(VS(e,r),t&4&&-1<wz.indexOf(e)){for(;o!==null;){var i=Yp(o);if(i!==null&&$C(i),i=yv(e,t,n,r),i===null&&xx(e,t,r,cg,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else xx(e,t,r,null,n)}}var cg=null;function yv(e,t,n,r){if(cg=null,e=V1(r),e=Sl(e),e!==null)if(t=sc(e),t===null)e=null;else if(n=t.tag,n===13){if(e=AC(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return cg=e,null}
vendor: 10,401 bytes, line 37
37function HC(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(hz()){case U1:return 1;case IC:return 4;case ig:case pz:return 16;case OC:return 536870912;default:return 16}default:return 16}}var ba=null,K1=null,km=null;function VC(){if(km)return km;var e,t=K1,n=t.length,r,o="value"in ba?ba.value:ba.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===o[i-r];r++);return km=o.slice(e,1<r?1-r:void 0)}function Tm(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Tf(){return!0}function GS(){return!1}function er(e){function t(n,r,o,i,a){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Tf:GS,this.isPropagationStopped=GS,this}return It(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Tf)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Tf)},persist:function(){},isPersistent:Tf}),t}var au={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Z1=er(au),Gp=It({},au,{view:0,detail:0}),Nz=er(Gp),cx,dx,Ou,dy=It({},Gp,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Q1,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ou&&(Ou&&e.type==="mousemove"?(cx=e.screenX-Ou.screenX,dx=e.screenY-Ou.screenY):dx=cx=0,Ou=e),cx)},movementY:function(e){return"movementY"in e?e.movementY:dx}}),YS=er(dy),Ez=It({},dy,{dataTransfer:0}),Cz=er(Ez),_z=It({},Gp,{relatedTarget:0}),ux=er(_z),Az=It({},au,{animationName:0,elapsedTime:0,pseudoElement:0}),Rz=er(Az),Pz=It({},au,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),zz=er(Pz),Iz=It({},au,{data:0}),qS=er(Iz),Oz={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Dz={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Wz={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $z(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Wz[e])?!!t[e]:!1}function Q1(){return $z}var Lz=It({},Gp,{key:function(e){if(e.key){var t=Oz[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Tm(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Dz[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Q1,charCode:function(e){return e.type==="keypress"?Tm(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Tm(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Mz=er(Lz),Bz=It({},dy,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),KS=er(Bz),Fz=It({},Gp,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Q1}),Hz=er(Fz),Vz=It({},au,{propertyName:0,elapsedTime:0,pseudoElement:0}),Uz=er(Vz),Gz=It({},dy,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Yz=er(Gz),qz=[9,13,27,32],J1=Si&&"CompositionEvent"in window,zh=null;Si&&"documentMode"in document&&(zh=document.documentMode);var Kz=Si&&"TextEvent"in window&&!zh,UC=Si&&(!J1||zh&&8<zh&&11>=zh),ZS=" ",QS=!1;function GC(e,t){switch(e){case"keyup":return qz.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function YC(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jc=!1;function Zz(e,t){switch(e){case"compositionend":return YC(t);case"keypress":return t.which!==32?null:(QS=!0,ZS);case"textInput":return e=t.data,e===ZS&&QS?null:e;default:return null}}function Qz(e,t){if(Jc)return e==="compositionend"||!J1&&GC(e,t)?(e=VC(),km=K1=ba=null,Jc=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return UC&&t.locale!=="ko"?null:t.data;default:return null}}var Jz={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function JS(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Jz[e.type]:t==="textarea"}function qC(e,t,n,r){TC(r),t=dg(t,"onChange"),0<t.length&&(n=new Z1("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ih=null,sp=null;function Xz(e){o_(e,0)}function uy(e){var t=td(e);if(xC(t))return e}function eI(e,t){if(e==="change")return t}var KC=!1;if(Si){var hx;if(Si){var px="oninput"in document;if(!px){var XS=document.createElement("div");XS.setAttribute("oninput","return;"),px=typeof XS.oninput=="function"}hx=px}else hx=!1;KC=hx&&(!document.documentMode||9<document.documentMode)}function e2(){Ih&&(Ih.detachEvent("onpropertychange",ZC),sp=Ih=null)}function ZC(e){if(e.propertyName==="value"&&uy(sp)){var t=[];qC(t,sp,e,V1(e)),_C(Xz,t)}}function tI(e,t,n){e==="focusin"?(e2(),Ih=t,sp=n,Ih.attachEvent("onpropertychange",ZC)):e==="focusout"&&e2()}function nI(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return uy(sp)}function sI(e,t){if(e==="click")return uy(t)}function rI(e,t){if(e==="input"||e==="change")return uy(t)}function oI(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var oo=typeof Object.is=="function"?Object.is:oI;function rp(e,t){if(oo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!X0.call(t,o)||!oo(e[o],t[o]))return!1}return!0}function t2(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function n2(e,t){var n=t2(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=t2(n)}}function QC(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?QC(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function JC(){for(var e=window,t=sg();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=sg(e.document)}return t}function X1(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function iI(e){var t=JC(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&QC(n.ownerDocument.documentElement,n)){if(r!==null&&X1(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=n2(n,i);var a=n2(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var aI=Si&&"documentMode"in document&&11>=document.documentMode,Xc=null,xv=null,Oh=null,vv=!1;function s2(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;vv||Xc==null||Xc!==sg(r)||(r=Xc,"selectionStart"in r&&X1(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Oh&&rp(Oh,r)||(Oh=r,r=dg(xv,"onSelect"),0<r.length&&(t=new Z1("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Xc)))}function Nf(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ed={animationend:Nf("Animation","AnimationEnd"),animationiteration:Nf("Animation","AnimationIteration"),animationstart:Nf("Animation","AnimationStart"),transitionend:Nf("Transition","TransitionEnd")},fx={},XC={};Si&&(XC=document.createElement("div").style,"AnimationEvent"in window||(delete ed.animationend.animation,delete ed.animationiteration.animation,delete ed.animationstart.animation),"TransitionEvent"in window||delete ed.transitionend.transition);function hy(e){if(fx[e])return fx[e];if(!ed[e])return e;var t=ed[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in XC)return fx[e]=t[n];return e}var e_=hy("animationend"),t_=hy("animationiteration"),n_=hy("animationstart"),s_=hy("transitionend"),r_=new Map,r2="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ua(e,t){r_.set(e,t),nc(t,[e])}for(var mx=0;mx<r2.length;mx++){var gx=r2[mx],lI=gx.toLowerCase(),cI=gx[0].toUpperCase()+gx.slice(1);Ua(lI,"on"+cI)}Ua(e_,"onAnimationEnd");Ua(t_,"onAnimationIteration");Ua(n_,"onAnimationStart");Ua("dblclick","onDoubleClick");Ua("focusin","onFocus");Ua("focusout","onBlur");Ua(s_,"onTransitionEnd");Hd("onMouseEnter",["mouseout","mouseover"]);Hd("onMouseLeave",["mouseout","mouseover"]);Hd("onPointerEnter",["pointerout","pointerover"]);Hd("onPointerLeave",["pointerout","pointerover"]);nc("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));nc("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));nc("onBeforeInput",["compositionend","keypress","textInput","paste"]);nc("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));nc("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));nc("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var vh="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),dI=new Set("cancel close invalid load scroll toggle".split(" ").concat(vh));function o2(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,lz(r,t,void 0,e),e.currentTarget=null}function o_(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],c=l.instance,d=l.currentTarget;if(l=l.listener,c!==i&&o.isPropagationStopped())break e;o2(o,l,d),i=c}else for(a=0;a<r.length;a++){if(l=r[a],c=l.instance,d=l.currentTarget,l=l.listener,c!==i&&o.isPropagationStopped())break e;o2(o,l,d),i=c}}}if(og)throw e=fv,og=!1,fv=null,e}function St(e,t){var n=t[kv];n===void 0&&(n=t[kv]=new Set);var r=e+"__bubble";n.has(r)||(i_(t,e,2,!1),n.add(r))}function yx(e,t,n){var r=0;t&&(r|=4),i_(n,e,r,t)}var Ef="_reactListening"+Math.random().toString(36).slice(2);function op(e){if(!e[Ef]){e[Ef]=!0,pC.forEach(function(n){n!=="selectionchange"&&(dI.has(n)||yx(n,!1,e),yx(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ef]||(t[Ef]=!0,yx("selectionchange",!1,t))}}function i_(e,t,n,r){switch(HC(t)){case 1:var o=kz;break;case 4:o=Tz;break;default:o=q1}n=o.bind(null,t,n,e),o=void 0,!pv||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function xx(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var l=r.stateNode.containerInfo;
vendor: 21,391 bytes, lines 37-38
37if(l===o||l.nodeType===8&&l.parentNode===o)break;if(a===4)for(a=r.return;a!==null;){var c=a.tag;if((c===3||c===4)&&(c=a.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;a=a.return}for(;l!==null;){if(a=Sl(l),a===null)return;if(c=a.tag,c===5||c===6){r=i=a;continue e}l=l.parentNode}}r=r.return}_C(function(){var d=i,u=V1(n),p=[];e:{var f=r_.get(e);if(f!==void 0){var h=Z1,g=e;switch(e){case"keypress":if(Tm(n)===0)break e;case"keydown":case"keyup":h=Mz;break;case"focusin":g="focus",h=ux;break;case"focusout":g="blur",h=ux;break;case"beforeblur":case"afterblur":h=ux;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=YS;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Cz;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=Hz;break;case e_:case t_:case n_:h=Rz;break;case s_:h=Uz;break;case"scroll":h=Nz;break;case"wheel":h=Yz;break;case"copy":case"cut":case"paste":h=zz;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=KS}var m=(t&4)!==0,b=!m&&e==="scroll",v=m?f!==null?f+"Capture":null:f;m=[];for(var y=d,w;y!==null;){w=y;var j=w.stateNode;if(w.tag===5&&j!==null&&(w=j,v!==null&&(j=Xh(y,v),j!=null&&m.push(ip(y,j,w)))),b)break;y=y.return}0<m.length&&(f=new h(f,g,null,n,u),p.push({event:f,listeners:m}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&n!==uv&&(g=n.relatedTarget||n.fromElement)&&(Sl(g)||g[ki]))break e;if((h||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,h?(g=n.relatedTarget||n.toElement,h=d,g=g?Sl(g):null,g!==null&&(b=sc(g),g!==b||g.tag!==5&&g.tag!==6)&&(g=null)):(h=null,g=d),h!==g)){if(m=YS,j="onMouseLeave",v="onMouseEnter",y="mouse",(e==="pointerout"||e==="pointerover")&&(m=KS,j="onPointerLeave",v="onPointerEnter",y="pointer"),b=h==null?f:td(h),w=g==null?f:td(g),f=new m(j,y+"leave",h,n,u),f.target=b,f.relatedTarget=w,j=null,Sl(u)===d&&(m=new m(v,y+"enter",g,n,u),m.target=w,m.relatedTarget=b,j=m),b=j,h&&g)t:{for(m=h,v=g,y=0,w=m;w;w=dc(w))y++;for(w=0,j=v;j;j=dc(j))w++;for(;0<y-w;)m=dc(m),y--;for(;0<w-y;)v=dc(v),w--;for(;y--;){if(m===v||v!==null&&m===v.alternate)break t;m=dc(m),v=dc(v)}m=null}else m=null;h!==null&&i2(p,f,h,m,!1),g!==null&&b!==null&&i2(p,b,g,m,!0)}}e:{if(f=d?td(d):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var S=eI;else if(JS(f))if(KC)S=rI;else{S=nI;var N=tI}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(S=sI);if(S&&(S=S(e,d))){qC(p,S,n,u);break e}N&&N(e,f,d),e==="focusout"&&(N=f._wrapperState)&&N.controlled&&f.type==="number"&&iv(f,"number",f.value)}switch(N=d?td(d):window,e){case"focusin":(JS(N)||N.contentEditable==="true")&&(Xc=N,xv=d,Oh=null);break;case"focusout":Oh=xv=Xc=null;break;case"mousedown":vv=!0;break;case"contextmenu":case"mouseup":case"dragend":vv=!1,s2(p,n,u);break;case"selectionchange":if(aI)break;case"keydown":case"keyup":s2(p,n,u)}var k;if(J1)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else Jc?GC(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(UC&&n.locale!=="ko"&&(Jc||T!=="onCompositionStart"?T==="onCompositionEnd"&&Jc&&(k=VC()):(ba=u,K1="value"in ba?ba.value:ba.textContent,Jc=!0)),N=dg(d,T),0<N.length&&(T=new qS(T,e,null,n,u),p.push({event:T,listeners:N}),k?T.data=k:(k=YC(n),k!==null&&(T.data=k)))),(k=Kz?Zz(e,n):Qz(e,n))&&(d=dg(d,"onBeforeInput"),0<d.length&&(u=new qS("onBeforeInput","beforeinput",null,n,u),p.push({event:u,listeners:d}),u.data=k))}o_(p,t)})}function ip(e,t,n){return{instance:e,listener:t,currentTarget:n}}function dg(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Xh(e,n),i!=null&&r.unshift(ip(e,i,o)),i=Xh(e,t),i!=null&&r.push(ip(e,i,o))),e=e.return}return r}function dc(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function i2(e,t,n,r,o){for(var i=t._reactName,a=[];n!==null&&n!==r;){var l=n,c=l.alternate,d=l.stateNode;if(c!==null&&c===r)break;l.tag===5&&d!==null&&(l=d,o?(c=Xh(n,i),c!=null&&a.unshift(ip(n,c,l))):o||(c=Xh(n,i),c!=null&&a.push(ip(n,c,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var uI=/\r\n?/g,hI=/\u0000|\uFFFD/g;function a2(e){return(typeof e=="string"?e:""+e).replace(uI,`
38`).replace(hI,"")}function Cf(e,t,n){if(t=a2(t),a2(e)!==t&&n)throw Error(V(425))}function ug(){}var bv=null,wv=null;function jv(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Sv=typeof setTimeout=="function"?setTimeout:void 0,pI=typeof clearTimeout=="function"?clearTimeout:void 0,l2=typeof Promise=="function"?Promise:void 0,fI=typeof queueMicrotask=="function"?queueMicrotask:typeof l2<"u"?function(e){return l2.resolve(null).then(e).catch(mI)}:Sv;function mI(e){setTimeout(function(){throw e})}function vx(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),np(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);np(t)}function Ca(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function c2(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var lu=Math.random().toString(36).slice(2),Io="__reactFiber$"+lu,ap="__reactProps$"+lu,ki="__reactContainer$"+lu,kv="__reactEvents$"+lu,gI="__reactListeners$"+lu,yI="__reactHandles$"+lu;function Sl(e){var t=e[Io];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ki]||n[Io]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=c2(e);e!==null;){if(n=e[Io])return n;e=c2(e)}return t}e=n,n=e.parentNode}return null}function Yp(e){return e=e[Io]||e[ki],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function td(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(V(33))}function py(e){return e[ap]||null}var Tv=[],nd=-1;function Ga(e){return{current:e}}function Tt(e){0>nd||(e.current=Tv[nd],Tv[nd]=null,nd--)}function vt(e,t){nd++,Tv[nd]=e.current,e.current=t}var La={},Kn=Ga(La),Ps=Ga(!1),Hl=La;function Vd(e,t){var n=e.type.contextTypes;if(!n)return La;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function zs(e){return e=e.childContextTypes,e!=null}function hg(){Tt(Ps),Tt(Kn)}function d2(e,t,n){if(Kn.current!==La)throw Error(V(168));vt(Kn,t),vt(Ps,n)}function a_(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(V(108,tz(e)||"Unknown",o));return It({},n,r)}function pg(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||La,Hl=Kn.current,vt(Kn,e),vt(Ps,Ps.current),!0}function u2(e,t,n){var r=e.stateNode;if(!r)throw Error(V(169));n?(e=a_(e,t,Hl),r.__reactInternalMemoizedMergedChildContext=e,Tt(Ps),Tt(Kn),vt(Kn,e)):Tt(Ps),vt(Ps,n)}var ui=null,fy=!1,bx=!1;function l_(e){ui===null?ui=[e]:ui.push(e)}function xI(e){fy=!0,l_(e)}function Ya(){if(!bx&&ui!==null){bx=!0;var e=0,t=lt;try{var n=ui;for(lt=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}ui=null,fy=!1}catch(o){throw ui!==null&&(ui=ui.slice(e+1)),zC(U1,Ya),o}finally{lt=t,bx=!1}}return null}var sd=[],rd=0,fg=null,mg=0,fr=[],mr=0,Vl=null,gi=1,yi="";function pl(e,t){sd[rd++]=mg,sd[rd++]=fg,fg=e,mg=t}function c_(e,t,n){fr[mr++]=gi,fr[mr++]=yi,fr[mr++]=Vl,Vl=e;var r=gi;e=yi;var o=32-no(r)-1;r&=~(1<<o),n+=1;var i=32-no(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,gi=1<<32-no(t)+o|n<<o|r,yi=i+e}else gi=1<<i|n<<o|r,yi=e}function ew(e){e.return!==null&&(pl(e,1),c_(e,1,0))}function tw(e){for(;e===fg;)fg=sd[--rd],sd[rd]=null,mg=sd[--rd],sd[rd]=null;for(;e===Vl;)Vl=fr[--mr],fr[mr]=null,yi=fr[--mr],fr[mr]=null,gi=fr[--mr],fr[mr]=null}var Ks=null,qs=null,Nt=!1,Qr=null;function d_(e,t){var n=gr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function h2(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ks=e,qs=Ca(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ks=e,qs=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Vl!==null?{id:gi,overflow:yi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=gr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ks=e,qs=null,!0):!1;default:return!1}}function Nv(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ev(e){if(Nt){var t=qs;if(t){var n=t;if(!h2(e,t)){if(Nv(e))throw Error(V(418));t=Ca(n.nextSibling);var r=Ks;t&&h2(e,t)?d_(r,n):(e.flags=e.flags&-4097|2,Nt=!1,Ks=e)}}else{if(Nv(e))throw Error(V(418));e.flags=e.flags&-4097|2,Nt=!1,Ks=e}}}function p2(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ks=e}function _f(e){if(e!==Ks)return!1;if(!Nt)return p2(e),Nt=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!jv(e.type,e.memoizedProps)),t&&(t=qs)){if(Nv(e))throw u_(),Error(V(418));for(;t;)d_(e,t),t=Ca(t.nextSibling)}if(p2(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(V(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){qs=Ca(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}qs=null}}else qs=Ks?Ca(e.stateNode.nextSibling):null;return!0}function u_(){for(var e=qs;e;)e=Ca(e.nextSibling)}function Ud(){qs=Ks=null,Nt=!1}function nw(e){Qr===null?Qr=[e]:Qr.push(e)}var vI=Ri.ReactCurrentBatchConfig;function Du(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(V(309));var r=n.stateNode}if(!r)throw Error(V(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var l=o.refs;a===null?delete l[i]:l[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(V(284));if(!n._owner)throw Error(V(290,e))}return e}function Af(e,t){throw e=Object.prototype.toString.call(t),Error(V(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function f2(e){var t=e._init;return t(e._payload)}function h_(e){function t(v,y){if(e){var w=v.deletions;w===null?(v.deletions=[y],v.flags|=16):w.push(y)}}function n(v,y){if(!e)return null;for(;y!==null;)t(v,y),y=y.sibling;return null}function r(v,y){for(v=new Map;y!==null;)y.key!==null?v.set(y.key,y):v.set(y.index,y),y=y.sibling;return v}function o(v,y){return v=Pa(v,y),v.index=0,v.sibling=null,v}function i(v,y,w){return v.index=w,e?(w=v.alternate,w!==null?(w=w.index,w<y?(v.flags|=2,y):w):(v.flags|=2,y)):(v.flags|=1048576,y)}function a(v){return e&&v.alternate===null&&(v.flags|=2),v}function l(v,y,w,j){return y===null||y.tag!==6?(y=Ex(w,v.mode,j),y.return=v,y):(y=o(y,w),y.return=v,y)}function c(v,y,w,j){var S=w.type;return S===Qc?u(v,y,w.props.children,j,w.key):y!==null&&(y.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ea&&f2(S)===y.type)?(j=o(y,w.props),j.ref=Du(v,y,w),j.return=v,j):(j=Pm(w.type,w.key,w.props,null,v.mode,j),j.ref=Du(v,y,w),j.return=v,j)}function d(v,y,w,j){return y===null||y.tag!==4||y.stateNode.containerInfo!==w.containerInfo||y.stateNode.implementation!==w.implementation?(y=Cx(w,v.mode,j),y.return=v,y):(y=o(y,w.children||[]),y.return=v,y)}function u(v,y,w,j,S){return y===null||y.tag!==7?(y=Bl(w,v.mode,j,S),y.return=v,y):(y=o(y,w),y.return=v,y)}function p(v,y,w){if(typeof y=="string"&&y!==""||typeof y=="number")return y=Ex(""+y,v.mode,w),y.return=v,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case vf:return w=Pm(y.type,y.key,y.props,null,v.mode,w),w.ref=Du(v,null,y),w.return=v,w;case Zc:return y=Cx(y,v.mode,w),y.return=v,y;case ea:var j=y._init;return p(v,j(y._payload),w)}if(yh(y)||Ru(y))return y=Bl(y,v.mode,w,null),y.return=v,y;Af(v,y)}return null}function f(v,y,w,j){var S=y!==null?y.key:null;if(typeof w=="string"&&w!==""||typeof w=="number")return S!==null?null:l(v,y,""+w,j);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case vf:return w.key===S?c(v,y,w,j):null;case Zc:return w.key===S?d(v,y,w,j):null;case ea:return S=w._init,f(v,y,S(w._payload),j)}if(yh(w)||Ru(w))return S!==null?null:u(v,y,w,j,null);Af(v,w)}return null}function h(v,y,w,j,S){if(typeof j=="string"&&j!==""||typeof j=="number")return v=v.get(w)||null,l(y,v,""+j,S);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case vf:return v=v.get(j.key===null?w:j.key)||null,c(y,v,j,S);case Zc:return v=v.get(j.key===null?w:j.key)||null,d(y,v,j,S);case ea:var N=j._init;return h(v,y,w,N(j._payload),S)}if(yh(j)||Ru(j))return v=v.get(w)||null,u(y,v,j,S,null);Af(y,j)}return null}function g(v,y,w,j){for(var S=null,N=null,k=y,T=y=0,C=null;k!==null&&T<w.length;T++){k.index>T?(C=k,k=null):C=k.sibling;var R=f(v,k,w[T],j);if(R===null){k===null&&(k=C);break}e&&k&&R.alternate===null&&t(v,k),y=i(R,y,T),N===null?S=R:N.sibling=R,N=R,k=C}if(T===w.length)return n(v,k),Nt&&pl(v,T),S;if(k===null){for(;T<w.length;T++)k=p(v,w[T],j),k!==null&&(y=i(k,y,T),N===null?S=k:N.sibling=k,N=k);return Nt&&pl(v,T),S}for(k=r(v,k);T<w.length;T++)C=h(k,v,T,w[T],j),C!==null&&(e&&C.alternate!==null&&k.delete(C.key===null?T:C.key),y=i(C,y,T),N===null?S=C:N.sibling=C,N=C);return e&&k.forEach(function(L){return t(v,L)}),Nt&&pl(v,T),S}function m(v,y,w,j){var S=Ru(w);if(typeof S!="function")throw Error(V(150));if(w=S.call(w),w==null)throw Error(V(151));for(var N=S=null,k=y,T=y=0,C=null,R=w.next();k!==null&&!R.done;T++,R=w.next()){k.index>T?(C=k,k=null):C=k.sibling;var L=f(v,k,R.value,j);if(L===null){k===null&&(k=C);break}e&&k&&L.alternate===null&&t(v,k),y=i(L,y,T),N===null?S=L:N.sibling=L,N=L,k=C}if(R.done)return n(v,k),Nt&&pl(v,T),S;if(k===null){for(;!R.done;T++,R=w.next())R=p(v,R.value,j),R!==null&&(y=i(R,y,T),N===null?S=R:N.sibling=R,N=R);return Nt&&pl(v,T),S}for(k=r(v,k);!R.done;T++,R=w.next())R=h(k,v,T,R.value,j),R!==null&&(e&&R.alternate!==null&&k.delete(R.key===null?T:R.key),y=i(R,y,T),N===null?S=R:N.sibling=R,N=R);return e&&k.forEach(function(I){return t(v,I)}),Nt&&pl(v,T),S}function b(v,y,w,j){if(typeof w=="object"&&w!==null&&w.type===Qc&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case vf:e:{for(var S=w.key,N=y;N!==null;){if(N.key===S){if(S=w.type,S===Qc){if(N.tag===7){n(v,N.sibling),y=o(N,w.props.children),y.return=v,v=y;break e}}else if(N.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===ea&&f2(S)===N.type){n(v,N.sibling),y=o(N,w.props),y.ref=Du(v,N,w),y.return=v,v=y;break e}n(v,N);break}else t(v,N);N=N.sibling}w.type===Qc?(y=Bl(w.props.children,v.mode,j,w.key),y.return=v,v=y):(j=Pm(w.type,w.key,w.props,null,v.mode,j),j.ref=Du(v,y,w),j.return=v,v=j)}return a(v);case Zc:e:{for(N=w.key;y!==null;){if(y.key===N)if(y.tag===4&&y.stateNode.containerInfo===w.containerInfo&&y.stateNode.implementation===w.implementation){n(v,y.sibling),y=o(y,w.children||[]),y.return=v,v=y;break e}else{n(v,y);break}else t(v,y);y=y.sibling}y=Cx(w,v.mode,j),y.return=v,v=y}return a(v);case ea:return N=w._init,b(v,y,N(w._payload),j)}if(yh(w))return g(v,y,w,j);if(Ru(w))return m(v,y,w,j);Af(v,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,y!==null&&y.tag===6?(n(v,y.sibling),y=o(y,w),y.return=v,v=y):(n(v,y),y=Ex(w,v.mode,j),y.return=v,v=y),a(v)):n(v,y)}return b}var Gd=h_(!0),p_=h_(!1),gg=Ga(null),yg=null,od=null,sw=null;function rw(){sw=od=yg=null}function ow(e){var t=gg.current;Tt(gg),e._currentValue=t}function Cv(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function bd(e,t){yg=e,sw=od=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Rs=!0),e.firstContext=null)}function kr(e){var t=e._currentValue;if(sw!==e)if(e={context:e,memoizedValue:t,next:null},od===null){if(yg===null)throw Error(V(308));od=e,yg.dependencies={lanes:0,firstContext:e}}else od=od.next=e;return t}var kl=null;function iw(e){kl===null?kl=[e]:kl.push(e)}function f_(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,iw(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ti(e,r)}function Ti(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var ta=!1;function aw(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function m_(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function bi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function _a(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Ze&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ti(e,n)}return o=r.interleaved,o===null?(t.next=t,iw(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ti(e,n)}function Nm(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,G1(e,n)}}function m2(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function xg(e,t,n,r){var o=e.updateQueue;ta=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var c=l,d=c.next;c.next=null,a===null?i=d:a.next=d,a=c;var u=e.alternate;u!==null&&(u=u.updateQueue,l=u.lastBaseUpdate,l!==a&&(l===null?u.firstBaseUpdate=d:l.next=d,u.lastBaseUpdate=c))}if(i!==null){var p=o.baseState;a=0,u=d=c=null,l=i;do{var f=l.lane,h=l.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:h,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var g=e,m=l;switch(f=t,h=n,m.tag){case 1:if(g=m.payload,typeof g=="function"){p=g.call(h,p,f);break e}p=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=m.payload,f=typeof g=="function"?g.call(h,p,f):g,f==null)break e;p=It({},p,f);break e;case 2:ta=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[l]:f.push(l))}else h={eventTime:h,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},u===null?(d=u=h,c=p):u=u.next=h,a|=f;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;f=l,l=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(u===null&&(c=p),o.baseState=c,o.firstBaseUpdate=d,o.lastBaseUpdate=u,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Gl|=a,e.lanes=a,e.memoizedState=p}}function g2(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(V(191,o));o.call(r)}}}var qp={},Lo=Ga(qp),lp=Ga(qp),cp=Ga(qp);function Tl(e){if(e===qp)throw Error(V(174));return e}function lw(e,t){switch(vt(cp,t),vt(lp,e),vt(Lo,qp),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:lv(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=lv(t,e)}Tt(Lo),vt(Lo,t)}function Yd(){Tt(Lo),Tt(lp),Tt(cp)}function g_(e){Tl(cp.current);var t=Tl(Lo.current),n=lv(t,e.type);t!==n&&(vt(lp,e),vt(Lo,n))}function cw(e){lp.current===e&&(Tt(Lo),Tt(lp))}var Rt=Ga(0);function vg(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var wx=[];function dw(){for(var e=0;e<wx.length;e++)wx[e]._workInProgressVersionPrimary=null;wx.length=0}var Em=Ri.ReactCurrentDispatcher,jx=Ri.ReactCurrentBatchConfig,Ul=0,zt=null,hn=null,Nn=null,bg
vendor: 6,914 bytes, line 38
38=!1,Dh=!1,dp=0,bI=0;function Mn(){throw Error(V(321))}function uw(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!oo(e[n],t[n]))return!1;return!0}function hw(e,t,n,r,o,i){if(Ul=i,zt=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Em.current=e===null||e.memoizedState===null?kI:TI,e=n(r,o),Dh){i=0;do{if(Dh=!1,dp=0,25<=i)throw Error(V(301));i+=1,Nn=hn=null,t.updateQueue=null,Em.current=NI,e=n(r,o)}while(Dh)}if(Em.current=wg,t=hn!==null&&hn.next!==null,Ul=0,Nn=hn=zt=null,bg=!1,t)throw Error(V(300));return e}function pw(){var e=dp!==0;return dp=0,e}function To(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nn===null?zt.memoizedState=Nn=e:Nn=Nn.next=e,Nn}function Tr(){if(hn===null){var e=zt.alternate;e=e!==null?e.memoizedState:null}else e=hn.next;var t=Nn===null?zt.memoizedState:Nn.next;if(t!==null)Nn=t,hn=e;else{if(e===null)throw Error(V(310));hn=e,e={memoizedState:hn.memoizedState,baseState:hn.baseState,baseQueue:hn.baseQueue,queue:hn.queue,next:null},Nn===null?zt.memoizedState=Nn=e:Nn=Nn.next=e}return Nn}function up(e,t){return typeof t=="function"?t(e):t}function Sx(e){var t=Tr(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var r=hn,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=a=null,c=null,d=i;do{var u=d.lane;if((Ul&u)===u)c!==null&&(c=c.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),r=d.hasEagerState?d.eagerState:e(r,d.action);else{var p={lane:u,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};c===null?(l=c=p,a=r):c=c.next=p,zt.lanes|=u,Gl|=u}d=d.next}while(d!==null&&d!==i);c===null?a=r:c.next=l,oo(r,t.memoizedState)||(Rs=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,zt.lanes|=i,Gl|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function kx(e){var t=Tr(),n=t.queue;if(n===null)throw Error(V(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var a=o=o.next;do i=e(i,a.action),a=a.next;while(a!==o);oo(i,t.memoizedState)||(Rs=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function y_(){}function x_(e,t){var n=zt,r=Tr(),o=t(),i=!oo(r.memoizedState,o);if(i&&(r.memoizedState=o,Rs=!0),r=r.queue,fw(w_.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Nn!==null&&Nn.memoizedState.tag&1){if(n.flags|=2048,hp(9,b_.bind(null,n,r,o,t),void 0,null),Cn===null)throw Error(V(349));Ul&30||v_(n,t,o)}return o}function v_(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=zt.updateQueue,t===null?(t={lastEffect:null,stores:null},zt.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function b_(e,t,n,r){t.value=n,t.getSnapshot=r,j_(t)&&S_(e)}function w_(e,t,n){return n(function(){j_(t)&&S_(e)})}function j_(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!oo(e,n)}catch{return!0}}function S_(e){var t=Ti(e,1);t!==null&&so(t,e,1,-1)}function y2(e){var t=To();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:up,lastRenderedState:e},t.queue=e,e=e.dispatch=SI.bind(null,zt,e),[t.memoizedState,e]}function hp(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=zt.updateQueue,t===null?(t={lastEffect:null,stores:null},zt.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function k_(){return Tr().memoizedState}function Cm(e,t,n,r){var o=To();zt.flags|=e,o.memoizedState=hp(1|t,n,void 0,r===void 0?null:r)}function my(e,t,n,r){var o=Tr();r=r===void 0?null:r;var i=void 0;if(hn!==null){var a=hn.memoizedState;if(i=a.destroy,r!==null&&uw(r,a.deps)){o.memoizedState=hp(t,n,i,r);return}}zt.flags|=e,o.memoizedState=hp(1|t,n,i,r)}function x2(e,t){return Cm(8390656,8,e,t)}function fw(e,t){return my(2048,8,e,t)}function T_(e,t){return my(4,2,e,t)}function N_(e,t){return my(4,4,e,t)}function E_(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function C_(e,t,n){return n=n!=null?n.concat([e]):null,my(4,4,E_.bind(null,t,e),n)}function mw(){}function __(e,t){var n=Tr();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&uw(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function A_(e,t){var n=Tr();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&uw(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function R_(e,t,n){return Ul&21?(oo(n,t)||(n=DC(),zt.lanes|=n,Gl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Rs=!0),e.memoizedState=n)}function wI(e,t){var n=lt;lt=n!==0&&4>n?n:4,e(!0);var r=jx.transition;jx.transition={};try{e(!1),t()}finally{lt=n,jx.transition=r}}function P_(){return Tr().memoizedState}function jI(e,t,n){var r=Ra(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},z_(e))I_(t,n);else if(n=f_(e,t,n,r),n!==null){var o=gs();so(n,e,r,o),O_(n,t,r)}}function SI(e,t,n){var r=Ra(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(z_(e))I_(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,l=i(a,n);if(o.hasEagerState=!0,o.eagerState=l,oo(l,a)){var c=t.interleaved;c===null?(o.next=o,iw(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=f_(e,t,o,r),n!==null&&(o=gs(),so(n,e,r,o),O_(n,t,r))}}function z_(e){var t=e.alternate;return e===zt||t!==null&&t===zt}function I_(e,t){Dh=bg=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function O_(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,G1(e,n)}}var wg={readContext:kr,useCallback:Mn,useContext:Mn,useEffect:Mn,useImperativeHandle:Mn,useInsertionEffect:Mn,useLayoutEffect:Mn,useMemo:Mn,useReducer:Mn,useRef:Mn,useState:Mn,useDebugValue:Mn,useDeferredValue:Mn,useTransition:Mn,useMutableSource:Mn,useSyncExternalStore:Mn,useId:Mn,unstable_isNewReconciler:!1},kI={readContext:kr,useCallback:function(e,t){return To().memoizedState=[e,t===void 0?null:t],e},useContext:kr,useEffect:x2,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Cm(4194308,4,E_.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Cm(4194308,4,e,t)},useInsertionEffect:function(e,t){return Cm(4,2,e,t)},useMemo:function(e,t){var n=To();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=To();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=jI.bind(null,zt,e),[r.memoizedState,e]}
vendor: 7,431 bytes, lines 38-40
38,useRef:function(e){var t=To();return e={current:e},t.memoizedState=e},useState:y2,useDebugValue:mw,useDeferredValue:function(e){return To().memoizedState=e},useTransition:function(){var e=y2(!1),t=e[0];return e=wI.bind(null,e[1]),To().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=zt,o=To();if(Nt){if(n===void 0)throw Error(V(407));n=n()}else{if(n=t(),Cn===null)throw Error(V(349));Ul&30||v_(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,x2(w_.bind(null,r,i,e),[e]),r.flags|=2048,hp(9,b_.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=To(),t=Cn.identifierPrefix;if(Nt){var n=yi,r=gi;n=(r&~(1<<32-no(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=dp++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=bI++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},TI={readContext:kr,useCallback:__,useContext:kr,useEffect:fw,useImperativeHandle:C_,useInsertionEffect:T_,useLayoutEffect:N_,useMemo:A_,useReducer:Sx,useRef:k_,useState:function(){return Sx(up)},useDebugValue:mw,useDeferredValue:function(e){var t=Tr();return R_(t,hn.memoizedState,e)},useTransition:function(){var e=Sx(up)[0],t=Tr().memoizedState;return[e,t]},useMutableSource:y_,useSyncExternalStore:x_,useId:P_,unstable_isNewReconciler:!1},NI={readContext:kr,useCallback:__,useContext:kr,useEffect:fw,useImperativeHandle:C_,useInsertionEffect:T_,useLayoutEffect:N_,useMemo:A_,useReducer:kx,useRef:k_,useState:function(){return kx(up)},useDebugValue:mw,useDeferredValue:function(e){var t=Tr();return hn===null?t.memoizedState=e:R_(t,hn.memoizedState,e)},useTransition:function(){var e=kx(up)[0],t=Tr().memoizedState;return[e,t]},useMutableSource:y_,useSyncExternalStore:x_,useId:P_,unstable_isNewReconciler:!1};function Vr(e,t){if(e&&e.defaultProps){t=It({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function _v(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:It({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var gy={isMounted:function(e){return(e=e._reactInternals)?sc(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=gs(),o=Ra(e),i=bi(r,o);i.payload=t,n!=null&&(i.callback=n),t=_a(e,i,o),t!==null&&(so(t,e,o,r),Nm(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=gs(),o=Ra(e),i=bi(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=_a(e,i,o),t!==null&&(so(t,e,o,r),Nm(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=gs(),r=Ra(e),o=bi(n,r);o.tag=2,t!=null&&(o.callback=t),t=_a(e,o,r),t!==null&&(so(t,e,r,n),Nm(t,e,r))}};function v2(e,t,n,r,o,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,a):t.prototype&&t.prototype.isPureReactComponent?!rp(n,r)||!rp(o,i):!0}function D_(e,t,n){var r=!1,o=La,i=t.contextType;return typeof i=="object"&&i!==null?i=kr(i):(o=zs(t)?Hl:Kn.current,r=t.contextTypes,i=(r=r!=null)?Vd(e,o):La),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=gy,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function b2(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&gy.enqueueReplaceState(t,t.state,null)}function Av(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},aw(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=kr(i):(i=zs(t)?Hl:Kn.current,o.context=Vd(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(_v(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&gy.enqueueReplaceState(o,o.state,null),xg(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function qd(e,t){try{var n="",r=t;do n+=ez(r),r=r.return;while(r);var o=n}catch(i){o=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Tx(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Rv(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var EI=typeof WeakMap=="function"?WeakMap:Map;function W_(e,t,n){n=bi(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Sg||(Sg=!0,Bv=r),Rv(e,t)},n}function $_(e,t,n){n=bi(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){Rv(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){Rv(e,t),typeof r!="function"&&(Aa===null?Aa=new Set([this]):Aa.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function w2(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new EI;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=BI.bind(null,e,t,n),t.then(e,e))}function j2(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function S2(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=bi(-1,1),t.tag=2,_a(n,t,1))),n.lanes|=1),e)}var CI=Ri.ReactCurrentOwner,Rs=!1;function ds(e,t,n,r){t.child=e===null?p_(t,null,n,r):Gd(t,e.child,n,r)}function k2(e,t,n,r,o){n=n.render;var i=t.ref;return bd(t,o),r=hw(e,t,n,r,i,o),n=pw(),e!==null&&!Rs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ni(e,t,o)):(Nt&&n&&ew(t),t.flags|=1,ds(e,t,r,o),t.child)}function T2(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Sw(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,L_(e,t,i,r,o)):(e=Pm(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:rp,n(a,r)&&e.ref===t.ref)return Ni(e,t,o)}return t.flags|=1,e=Pa(i,r),e.ref=t.ref,e.return=t,t.child=e}function L_(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(rp(i,r)&&e.ref===t.ref)if(Rs=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Rs=!0);else return t.lanes=e.lanes,Ni(e,t,o)}return Pv(e,t,n,r,o)}function M_(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},vt(ad,Us),Us|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,vt(ad,Us),Us|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,vt(ad,Us),Us|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,vt(ad,Us),Us|=r;return ds(e,t,o,n),t.child}function B_(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 10,396 bytes, line 40
40function Pv(e,t,n,r,o){var i=zs(n)?Hl:Kn.current;return i=Vd(t,i),bd(t,o),n=hw(e,t,n,r,i,o),r=pw(),e!==null&&!Rs?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ni(e,t,o)):(Nt&&r&&ew(t),t.flags|=1,ds(e,t,n,o),t.child)}function N2(e,t,n,r,o){if(zs(n)){var i=!0;pg(t)}else i=!1;if(bd(t,o),t.stateNode===null)_m(e,t),D_(t,n,r),Av(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var c=a.context,d=n.contextType;typeof d=="object"&&d!==null?d=kr(d):(d=zs(n)?Hl:Kn.current,d=Vd(t,d));var u=n.getDerivedStateFromProps,p=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";p||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||c!==d)&&b2(t,a,r,d),ta=!1;var f=t.memoizedState;a.state=f,xg(t,r,a,o),c=t.memoizedState,l!==r||f!==c||Ps.current||ta?(typeof u=="function"&&(_v(t,n,u,r),c=t.memoizedState),(l=ta||v2(t,n,l,r,f,c,d))?(p||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),a.props=r,a.state=c,a.context=d,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,m_(e,t),l=t.memoizedProps,d=t.type===t.elementType?l:Vr(t.type,l),a.props=d,p=t.pendingProps,f=a.context,c=n.contextType,typeof c=="object"&&c!==null?c=kr(c):(c=zs(n)?Hl:Kn.current,c=Vd(t,c));var h=n.getDerivedStateFromProps;(u=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==p||f!==c)&&b2(t,a,r,c),ta=!1,f=t.memoizedState,a.state=f,xg(t,r,a,o);var g=t.memoizedState;l!==p||f!==g||Ps.current||ta?(typeof h=="function"&&(_v(t,n,h,r),g=t.memoizedState),(d=ta||v2(t,n,d,r,f,g,c)||!1)?(u||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,g,c),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,g,c)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=g),a.props=r,a.state=g,a.context=c,r=d):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return zv(e,t,n,r,i,o)}function zv(e,t,n,r,o,i){B_(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&u2(t,n,!1),Ni(e,t,i);r=t.stateNode,CI.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Gd(t,e.child,null,i),t.child=Gd(t,null,l,i)):ds(e,t,l,i),t.memoizedState=r.state,o&&u2(t,n,!0),t.child}function F_(e){var t=e.stateNode;t.pendingContext?d2(e,t.pendingContext,t.pendingContext!==t.context):t.context&&d2(e,t.context,!1),lw(e,t.containerInfo)}function E2(e,t,n,r,o){return Ud(),nw(o),t.flags|=256,ds(e,t,n,r),t.child}var Iv={dehydrated:null,treeContext:null,retryLane:0};function Ov(e){return{baseLanes:e,cachePool:null,transitions:null}}function H_(e,t,n){var r=t.pendingProps,o=Rt.current,i=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),vt(Rt,o&1),e===null)return Ev(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=vy(a,r,0,null),e=Bl(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Ov(n),t.memoizedState=Iv,e):gw(t,a));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return _I(e,t,a,r,l,o,n);if(i){i=r.fallback,a=t.mode,o=e.child,l=o.sibling;var c={mode:"hidden",children:r.children};return!(a&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Pa(o,c),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=Pa(l,i):(i=Bl(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?Ov(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=Iv,r}return i=e.child,e=i.sibling,r=Pa(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function gw(e,t){return t=vy({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Rf(e,t,n,r){return r!==null&&nw(r),Gd(t,e.child,null,n),e=gw(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function _I(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=Tx(Error(V(422))),Rf(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=vy({mode:"visible",children:r.children},o,0,null),i=Bl(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Gd(t,e.child,null,a),t.child.memoizedState=Ov(a),t.memoizedState=Iv,i);if(!(t.mode&1))return Rf(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(V(419)),r=Tx(i,r,void 0),Rf(e,t,a,r)}if(l=(a&e.childLanes)!==0,Rs||l){if(r=Cn,r!==null){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|a)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Ti(e,o),so(r,e,o,-1))}return jw(),r=Tx(Error(V(421))),Rf(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=FI.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,qs=Ca(o.nextSibling),Ks=t,Nt=!0,Qr=null,e!==null&&(fr[mr++]=gi,fr[mr++]=yi,fr[mr++]=Vl,gi=e.id,yi=e.overflow,Vl=t),t=gw(t,r.children),t.flags|=4096,t)}function C2(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Cv(e.return,t,n)}function Nx(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function V_(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ds(e,t,r.children,n),r=Rt.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&C2(e,n,t);else if(e.tag===19)C2(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(vt(Rt,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&vg(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Nx(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&vg(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Nx(t,!0,n,null,i);break;case"together":Nx(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function _m(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ni(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Gl|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(V(153));if(t.child!==null){for(e=t.child,n=Pa(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Pa(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function AI(e,t,n){switch(t.tag){case 3:F_(t),Ud();break;case 5:g_(t);break;case 1:zs(t.type)&&pg(t);break;case 4:lw(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;vt(gg,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(vt(Rt,Rt.current&1),t.flags|=128,null):n&t.child.childLanes?H_(e,t,n):(vt(Rt,Rt.current&1),e=Ni(e,t,n),e!==null?e.sibling:null);vt(Rt,Rt.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return V_(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),vt(Rt,Rt.current),r)break;return null;case 22:case 23:return t.lanes=0,M_(e,t,n)}return Ni(e,t,n)}var U_,Dv,G_,Y_;U_=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Dv=function(){};G_=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Tl(Lo.current);var i=null;switch(n){case"input":o=rv(e,o),r=rv(e,r),i=[];break;case"select":o=It({},o,{value:void 0}),r=It({},r,{value:void 0}),i=[];break;case"textarea":o=av(e,o),r=av(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ug)}cv(n,r);var a;n=null;for(d in o)if(!r.hasOwnProperty(d)&&o.hasOwnProperty(d)&&o[d]!=null)if(d==="style"){var l=o[d];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Qh.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in r){var c=r[d];if(l=o!=null?o[d]:void 0,r.hasOwnProperty(d)&&c!==l&&(c!=null||l!=null))if(d==="style")if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(n||(n={}),n[a]=c[a])}
vendor: 5,029 bytes, line 40
40else n||(i||(i=[]),i.push(d,n)),n=c;else d==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,l=l?l.__html:void 0,c!=null&&l!==c&&(i=i||[]).push(d,c)):d==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(d,""+c):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Qh.hasOwnProperty(d)?(c!=null&&d==="onScroll"&&St("scroll",e),i||l===c||(i=[])):(i=i||[]).push(d,c))}n&&(i=i||[]).push("style",n);var d=i;(t.updateQueue=d)&&(t.flags|=4)}};Y_=function(e,t,n,r){n!==r&&(t.flags|=4)};function Wu(e,t){if(!Nt)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Bn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function RI(e,t,n){var r=t.pendingProps;switch(tw(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bn(t),null;case 1:return zs(t.type)&&hg(),Bn(t),null;case 3:return r=t.stateNode,Yd(),Tt(Ps),Tt(Kn),dw(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(_f(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Qr!==null&&(Vv(Qr),Qr=null))),Dv(e,t),Bn(t),null;case 5:cw(t);var o=Tl(cp.current);if(n=t.type,e!==null&&t.stateNode!=null)G_(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(V(166));return Bn(t),null}if(e=Tl(Lo.current),_f(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Io]=t,r[ap]=i,e=(t.mode&1)!==0,n){case"dialog":St("cancel",r),St("close",r);break;case"iframe":case"object":case"embed":St("load",r);break;case"video":case"audio":for(o=0;o<vh.length;o++)St(vh[o],r);break;case"source":St("error",r);break;case"img":case"image":case"link":St("error",r),St("load",r);break;case"details":St("toggle",r);break;case"input":WS(r,i),St("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},St("invalid",r);break;case"textarea":LS(r,i),St("invalid",r)}cv(n,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var l=i[a];a==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&Cf(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Cf(r.textContent,l,e),o=["children",""+l]):Qh.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&St("scroll",r)}switch(n){case"input":bf(r),$S(r,i,!0);break;case"textarea":bf(r),MS(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=ug)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=wC(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Io]=t,e[ap]=r,U_(e,t,!1,!1),t.stateNode=e;e:{switch(a=dv(n,r),n){case"dialog":St("cancel",e),St("close",e),o=r;break;case"iframe":case"object":case"embed":St("load",e),o=r;break;case"video":case"audio":for(o=0;o<vh.length;o++)St(vh[o],e);o=r;break;case"source":St("error",e),o=r;break;case"img":case"image":case"link":St("error",e),St("load",e),o=r;break;case"details":St("toggle",e),o=r;break;case"input":WS(e,r),o=rv(e,r),St("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=It({},r,{value:void 0}),St("invalid",e);break;case"textarea":LS(e,r),o=av(e,r),St("invalid",e);break;default:o=r}cv(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var c=l[i];i==="style"?kC(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&jC(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Jh(e,c):typeof c=="number"&&Jh(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Qh.hasOwnProperty(i)?c!=null&&i==="onScroll"&&St("scroll",e):c!=null&&M1(e,i,c,a))}switch(n){case"input":bf(e),$S(e,r,!1);break;case"textarea":bf(e),MS(e);break;case"option":r.value!=null&&e.setAttribute("value",""+$a(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?gd(e,!!r.multiple,i,!1):r.defaultValue!=null&&gd(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=ug)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}
vendor: 29,261 bytes, line 40
40return Bn(t),null;case 6:if(e&&t.stateNode!=null)Y_(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(V(166));if(n=Tl(cp.current),Tl(Lo.current),_f(t)){if(r=t.stateNode,n=t.memoizedProps,r[Io]=t,(i=r.nodeValue!==n)&&(e=Ks,e!==null))switch(e.tag){case 3:Cf(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Cf(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Io]=t,t.stateNode=r}return Bn(t),null;case 13:if(Tt(Rt),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Nt&&qs!==null&&t.mode&1&&!(t.flags&128))u_(),Ud(),t.flags|=98560,i=!1;else if(i=_f(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(V(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(V(317));i[Io]=t}else Ud(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Bn(t),i=!1}else Qr!==null&&(Vv(Qr),Qr=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Rt.current&1?mn===0&&(mn=3):jw())),t.updateQueue!==null&&(t.flags|=4),Bn(t),null);case 4:return Yd(),Dv(e,t),e===null&&op(t.stateNode.containerInfo),Bn(t),null;case 10:return ow(t.type._context),Bn(t),null;case 17:return zs(t.type)&&hg(),Bn(t),null;case 19:if(Tt(Rt),i=t.memoizedState,i===null)return Bn(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)Wu(i,!1);else{if(mn!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=vg(e),a!==null){for(t.flags|=128,Wu(i,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return vt(Rt,Rt.current&1|2),t.child}e=e.sibling}i.tail!==null&&Vt()>Kd&&(t.flags|=128,r=!0,Wu(i,!1),t.lanes=4194304)}else{if(!r)if(e=vg(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Wu(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Nt)return Bn(t),null}else 2*Vt()-i.renderingStartTime>Kd&&n!==1073741824&&(t.flags|=128,r=!0,Wu(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Vt(),t.sibling=null,n=Rt.current,vt(Rt,r?n&1|2:n&1),t):(Bn(t),null);case 22:case 23:return ww(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Us&1073741824&&(Bn(t),t.subtreeFlags&6&&(t.flags|=8192)):Bn(t),null;case 24:return null;case 25:return null}throw Error(V(156,t.tag))}function PI(e,t){switch(tw(t),t.tag){case 1:return zs(t.type)&&hg(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Yd(),Tt(Ps),Tt(Kn),dw(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return cw(t),null;case 13:if(Tt(Rt),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(V(340));Ud()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Tt(Rt),null;case 4:return Yd(),null;case 10:return ow(t.type._context),null;case 22:case 23:return ww(),null;case 24:return null;default:return null}}var Pf=!1,Gn=!1,zI=typeof WeakSet=="function"?WeakSet:Set,re=null;function id(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Bt(e,t,r)}else n.current=null}function Wv(e,t,n){try{n()}catch(r){Bt(e,t,r)}}var _2=!1;function II(e,t){if(bv=lg,e=JC(),X1(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,l=-1,c=-1,d=0,u=0,p=e,f=null;t:for(;;){for(var h;p!==n||o!==0&&p.nodeType!==3||(l=a+o),p!==i||r!==0&&p.nodeType!==3||(c=a+r),p.nodeType===3&&(a+=p.nodeValue.length),(h=p.firstChild)!==null;)f=p,p=h;for(;;){if(p===e)break t;if(f===n&&++d===o&&(l=a),f===i&&++u===r&&(c=a),(h=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=h}n=l===-1||c===-1?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(wv={focusedElem:e,selectionRange:n},lg=!1,re=t;re!==null;)if(t=re,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,re=e;else for(;re!==null;){t=re;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var m=g.memoizedProps,b=g.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:Vr(t.type,m),b);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(V(163))}}catch(j){Bt(t,t.return,j)}if(e=t.sibling,e!==null){e.return=t.return,re=e;break}re=t.return}return g=_2,_2=!1,g}function Wh(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Wv(t,n,i)}o=o.next}while(o!==r)}}function yy(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function $v(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function q_(e){var t=e.alternate;t!==null&&(e.alternate=null,q_(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Io],delete t[ap],delete t[kv],delete t[gI],delete t[yI])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function K_(e){return e.tag===5||e.tag===3||e.tag===4}function A2(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||K_(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Lv(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ug));else if(r!==4&&(e=e.child,e!==null))for(Lv(e,t,n),e=e.sibling;e!==null;)Lv(e,t,n),e=e.sibling}function Mv(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Mv(e,t,n),e=e.sibling;e!==null;)Mv(e,t,n),e=e.sibling}var In=null,Kr=!1;function $i(e,t,n){for(n=n.child;n!==null;)Z_(e,t,n),n=n.sibling}function Z_(e,t,n){if($o&&typeof $o.onCommitFiberUnmount=="function")try{$o.onCommitFiberUnmount(cy,n)}catch{}switch(n.tag){case 5:Gn||id(n,t);case 6:var r=In,o=Kr;In=null,$i(e,t,n),In=r,Kr=o,In!==null&&(Kr?(e=In,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):In.removeChild(n.stateNode));break;case 18:In!==null&&(Kr?(e=In,n=n.stateNode,e.nodeType===8?vx(e.parentNode,n):e.nodeType===1&&vx(e,n),np(e)):vx(In,n.stateNode));break;case 4:r=In,o=Kr,In=n.stateNode.containerInfo,Kr=!0,$i(e,t,n),In=r,Kr=o;break;case 0:case 11:case 14:case 15:if(!Gn&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Wv(n,t,a),o=o.next}while(o!==r)}$i(e,t,n);break;case 1:if(!Gn&&(id(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Bt(n,t,l)}$i(e,t,n);break;case 21:$i(e,t,n);break;case 22:n.mode&1?(Gn=(r=Gn)||n.memoizedState!==null,$i(e,t,n),Gn=r):$i(e,t,n);break;default:$i(e,t,n)}}function R2(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new zI),t.forEach(function(r){var o=HI.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Rr(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,l=a;e:for(;l!==null;){switch(l.tag){case 5:In=l.stateNode,Kr=!1;break e;case 3:In=l.stateNode.containerInfo,Kr=!0;break e;case 4:In=l.stateNode.containerInfo,Kr=!0;break e}l=l.return}if(In===null)throw Error(V(160));Z_(i,a,o),In=null,Kr=!1;var c=o.alternate;c!==null&&(c.return=null),o.return=null}catch(d){Bt(o,t,d)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Q_(t,e),t=t.sibling}function Q_(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Rr(t,e),go(e),r&4){try{Wh(3,e,e.return),yy(3,e)}catch(m){Bt(e,e.return,m)}try{Wh(5,e,e.return)}catch(m){Bt(e,e.return,m)}}break;case 1:Rr(t,e),go(e),r&512&&n!==null&&id(n,n.return);break;case 5:if(Rr(t,e),go(e),r&512&&n!==null&&id(n,n.return),e.flags&32){var o=e.stateNode;try{Jh(o,"")}catch(m){Bt(e,e.return,m)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&vC(o,i),dv(l,a);var d=dv(l,i);for(a=0;a<c.length;a+=2){var u=c[a],p=c[a+1];u==="style"?kC(o,p):u==="dangerouslySetInnerHTML"?jC(o,p):u==="children"?Jh(o,p):M1(o,u,p,d)}switch(l){case"input":ov(o,i);break;case"textarea":bC(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?gd(o,!!i.multiple,h,!1):f!==!!i.multiple&&(i.defaultValue!=null?gd(o,!!i.multiple,i.defaultValue,!0):gd(o,!!i.multiple,i.multiple?[]:"",!1))}o[ap]=i}catch(m){Bt(e,e.return,m)}}break;case 6:if(Rr(t,e),go(e),r&4){if(e.stateNode===null)throw Error(V(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(m){Bt(e,e.return,m)}}break;case 3:if(Rr(t,e),go(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{np(t.containerInfo)}catch(m){Bt(e,e.return,m)}break;case 4:Rr(t,e),go(e);break;case 13:Rr(t,e),go(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(vw=Vt())),r&4&&R2(e);break;case 22:if(u=n!==null&&n.memoizedState!==null,e.mode&1?(Gn=(d=Gn)||u,Rr(t,e),Gn=d):Rr(t,e),go(e),r&8192){if(d=e.memoizedState!==null,(e.stateNode.isHidden=d)&&!u&&e.mode&1)for(re=e,u=e.child;u!==null;){for(p=re=u;re!==null;){switch(f=re,h=f.child,f.tag){case 0:case 11:case 14:case 15:Wh(4,f,f.return);break;case 1:id(f,f.return);var g=f.stateNode;if(typeof g.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(m){Bt(r,n,m)}}break;case 5:id(f,f.return);break;case 22:if(f.memoizedState!==null){z2(p);continue}}h!==null?(h.return=f,re=h):z2(p)}u=u.sibling}e:for(u=null,p=e;;){if(p.tag===5){if(u===null){u=p;try{o=p.stateNode,d?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=p.stateNode,c=p.memoizedProps.style,a=c!=null&&c.hasOwnProperty("display")?c.display:null,l.style.display=SC("display",a))}catch(m){Bt(e,e.return,m)}}}else if(p.tag===6){if(u===null)try{p.stateNode.nodeValue=d?"":p.memoizedProps}catch(m){Bt(e,e.return,m)}}else if((p.tag!==22&&p.tag!==23||p.memoizedState===null||p===e)&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;p.sibling===null;){if(p.return===null||p.return===e)break e;u===p&&(u=null),p=p.return}u===p&&(u=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:Rr(t,e),go(e),r&4&&R2(e);break;case 21:break;default:Rr(t,e),go(e)}}function go(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(K_(n)){var r=n;break e}n=n.return}throw Error(V(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Jh(o,""),r.flags&=-33);var i=A2(e);Mv(e,i,o);break;case 3:case 4:var a=r.stateNode.containerInfo,l=A2(e);Lv(e,l,a);break;default:throw Error(V(161))}}catch(c){Bt(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function OI(e,t,n){re=e,J_(e)}function J_(e,t,n){for(var r=(e.mode&1)!==0;re!==null;){var o=re,i=o.child;if(o.tag===22&&r){var a=o.memoizedState!==null||Pf;if(!a){var l=o.alternate,c=l!==null&&l.memoizedState!==null||Gn;l=Pf;var d=Gn;if(Pf=a,(Gn=c)&&!d)for(re=o;re!==null;)a=re,c=a.child,a.tag===22&&a.memoizedState!==null?I2(o):c!==null?(c.return=a,re=c):I2(o);for(;i!==null;)re=i,J_(i),i=i.sibling;re=o,Pf=l,Gn=d}P2(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,re=i):P2(e)}}function P2(e){for(;re!==null;){var t=re;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Gn||yy(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Gn)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Vr(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&g2(t,i,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}g2(t,a,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var d=t.alternate;if(d!==null){var u=d.memoizedState;if(u!==null){var p=u.dehydrated;p!==null&&np(p)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(V(163))}Gn||t.flags&512&&$v(t)}catch(f){Bt(t,t.return,f)}}if(t===e){re=null;break}if(n=t.sibling,n!==null){n.return=t.return,re=n;break}re=t.return}}function z2(e){for(;re!==null;){var t=re;if(t===e){re=null;break}var n=t.sibling;if(n!==null){n.return=t.return,re=n;break}re=t.return}}function I2(e){for(;re!==null;){var t=re;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{yy(4,t)}catch(c){Bt(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(c){Bt(t,o,c)}}var i=t.return;try{$v(t)}catch(c){Bt(t,i,c)}break;case 5:var a=t.return;try{$v(t)}catch(c){Bt(t,a,c)}}}catch(c){Bt(t,t.return,c)}if(t===e){re=null;break}var l=t.sibling;if(l!==null){l.return=t.return,re=l;break}re=t.return}}var DI=Math.ceil,jg=Ri.ReactCurrentDispatcher,yw=Ri.ReactCurrentOwner,xr=Ri.ReactCurrentBatchConfig,Ze=0,Cn=null,en=null,Dn=0,Us=0,ad=Ga(0),mn=0,pp=null,Gl=0,xy=0,xw=0,$h=null,As=null,vw=0,Kd=1/0,ai=null,Sg=!1,Bv=null,Aa=null,zf=!1,wa=null,kg=0,Lh=0,Fv=null,Am=-1,Rm=0;function gs(){return Ze&6?Vt():Am!==-1?Am:Am=Vt()}function Ra(e){return e.mode&1?Ze&2&&Dn!==0?Dn&-Dn:vI.transition!==null?(Rm===0&&(Rm=DC()),Rm):(e=lt,e!==0||(e=window.event,e=e===void 0?16:HC(e.type)),e):1}function so(e,t,n,r){if(50<Lh)throw Lh=0,Fv=null,Error(V(185));Up(e,n,r),(!(Ze&2)||e!==Cn)&&(e===Cn&&(!(Ze&2)&&(xy|=n),mn===4&&ia(e,Dn)),Is(e,r),n===1&&Ze===0&&!(t.mode&1)&&(Kd=Vt()+500,fy&&Ya()))}function Is(e,t){var n=e.callbackNode;vz(e,t);var r=ag(e,e===Cn?Dn:0);if(r===0)n!==null&&HS(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&HS(n),t===1)e.tag===0?xI(O2.bind(null,e)):l_(O2.bind(null,e)),fI(function(){!(Ze&6)&&Ya()}),n=null;else{switch(WC(r)){case 1:n=U1;break;case 4:n=IC;break;case 16:n=ig;break;case 536870912:n=OC;break;default:n=ig}n=i4(n,X_.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function X_(e,t){if(Am=-1,Rm=0,Ze&6)throw Error(V(327));var n=e.callbackNode;if(wd()&&e.callbackNode!==n)return null;var r=ag(e,e===Cn?Dn:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Tg(e,r);else{t=r;var o=Ze;Ze|=2;var i=t4();(Cn!==e||Dn!==t)&&(ai=null,Kd=Vt()+500,Ml(e,t));do try{LI();break}catch(l){e4(e,l)}while(!0);rw(),jg.current=i,Ze=o,en!==null?t=0:(Cn=null,Dn=0,t=mn)}if(t!==0){if(t===2&&(o=mv(e),o!==0&&(r=o,t=Hv(e,o))),t===1)throw n=pp,Ml(e,0),ia(e,r),Is(e,Vt()),n;if(t===6)ia(e,r);else{if(o=e.current.alternate,!(r&30)&&!WI(o)&&(t=Tg(e,r),t===2&&(i=mv(e),i!==0&&(r=i,t=Hv(e,i))),t===1))throw n=pp,Ml(e,0),ia(e,r),Is(e,Vt()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(V(345));case 2:fl(e,As,ai);break;case 3:if(ia(e,r),(r&130023424)===r&&(t=vw+500-Vt(),10<t)){if(ag(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){gs(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Sv(fl.bind(null,e,As,ai),t);break}fl(e,As,ai);break;case 4:if(ia(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-no(r);i=1<<a,a=t[a],a>o&&(o=a),r&=~i}if(r=o,r=Vt()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*DI(r/1960))-r,10<r){e.timeoutHandle=Sv(fl.bind(null,e,As,ai),r);break}fl(e,As,ai);break;case 5:fl(e,As,ai);break;default:throw Error(V(329))}}}return Is(e,Vt()),e.callbackNode===n?X_.bind(null,e):null}function Hv(e,t){var n=$h;return e.current.memoizedState.isDehydrated&&(Ml(e,t).flags|=256),e=Tg(e,t),e!==2&&(t=As,As=n,t!==null&&Vv(t)),e}function Vv(e){As===null?As=e:As.push.apply(As,e)}function WI(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!oo(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ia(e,t){for(t&=~xw,t&=~xy,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-no(t),r=1<<n;e[n]=-1,t&=~r}}function O2(e){if(Ze&6)throw Error(V(327));wd();var t=ag(e,0);if(!(t&1))return Is(e,Vt()),null;var n=Tg(e,t);if(e.tag!==0&&n===2){var r=mv(e);r!==0&&(t=r,n=Hv(e,r))}if(n===1)throw n=pp,Ml(e,0),ia(e,t),Is(e,Vt()),n;if(n===6)throw Error(V(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,fl(e,As,ai),Is(e,Vt()),null}function bw(e,t){var n=Ze;Ze|=1;try{return e(t)}finally{Ze=n,Ze===0&&(Kd=Vt()+500,fy&&Ya())}}function Yl(e){wa!==null&&wa.tag===0&&!(Ze&6)&&wd();var t=Ze;Ze|=1;var n=xr.transition,r=lt;try{if(xr.transition=null,lt=1,e)return e()}finally{lt=r,xr.transition=n,Ze=t,!(Ze&6)&&Ya()}}function ww(){Us=ad.current,Tt(ad)}function Ml(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,pI(n)),en!==null)for(n=en.return;n!==null;){var r=n;switch(tw(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&hg();break;case 3:Yd(),Tt(Ps),Tt(Kn),dw();break;case 5:cw(r);break;case 4:Yd();break;case 13:Tt(Rt);break;case 19:Tt(Rt);break;case 10:ow(r.type._context);break;case 22:case 23:ww()}n=n.return}if(Cn=e,en=e=Pa(e.current,null),Dn=Us=t,mn=0,pp=null,xw=xy=Gl=0,As=$h=null,kl!==null){for(t=0;t<kl.length;t++)if(n=kl[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var a=i.next;i.next=o,r.next=a}n.pending=r}kl=null}return e}function e4(e,t){do{var n=en;try{if(rw(),Em.current=wg,bg){for(var r=zt.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}bg=!1}if(Ul=0,Nn=hn=zt=null,Dh=!1,dp=0,yw.current=null,n===null||n.return===null){mn=1,pp=t,en=null;break}e:{var i=e,a=n.return,l=n,c=t;if(t=Dn,l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var d=c,u=l,p=u.tag;if(!(u.mode&1)&&(p===0||p===11||p===15)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var h=j2(a);if(h!==null){h.flags&=-257,S2(h,a,l,i,t),h.mode&1&&w2(i,d,t),t=h,c=d;var g=t.updateQueue;if(g===null){var m=new Set;m.add(c),t.updateQueue=m}else g.add(c);break e}else{if(!(t&1)){w2(i,d,t),jw();break e}c=Error(V(426))}}else if(Nt&&l.mode&1){var b=j2(a);if(b!==null){!(b.flags&65536)&&(b.flags|=256),S2(b,a,l,i,t),nw(qd(c,l));break e}}i=c=qd(c,l),mn!==4&&(mn=2),$h===null?$h=[i]:$h.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var v=W_(i,c,t);m2(i,v);break e;case 1:l=c;var y=i.type,w=i.stateNode;if(!(i.flags&128)&&(typeof y.getDerivedStateFromError=="function"||w!==null&&typeof w.componentDidCatch=="function"&&(Aa===null||!Aa.has(w)))){i.flags|=65536,t&=-t,i.lanes|=t;var j=$_(i,l,t);m2(i,j);break e}}i=i.return}while(i!==null)}s4(n)}catch(S){t=S,en===n&&n!==null&&(en=n=n.return);continue}break}while(!0)}function t4(){var e=jg.current;return jg.current=wg,e===null?wg:e}function jw(){(mn===0||mn===3||mn===2)&&(mn=4),Cn===null||!(Gl&268435455)&&!(xy&268435455)||ia(Cn,Dn)}function Tg(e,t){var n=Ze;Ze|=2;var r=t4();(Cn!==e||Dn!==t)&&(ai=null,Ml(e,t));do try{$I();break}catch(o){e4(e,o)}while(!0);if(rw(),Ze=n,jg.current=r,en!==null)throw Error(V(261));return Cn=null,Dn=0,mn}function $I(){for(;en!==null;)n4(en)}function LI(){for(;en!==null&&!dz();)n4(en)}function n4(e){var t=o4(e.alternate,e,Us);e.memoizedProps=e.pendingProps,t===null?s4(e):en=t,yw.current=null}function s4(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=PI(n,t),n!==null){n.flags&=32767,en=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{mn=6,en=null;return}}else if(n=RI(n,t,Us),n!==null){en=n;return}if(t=t.sibling,t!==null){en=t;return}en=t=e}while(t!==null);mn===0&&(mn=5)}function fl(e,t,n){var r=lt,o=xr.transition;try{xr.transition=null,lt=1,MI(e,t,n,r)}finally{xr.transition=o,lt=r}return null}function MI(e,t,n,r){do wd();while(wa!==null);if(Ze&6)throw Error(V(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(V(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(bz(e,i),e===Cn&&(en=Cn=null,Dn=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||zf||(zf=!0,i4(ig,function(){return wd(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=xr.transition,xr.transition=null;var a=lt;lt=1;var l=Ze;Ze|=4,yw.current=null,II(e,n),Q_(n,e),iI(wv),lg=!!bv,wv=bv=null,e.current=n,OI(n),uz(),Ze=l,lt=a,xr.transition=i}else e.current=n;if(zf&&(zf=!1,wa=e,kg=o),i=e.pendingLanes,i===0&&(Aa=null),fz(n.stateNode),Is(e,Vt()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Sg)throw Sg=!1,e=Bv,Bv=null,e;return kg&1&&e.tag!==0&&wd(),i=e.pendingLanes,i&1?e===Fv?Lh++:(Lh=0,Fv=e):Lh=0,Ya(),null}function wd(){if(wa!==null){var e=WC(kg),t=xr.transition,n=lt;try{if(xr.transition=null,lt=16>e?16:e,wa===null)var r=!1;else{if(e=wa,wa=null,kg=0,Ze&6)throw Error(V(331));var o=Ze;for(Ze|=4,re=e.current;re!==null;){var i=re,a=i.child;if(re.flags&16){var l=i.deletions;if(l!==null){for(var c=0;c<l.length;c++){var d=l[c];for(re=d;re!==null;){var u=re;switch(u.tag){case 0:case 11:case 15:Wh(8,u,i)}var p=u.child;if(p!==null)p.return=u,re=p;else for(;re!==null;){u=re;var f=u.sibling,h=u.return;if(q_(u),u===d){re=null;break}if(f!==null){f.return=h,re=f;break}re=h}}}var g=i.alternate;if(g!==null){var m=g.child;if(m!==null){g.child=null;do{var b=m.sibling;m.sibling=null,m=b}while(m!==null)}}re=i}}if(i.subtreeFlags&2064&&a!==null)a.return=i,re=a;else e:for(;re!==null;){if(i=re,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Wh(9,i,i.return)}var v=i.sibling;if(v!==null){v.return=i.return,re=v;break e}re=i.return}}var y=e.current;for(re=y;re!==null;){a=re;var w=a.child;if(a.subtreeFlags&2064&&w!==null)w.return=a,re=w;else e:for(a=y;re!==null;){if(l=re,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:yy(9,l)}}catch(S){Bt(l,l.return,S)}if(l===a){re=null;break e}var j=l.sibling;if(j!==null){j.return=l.return,re=j;break e}re=l.return}}if(Ze=o,Ya(),$o&&typeof $o.onPostCommitFiberRoot=="function")try{$o.onPostCommitFiberRoot(cy,e)}catch{}r=!0}return r}finally{lt=n,xr.transition=t}}return!1}function D2(e,t,n){t=qd(n,t),t=W_(e,t,1),e=_a(e,t,1),t=gs(),e!==null&&(Up(e,1,t),Is(e,t))}function Bt(e,t,n){if(e.tag===3)D2(e,e,n);else for(;t!==null;){if(t.tag===3){D2(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Aa===null||!Aa.has(r))){e=qd(n,e),e=$_(t,e,1),t=_a(t,e,1),e=gs(),t!==null&&(Up(t,1,e),Is(t,e));break}}t=t.return}}function BI(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=gs(),e.pingedLanes|=e.suspendedLanes&n,Cn===e&&(Dn&n)===n&&(mn===4||mn===3&&(Dn&130023424)===Dn&&500>Vt()-vw?Ml(e,0):xw|=n),Is(e,t)}function r4(e,t){t===0&&(e.mode&1?(t=Sf,Sf<<=1,!(Sf&130023424)&&(Sf=4194304)):t=1);var n=gs();e=Ti(e,t),e!==null&&(Up(e,t,n),Is(e,n))}function FI(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),r4(e,n)}function HI(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(V(314))}r!==null&&r.delete(t),r4(e,n)}var o4;o4=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ps.current)Rs=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Rs=!1,AI(e,t,n);Rs=!!(e.flags&131072)}else Rs=!1,Nt&&t.flags&1048576&&c_(t,mg,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;_m(e,t),e=t.pendingProps;var o=Vd(t,Kn.current);bd(t,n),o=hw(null,t,r,e,o,n);var i=pw();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,zs(r)?(i=!0,pg(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,aw(t),o.updater=gy,t.stateNode=o,o._reactInternals=t,Av(t,r,e,n),t=zv(null,t,r,!0,i,n)):(t.tag=0,Nt&&i&&ew(t),ds(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(_m(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=UI(r),e=Vr(r,e),o){case 0:t=Pv(null,t,r,e,n);break e;case 1:t=N2(null,t,r,e,n);break e;case 11:t=k2(null,t,r,e,n);break e;case 14:t=T2(null,t,r,Vr(r.type,e),n);break e}throw Error(V(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Vr(r,o),Pv(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Vr(r,o),N2(e,t,r,o,n);case 3:e:{if(F_(t),e===null)throw Error(V(387));r=t.pendingProps,i=t.memoizedState,o=i.element,m_(e,t),xg(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=qd(Error(V(423)),t),t=E2(e,t,r,n,o);break e}else if(r!==o){o=qd(Error(V(424)),t),t=E2(e,t,r,n,o);break e}else for(qs=Ca(t.stateNode.containerInfo.firstChild),Ks=t,Nt=!0,Qr=null,n=p_(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ud(),r===o){t=Ni(e,t,n);break e}ds(e,t,r,n)}t=t.child}return t;case 5:return g_(t),e===null&&Ev(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,jv(r,o)?a=null:i!==null&&jv(r,i)&&(t.flags|=32),B_(e,t),ds(e,t,a,n),t.child;case 6:return e===null&&Ev(t),null;case 13:return H_(e,t,n);case 4:return lw(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Gd(t,null,r,n):ds(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Vr(r,o),k2(e,t,r,o,n);case 7:return ds(e,t,t.pendingProps,n),t.child;case 8:return ds(e,t,t.pendingProps.children,n),t.child;case 12:return ds(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,vt(gg,r._currentValue),r._currentValue=a,i!==null)if(oo(i.value,a)){if(i.children===o.children&&!Ps.current){t=Ni(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){a=i.child;for(var c=l.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=bi(-1,n&-n),c.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var u=d.pending;u===null?c.next=c:(c.next=u.next,u.next=c),d.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),Cv(i.return,n,t),l.lanes|=n;break}c=c.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(V(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),Cv(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}ds(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,bd(t,n),o=kr(o),r=r(o),t.flags|=1,ds(e,t,r,n),t.child;case 14:return r=t.type,o=Vr(r,t.pendingProps),o=Vr(r.type,o),T2(e,t,r,o,n);case 15:return L_(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Vr(r,o),_m(e,t),t.tag=1,zs(r)?(e=!0,pg(t)):e=!1,bd(t,n),D_(t,r,o),Av(t,r,o,n),zv(null,t,r,!0,e,n);case 19:return V_(e,t,n);case 22:return M_(e,t,n)}throw Error(V(156,t.tag))};function i4(e,t){return zC(e,t)}function VI(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 5,289 bytes, line 40
40ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gr(e,t,n,r){return new VI(e,t,n,r)}function Sw(e){return e=e.prototype,!(!e||!e.isReactComponent)}function UI(e){if(typeof e=="function")return Sw(e)?1:0;if(e!=null){if(e=e.$$typeof,e===F1)return 11;if(e===H1)return 14}return 2}function Pa(e,t){var n=e.alternate;return n===null?(n=gr(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Pm(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")Sw(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Qc:return Bl(n.children,o,i,t);case B1:a=8,o|=8;break;case ev:return e=gr(12,n,t,o|2),e.elementType=ev,e.lanes=i,e;case tv:return e=gr(13,n,t,o),e.elementType=tv,e.lanes=i,e;case nv:return e=gr(19,n,t,o),e.elementType=nv,e.lanes=i,e;case gC:return vy(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fC:a=10;break e;case mC:a=9;break e;case F1:a=11;break e;case H1:a=14;break e;case ea:a=16,r=null;break e}throw Error(V(130,e==null?e:typeof e,""))}return t=gr(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Bl(e,t,n,r){return e=gr(7,e,r,t),e.lanes=n,e}function vy(e,t,n,r){return e=gr(22,e,r,t),e.elementType=gC,e.lanes=n,e.stateNode={isHidden:!1},e}function Ex(e,t,n){return e=gr(6,e,null,t),e.lanes=n,e}function Cx(e,t,n){return t=gr(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function GI(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=lx(0),this.expirationTimes=lx(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=lx(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function kw(e,t,n,r,o,i,a,l,c){return e=new GI(e,t,n,l,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=gr(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},aw(i),e}function YI(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Zc,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function a4(e){if(!e)return La;e=e._reactInternals;e:{if(sc(e)!==e||e.tag!==1)throw Error(V(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(zs(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(V(171))}if(e.tag===1){var n=e.type;if(zs(n))return a_(e,n,t)}return t}function l4(e,t,n,r,o,i,a,l,c){return e=kw(n,r,!0,e,o,i,a,l,c),e.context=a4(null),n=e.current,r=gs(),o=Ra(n),i=bi(r,o),i.callback=t??null,_a(n,i,o),e.current.lanes=o,Up(e,o,r),Is(e,r),e}function by(e,t,n,r){var o=t.current,i=gs(),a=Ra(o);return n=a4(n),t.context===null?t.context=n:t.pendingContext=n,t=bi(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=_a(o,t,a),e!==null&&(so(e,o,a,i),Nm(e,o,a)),a}function Ng(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function W2(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Tw(e,t){W2(e,t),(e=e.alternate)&&W2(e,t)}function qI(){return null}var c4=typeof reportError=="function"?reportError:function(e){console.error(e)};function Nw(e){this._internalRoot=e}wy.prototype.render=Nw.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(V(409));by(e,t,null,null)};wy.prototype.unmount=Nw.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Yl(function(){by(null,e,null,null)}),t[ki]=null}};function wy(e){this._internalRoot=e}wy.prototype.unstable_scheduleHydration=function(e){if(e){var t=MC();e={blockedOn:null,target:e,priority:t};for(var n=0;n<oa.length&&t!==0&&t<oa[n].priority;n++);oa.splice(n,0,e),n===0&&FC(e)}};function Ew(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function jy(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function $2(){}function KI(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var d=Ng(a);i.call(d)}}var a=l4(t,r,e,0,null,!1,!1,"",$2);return e._reactRootContainer=a,e[ki]=a.current,op(e.nodeType===8?e.parentNode:e),Yl(),a}for(;
vendor: 4,857 bytes, line 40
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var d=Ng(c);l.call(d)}}var c=kw(e,0,!1,null,null,!1,!1,"",$2);return e._reactRootContainer=c,e[ki]=c.current,op(e.nodeType===8?e.parentNode:e),Yl(function(){by(t,c,n,r)}),c}function Sy(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var l=o;o=function(){var c=Ng(a);l.call(c)}}by(t,a,e,o)}else a=KI(n,t,e,o,r);return Ng(a)}$C=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=xh(t.pendingLanes);n!==0&&(G1(t,n|1),Is(t,Vt()),!(Ze&6)&&(Kd=Vt()+500,Ya()))}break;case 13:Yl(function(){var r=Ti(e,1);if(r!==null){var o=gs();so(r,e,1,o)}}),Tw(e,1)}};Y1=function(e){if(e.tag===13){var t=Ti(e,134217728);if(t!==null){var n=gs();so(t,e,134217728,n)}Tw(e,134217728)}};LC=function(e){if(e.tag===13){var t=Ra(e),n=Ti(e,t);if(n!==null){var r=gs();so(n,e,t,r)}Tw(e,t)}};MC=function(){return lt};BC=function(e,t){var n=lt;try{return lt=e,t()}finally{lt=n}};hv=function(e,t,n){switch(t){case"input":if(ov(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=py(r);if(!o)throw Error(V(90));xC(r),ov(r,o)}}}break;case"textarea":bC(e,n);break;case"select":t=n.value,t!=null&&gd(e,!!n.multiple,t,!1)}};EC=bw;CC=Yl;var ZI={usingClientEntryPoint:!1,Events:[Yp,td,py,TC,NC,bw]},$u={findFiberByHostInstance:Sl,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},QI={bundleType:$u.bundleType,version:$u.version,rendererPackageName:$u.rendererPackageName,rendererConfig:$u.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ri.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=RC(e),e===null?null:e.stateNode},findFiberByHostInstance:$u.findFiberByHostInstance||qI,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var If=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!If.isDisabled&&If.supportsFiber)try{cy=If.inject(QI),$o=If}catch{}}Xs.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ZI;Xs.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ew(t))throw Error(V(200));return YI(e,t,null,n)};Xs.createRoot=function(e,t){if(!Ew(e))throw Error(V(299));var n=!1,r="",o=c4;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=kw(e,1,!1,null,null,n,!1,r,o),e[ki]=t.current,op(e.nodeType===8?e.parentNode:e),new Nw(t)};Xs.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(V(188)):(e=Object.keys(e).join(","),Error(V(268,e)));return e=RC(t),e=e===null?null:e.stateNode,e};Xs.flushSync=function(e){return Yl(e)};Xs.hydrate=function(e,t,n){if(!jy(t))throw Error(V(200));return Sy(null,e,t,!0,n)};Xs.hydrateRoot=function(e,t,n){if(!Ew(e))throw Error(V(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",a=c4;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=l4(t,null,e,1,n??null,o,!1,i,a),e[ki]=t.current,op(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new wy(t)};Xs.render=function(e,t,n){if(!jy(t))throw Error(V(200));return Sy(null,e,t,!1,n)};Xs.unmountComponentAtNode=function(e){if(!jy(e))throw Error(V(40));return e._reactRootContainer?(Yl(function(){Sy(null,null,e,!1,function(){e._reactRootContainer=null,e[ki]=null})}),!0):!1};Xs.unstable_batchedUpdates=bw;Xs.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!jy(n))throw Error(V(200));if(e==null||e._reactInternals===void 0)throw Error(V(38));return Sy(e,t,n,!1,r)};Xs.version="18.3.1-next-f1338f8080-20240426";function d4(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(d4)}catch(e){console.error(e)}}d4(),dC.exports=Xs;var rc=dC.exports;const u4=Hp(rc);var h4,L2=rc;h4=L2.createRoot,L2.hydrateRoot;var JI=typeof Element<"u",XI=typeof Map=="function",eO=typeof Set=="function",tO=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function zm(e,t){if(e===t)return!0;
40if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!zm(e[r],t[r]))return!1;return!0}var i;if(XI&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!zm(r.value[1],t.get(r.value[0])))return!1;return!0}if(eO&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(tO&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(JI&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!zm(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var nO=function(t,n){try{return zm(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const sO=Hp(nO);var rO=function(e,t,n,r,o,i,a,l){if(!e){var c;if(t===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,r,o,i,a,l],u=0;c=new Error(t.replace(/%s/g,function(){return d[u++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}},oO=rO;const M2=Hp(oO);var iO=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var a=Object.keys(t),l=Object.keys(n);if(a.length!==l.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(n),d=0;d<a.length;d++){var u=a[d];if(!c(u))return!1;var p=t[u],f=n[u];if(i=r?r.call(o,p,f,u):void 0,i===!1||i===void 0&&p!==f)return!1}return!0};const aO=Hp(iO);var p4=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(p4||{}),_x={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},B2=Object.values(p4),ky={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},f4=Object.entries(ky).reduce((e,[t,n])=>(e[n]=t,e),{}),to="data-rh",jd={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Sd=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},lO=e=>{let t=Sd(e,"title");const n=Sd(e,jd.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Sd(e,jd.DEFAULT_TITLE);return t||r||void 0},cO=e=>Sd(e,jd.ON_CHANGE_CLIENT_STATE)||(()=>{}),Ax=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),dO=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const o=Object.keys(r);for(let i=0;i<o.length;i+=1){const l=o[i].toLowerCase();if(e.indexOf(l)!==-1&&r[l])return n.concat(r)}}return n},[]),uO=e=>console&&typeof console.warn=="function"&&console.warn(e),Lu=(e,t,n)=>{const r={};return n.filter(o=>Array.isArray(o[e])?!0:(typeof o[e]<"u"&&uO(`Helmet: ${e} should be of type "Array". Instead found type "${typeof o[e]}"`),!1)).map(o=>o[e]).reverse().reduce((o,i)=>{const a={};i.filter(c=>{let d;const u=Object.keys(c);for(let f=0;f<u.length;f+=1){const h=u[f],g=h.toLowerCase();t.indexOf(g)!==-1&&!(d==="rel"&&c[d].toLowerCase()==="canonical")&&!(g==="rel"&&c[g].toLowerCase()==="stylesheet")&&(d=g),t.indexOf(h)!==-1&&(h==="innerHTML"||h==="cssText"||h==="itemprop")&&(d=h)}if(!d||!c[d])return!1;const p=c[d].toLowerCase();return r[d]||(r[d]={}),a[d]||(a[d]={}),r[d][p]?!1:(a[d][p]=!0,!0)}
40).reverse().forEach(c=>o.push(c));const l=Object.keys(a);for(let c=0;c<l.length;c+=1){const d=l[c],u={...r[d],...a[d]};r[d]=u}return o},[]).reverse()},hO=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},pO=e=>({baseTag:dO(["href"],e),bodyAttributes:Ax("bodyAttributes",e),defer:Sd(e,jd.DEFER),encode:Sd(e,jd.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Ax("htmlAttributes",e),linkTags:Lu("link",["rel","href"],e),metaTags:Lu("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:Lu("noscript",["innerHTML"],e),onChangeClientState:cO(e),scriptTags:Lu("script",["src","innerHTML"],e),styleTags:Lu("style",["cssText"],e),title:lO(e),titleAttributes:Ax("titleAttributes",e),prioritizeSeoTags:hO(e,jd.PRIORITIZE_SEO_TAGS)}),m4=e=>Array.isArray(e)?e.join(""):e,fO=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},Rx=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(fO(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},F2=(e,t)=>({...e,[t]:void 0}),mO=["noscript","script","style"],Uv=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),g4=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),gO=(e,t,n,r)=>{const o=g4(n),i=m4(t);return o?`<${e} ${to}="true" ${o}>${Uv(i,r)}</${e}>`:`<${e} ${to}="true">${Uv(i,r)}</${e}>`},yO=(e,t,n=!0)=>t.reduce((r,o)=>{const i=o,a=Object.keys(i).filter(d=>!(d==="innerHTML"||d==="cssText")).reduce((d,u)=>{const p=typeof i[u]>"u"?u:`${u}="${Uv(i[u],n)}"`;return d?`${d} ${p}`:p},""),l=i.innerHTML||i.cssText||"",c=mO.indexOf(e)===-1;return`${r}<${e} ${to}="true" ${a}${c?"/>":`>${l}</${e}>`}`},""),y4=(e,t={})=>Object.keys(e).reduce((n,r)=>{const o=ky[r];return n[o||r]=e[r],n},t),xO=(e,t,n)=>{const r={key:t,[to]:!0},o=y4(n,r);return[P.createElement("title",o,t)]},Im=(e,t)=>t.map((n,r)=>{const o={key:r,[to]:!0};return Object.keys(n).forEach(i=>{const l=ky[i]||i;if(l==="innerHTML"||l==="cssText"){const c=n.innerHTML||n.cssText;o.dangerouslySetInnerHTML={__html:c}}else o[l]=n[i]}),P.createElement(e,o)}),lr=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>xO(e,t.title,t.titleAttributes),toString:()=>gO(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>y4(t),toString:()=>g4(t)};default:return{toComponent:()=>Im(e,t),toString:()=>yO(e,t,n)}}},vO=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const o=Rx(e,_x.meta),i=Rx(t,_x.link),a=Rx(n,_x.script);return{priorityMethods:{toComponent:()=>[...Im("meta",o.priority),...Im("link",i.priority),...Im("script",a.priority)],toString:()=>`${lr("meta",o.priority,r)} ${lr("link",i.priority,r)} ${lr("script",a.priority,r)}`},metaTags:o.default,linkTags:i.default,scriptTags:a.default}},bO=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:o,noscriptTags:i,styleTags:a,title:l="",titleAttributes:c,prioritizeSeoTags:d}=e;let{linkTags:u,metaTags:p,scriptTags:f}=e,h={toComponent:()=>[],toString:()=>""};return d&&({priorityMethods:h,linkTags:u,metaTags:p,scriptTags:f}=vO(e)),{priority:h,base:lr("base",t,r),bodyAttributes:lr("bodyAttributes",n,r),htmlAttributes:lr("htmlAttributes",o,r),link:lr("link",u,r),meta:lr("meta",p,r),noscript:lr("noscript",i,r),script:lr("script",f,r),style:lr("style",a,r),title:lr("title",{title:l,titleAttributes:c},r)}},Gv=bO,Of=[],Cw=!!(typeof window<"u"&&window.document&&window.document.createElement),Yv=class{constructor(e,t){Qo(this,"instances",[]);Qo(this,"canUseDOM",Cw);Qo(this,"context");Qo(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Of:this.instances,add:e=>{(this.canUseDOM?Of:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Of:this.instances).indexOf(e);(this.canUseDOM?Of:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=Gv({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},wO=parseInt(P.version.split(".")[0],10),qv=wO>=19,jO={},x4=P.createContext(jO),Al,v4=(Al=class extends x.Component{constructor(n){super(n);Qo(this,"helmetData");qv?this.helmetData=null:this.helmetData=new Yv(this.props.context||{},Al.canUseDOM)}render(){return qv?P.createElement(P.Fragment,null,this.props.children):P.createElement(x4.Provider,{value:this.helmetData.value},this.props.children)}},Qo(Al,"canUseDOM",Cw),Al),uc=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${to}]`),o=[].slice.call(r),i=[];let a;return t&&t.length&&t.forEach(l=>{const c=document.createElement(e);for(const d in l)if(Object.prototype.hasOwnProperty.call(l,d))if(d==="innerHTML")c.innerHTML=l.innerHTML;else if(d==="cssText"){const u=l.cssText;c.appendChild(document.createTextNode(u))}else{const u=d,p=typeof l[u]>"u"?"":l[u];c.setAttribute(d,p)}c.setAttribute(to,"true"),o.some((d,u)=>(a=u,c.isEqualNode(d)))?o.splice(a,1):i.push(c)}),o.forEach(l=>{var c;return(c=l.parentNode)==null?void 0:c.removeChild(l)}
40),i.forEach(l=>n.appendChild(l)),{oldTags:o,newTags:i}},Kv=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(to),o=r?r.split(","):[],i=[...o],a=Object.keys(t);for(const l of a){const c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),o.indexOf(l)===-1&&o.push(l);const d=i.indexOf(l);d!==-1&&i.splice(d,1)}for(let l=i.length-1;l>=0;l-=1)n.removeAttribute(i[l]);o.length===i.length?n.removeAttribute(to):n.getAttribute(to)!==a.join(",")&&n.setAttribute(to,a.join(","))},SO=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=m4(e)),Kv("title",t)},H2=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:o,linkTags:i,metaTags:a,noscriptTags:l,onChangeClientState:c,scriptTags:d,styleTags:u,title:p,titleAttributes:f}=e;Kv("body",r),Kv("html",o),SO(p,f);const h={baseTag:uc("base",n),linkTags:uc("link",i),metaTags:uc("meta",a),noscriptTags:uc("noscript",l),scriptTags:uc("script",d),styleTags:uc("style",u)},g={},m={};Object.keys(h).forEach(b=>{const{newTags:v,oldTags:y}=h[b];v.length&&(g[b]=v),y.length&&(m[b]=h[b].oldTags)}),t&&t(),c(e,g,m)},Mu=null,kO=e=>{Mu&&cancelAnimationFrame(Mu),e.defer?Mu=requestAnimationFrame(()=>{H2(e,()=>{Mu=null})}):(H2(e),Mu=null)},TO=kO,V2=class extends x.Component{constructor(){super(...arguments);Qo(this,"rendered",!1)}shouldComponentUpdate(t){return!aO(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const o=pO(t.get().map(i=>{const{context:a,...l}=i.props;return l}));v4.canUseDOM?TO(o):Gv&&(r=Gv(o)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},Om=[],U2=e=>{const t={};for(const n of Object.keys(e))t[f4[n]||n]=e[n];return t},tl=e=>{const t={};for(const n of Object.keys(e)){const r=ky[n];t[r||n]=e[n]}return t},G2=(e,t)=>{if(!Cw)return;const n=document.getElementsByTagName(e)[0];if(!n)return;const r="data-rh-managed",o=n.getAttribute(r),i=o?o.split(","):[],a=Object.keys(t);for(const l of i)a.includes(l)||n.removeAttribute(l);for(const l of a){const c=t[l];c==null||c===!1?n.removeAttribute(l):c===!0?n.setAttribute(l,""):n.setAttribute(l,String(c))}a.length>0?n.setAttribute(r,a.join(",")):n.removeAttribute(r)},Px=()=>{const e={},t={};for(const n of Om){const{htmlAttributes:r,bodyAttributes:o}=n.props;r&&Object.assign(e,U2(r)),o&&Object.assign(t,U2(o))}G2("html",e),G2("body",t)},NO=class extends x.Component{componentDidMount(){Om.push(this),Px()}componentDidUpdate(){Px()}componentWillUnmount(){const e=Om.indexOf(this);e!==-1&&Om.splice(e,1),Px()}resolveTitle(){const{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(""):e):e||n||void 0}renderTitle(){const e=this.resolveTitle();if(e===void 0)return null;const t=this.props.titleAttributes||{};return P.createElement("title",tl(t),e)}renderBase(){const{base:e}=this.props;return e?P.createElement("base",tl(e)):null}renderMeta(){const{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>P.createElement("meta",{key:n,...tl(t)}))}renderLink(){const{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>P.createElement("link",{key:n,...tl(t)}))}renderScript(){const{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...o}=t,i=tl(o);return r&&(i.dangerouslySetInnerHTML={__html:r}),P.createElement("script",{key:n,...i})})}renderStyle(){const{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{cssText:r,...o}=t,i=tl(o);return r&&(i.dangerouslySetInnerHTML={__html:r}),P.createElement("style",{key:n,...i})})}renderNoscript(){const{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((t,n)=>{const{innerHTML:r,...o}=t,i=tl(o);return r&&(i.dangerouslySetInnerHTML={__html:r}),P.createElement("noscript",{key:n,...i})})}render(){return P.createElement(P.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},J0,EO=(J0=class extends x.Component{shouldComponentUpdate(e){return!sO(F2(this.props,"helmetData"),F2(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}
40warnOnInvalidChildren(e,t){return M2(B2.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${B2.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),M2(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return P.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:o,...i}=r.props,a=Object.keys(i).reduce((c,d)=>(c[f4[d]||d]=i[d],c),{});let{type:l}=r;switch(typeof l=="symbol"?l=l.toString():this.warnOnInvalidChildren(r,o),l){case"Symbol(react.fragment)":t=this.mapChildrenToProps(o,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,a,o);break;default:t=this.mapObjectTypeChildren(r,t,a,o);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof Yv)){const o=r;r=new Yv(o.context,!0),delete n.helmetData}return qv?P.createElement(NO,{...n}):r?P.createElement(V2,{...n,context:r.value}):P.createElement(x4.Consumer,null,o=>P.createElement(V2,{...n,context:o}))}},Qo(J0,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),J0);const CO=1,_O=1e6;let zx=0;function AO(){return zx=(zx+1)%Number.MAX_SAFE_INTEGER,zx.toString()}const Ix=new Map,Y2=e=>{if(Ix.has(e))return;const t=setTimeout(()=>{Ix.delete(e),Mh({type:"REMOVE_TOAST",toastId:e})},_O);Ix.set(e,t)},RO=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,CO)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Y2(n):e.toasts.forEach(r=>{Y2(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Dm=[];let Wm={toasts:[]};function Mh(e){Wm=RO(Wm,e),Dm.forEach(t=>{t(Wm)})}function PO({...e}){const t=AO(),n=o=>Mh({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Mh({type:"DISMISS_TOAST",toastId:t});return Mh({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function cu(){const[e,t]=x.useState(Wm);return x.useEffect(()=>(Dm.push(t),()=>{const n=Dm.indexOf(t);n>-1&&Dm.splice(n,1)}),[e]),{...e,toast:PO,dismiss:n=>Mh({type:"DISMISS_TOAST",toastId:n})}}function Te(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function q2(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function b4(...e){return t=>{let n=!1;const r=e.map(o=>{const i=q2(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():q2(e[o],null)}}}}function it(...e){return x.useCallback(b4(...e),e)}function zO(e,t){const n=x.createContext(t),r=i=>{const{children:a,...l}=i,c=x.useMemo(()=>l,Object.values(l));return s.jsx(n.Provider,{value:c,children:a})};r.displayName=e+"Provider";function o(i){const a=x.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function Pi(e,t=[]){let n=[];function r(i,a){const l=x.createContext(a),c=n.length;n=[...n,a];const d=p=>{var v;const{scope:f,children:h,...g}=p,m=((v=f==null?void 0:f[e])==null?void 0:v[c])||l,b=x.useMemo(()=>g,Object.values(g));return s.jsx(m.Provider,{value:b,children:h})};d.displayName=i+"Provider";function u(p,f){var m;const h=((m=f==null?void 0:f[e])==null?void 0:m[c])||l,g=x.useContext(h);if(g)return g;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${i}\``)}return[d,u]}const o=()=>{const i=n.map(a=>x.createContext(a));return function(l){const c=(l==null?void 0:l[e])||i;return x.useMemo(()=>({[`__scope${e}`]:{...l,[e]:c}}),[l,c])}};return o.scopeName=e,[r,IO(o,...t)]}function IO(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));
vendor: 10,253 bytes, line 40
40return function(i){const a=r.reduce((l,{useScope:c,scopeName:d})=>{const p=c(i)[`__scope${d}`];return{...l,...p}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function Zd(e){const t=DO(e),n=x.forwardRef((r,o)=>{const{children:i,...a}=r,l=x.Children.toArray(i),c=l.find(WO);if(c){const d=c.props.children,u=l.map(p=>p===c?x.Children.count(d)>1?x.Children.only(null):x.isValidElement(d)?d.props.children:null:p);return s.jsx(t,{...a,ref:o,children:x.isValidElement(d)?x.cloneElement(d,void 0,u):null})}return s.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var OO=Zd("Slot");function DO(e){const t=x.forwardRef((n,r)=>{const{children:o,...i}=n;if(x.isValidElement(o)){const a=LO(o),l=$O(i,o.props);return o.type!==x.Fragment&&(l.ref=r?b4(r,a):a),x.cloneElement(o,l)}return x.Children.count(o)>1?x.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var w4=Symbol("radix.slottable");function j4(e){const t=({children:n})=>s.jsx(s.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=w4,t}function WO(e){return x.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===w4}function $O(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{const c=i(...l);return o(...l),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function LO(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function S4(e){const t=e+"CollectionProvider",[n,r]=Pi(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=m=>{const{scope:b,children:v}=m,y=P.useRef(null),w=P.useRef(new Map).current;return s.jsx(o,{scope:b,itemMap:w,collectionRef:y,children:v})};a.displayName=t;const l=e+"CollectionSlot",c=Zd(l),d=P.forwardRef((m,b)=>{const{scope:v,children:y}=m,w=i(l,v),j=it(b,w.collectionRef);return s.jsx(c,{ref:j,children:y})});d.displayName=l;const u=e+"CollectionItemSlot",p="data-radix-collection-item",f=Zd(u),h=P.forwardRef((m,b)=>{const{scope:v,children:y,...w}=m,j=P.useRef(null),S=it(b,j),N=i(u,v);return P.useEffect(()=>(N.itemMap.set(j,{ref:j,...w}),()=>void N.itemMap.delete(j))),s.jsx(f,{[p]:"",ref:S,children:y})});h.displayName=u;function g(m){const b=i(e+"CollectionConsumer",m);return P.useCallback(()=>{const y=b.collectionRef.current;if(!y)return[];const w=Array.from(y.querySelectorAll(`[${p}]`));return Array.from(b.itemMap.values()).sort((N,k)=>w.indexOf(N.ref.current)-w.indexOf(k.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:d,ItemSlot:h},g,r]}var MO=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],We=MO.reduce((e,t)=>{const n=Zd(`Primitive.${t}`),r=x.forwardRef((o,i)=>{const{asChild:a,...l}=o,c=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(c,{...l,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function k4(e,t){e&&rc.flushSync(()=>e.dispatchEvent(t))}function io(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function BO(e,t=globalThis==null?void 0:globalThis.document){const n=io(e);x.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var FO="DismissableLayer",Zv="dismissableLayer.update",HO="dismissableLayer.pointerDownOutside",VO="dismissableLayer.focusOutside",K2,T4=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Kp=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:l,...c}=e,d=x.useContext(T4),[u,p]=x.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=x.useState({}),g=it(t,k=>p(k)),m=Array.from(d.layers),[b]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),v=m.indexOf(b),y=u?m.indexOf(u):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,j=y>=v,S=GO(k=>{const T=k.target,C=[...d.branches].some(R=>R.contains(T));!j||C||(o==null||o(k),a==null||a(k),k.defaultPrevented||l==null||l())},f),N=YO(k=>{const T=k.target;[...d.branches].some(R=>R.contains(T))||(i==null||i(k),a==null||a(k),k.defaultPrevented||l==null||l())},f);return BO(k=>{y===d.layers.size-1&&(r==null||r(k),!k.defaultPrevented&&l&&(k.preventDefault(),l()))},f),x.useEffect(()=>{if(u)return n&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(K2=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(u)),d.layers.add(u),Z2(),()=>{n&&d.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=K2)}},[u,f,n,d]),x.useEffect(()=>()=>{u&&(d.layers.delete(u),d.layersWithOutsidePointerEventsDisabled.delete(u),Z2())},[u,d]),x.useEffect(()=>{const k=()=>h({});return document.addEventListener(Zv,k),()=>document.removeEventListener(Zv,k)},[]),s.jsx(We.div,{...c,ref:g,style:{pointerEvents:w?j?"auto":"none":void 0,...e.style},onFocusCapture:Te(e.onFocusCapture,N.onFocusCapture),onBlurCapture:Te(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:Te(e.onPointerDownCapture,S.onPointerDownCapture)})});Kp.displayName=FO;var UO="DismissableLayerBranch",N4=x.forwardRef((e,t)=>{const n=x.useContext(T4),r=x.useRef(null),o=it(t,r);return x.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),s.jsx(We.div,{...e,ref:o})});N4.displayName=UO;function GO(e,t=globalThis==null?void 0:globalThis.document){const n=io(e),r=x.useRef(!1),o=x.useRef(()=>{});return x.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let c=function(){E4(HO,n,d,{discrete:!0})};const d={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function YO(e,t=globalThis==null?void 0:globalThis.document){const n=io(e),r=x.useRef(!1);return x.useEffect(()=>{const o=i=>{i.target&&!r.current&&E4(VO,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Z2(){const e=new CustomEvent(Zv);document.dispatchEvent(e)}function E4(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?k4(o,i):o.dispatchEvent(i)}var qO=Kp,KO=N4,_n=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},ZO="Portal",Zp=x.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,i]=x.useState(!1);_n(()=>i(!0),[]);const a=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return a?u4.createPortal(s.jsx(We.div,{...r,ref:t}),a):null});Zp.displayName=ZO;function QO(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var zi=e=>{const{present:t,children:n}=e,r=JO(t),o=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),i=it(r.ref,XO(o));return typeof n=="function"||r.isPresent?x.cloneElement(o,{ref:i}):null};zi.displayName="Presence";function JO(e){const[t,n]=x.useState(),r=x.useRef(null),o=x.useRef(e),i=x.useRef("none"),a=e?"mounted":"unmounted",[l,c]=QO(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const d=Df(r.current);i.current=l==="mounted"?d:"none"},[l]),_n(()=>{const d=r.current,u=o.current;if(u!==e){const f=i.current,h=Df(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(u&&f!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),_n(()=>{if(t){let d;const u=t.ownerDocument.defaultView??window,p=h=>{const m=Df(r.current).includes(h.animationName);if(h.target===t&&m&&(c("ANIMATION_END"),!o.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",d=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},f=h=>{h.target===t&&(i.current=Df(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{u.clearTimeout(d),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:x.useCallback(d=>{r.current=d?getComputedStyle(d):null,n(d)},[])}}function Df(e){return(e==null?void 0:e.animationName)||"none"}function XO(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var eD=W1[" useInsertionEffect ".trim().toString()]||_n;function ql({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,a]=tD({defaultProp:t,onChange:n}),l=e!==void 0,c=l?e:o;{const u=x.useRef(e!==void 0);x.useEffect(()=>{const p=u.current;p!==l&&console.warn(`${r} is changing from ${p?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),u.current=l},[l,r])}const d=x.useCallback(u=>{var p;if(l){const f=nD(u)?u(e):u;f!==e&&((p=a.current)==null||p.call(a,f))}else i(u)},[l,e,i,a]);return[c,d]}function tD({defaultProp:e,onChange:t}
40){const[n,r]=x.useState(e),o=x.useRef(n),i=x.useRef(t);return eD(()=>{i.current=t},[t]),x.useEffect(()=>{var a;o.current!==n&&((a=i.current)==null||a.call(i,n),o.current=n)},[n,o]),[n,r,i]}function nD(e){return typeof e=="function"}var C4=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),sD="VisuallyHidden",Ty=x.forwardRef((e,t)=>s.jsx(We.span,{...e,ref:t,style:{...C4,...e.style}}));Ty.displayName=sD;var rD=Ty,_w="ToastProvider",[Aw,oD,iD]=S4("Toast"),[_4,vie]=Pi("Toast",[iD]),[aD,Ny]=_4(_w),A4=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:a}=e,[l,c]=x.useState(null),[d,u]=x.useState(0),p=x.useRef(!1),f=x.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${_w}\`. Expected non-empty \`string\`.`),s.jsx(Aw.Provider,{scope:t,children:s.jsx(aD,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:d,viewport:l,onViewportChange:c,onToastAdd:x.useCallback(()=>u(h=>h+1),[]),onToastRemove:x.useCallback(()=>u(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:p,isClosePausedRef:f,children:a})})};A4.displayName=_w;var R4="ToastViewport",lD=["F8"],Qv="toast.viewportPause",Jv="toast.viewportResume",P4=x.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=lD,label:o="Notifications ({hotkey})",...i}=e,a=Ny(R4,n),l=oD(n),c=x.useRef(null),d=x.useRef(null),u=x.useRef(null),p=x.useRef(null),f=it(t,p,a.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),g=a.toastCount>0;x.useEffect(()=>{const b=v=>{var w;r.length!==0&&r.every(j=>v[j]||v.code===j)&&((w=p.current)==null||w.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),x.useEffect(()=>{const b=c.current,v=p.current;if(g&&b&&v){const y=()=>{if(!a.isClosePausedRef.current){const N=new CustomEvent(Qv);v.dispatchEvent(N),a.isClosePausedRef.current=!0}},w=()=>{if(a.isClosePausedRef.current){const N=new CustomEvent(Jv);v.dispatchEvent(N),a.isClosePausedRef.current=!1}},j=N=>{!b.contains(N.relatedTarget)&&w()},S=()=>{b.contains(document.activeElement)||w()};return b.addEventListener("focusin",y),b.addEventListener("focusout",j),b.addEventListener("pointermove",y),b.addEventListener("pointerleave",S),window.addEventListener("blur",y),window.addEventListener("focus",w),()=>{b.removeEventListener("focusin",y),b.removeEventListener("focusout",j),b.removeEventListener("pointermove",y),b.removeEventListener("pointerleave",S),window.removeEventListener("blur",y),window.removeEventListener("focus",w)}}},[g,a.isClosePausedRef]);const m=x.useCallback(({tabbingDirection:b})=>{const y=l().map(w=>{const j=w.ref.current,S=[j,...wD(j)];return b==="forwards"?S:S.reverse()});return(b==="forwards"?y.reverse():y).flat()},[l]);return x.useEffect(()=>{const b=p.current;if(b){const v=y=>{var S,N,k;const w=y.altKey||y.ctrlKey||y.metaKey;if(y.key==="Tab"&&!w){const T=document.activeElement,C=y.shiftKey;if(y.target===b&&C){(S=d.current)==null||S.focus();return}const I=m({tabbingDirection:C?"backwards":"forwards"}),F=I.findIndex(D=>D===T);Ox(I.slice(F+1))?y.preventDefault():C?(N=d.current)==null||N.focus():(k=u.current)==null||k.focus()}};return b.addEventListener("keydown",v),()=>b.removeEventListener("keydown",v)}},[l,m]),s.jsxs(KO,{ref:c,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:g?void 0:"none"},children:[g&&s.jsx(Xv,{ref:d,onFocusFromOutsideViewport:()=>{const b=m({tabbingDirection:"forwards"});Ox(b)}}),s.jsx(Aw.Slot,{scope:n,children:s.jsx(We.ol,{tabIndex:-1,...i,ref:f})}),g&&s.jsx(Xv,{ref:u,onFocusFromOutsideViewport:()=>{const b=m({tabbingDirection:"backwards"});Ox(b)}})]})});P4.displayName=R4;var z4="ToastFocusProxy",Xv=x.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=Ny(z4,n);return s.jsx(Ty,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:a=>{var d;const l=a.relatedTarget;!((d=i.viewport)!=null&&d.contains(l))&&r()}})});Xv.displayName=z4;var Qp="Toast",cD="toast.swipeStart",dD="toast.swipeMove",uD="toast.swipeCancel",hD="toast.swipeEnd",I4=x.forwardRef((e,t)=>
40{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...a}=e,[l,c]=ql({prop:r,defaultProp:o??!0,onChange:i,caller:Qp});return s.jsx(zi,{present:n||l,children:s.jsx(mD,{open:l,...a,ref:t,onClose:()=>c(!1),onPause:io(e.onPause),onResume:io(e.onResume),onSwipeStart:Te(e.onSwipeStart,d=>{d.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Te(e.onSwipeMove,d=>{const{x:u,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","move"),d.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${p}px`)}),onSwipeCancel:Te(e.onSwipeCancel,d=>{d.currentTarget.setAttribute("data-swipe","cancel"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Te(e.onSwipeEnd,d=>{const{x:u,y:p}=d.detail.delta;d.currentTarget.setAttribute("data-swipe","end"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),d.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),d.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${u}px`),d.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${p}px`),c(!1)})})})});I4.displayName=Qp;var[pD,fD]=_4(Qp,{onClose(){}}),mD=x.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:a,onEscapeKeyDown:l,onPause:c,onResume:d,onSwipeStart:u,onSwipeMove:p,onSwipeCancel:f,onSwipeEnd:h,...g}=e,m=Ny(Qp,n),[b,v]=x.useState(null),y=it(t,D=>v(D)),w=x.useRef(null),j=x.useRef(null),S=o||m.duration,N=x.useRef(0),k=x.useRef(S),T=x.useRef(0),{onToastAdd:C,onToastRemove:R}=m,L=io(()=>{var K;(b==null?void 0:b.contains(document.activeElement))&&((K=m.viewport)==null||K.focus()),a()}),I=x.useCallback(D=>{!D||D===1/0||(window.clearTimeout(T.current),N.current=new Date().getTime(),T.current=window.setTimeout(L,D))},[L]);x.useEffect(()=>{const D=m.viewport;if(D){const K=()=>{I(k.current),d==null||d()},U=()=>{const H=new Date().getTime()-N.current;k.current=k.current-H,window.clearTimeout(T.current),c==null||c()};return D.addEventListener(Qv,U),D.addEventListener(Jv,K),()=>{D.removeEventListener(Qv,U),D.removeEventListener(Jv,K)}}},[m.viewport,S,c,d,I]),x.useEffect(()=>{i&&!m.isClosePausedRef.current&&I(S)},[i,S,m.isClosePausedRef,I]),x.useEffect(()=>(C(),()=>R()),[C,R]);const F=x.useMemo(()=>b?B4(b):null,[b]);return m.viewport?s.jsxs(s.Fragment,{children:[F&&s.jsx(gD,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:F}),s.jsx(pD,{scope:n,onClose:L,children:rc.createPortal(s.jsx(Aw.ItemSlot,{scope:n,children:s.jsx(qO,{asChild:!0,onEscapeKeyDown:Te(l,()=>{m.isFocusedToastEscapeKeyDownRef.current||L(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:s.jsx(We.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":m.swipeDirection,...g,ref:y,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Te(e.onKeyDown,D=>{D.key==="Escape"&&(l==null||l(D.nativeEvent),D.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,L()))}),onPointerDown:Te(e.onPointerDown,D=>{D.button===0&&(w.current={x:D.clientX,y:D.clientY})}),onPointerMove:Te(e.onPointerMove,D=>{if(!w.current)return;const K=D.clientX-w.current.x,U=D.clientY-w.current.y,H=!!j.current,O=["left","right"].includes(m.swipeDirection),W=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,G=O?W(0,K):0,pe=O?0:W(0,U),ce=D.pointerType==="touch"?10:2,we={x:G,y:pe},se={originalEvent:D,delta:we};H?(j.current=we,Wf(dD,p,se,{discrete:!1})):Q2(we,m.swipeDirection,ce)?(j.current=we,Wf(cD,u,se,{discrete:!1}),D.target.setPointerCapture(D.pointerId)):(Math.abs(K)>ce||Math.abs(U)>ce)&&(w.current=null)}),onPointerUp:Te(e.onPointerUp,D=>{const K=j.current,U=D.target;if(U.hasPointerCapture(D.pointerId)&&U.releasePointerCapture(D.pointerId),j.current=null,w.current=null,K){const H=D.currentTarget,O={originalEvent:D,delta:K};Q2(K,m.swipeDirection,m.swipeThreshold)?Wf(hD,h,O,{discrete:!0}):Wf(uD,f,O,{discrete:!0}),H.addEventListener("click",W=>W.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),gD=e=>{const{__scopeToast:t,children:n,...r}=e,o=Ny(Qp,t),[i,a]=x.useState(!1),[l,c]=x.useState(!1);return vD(()=>a(!0)),x.useEffect(()=>{const d=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(d)},[]),l?null:s.jsx(Zp,{asChild:!0,children:s.jsx(Ty,{...r,children:i&&s.jsxs(s.Fragment,{children:[o.label," ",n]})})})},yD="ToastTitle",O4=x.forwardRef((e,t)=>
vendor: 6,266 bytes, lines 40-80
40{const{__scopeToast:n,...r}=e;return s.jsx(We.div,{...r,ref:t})});O4.displayName=yD;var xD="ToastDescription",D4=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return s.jsx(We.div,{...r,ref:t})});D4.displayName=xD;var W4="ToastAction",$4=x.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?s.jsx(M4,{altText:n,asChild:!0,children:s.jsx(Rw,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${W4}\`. Expected non-empty \`string\`.`),null)});$4.displayName=W4;var L4="ToastClose",Rw=x.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=fD(L4,n);return s.jsx(M4,{asChild:!0,children:s.jsx(We.button,{type:"button",...r,ref:t,onClick:Te(e.onClick,o.onClose)})})});Rw.displayName=L4;var M4=x.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return s.jsx(We.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function B4(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),bD(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const a=r.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...B4(r))}}),t}function Wf(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?k4(o,i):o.dispatchEvent(i)}var Q2=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function vD(e=()=>{}){const t=io(e);_n(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function bD(e){return e.nodeType===e.ELEMENT_NODE}function wD(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ox(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var jD=A4,F4=P4,H4=I4,V4=O4,U4=D4,G4=$4,Y4=Rw;function q4(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=q4(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function K4(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=q4(e))&&(r&&(r+=" "),r+=t);return r}const J2=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,X2=K4,Pw=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return X2(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,a=Object.keys(o).map(d=>{const u=n==null?void 0:n[d],p=i==null?void 0:i[d];if(u===null)return null;const f=J2(u)||J2(p);return o[d][f]}),l=n&&Object.entries(n).reduce((d,u)=>{let[p,f]=u;return f===void 0||(d[p]=f),d},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((d,u)=>{let{class:p,className:f,...h}=u;return Object.entries(h).every(g=>{let[m,b]=g;return Array.isArray(b)?b.includes({...i,...l}[m]):{...i,...l}[m]===b})?[...d,p,f]:d},[]);return X2(e,a,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const SD=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Z4=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var kD={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const TD=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:a,...l},c)=>x.createElement("svg",{ref:c,...kD,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Z4("lucide",o),...l},[...a.map(([d,u])=>x.createElement(d,u)),...Array.isArray(i)?i:[i]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const ye=(e,t)=>{const n=x.forwardRef(({className:r,...o},i)=>x.createElement(TD,{ref:i,iconNode:t,className:Z4(`lucide-${SD(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const ND=ye("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const xi=ye("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const ED=ye("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const CD=ye("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}
80],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const _D=ye("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const vr=ye("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const Jp=ye("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const Q4=ye("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const zw=ye("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const AD=ye("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const RD=ye("ClipboardList",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const Er=ye("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const PD=ye("Cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const zD=ye("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const J4=ye("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const X4=ye("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const Uo=ye("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const Go=ye("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const eA=ye("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const ek=ye("Flag",[["path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z",key:"i9b6wo"}],["line",{x1:"4",x2:"4",y1:"22",y2:"15",key:"1cm3nv"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const Iw=ye("Gem",[["path",{d:"M6 3h12l4 6-10 13L2 9Z",key:"1pcd5k"}],["path",{d:"M11 3 8 9l4 13 4-13-3-6",key:"1fcu3u"}],["path",{d:"M2 9h20",key:"16fsjt"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const ID=ye("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const OD=ye("HandCoins",[["path",{d:"M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17",key:"geh8rc"}],["path",{d:"m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"1fto5m"}],["path",{d:"m2 16 6 6",key:"1pfhp9"}],["circle",{cx:"16",cy:"9",r:"2.9",key:"1n0dlu"}],["circle",{cx:"6",cy:"5",r:"3",key:"151irh"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const Ow=ye("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/**
181 * @license lucide-react v0.462.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const DD=ye("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]]);/**
186 * @license lucide-react v0.462.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const WD=ye("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
191 * @license lucide-react v0.462.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const tk=ye("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
196 * @license lucide-react v0.462.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const nk=ye("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
201 * @license lucide-react v0.462.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const Dw=ye("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
206 * @license lucide-react v0.462.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const Ww=ye("Map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);/**
211 * @license lucide-react v0.462.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const $D=ye("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]);/**
216 * @license lucide-react v0.462.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const LD=ye("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
221 * @license lucide-react v0.462.0 - ISC
222 *
223 * This source code is licensed under the ISC license.
224 * See the LICENSE file in the root directory of this source tree.
225 */const MD=ye("MessagesSquare",[["path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z",key:"p1xzt8"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1",key:"1cx29u"}]]);/**
226 * @license lucide-react v0.462.0 - ISC
227 *
228 * This source code is licensed under the ISC license.
229 * See the LICENSE file in the root directory of this source tree.
230 */const BD=ye("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);/**
231 * @license lucide-react v0.462.0 - ISC
232 *
233 * This source code is licensed under the ISC license.
234 * See the LICENSE file in the root directory of this source tree.
235 */const sk=ye("MonitorPlay",[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]);/**
236 * @license lucide-react v0.462.0 - ISC
237 *
238 * This source code is licensed under the ISC license.
239 * See the LICENSE file in the root directory of this source tree.
240 */const FD=ye("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);/**
241 * @license lucide-react v0.462.0 - ISC
242 *
243 * This source code is licensed under the ISC license.
244 * See the LICENSE file in the root directory of this source tree.
245 */const HD=ye("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
246 * @license lucide-react v0.462.0 - ISC
247 *
248 * This source code is licensed under the ISC license.
249 * See the LICENSE file in the root directory of this source tree.
250 */const VD=ye("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
251 * @license lucide-react v0.462.0 - ISC
252 *
253 * This source code is licensed under the ISC license.
254 * See the LICENSE file in the root directory of this source tree.
255 */const Ln=ye("Printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);/**
256 * @license lucide-react v0.462.0 - ISC
257 *
258 * This source code is licensed under the ISC license.
259 * See the LICENSE file in the root directory of this source tree.
260 */const UD=ye("Rocket",[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3
260kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]]);/**
261 * @license lucide-react v0.462.0 - ISC
262 *
263 * This source code is licensed under the ISC license.
264 * See the LICENSE file in the root directory of this source tree.
265 */const tA=ye("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
266 * @license lucide-react v0.462.0 - ISC
267 *
268 * This source code is licensed under the ISC license.
269 * See the LICENSE file in the root directory of this source tree.
270 */const GD=ye("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
271 * @license lucide-react v0.462.0 - ISC
272 *
273 * This source code is licensed under the ISC license.
274 * See the LICENSE file in the root directory of this source tree.
275 */const rk=ye("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
276 * @license lucide-react v0.462.0 - ISC
277 *
278 * This source code is licensed under the ISC license.
279 * See the LICENSE file in the root directory of this source tree.
280 */const YD=ye("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
281 * @license lucide-react v0.462.0 - ISC
282 *
283 * This source code is licensed under the ISC license.
284 * See the LICENSE file in the root directory of this source tree.
285 */const Ey=ye("Sprout",[["path",{d:"M7 20h10",key:"e6iznv"}],["path",{d:"M10 20c5.5-2.5.8-6.4 3-10",key:"161w41"}],["path",{d:"M9.5 9.4c1.1.8 1.8 2.2 2.3 3.7-2 .4-3.5.4-4.8-.3-1.2-.6-2.3-1.9-3-4.2 2.8-.5 4.4 0 5.5.8z",key:"9gtqwd"}],["path",{d:"M14.1 6a7 7 0 0 0-1.1 4c1.9-.1 3.3-.6 4.3-1.4 1-1 1.6-2.3 1.7-4.6-2.7.1-4 1-4.9 2z",key:"bkxnd2"}]]);/**
286 * @license lucide-react v0.462.0 - ISC
287 *
288 * This source code is licensed under the ISC license.
289 * See the LICENSE file in the root directory of this source tree.
290 */const Xp=ye("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
291 * @license lucide-react v0.462.0 - ISC
292 *
293 * This source code is licensed under the ISC license.
294 * See the LICENSE file in the root directory of this source tree.
295 */const $w=ye("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/**
296 * @license lucide-react v0.462.0 - ISC
297 *
298 * This source code is licensed under the ISC license.
299 * See the LICENSE file in the root directory of this source tree.
300 */const qD=ye("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
301 * @license lucide-react v0.462.0 - ISC
302 *
303 * This source code is licensed under the ISC license.
304 * See the LICENSE file in the root directory of this source tree.
305 */const KD=ye("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
306 * @license lucide-react v0.462.0 - ISC
307 *
308 * This source code is licensed under the ISC license.
309 * See the LICENSE file in the root directory of this source tree.
310 */const ZD=ye("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
311 * @license lucide-react v0.462.0 - ISC
312 *
313 * This source code is licensed under the ISC license.
314 * See the LICENSE file in the root directory of this source tree.
vendor: 6,352 bytes, lines 315-320
315 */const Lw=ye("Workflow",[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]);/**
316 * @license lucide-react v0.462.0 - ISC
317 *
318 * This source code is licensed under the ISC license.
319 * See the LICENSE file in the root directory of this source tree.
320 */const ef=ye("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Mw="-",QD=e=>{const t=XD(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const l=a.split(Mw);return l[0]===""&&l.length!==1&&l.shift(),nA(l,t)||JD(a)},getConflictingClassGroupIds:(a,l)=>{const c=n[a]||[];return l&&r[a]?[...c,...r[a]]:c}}},nA=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?nA(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Mw);return(a=t.validators.find(({validator:l})=>l(i)))==null?void 0:a.classGroupId},ok=/^\[(.+)\]$/,JD=e=>{if(ok.test(e)){const t=ok.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},XD=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return tW(Object.entries(e.classGroups),n).forEach(([i,a])=>{eb(a,r,i,t)}),r},eb=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:ik(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(eW(o)){eb(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,a])=>{eb(a,ik(t,i),n,r)})})},ik=(e,t)=>{let n=e;return t.split(Mw).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},eW=e=>e.isThemeGetter,tW=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([a,l])=>[t+a,l])):i);return[n,o]}):e,nW=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,a)=>{n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let a=n.get(i);if(a!==void 0)return a;if((a=r.get(i))!==void 0)return o(i,a),a},set(i,a){n.has(i)?n.set(i,a):o(i,a)}}},sA="!",sW=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,a=l=>{const c=[];let d=0,u=0,p;for(let b=0;b<l.length;b++){let v=l[b];if(d===0){if(v===o&&(r||l.slice(b,b+i)===t)){c.push(l.slice(u,b)),u=b+i;continue}if(v==="/"){p=b;continue}}v==="["?d++:v==="]"&&d--}const f=c.length===0?l:l.substring(u),h=f.startsWith(sA),g=h?f.substring(1):f,m=p&&p>u?p-u:void 0;return{modifiers:c,hasImportantModifier:h,baseClassName:g,maybePostfixModifierPosition:m}};return n?l=>n({className:l,parseClassName:a}):a},rW=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},oW=e=>({cache:nW(e.cacheSize),parseClassName:sW(e),...QD(e)}),iW=/\s+/,aW=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(iW);let l="";for(let c=a.length-1;c>=0;c-=1){const d=a[c],{modifiers:u,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:h}=n(d);let g=!!h,m=r(g?f.substring(0,h):f);if(!m){if(!g){l=d+(l.length>0?" "+l:l);continue}if(m=r(f),!m){l=d+(l.length>0?" "+l:l);continue}g=!1}const b=rW(u).join(":"),v=p?b+sA:b,y=v+m;if(i.includes(y))continue;i.push(y);const w=o(m,g);for(let j=0;j<w.length;++j){const S=w[j];i.push(v+S)}l=d+(l.length>0?" "+l:l)}return l};function lW(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=rA(t))&&(r&&(r+=" "),r+=n);return r}const rA=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=rA(e[r]))&&(n&&(n+=" "),n+=t);return n};function cW(e,...t){let n,r,o,i=a;function a(c){const d=t.reduce((u,p)=>p(u),e());return n=oW(d),r=n.cache.get,o=n.cache.set,i=l,l(c)}function l(c){const d=r(c);if(d)return d;const u=aW(c,n);return o(c,u),u}return function(){return i(lW.apply(null,arguments))}}const jt=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},oA=/^\[(?:([a-z-]+):)?(.+)\]$/i,dW=/^\d+\/\d+$/,uW=new Set(["px","full","screen"]),hW=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pW=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fW=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,mW=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gW=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Jo=e=>kd(e)||uW.has(e)||dW.test(e),Li=e=>du(e,"length",kW),kd=e=>!!e&&!Number.isNaN(Number(e)),Dx=e=>du(e,"number",kd),Bu=e=>!!e&&Number.isInteger(Number(e)),yW=e=>e.endsWith("%")&&kd(e.slice(0,-1)),_e=e=>oA.test(e),Mi=e=>hW.test(e),xW=new Set(["length","size","percentage"]),vW=e=>du(e,xW,iA),bW=e=>du(e,"position",iA),wW=new Set(["image","url"]),jW=e=>du(e,wW,NW),SW=e=>du(e,"",TW),Fu=()=>!0,du=(e,t,n)=>{const r=oA.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},kW=e=>pW.test(e)&&!fW.test(e),iA=()=>!1,TW=e=>mW.test(e),NW=e=>gW.test(e),EW=()=>{const e=jt("colors"),t=jt("spacing"),n=jt("blur"),r=jt("brightness"),o=jt("borderColor"),i=jt("borderRadius"),a=jt("borderSpacing"),l=jt("borderWidth"),c=jt("contrast"),d=jt("grayscale"),u=jt("hueRotate"),p=jt("invert"),f=jt("gap"),h=jt("gradientColorStops"),g=jt("gradientColorStopPositions"),m=jt("inset"),b=jt("margin"),v=jt("opacity"),y=jt("padding"),w=jt("saturate"),j=jt("scale"),S=jt("sepia"),N=jt("skew"),k=jt("space"),T=jt("translate"),C=()=>["auto","contain","none"],R=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",_e,t],I=()=>[_e,t],F=()=>["",Jo,Li],D=()=>["auto",kd,_e],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>["start","end","center","between","around","evenly","stretch"],W=()=>["","0",_e],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],pe=()=>[kd,_e];return{cacheSize:500,separator:":",theme:{colors:[Fu],spacing:[Jo,Li],blur:["none","",Mi,_e],brightness:pe(),borderColor:[e],borderRadius:["n
320one","","full",Mi,_e],borderSpacing:I(),borderWidth:F(),contrast:pe(),grayscale:W(),hueRotate:pe(),invert:W(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[yW,Li],inset:L(),margin:L(),opacity:pe(),padding:I(),saturate:pe(),scale:pe(),sepia:W(),skew:pe(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",_e]}],container:["container"],columns:[{columns:[Mi]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...K(),_e]}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Bu,_e]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",_e]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",Bu,_e]}],"grid-cols":[{"grid-cols":[Fu]}],"col-start-end":[{col:["auto",{span:["full",Bu,_e]},_e]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[Fu]}],"row-start-end":[{row:["auto",{span:[Bu,_e]},_e]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",_e]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",_e]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[k]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[k]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",_e,t]}],"min-w":[{"min-w":[_e,t,"min","max","fit"]}],"max-w":[{"max-w":[_e,t,"none","full","min","max","fit","prose",{screen:[Mi]},Mi]}],h:[{h:[_e,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[_e,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[_e,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[_e,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Mi,Li]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Dx]}],"font-family":[{font:[Fu]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",_e]}],"line-clamp":[{"line-clamp":["none",kd,Dx]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Jo,_e]}],"list-image":[{"list-image":["none",_e]}],"list-style-type":[{list:["none","disc","decimal",_e]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Jo,Li]}],"underline-offset":[{"underline-offset":["auto",Jo,_e]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_e]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_e]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),bW]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vW]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},jW]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}
vendor: 5,182 bytes, line 320
320],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:U()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[Jo,_e]}],"outline-w":[{outline:[Jo,Li]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:F()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[Jo,Li]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Mi,SW]}],"shadow-color":[{shadow:[Fu]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...H(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Mi,_e]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[p]}],saturate:[{saturate:[w]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[p]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",_e]}],duration:[{duration:pe()}],ease:[{ease:["linear","in","out","in-out",_e]}],delay:[{delay:pe()}],animate:[{animate:["none","spin","ping","pulse","bounce",_e]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Bu,_e]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[N]}],"skew-y":[{"skew-y":[N]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",_e]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",_e]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,647 bytes, line 320
320],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",_e]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Jo,Li,Dx]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},CW=cW(EW);function Ce(...e){return CW(K4(e))}const _W=jD,aA=x.forwardRef(({className:e,...t},n)=>s.jsx(F4,{ref:n,className:Ce("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));aA.displayName=F4.displayName;const AW=Pw("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),lA=x.forwardRef(({className:e,variant:t,...n},r)=>s.jsx(H4,{ref:r,className:Ce(AW({variant:t}),e),...n}));lA.displayName=H4.displayName;const RW=x.forwardRef(({className:e,...t},n)=>s.jsx(G4,{ref:n,className:Ce("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));RW.displayName=G4.displayName;const cA=x.forwardRef(({className:e,...t},n)=>s.jsx(Y4,{ref:n,className:Ce("absolute right-2 top-2 rounded-md p-1 text-foreground
320/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:s.jsx(ef,{className:"h-4 w-4"})}));cA.displayName=Y4.displayName;const dA=x.forwardRef(({className:e,...t},n)=>s.jsx(V4,{ref:n,className:Ce("text-sm font-semibold",e),...t}));dA.displayName=V4.displayName;const uA=x.forwardRef(({className:e,...t},n)=>s.jsx(U4,{ref:n,className:Ce("text-sm opacity-90",e),...t}));uA.displayName=U4.displayName;function PW(){const{toasts:e}=cu();return s.jsxs(_W,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return s.jsxs(lA,{...i,children:[s.jsxs("div",{className:"grid gap-1",children:[n&&s.jsx(dA,{children:n}),r&&s.jsx(uA,{children:r})]}),o,s.jsx(cA,{})]},t)}),s.jsx(aA,{})]})}var ak=["light","dark"],zW="(prefers-color-scheme: dark)",IW=x.createContext(void 0),OW={setTheme:e=>{},themes:[]},DW=()=>{var e;return(e=x.useContext(IW))!=null?e:OW};x.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:a,attrs:l,nonce:c})=>{let d=i==="system",u=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${l.map(g=>`'${g}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,p=o?ak.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(g,m=!1,b=!0)=>{let v=a?a[g]:g,y=m?g+"|| ''":`'${v}'`,w="";return o&&b&&!m&&ak.includes(g)&&(w+=`d.style.colorScheme = '${g}';`),n==="class"?m||v?w+=`c.add(${y})`:w+="null":v&&(w+=`d[s](n,${y})`),w},h=e?`!function(){${u}${f(e)}}()`:r?`!function(){try{${u}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${d})){var t='${zW}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${f(a?"x[e]":"e",!0)}}${d?"":"else{"+f(i,!1,!1)+"}"}${p}}catch(e){}}()`:`!function(){try{${u}var e=localStorage.getItem('${t}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${f(a?"x[e]":"e",!0)}}else{${f(i,!1,!1)};}${p}}catch(t){}}();`;return x.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:h}})});var WW=e=>{switch(e){case"success":return MW;case"info":return FW;case"warning":return BW;case"error":return HW;default:return null}},$W=Array(12).fill(0),LW=({visible:e,className:t})=>P.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},P.createElement("div",{className:"sonner-spinner"},$W.map((n,r)=>P.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),MW=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},P.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),BW=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},P.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),FW=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},P.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),HW=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},P.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),VW=P.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},P.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),P.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),UW=()=>{let[e,t]=P.useState(document.hidden);return P.useEffect(()=>{let n=()=>{t(document.hidden)};
320return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},tb=1,GW=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:tb++,i=this.toasts.find(l=>l.id===o),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(l=>l.id===o?(this.publish({...l,...e,id:o,title:n}),{...l,...e,id:o,dismissible:a,title:n}):l):this.addToast({title:n,...r,dismissible:a,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
320this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,i,a=r.then(async c=>{if(i=["resolve",c],P.isValidElement(c))o=!1,this.create({id:n,type:"default",message:c});else if(qW(c)&&!c.ok){o=!1;let d=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,u=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:d,description:u})}else if(t.success!==void 0){o=!1;let d=typeof t.success=="function"?await t.success(c):t.success,u=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:d,description:u})}}).catch(async c=>{if(i=["reject",c],t.error!==void 0){o=!1;let d=typeof t.error=="function"?await t.error(c):t.error,u=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:d,description:u})}}).finally(()=>{var c;o&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),l=()=>new Promise((c,d)=>a.then(()=>i[0]==="reject"?d(i[1]):c(i[1])).catch(d));return typeof n!="string"&&typeof n!="number"?{unwrap:l}:Object.assign(n,{unwrap:l})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||tb++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},_s=new GW,YW=(e,t)=>{let n=(t==null?void 0:t.id)||tb++;return _s.addToast({title:e,...t,id:n}),n},qW=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",KW=YW,ZW=()=>_s.toasts,QW=()=>_s.getActiveToasts(),$f=Object.assign(KW,{success:_s.success,info:_s.info,warning:_s.warning,error:_s.error,custom:_s.custom,message:_s.message,promise:_s.promise,dismiss:_s.dismiss,loading:_s.loading},{getHistory:ZW,getToasts:QW});function JW(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}JW(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
320left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
320:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
320--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
321`);function Lf(e){return e.label!==void 0}var XW=3,e$="32px",t$="16px",lk=4e3,n$=356,s$=14,r$=20,o$=200;function Pr(...e){return e.filter(Boolean).join(" ")}function i$(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var a$=e=>{var t,n,r,o,i,a,l,c,d,u,p;let{invert:f,toast:h,unstyled:g,interacting:m,setHeights:b,visibleToasts:v,heights:y,index:w,toasts:j,expanded:S,removeToast:N,defaultRichColors:k,closeButton:T,style:C,cancelButtonStyle:R,actionButtonStyle:L,className:I="",descriptionClassName:F="",duration:D,position:K,gap:U,loadingIcon:H,expandByDefault:O,classNames:W,icons:G,closeButtonAriaLabel:pe="Close toast",pauseWhenPageIsHidden:ce}=e,[we,se]=P.useState(null),[Je,je]=P.useState(null),[J,me]=P.useState(!1),[Xe,ze]=P.useState(!1),[Se,$e]=P.useState(!1),[Ot,gn]=P.useState(!1),[Ds,sn]=P.useState(!1),[Zn,bs]=P.useState(0),[Ws,_]=P.useState(0),z=P.useRef(h.duration||D||lk),$=P.useRef(null),Z=P.useRef(null),Q=w===0,Y=w+1<=v,ee=h.type,Ie=h.dismissible!==!1,Ge=h.className||"",Ft=h.descriptionClassName||"",Yt=P.useMemo(()=>y.findIndex(ke=>ke.toastId===h.id)||0,[y,h.id]),ws=P.useMemo(()=>{var ke;return(ke=h.closeButton)!=null?ke:T},[h.closeButton,T]),Ja=P.useMemo(()=>h.duration||D||lk,[h.duration,D]),fo=P.useRef(0),js=P.useRef(0),Xa=P.useRef(0),Ss=P.useRef(null),[W
321i,Qn]=K.split("-"),qo=P.useMemo(()=>y.reduce((ke,Ye,ht)=>ht>=Yt?ke:ke+Ye.height,0),[y,Yt]),lc=UW(),Eu=h.invert||f,Cu=ee==="loading";js.current=P.useMemo(()=>Yt*U+qo,[Yt,qo]),P.useEffect(()=>{z.current=Ja},[Ja]),P.useEffect(()=>{me(!0)},[]),P.useEffect(()=>{let ke=Z.current;if(ke){let Ye=ke.getBoundingClientRect().height;return _(Ye),b(ht=>[{toastId:h.id,height:Ye,position:h.position},...ht]),()=>b(ht=>ht.filter($s=>$s.toastId!==h.id))}},[b,h.id]),P.useLayoutEffect(()=>{if(!J)return;let ke=Z.current,Ye=ke.style.height;ke.style.height="auto";let ht=ke.getBoundingClientRect().height;ke.style.height=Ye,_(ht),b($s=>$s.find(qe=>qe.toastId===h.id)?$s.map(qe=>qe.toastId===h.id?{...qe,height:ht}:qe):[{toastId:h.id,height:ht,position:h.position},...$s])},[J,h.title,h.description,b,h.id]);let tr=P.useCallback(()=>{ze(!0),bs(js.current),b(ke=>ke.filter(Ye=>Ye.toastId!==h.id)),setTimeout(()=>{N(h)},o$)},[h,N,b,js]);P.useEffect(()=>{if(h.promise&&ee==="loading"||h.duration===1/0||h.type==="loading")return;let ke;return S||m||ce&&lc?(()=>{if(Xa.current<fo.current){let Ye=new Date().getTime()-fo.current;z.current=z.current-Ye}Xa.current=new Date().getTime()})():z.current!==1/0&&(fo.current=new Date().getTime(),ke=setTimeout(()=>{var Ye;(Ye=h.onAutoClose)==null||Ye.call(h,h),tr()},z.current)),()=>clearTimeout(ke)},[S,m,h,ee,ce,lc,tr]),P.useEffect(()=>{h.delete&&tr()},[tr,h.delete]);function _u(){var ke,Ye,ht;return G!=null&&G.loading?P.createElement("div",{className:Pr(W==null?void 0:W.loader,(ke=h==null?void 0:h.classNames)==null?void 0:ke.loader,"sonner-loader"),"data-visible":ee==="loading"},G.loading):H?P.createElement("div",{className:Pr(W==null?void 0:W.loader,(Ye=h==null?void 0:h.classNames)==null?void 0:Ye.loader,"sonner-loader"),"data-visible":ee==="loading"},H):P.createElement(LW,{className:Pr(W==null?void 0:W.loader,(ht=h==null?void 0:h.classNames)==null?void 0:ht.loader),visible:ee==="loading"})}return P.createElement("li",{tabIndex:0,ref:Z,className:Pr(I,Ge,W==null?void 0:W.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,W==null?void 0:W.default,W==null?void 0:W[ee],(n=h==null?void 0:h.classNames)==null?void 0:n[ee]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:k,"data-styled":!(h.jsx||h.unstyled||g),"data-mounted":J,"data-promise":!!h.promise,"data-swiped":Ds,"data-removed":Xe,"data-visible":Y,"data-y-position":Wi,"data-x-position":Qn,"data-index":w,"data-front":Q,"data-swiping":Se,"data-dismissible":Ie,"data-type":ee,"data-invert":Eu,"data-swipe-out":Ot,"data-swipe-direction":Je,"data-expanded":!!(S||O&&J),style:{"--index":w,"--toasts-before":w,"--z-index":j.length-w,"--offset":`${Xe?Zn:js.current}px`,"--initial-height":O?"auto":`${Ws}px`,...C,...h.style},onDragEnd:()=>{$e(!1),se(null),Ss.current=null},onPointerDown:ke=>{Cu||!Ie||($.current=new Date,bs(js.current),ke.target.setPointerCapture(ke.pointerId),ke.target.tagName!=="BUTTON"&&($e(!0),Ss.current={x:ke.clientX,y:ke.clientY}))},onPointerUp:()=>{var ke,Ye,ht,$s;if(Ot||!Ie)return;Ss.current=null;let qe=Number(((ke=Z.current)==null?void 0:ke.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Jn=Number(((Ye=Z.current)==null?void 0:Ye.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ko=new Date().getTime()-((ht=$.current)==null?void 0:ht.getTime()),ks=we==="x"?qe:Jn,nr=Math.abs(ks)/Ko;if(Math.abs(ks)>=r$||nr>.11){bs(js.current),($s=h.onDismiss)==null||$s.call(h,h),je(we==="x"?qe>0?"right":"left":Jn>0?"down":"up"),tr(),gn(!0),sn(!1);return}$e(!1),se(null)},onPointerMove:ke=>{var Ye,ht,$s,qe;if(!Ss.current||!Ie||((Ye=window.getSelection())==null?void 0:Ye.toString().length)>0)return;let Jn=ke.clientY-Ss.current.y,Ko=ke.clientX-Ss.current.x,ks=(ht=e.swipeDirections)!=null?ht:i$(K);!we&&(Math.abs(Ko)>1||Math.abs(Jn)>1)&&se(Math.abs(Ko)>Math.abs(Jn)?"x":"y");let nr={x:0,y:0};we==="y"?(ks.includes("top")||ks.includes("bottom"))&&(ks.includes("top")&&Jn<0||ks.includes("bottom")&&Jn>0)&&(nr.y=Jn):we==="x"&&(ks.includes("left")||ks.includes("right"))&&(ks.includes("left")&&Ko<0||ks.includes("right")&&Ko>0)&&(nr.x=Ko),(Math.abs(nr.x)>0||Math.abs(nr.y)>0)&&sn(!0),($s=Z.current)==null||$s.style.setProperty("--swipe-amount-x",`${nr.x}px`),(qe=Z.current)==null||qe.style.setProperty("--swipe-amount-y",`${nr.y}px`)}},ws&&!h.jsx?P.createElement("button",{"aria-label":pe,"data-disabled":Cu,"data-close-button":!0,onClick:Cu||!Ie?()=>{}:()=>{var ke;tr(),(ke=h.onDismiss)==null||ke.call(h,h)},className:Pr(W==null?void 0:W.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},(i=G==null?void 0:G.close)!=null?i:VW):null,h.jsx||x.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:P.createElement(P.Fragment,null,ee||h.icon||h.promise?P.createElement("div",{"data-icon":"",className:Pr(W==null?void 0:W.icon,(a=h==null?void 0:h.classNames)==null?void 0:a.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||_u():null,h.type!=="loading"?h.icon||(G==null?void 0:G[ee])||WW(ee):null):null,P.createElement("div",{"data-content":"",className:Pr(W==null?void 0:W.content,(l=h==null?void 0:h.classNames)==null?void 0:l.content)},P.createElement("div",{"data-title":"",className:Pr(W==null?void 0:W.title,(c=h==null?void 0:h.classNames)==null?void 0:c.title)},typeof h.title=="function"?h.title():h.title),h.description?P.createElement("div",{"data-description":"",className:Pr(F,Ft,W==null?void 0:W.description,(d=h==null?void 0:h.classNames)==null?void 0:d.description)},typeof h.description=="function"?h.description():h.description):null),x.isValidElement(h.cancel)?h.cancel:h.cancel&&Lf(h.cancel)?P.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||R,onClick:ke=>{var Ye,ht;Lf(h.cancel)&&Ie&&((ht=(Ye=h.cancel).onClick)==null||ht.call(Ye,ke),tr())},className:Pr(W==null?void 0:W.cancelButton,(u=h==null?void 0:h.classNames)==null?void 0:u.cancelButton)},h.cancel.label):null,x.isValidElement(h.action)?h.action:h.action&&Lf(h.action)?P.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||L,onClick:ke=>{var Ye,ht;Lf(h.action)&&((ht=(Ye=h.action).onClick)==null||ht.call(Ye,ke),!ke.defaultPrevented&&tr())},className:Pr(W==null?void 0:W.actionButton,(p=h==null?void 0:h.classNames)==null?void 0:p.actionButton)},h.action.label):null))};function ck(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function l$(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,a=i?"--mobile-offset":"--offset",l=i?t$:e$;function c(d){["top","right","bottom","left"].forEach(u=>{n[`${a}-${u}`]=typeof d=="number"?`${d}px`:d})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(d=>{r[d]===void 0?n[`${a}-${d}`]=l:n[`${a}-${d}`]=typeof r[d]=="number"?`${r[d]}px`:r[d]}):c(l)}),n}var c$=x.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:a,className:l,offset:c,mobileOffset:d,theme:u="light",richColors:p,duration:f,style:h,visibleToasts:g=XW,toastOptions:m,dir:b=ck(),gap:v=s$,loadingIcon:y,icons:w,containerAriaLabel:j="Notifications",pauseWhenPageIsHidden:S}=e,[N,k]=P.useState([]),T=P.useMemo(()=>Array.from(new Set([r].concat(N.filter(ce=>ce.position).map(ce=>ce.position)))),[N,r]),[C,R]=P.useState([]),[L,I]=P.useState(!1),[F,D]=P.useState(!1),[K,U]=P.useState(u!=="system"?u:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
321k":"light"),H=P.useRef(null),O=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),W=P.useRef(null),G=P.useRef(!1),pe=P.useCallback(ce=>{k(we=>{var se;return(se=we.find(Je=>Je.id===ce.id))!=null&&se.delete||_s.dismiss(ce.id),we.filter(({id:Je})=>Je!==ce.id)})},[]);return P.useEffect(()=>_s.subscribe(ce=>{if(ce.dismiss){k(we=>we.map(se=>se.id===ce.id?{...se,delete:!0}:se));return}setTimeout(()=>{u4.flushSync(()=>{k(we=>{let se=we.findIndex(Je=>Je.id===ce.id);return se!==-1?[...we.slice(0,se),{...we[se],...ce},...we.slice(se+1)]:[ce,...we]})})})}),[]),P.useEffect(()=>{if(u!=="system"){U(u);return}if(u==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?U("dark"):U("light")),typeof window>"u")return;let ce=window.matchMedia("(prefers-color-scheme: dark)");try{ce.addEventListener("change",({matches:we})=>{U(we?"dark":"light")})}catch{ce.addListener(({matches:se})=>{try{U(se?"dark":"light")}catch(Je){console.error(Je)}})}},[u]),P.useEffect(()=>{N.length<=1&&I(!1)},[N]),P.useEffect(()=>{let ce=we=>{var se,Je;o.every(je=>we[je]||we.code===je)&&(I(!0),(se=H.current)==null||se.focus()),we.code==="Escape"&&(document.activeElement===H.current||(Je=H.current)!=null&&Je.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",ce),()=>document.removeEventListener("keydown",ce)},[o]),P.useEffect(()=>{if(H.current)return()=>{W.current&&(W.current.focus({preventScroll:!0}),W.current=null,G.current=!1)}},[H.current]),P.createElement("section",{ref:t,"aria-label":`${j} ${O}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((ce,we)=>{var se;let[Je,je]=ce.split("-");return N.length?P.createElement("ol",{key:ce,dir:b==="auto"?ck():b,tabIndex:-1,ref:H,className:l,"data-sonner-toaster":!0,"data-theme":K,"data-y-position":Je,"data-lifted":L&&N.length>1&&!i,"data-x-position":je,style:{"--front-toast-height":`${((se=C[0])==null?void 0:se.height)||0}px`,"--width":`${n$}px`,"--gap":`${v}px`,...h,...l$(c,d)},onBlur:J=>{G.current&&!J.currentTarget.contains(J.relatedTarget)&&(G.current=!1,W.current&&(W.current.focus({preventScroll:!0}),W.current=null))},onFocus:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||G.current||(G.current=!0,W.current=J.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{F||I(!1)},onDragEnd:()=>I(!1),onPointerDown:J=>{J.target instanceof HTMLElement&&J.target.dataset.dismissible==="false"||D(!0)},onPointerUp:()=>D(!1)},N.filter(J=>!J.position&&we===0||J.position===ce).map((J,me)=>{var Xe,ze;return P.createElement(a$,{key:J.id,icons:w,index:me,toast:J,defaultRichColors:p,duration:(Xe=m==null?void 0:m.duration)!=null?Xe:f,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:n,visibleToasts:g,closeButton:(ze=m==null?void 0:m.closeButton)!=null?ze:a,interacting:F,position:ce,style:m==null?void 0:m.style,unstyled:m==null?void 0:m.unstyled,classNames:m==null?void 0:m.classNames,cancelButtonStyle:m==null?void 0:m.cancelButtonStyle,actionButtonStyle:m==null?void 0:m.actionButtonStyle,removeToast:pe,toasts:N.filter(Se=>Se.position==J.position),heights:C.filter(Se=>Se.position==J.position),setHeights:R,expandByDefault:i,gap:v,loadingIcon:y,expanded:L,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const d$=({...e})=>{const{theme:t="system"}=DW();return s.jsx(c$,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var u$=W1[" useId ".trim().toString()]||(()=>{}),h$=0;function za(e){const[t,n]=x.useState(u$());return _n(()=>{n(r=>r??String(h$++))},[e]),t?`radix-${t}`:""}const p$=["top","right","bottom","left"],Ma=Math.min,Gs=Math.max,Eg=Math.round,Mf=Math.floor,Mo=e=>({x:e,y:e}
vendor: 19,313 bytes, line 321
321),f$={left:"right",right:"left",bottom:"top",top:"bottom"},m$={start:"end",end:"start"};function nb(e,t,n){return Gs(e,Ma(t,n))}function Ei(e,t){return typeof e=="function"?e(t):e}function Ci(e){return e.split("-")[0]}function uu(e){return e.split("-")[1]}function Bw(e){return e==="x"?"y":"x"}function Fw(e){return e==="y"?"height":"width"}const g$=new Set(["top","bottom"]);function Do(e){return g$.has(Ci(e))?"y":"x"}function Hw(e){return Bw(Do(e))}function y$(e,t,n){n===void 0&&(n=!1);const r=uu(e),o=Hw(e),i=Fw(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Cg(a)),[a,Cg(a)]}function x$(e){const t=Cg(e);return[sb(e),t,sb(t)]}function sb(e){return e.replace(/start|end/g,t=>m$[t])}const dk=["left","right"],uk=["right","left"],v$=["top","bottom"],b$=["bottom","top"];function w$(e,t,n){switch(e){case"top":case"bottom":return n?t?uk:dk:t?dk:uk;case"left":case"right":return t?v$:b$;default:return[]}}function j$(e,t,n,r){const o=uu(e);let i=w$(Ci(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(sb)))),i}function Cg(e){return e.replace(/left|right|bottom|top/g,t=>f$[t])}function S$(e){return{top:0,right:0,bottom:0,left:0,...e}}function hA(e){return typeof e!="number"?S$(e):{top:e,right:e,bottom:e,left:e}}function _g(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function hk(e,t,n){let{reference:r,floating:o}=e;const i=Do(t),a=Hw(t),l=Fw(a),c=Ci(t),d=i==="y",u=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,f=r[l]/2-o[l]/2;let h;switch(c){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-o.width,y:p};break;default:h={x:r.x,y:r.y}}switch(uu(t)){case"start":h[a]-=f*(n&&d?-1:1);break;case"end":h[a]+=f*(n&&d?-1:1);break}return h}const k$=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(t));let d=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:p}=hk(d,r,c),f=r,h={},g=0;for(let m=0;m<l.length;m++){const{name:b,fn:v}=l[m],{x:y,y:w,data:j,reset:S}=await v({x:u,y:p,initialPlacement:r,placement:f,strategy:o,middlewareData:h,rects:d,platform:a,elements:{reference:e,floating:t}});u=y??u,p=w??p,h={...h,[b]:{...h[b],...j}},S&&g<=50&&(g++,typeof S=="object"&&(S.placement&&(f=S.placement),S.rects&&(d=S.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:u,y:p}=hk(d,f,c)),m=-1)}return{x:u,y:p,placement:f,strategy:o,middlewareData:h}};async function fp(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:l,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:f=!1,padding:h=0}=Ei(t,e),g=hA(h),b=l[f?p==="floating"?"reference":"floating":p],v=_g(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:d,rootBoundary:u,strategy:c})),y=p==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),j=await(i.isElement==null?void 0:i.isElement(w))?await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1}:{x:1,y:1},S=_g(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:w,strategy:c}):y);return{top:(v.top-S.top+g.top)/j.y,bottom:(S.bottom-v.bottom+g.bottom)/j.y,left:(v.left-S.left+g.left)/j.x,right:(S.right-v.right+g.right)/j.x}}const T$=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:l,middlewareData:c}=t,{element:d,padding:u=0}=Ei(e,t)||{};if(d==null)return{};const p=hA(u),f={x:n,y:r},h=Hw(o),g=Fw(h),m=await a.getDimensions(d),b=h==="y",v=b?"top":"left",y=b?"bottom":"right",w=b?"clientHeight":"clientWidth",j=i.reference[g]+i.reference[h]-f[h]-i.floating[g],S=f[h]-i.reference[h],N=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d));let k=N?N[w]:0;(!k||!await(a.isElement==null?void 0:a.isElement(N)))&&(k=l.floating[w]||i.floating[g]);const T=j/2-S/2,C=k/2-m[g]/2-1,R=Ma(p[v],C),L=Ma(p[y],C),I=R,F=k-m[g]-L,D=k/2-m[g]/2+T,K=nb(I,D,F),U=!c.arrow&&uu(o)!=null&&D!==K&&i.reference[g]/2-(D<I?R:L)-m[g]/2<0,H=U?D<I?D-I:D-F:0;return{[h]:f[h]+H,data:{[h]:K,centerOffset:D-K-H,...U&&{alignmentOffset:H}},reset:U}}}),N$=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:l,platform:c,elements:d}=t,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:m=!0,...b}=Ei(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=Ci(o),y=Do(l),w=Ci(l)===l,j=await(c.isRTL==null?void 0:c.isRTL(d.floating)),S=f||(w||!m?[Cg(l)]:x$(l)),N=g!=="none";!f&&N&&S.push(...j$(l,m,g,j));const k=[l,...S],T=await fp(t,b),C=[];let R=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&C.push(T[v]),p){const D=y$(o,a,j);C.push(T[D[0]],T[D[1]])}if(R=[...R,{placement:o,overflows:C}],!C.every(D=>D<=0)){var L,I;const D=(((L=i.flip)==null?void 0:L.index)||0)+1,K=k[D];if(K&&(!(p==="alignment"?y!==Do(K):!1)||R.every(O=>O.overflows[0]>0&&Do(O.placement)===y)))return{data:{index:D,overflows:R},reset:{placement:K}};let U=(I=R.filter(H=>H.overflows[0]<=0).sort((H,O)=>H.overflows[1]-O.overflows[1])[0])==null?void 0:I.placement;if(!U)switch(h){case"bestFit":{var F;const H=(F=R.filter(O=>{if(N){const W=Do(O.placement);return W===y||W==="y"}return!0}).map(O=>[O.placement,O.overflows.filter(W=>W>0).reduce((W,G)=>W+G,0)]).sort((O,W)=>O[1]-W[1])[0])==null?void 0:F[0];H&&(U=H);break}case"initialPlacement":U=l;break}if(o!==U)return{reset:{placement:U}}}return{}}}};function pk(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function fk(e){return p$.some(t=>e[t]>=0)}const E$=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Ei(e,t);switch(r){case"referenceHidden":{const i=await fp(t,{...o,elementContext:"reference"}),a=pk(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:fk(a)}}}case"escaped":{const i=await fp(t,{...o,altBoundary:!0}),a=pk(i,n.floating);return{data:{escapedOffsets:a,escaped:fk(a)}}}default:return{}}}}},pA=new Set(["left","top"]);async function C$(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Ci(n),l=uu(n),c=Do(n)==="y",d=pA.has(a)?-1:1,u=i&&c?-1:1,p=Ei(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return l&&typeof g=="number"&&(h=l==="end"?g*-1:g),c?{x:h*u,y:f*d}:{x:f*d,y:h*u}}const _$=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:l}=t,c=await C$(t,e);return a===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:a}}}}},A$=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:b=>{let{x:v,y}=b;return{x:v,y}}},...c}=Ei(e,t),d={x:n,y:r},u=await fp(t,c),p=Do(Ci(o)),f=Bw(p);let h=d[f],g=d[p];if(i){const b=f==="y"?"top":"left",v=f==="y"?"bottom":"right",y=h+u[b],w=h-u[v];h=nb(y,h,w)}if(a){const b=p==="y"?"top":"left",v=p==="y"?"bottom":"right",y=g+u[b],w=g-u[v];g=nb(y,g,w)}const m=l.fn({...t,[f]:h,[p]:g});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:i,[p]:a}}}}}},R$=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:l=0,mainAxis:c=!0,crossAxis:d=!0}=Ei(e,t),u={x:n,y:r},p=Do(o),f=Bw(p);let h=u[f],g=u[p];const m=Ei(l,t),b=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(c){const w=f==="y"?"height":"width",j=i.reference[f]-i.floating[w]+b.mainAxis,S=i.reference[f]+i.reference[w]-b.mainAxis;h<j?h=j:h>S&&(h=S)}if(d){var v,y;const w=f==="y"?"width":"height",j=pA.has(Ci(o)),S=i.reference[p]-i.floating[w]+(j&&((v=a.offset)==null?void 0:v[p])||0)+(j?0:b.crossAxis),N=i.reference[p]+i.reference[w]+(j?0:((y=a.offset)==null?void 0:y[p])||0)-(j?b.crossAxis:0);g<S?g=S:g>N&&(g=N)}return{[f]:h,[p]:g}}}},P$=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:l}=t,{apply:c=()=>{},...d}=Ei(e,t),u=await fp(t,d),p=Ci(o),f=uu(o),h=Do(o)==="y",{width:g,height:m}=i.floating;let b,v;p==="top"||p==="bottom"?(b=p,v=f===(await(a.isRTL==null?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(v=p,b=f==="end"?"top":"bottom");const y=m-u.top-u.bottom,w=g-u.left-u.right,j=Ma(m-u[b],y),S=Ma(g-u[v],w),N=!t.middlewareData.shift;let k=j,T=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(k=y),N&&!f){const R=Gs(u.left,0),L=Gs(u.right,0),I=Gs(u.top,0),F=Gs(u.bottom,0);h?T=g-2*(R!==0||L!==0?R+L:Gs(u.left,u.right)):k=m-2*(I!==0||F!==0?I+F:Gs(u.top,u.bottom))}await c({...t,availableWidth:T,availableHeight:k});const C=await a.getDimensions(l.floating);return g!==C.width||m!==C.height?{reset:{rects:!0}}:{}}}};function Cy(){return typeof window<"u"}function hu(e){return fA(e)?(e.nodeName||"").toLowerCase():"#document"}function Zs(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Yo(e){var t;return(t=(fA(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function fA(e){return Cy()?e instanceof Node||e instanceof Zs(e).Node:!1}function ao(e){return Cy()?e instanceof Element||e instanceof Zs(e).Element:!1}function Ho(e){return Cy()?e instanceof HTMLElement||e instanceof Zs(e).HTMLElement:!1}function mk(e){return!Cy()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Zs(e).ShadowRoot}const z$=new Set(["inline","contents"]);function tf(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=lo(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!z$.has(o)}const I$=new Set(["table","td","th"]);function O$(e){return I$.has(hu(e))}const D$=[":popover-open",":modal"];function _y(e){return D$.some(t=>{try{return e.matches(t)}catch{return!1}})}const W$=["transform","translate","scale","rotate","perspective"],$$=["transform","translate","scale","rotate","perspective","filter"],L$=["paint","layout","strict","content"];function Vw(e){const t=Uw(),n=ao(e)?lo(e):e;return W$.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||$$.some(r=>(n.willChange||"").includes(r))||L$.some(r=>(n.contain||"").includes(r))}function M$(e){let t=Ba(e);for(;Ho(t)&&!Qd(t);){if(Vw(t))return t;if(_y(t))return null;t=Ba(t)}return null}function Uw(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const B$=new Set(["html","body","#document"]);function Qd(e){return B$.has(hu(e))}function lo(e){return Zs(e).getComputedStyle(e)}function Ay(e){return ao(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ba(e){if(hu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||mk(e)&&e.host||Yo(e);return mk(t)?t.host:t}function mA(e){const t=Ba(e);return Qd(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ho(t)&&tf(t)?t:mA(t)}function mp(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=mA(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=Zs(o);if(i){const l=rb(a);return t.concat(a,a.visualViewport||[],tf(o)?o:[],l&&n?mp(l):[])}return t.concat(o,mp(o,[],n))}function rb(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function gA(e){const t=lo(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ho(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,l=Eg(n)!==i||Eg(r)!==a;return l&&(n=i,r=a),{width:n,height:r,$:l}}function Gw(e){return ao(e)?e:e.contextElement}function Td(e){const t=Gw(e);if(!Ho(t))return Mo(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=gA(t);let a=(i?Eg(n.width):n.width)/r,l=(i?Eg(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const F$=Mo(0);function yA(e){const t=Zs(e);return!Uw()||!t.visualViewport?F$:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function H$(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Zs(e)?!1:t}function Kl(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Gw(e);let a=Mo(1);t&&(r?ao(r)&&(a=Td(r)):a=Td(e));const l=H$(i,n,r)?yA(i):Mo(0);let c=(o.left+l.x)/a.x,d=(o.top+l.y)/a.y,u=o.width/a.x,p=o.height/a.y;if(i){const f=Zs(i),h=r&&ao(r)?Zs(r):r;let g=f,m=rb(g);for(;m&&r&&h!==g;){const b=Td(m),v=m.getBoundingClientRect(),y=lo(m),w=v.left+(m.clientLeft+parseFloat(y.paddingLeft))*b.x,j=v.top+(m.clientTop+parseFloat(y.paddingTop))*b.y;c*=b.x,d*=b.y,u*=b.x,p*=b.y,c+=w,d+=j,g=Zs(m),m=rb(g)}}return _g({width:u,height:p,x:c,y:d})}function Yw(e,t){const n=Ay(e).scrollLeft;return t?t.left+n:Kl(Yo(e)).left+n}function xA(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Yw(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function V$(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=Yo(r),l=t?_y(t.floating):!1;if(r===a||l&&i)return n;let c={scrollLeft:0,scrollTop:0},d=Mo(1);const u=Mo(0),p=Ho(r);if((p||!p&&!i)&&((hu(r)!=="body"||tf(a))&&(c=Ay(r)),Ho(r))){const h=Kl(r);d=Td(r),u.x=h.x+r.clientLeft,u.y=h.y+r.clientTop}const f=a&&!p&&!i?xA(a,c,!0):Mo(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+u.x+f.x,y:n.y*d.y-c.scrollTop*d.y+u.y+f.y}}function U$(e){return Array.from(e.getClientRects())}function G$(e){const t=Yo(e),n=Ay(e),r=e.ownerDocument.body,o=Gs(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Gs(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+Yw(e);const l=-n.scrollTop;return lo(r).direction==="rtl"&&(a+=Gs(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:l}}function Y$(e,t){const n=Zs(e),r=Yo(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,l=0,c=0;if(o){i=o.width,a=o.height;const d=Uw();(!d||d&&t==="fixed")&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:a,x:l,y:c}}const q$=new Set(["absolute","fixed"]);function K$(e,t){const n=Kl(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ho(e)?Td(e):Mo(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,c=o*i.x,d=r*i.y;return{width:a,height:l,x:c,y:d}}function gk(e,t,n){let r;if(t==="viewport")r=Y$(e,n);else if(t==="document")r=G$(Yo(e));else if(ao(t))r=K$(t,n);else{const o=yA(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return _g(r)}function vA(e,t){const n=Ba(e);return n===t||!ao(n)||Qd(n)?!1:lo(n).position==="fixed"||vA(n,t)}function Z$(e,t){const n=t.get(e);if(n)return n;let r=mp(e,[],!1).filter(l=>ao(l)&&hu(l)!=="body"),o=null;const i=lo(e).position==="fixed";let a=i?Ba(e):e;for(;ao(a)&&!Qd(a);){const l=lo(a),c=Vw(a);!c&&l.position==="fixed"&&(o=null),(i?!c&&!o:!c&&l.position==="static"&&!!o&&q$.has(o.position)||tf(a)&&!c&&vA(e,a))?r=r.filter(u=>u!==a):o=l,a=Ba(a)}return t.set(e,r),r}function Q$(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?_y(t)?[]:Z$(t,this._c):[].concat(n),r],l=a[0],c=a.reduce((d,u)=>{const p=gk(t,u,o);return d.top=Gs(p.top,d.top),d.right=Ma(p.right,d.right),d.bottom=Ma(p.bottom,d.bottom),d.left=Gs(p.left,d.left),d},gk(t,l,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function J$(e){const{width:t,height:n}=gA(e);return{width:t,height:n}}function X$(e,t,n){const r=Ho(t),o=Yo(t),i=n==="fixed",a=Kl(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const c=Mo(0);function d(){c.x=Yw(o)}if(r||!r&&!i)if((hu(t)!=="body"||tf(o))&&(l=Ay(t)),r){const h=Kl(t,!0,i,t);c.x=h.x+t.clientLeft,c.y=h.y+t.clientTop}else o&&d();i&&!r&&o&&d();const u=o&&!r&&!i?xA(o,l):Mo(0),p=a.left+l.scrollLeft-c.x-u.x,f=a.top+l.scrollTop-c.y-u.y;return{x:p,y:f,width:a.width,height:a.height}}function Wx(e){return lo(e).position==="static"}function yk(e,t){if(!Ho(e)||lo(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Yo(e)===n&&(n=n.ownerDocument.body),n}function bA(e,t){const n=Zs(e);if(_y(e))return n;if(!Ho(e)){let o=Ba(e);for(;o&&!Qd(o);){if(ao(o)&&!Wx(o))return o;o=Ba(o)}return n}let r=yk(e,t);for(;r&&O$(r)&&Wx(r);)r=yk(r,t);return r&&Qd(r)&&Wx(r)&&!Vw(r)?n:r||M$(e)||n}const eL=async function(e){const t=this.getOffsetParent||bA,n=this.getDimensions,r=await n(e.floating);return{reference:X$(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function tL(e){return lo(e).direction==="rtl"}const nL={convertOffsetParentRelativeRectToViewportRelativeRect:V$,getDocumentElement:Yo,getClippingRect:Q$,getOffsetParent:bA,getElementRects:eL,getClientRects:U$,getDimensions:J$,getScale:Td,isElement:ao,isRTL:tL};function wA(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function sL(e,t){let n=null,r;const o=Yo(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),i();const d=e.getBoundingClientRect(),{left:u,top:p,width:f,height:h}=d;if(l||t(),!f||!h)return;const g=Mf(p),m=Mf(o.clientWidth-(u+f)),b=Mf(o.clientHeight-(p+h)),v=Mf(u),w={rootMargin:-g+"px "+-m+"px "+-b+"px "+-v+"px",threshold:Gs(0,Ma(1,c))||1};let j=!0;function S(N){const k=N[0].intersectionRatio;if(k!==c){if(!j)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}k===1&&!wA(d,e.getBoundingClientRect())&&a(),j=!1}try{n=new IntersectionObserver(S,{...w,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,w)}n.observe(e)}return a(!0),i}function rL(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,d=Gw(e),u=o||i?[...d?mp(d):[],...mp(t)]:[];u.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const p=d&&l?sL(d,n):null;let f=-1,h=null;a&&(h=new ResizeObserver(v=>{let[y]=v;y&&y.target===d&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=h)==null||w.observe(t)})),n()}),d&&!c&&h.observe(d),h.observe(t));let g,m=c?Kl(e):null;c&&b();function b(){const v=Kl(e);m&&!wA(m,v)&&n(),m=v,g=requestAnimationFrame(b)}return n(),()=>{var v;u.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),p==null||p(),(v=h)==null||v.disconnect(),h=null,c&&cancelAnimationFrame(g)}}const oL=_$,iL=A$,aL=N$,lL=P$,cL=E$,xk=T$,dL=R$,uL=(e,t,n)=>{const r=new Map,o={platform:nL,...n},i={...o.platform,_c:r};return k$(e,t,{...o,platform:i})};var hL=typeof document<"u",pL=function(){},$m=hL?x.useLayoutEffect:pL;function Ag(e,t){if(e===t)return!0;
vendor: 9,849 bytes, line 321
321if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ag(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Ag(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function jA(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vk(e,t){const n=jA(e);return Math.round(t*n)/n}function $x(e){const t=x.useRef(e);return $m(()=>{t.current=e}),t}function fL(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:l=!0,whileElementsMounted:c,open:d}=e,[u,p]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=x.useState(r);Ag(f,r)||h(r);const[g,m]=x.useState(null),[b,v]=x.useState(null),y=x.useCallback(O=>{O!==N.current&&(N.current=O,m(O))},[]),w=x.useCallback(O=>{O!==k.current&&(k.current=O,v(O))},[]),j=i||g,S=a||b,N=x.useRef(null),k=x.useRef(null),T=x.useRef(u),C=c!=null,R=$x(c),L=$x(o),I=$x(d),F=x.useCallback(()=>{if(!N.current||!k.current)return;const O={placement:t,strategy:n,middleware:f};L.current&&(O.platform=L.current),uL(N.current,k.current,O).then(W=>{const G={...W,isPositioned:I.current!==!1};D.current&&!Ag(T.current,G)&&(T.current=G,rc.flushSync(()=>{p(G)}))})},[f,t,n,L,I]);$m(()=>{d===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,p(O=>({...O,isPositioned:!1})))},[d]);const D=x.useRef(!1);$m(()=>(D.current=!0,()=>{D.current=!1}),[]),$m(()=>{if(j&&(N.current=j),S&&(k.current=S),j&&S){if(R.current)return R.current(j,S,F);F()}},[j,S,F,R,C]);const K=x.useMemo(()=>({reference:N,floating:k,setReference:y,setFloating:w}),[y,w]),U=x.useMemo(()=>({reference:j,floating:S}),[j,S]),H=x.useMemo(()=>{const O={position:n,left:0,top:0};if(!U.floating)return O;const W=vk(U.floating,u.x),G=vk(U.floating,u.y);return l?{...O,transform:"translate("+W+"px, "+G+"px)",...jA(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:W,top:G}},[n,l,U.floating,u.x,u.y]);return x.useMemo(()=>({...u,update:F,refs:K,elements:U,floatingStyles:H}),[u,F,K,U,H])}const mL=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?xk({element:r.current,padding:o}).fn(n):{}:r?xk({element:r,padding:o}).fn(n):{}}}},gL=(e,t)=>({...oL(e),options:[e,t]}),yL=(e,t)=>({...iL(e),options:[e,t]}),xL=(e,t)=>({...dL(e),options:[e,t]}),vL=(e,t)=>({...aL(e),options:[e,t]}),bL=(e,t)=>({...lL(e),options:[e,t]}),wL=(e,t)=>({...cL(e),options:[e,t]}),jL=(e,t)=>({...mL(e),options:[e,t]});var SL="Arrow",SA=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return s.jsx(We.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:s.jsx("polygon",{points:"0,0 30,0 15,10"})})});SA.displayName=SL;var kL=SA;function kA(e){const[t,n]=x.useState(void 0);return _n(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,l;if("borderBoxSize"in i){const c=i.borderBoxSize,d=Array.isArray(c)?c[0]:c;a=d.inlineSize,l=d.blockSize}else a=e.offsetWidth,l=e.offsetHeight;n({width:a,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var qw="Popper",[TA,Ry]=Pi(qw),[TL,NA]=TA(qw),EA=e=>{const{__scopePopper:t,children:n}=e,[r,o]=x.useState(null);return s.jsx(TL,{scope:t,anchor:r,onAnchorChange:o,children:n})};EA.displayName=qw;var CA="PopperAnchor",_A=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=NA(CA,n),a=x.useRef(null),l=it(t,a);return x.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:s.jsx(We.div,{...o,ref:l})});_A.displayName=CA;var Kw="PopperContent",[NL,EL]=TA(Kw),AA=x.forwardRef((e,t)=>{var J,me,Xe,ze,Se,$e;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:l=0,avoidCollisions:c=!0,collisionBoundary:d=[],collisionPadding:u=0,sticky:p="partial",hideWhenDetached:f=!1,updatePositionStrategy:h="optimized",onPlaced:g,...m}=e,b=NA(Kw,n),[v,y]=x.useState(null),w=it(t,Ot=>y(Ot)),[j,S]=x.useState(null),N=kA(j),k=(N==null?void 0:N.width)??0,T=(N==null?void 0:N.height)??0,C=r+(i!=="center"?"-"+i:""),R=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},L=Array.isArray(d)?d:[d],I=L.length>0,F={padding:R,boundary:L.filter(_L),altBoundary:I},{refs:D,floatingStyles:K,placement:U,isPositioned:H,middlewareData:O}=fL({strategy:"fixed",placement:C,whileElementsMounted:(...Ot)=>rL(...Ot,{animationFrame:h==="always"}),elements:{reference:b.anchor},middleware:[gL({mainAxis:o+T,alignmentAxis:a}),c&&yL({mainAxis:!0,crossAxis:!1,limiter:p==="partial"?xL():void 0,...F}),c&&vL({...F}),bL({...F,apply:({elements:Ot,rects:gn,availableWidth:Ds,availableHeight:sn})=>{const{width:Zn,height:bs}=gn.reference,Ws=Ot.floating.style;Ws.setProperty("--radix-popper-available-width",`${Ds}px`),Ws.setProperty("--radix-popper-available-height",`${sn}px`),Ws.setProperty("--radix-popper-anchor-width",`${Zn}px`),Ws.setProperty("--radix-popper-anchor-height",`${bs}px`)}}),j&&jL({element:j,padding:l}),AL({arrowWidth:k,arrowHeight:T}),f&&wL({strategy:"referenceHidden",...F})]}),[W,G]=zA(U),pe=io(g);_n(()=>{H&&(pe==null||pe())},[H,pe]);const ce=(J=O.arrow)==null?void 0:J.x,we=(me=O.arrow)==null?void 0:me.y,se=((Xe=O.arrow)==null?void 0:Xe.centerOffset)!==0,[Je,je]=x.useState();return _n(()=>{v&&je(window.getComputedStyle(v).zIndex)},[v]),s.jsx("div",{ref:D.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:H?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Je,"--radix-popper-transform-origin":[(ze=O.transformOrigin)==null?void 0:ze.x,(Se=O.transformOrigin)==null?void 0:Se.y].join(" "),...(($e=O.hide)==null?void 0:$e.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:s.jsx(NL,{scope:n,placedSide:W,onArrowChange:S,arrowX:ce,arrowY:we,shouldHideArrow:se,children:s.jsx(We.div,{"data-side":W,"data-align":G,...m,ref:w,style:{...m.style,animation:H?void 0:"none"}})})})});AA.displayName=Kw;var RA="PopperArrow",CL={top:"bottom",right:"left",bottom:"top",left:"right"},PA=x.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=EL(RA,r),a=CL[i.placedSide];return s.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:s.jsx(kL,{...o,ref:n,style:{...o.style,display:"block"}})})});PA.displayName=RA;function _L(e){return e!==null}var AL=e=>({name:"transformOrigin",options:e,fn(t){var b,v,y;const{placement:n,rects:r,middlewareData:o}=t,a=((b=o.arrow)==null?void 0:b.centerOffset)!==0,l=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[d,u]=zA(n),p={start:"0%",center:"50%",end:"100%"}[u],f=(((v=o.arrow)==null?void 0:v.x)??0)+l/2,h=(((y=o.arrow)==null?void 0:y.y)??0)+c/2;let g="",m="";return d==="bottom"?(g=a?p:`${f}px`,m=`${-c}px`):d==="top"?(g=a?p:`${f}px`,m=`${r.floating.height+c}px`):d==="right"?(g=`${-c}px`,m=a?p:`${h}px`):d==="left"&&(g=`${r.floating.width+c}px`,m=a?p:`${h}px`),{data:{x:g,y:m}}}});function zA(e){const[t,n="center"]=e.split("-");return[t,n]}var IA=EA,OA=_A,DA=AA,WA=PA,[Py,bie]=Pi("Tooltip",[Ry]),zy=Ry(),$A="TooltipProvider",RL=700,ob="tooltip.open",[PL,Zw]=Py($A),LA=e=>{const{__scopeTooltip:t,delayDuration:n=RL,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,a=x.useRef(!0),l=x.useRef(!1),c=x.useRef(0);return x.useEffect(()=>{const d=c.current;return()=>window.clearTimeout(d)},[]),s.jsx(PL,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:x.useCallback(()=>{window.clearTimeout(c.current),a.current=!1},[]),onClose:x.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:x.useCallback(d=>{l.current=d},[]),disableHoverableContent:o,children:i})};LA.displayName=$A;var gp="Tooltip",[zL,nf]=Py(gp),MA=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o,onOpenChange:i,disableHoverableContent:a,delayDuration:l}=e,c=Zw(gp,e.__scopeTooltip),d=zy(t),[u,p]=x.useState(null),f=za(),h=x.useRef(0),g=a??c.disableHoverableContent,m=l??c.delayDuration,b=x.useRef(!1),[v,y]=ql({prop:r,defaultProp:o??!1,onChange:k=>{k?(c.onOpen(),document.dispatchEvent(new CustomEvent(ob))):c.onClose(),i==null||i(k)},caller:gp}),w=x.useMemo(()=>v?b.current?"delayed-open":"instant-open":"closed",[v]),j=x.useCallback(()=>{window.clearTimeout(h.current),h.current=0,b.current=!1,y(!0)},[y]),S=x.useCallback(()=>{window.clearTimeout(h.current),h.current=0,y(!1)},[y]),N=x.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{b.current=!0,y(!0),h.current=0},m)},[m,y]);return x.useEffect(()=>()=>{h.current&&(window.clearTimeout(h.current),h.current=0)},[]),s.jsx(IA,{...d,children:s.jsx(zL,{scope:t,contentId:f,open:v,stateAttribute:w,trigger:u,onTriggerChange:p,onTriggerEnter:x.useCallback(()=>{c.isOpenDelayedRef.current?N():j()},[c.isOpenDelayedRef,N,j]),onTriggerLeave:x.useCallback(()=>{g?S():(window.clearTimeout(h.current),h.current=0)},[S,g]),onOpen:j,onClose:S,disableHoverableContent:g,children:n})})};MA.displayName=gp;var ib="TooltipTrigger",BA=x.forwardRef((e,t)=>
vendor: 5,493 bytes, line 321
321{const{__scopeTooltip:n,...r}=e,o=nf(ib,n),i=Zw(ib,n),a=zy(n),l=x.useRef(null),c=it(t,l,o.onTriggerChange),d=x.useRef(!1),u=x.useRef(!1),p=x.useCallback(()=>d.current=!1,[]);return x.useEffect(()=>()=>document.removeEventListener("pointerup",p),[p]),s.jsx(OA,{asChild:!0,...a,children:s.jsx(We.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:Te(e.onPointerMove,f=>{f.pointerType!=="touch"&&!u.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),u.current=!0)}),onPointerLeave:Te(e.onPointerLeave,()=>{o.onTriggerLeave(),u.current=!1}),onPointerDown:Te(e.onPointerDown,()=>{o.open&&o.onClose(),d.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:Te(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:Te(e.onBlur,o.onClose),onClick:Te(e.onClick,o.onClose)})})});BA.displayName=ib;var Qw="TooltipPortal",[IL,OL]=Py(Qw,{forceMount:void 0}),FA=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=nf(Qw,t);return s.jsx(IL,{scope:t,forceMount:n,children:s.jsx(zi,{present:n||i.open,children:s.jsx(Zp,{asChild:!0,container:o,children:r})})})};FA.displayName=Qw;var Jd="TooltipContent",HA=x.forwardRef((e,t)=>{const n=OL(Jd,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=nf(Jd,e.__scopeTooltip);return s.jsx(zi,{present:r||a.open,children:a.disableHoverableContent?s.jsx(VA,{side:o,...i,ref:t}):s.jsx(DL,{side:o,...i,ref:t})})}),DL=x.forwardRef((e,t)=>{const n=nf(Jd,e.__scopeTooltip),r=Zw(Jd,e.__scopeTooltip),o=x.useRef(null),i=it(t,o),[a,l]=x.useState(null),{trigger:c,onClose:d}=n,u=o.current,{onPointerInTransitChange:p}=r,f=x.useCallback(()=>{l(null),p(!1)},[p]),h=x.useCallback((g,m)=>{const b=g.currentTarget,v={x:g.clientX,y:g.clientY},y=BL(v,b.getBoundingClientRect()),w=FL(v,y),j=HL(m.getBoundingClientRect()),S=UL([...w,...j]);l(S),p(!0)},[p]);return x.useEffect(()=>()=>f(),[f]),x.useEffect(()=>{if(c&&u){const g=b=>h(b,u),m=b=>h(b,c);return c.addEventListener("pointerleave",g),u.addEventListener("pointerleave",m),()=>{c.removeEventListener("pointerleave",g),u.removeEventListener("pointerleave",m)}}},[c,u,h,f]),x.useEffect(()=>{if(a){const g=m=>{const b=m.target,v={x:m.clientX,y:m.clientY},y=(c==null?void 0:c.contains(b))||(u==null?void 0:u.contains(b)),w=!VL(v,a);y?f():w&&(f(),d())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[c,u,a,d,f]),s.jsx(VA,{...e,ref:i})}),[WL,$L]=Py(gp,{isInside:!1}),LL=j4("TooltipContent"),VA=x.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...l}=e,c=nf(Jd,n),d=zy(n),{onClose:u}=c;return x.useEffect(()=>(document.addEventListener(ob,u),()=>document.removeEventListener(ob,u)),[u]),x.useEffect(()=>{if(c.trigger){const p=f=>{const h=f.target;h!=null&&h.contains(c.trigger)&&u()};return window.addEventListener("scroll",p,{capture:!0}),()=>window.removeEventListener("scroll",p,{capture:!0})}},[c.trigger,u]),s.jsx(Kp,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:p=>p.preventDefault(),onDismiss:u,children:s.jsxs(DA,{"data-state":c.stateAttribute,...d,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[s.jsx(LL,{children:r}),s.jsx(WL,{scope:n,isInside:!0,children:s.jsx(rD,{id:c.contentId,role:"tooltip",children:o||r})})]})})});HA.displayName=Jd;var UA="TooltipArrow",ML=x.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=zy(n);return $L(UA,n).isInside?null:s.jsx(WA,{...o,...r,ref:t})});ML.displayName=UA;function BL(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function FL(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function HL(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function VL(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const l=t[i],c=t[a],d=l.x,u=l.y,p=c.x,f=c.y;u>r!=f>r&&n<(p-d)*(r-u)/(f-u)+d&&(o=!o)}return o}function UL(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),GL(t)}function GL(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var YL=LA,qL=MA,KL=BA,ZL=FA,GA=HA;const QL=YL,bk=qL,wk=KL,ab=x.forwardRef(({className:e,sideOffset:t=8,...n},r)=>
vendor: 9,084 bytes, line 321
321s.jsx(ZL,{children:s.jsx(GA,{ref:r,sideOffset:t,className:Ce("z-50 overflow-hidden rounded-lg border border-border bg-white px-4 py-3 text-sm text-foreground shadow-lg max-w-[280px] leading-relaxed","animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));ab.displayName=GA.displayName;var pu=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Zl=typeof window>"u"||"Deno"in globalThis;function us(){}function JL(e,t){return typeof e=="function"?e(t):e}function lb(e){return typeof e=="number"&&e>=0&&e!==1/0}function YA(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ia(e,t){return typeof e=="function"?e(t):e}function pr(e,t){return typeof e=="function"?e(t):e}function jk(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:l}=e;if(a){if(r){if(t.queryHash!==Jw(a,t.options))return!1}else if(!yp(t.queryKey,a))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||i&&!i(t))}function Sk(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Ql(t.options.mutationKey)!==Ql(i))return!1}else if(!yp(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Jw(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ql)(e)}function Ql(e){return JSON.stringify(e,(t,n)=>cb(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function yp(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>yp(e[n],t[n])):!1}function qA(e,t){if(e===t)return e;const n=kk(e)&&kk(t);if(n||cb(e)&&cb(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),a=i.length,l=n?[]:{},c=new Set(r);let d=0;for(let u=0;u<a;u++){const p=n?u:i[u];(!n&&c.has(p)||n)&&e[p]===void 0&&t[p]===void 0?(l[p]=void 0,d++):(l[p]=qA(e[p],t[p]),l[p]===e[p]&&e[p]!==void 0&&d++)}return o===a&&d===o?e:l}return t}function Rg(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function kk(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function cb(e){if(!Tk(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Tk(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Tk(e){return Object.prototype.toString.call(e)==="[object Object]"}function XL(e){return new Promise(t=>{setTimeout(t,e)})}function db(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?qA(e,t):t}function eM(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function tM(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Xw=Symbol();function KA(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Xw?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function ZA(e,t){return typeof e=="function"?e(...t):!!e}var Rl,da,Rd,HE,nM=(HE=class extends pu{constructor(){super();ge(this,Rl);ge(this,da);ge(this,Rd);te(this,Rd,t=>{if(!Zl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,da)||this.setEventListener(A(this,Rd))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,da))==null||t.call(this),te(this,da,void 0))}setEventListener(t){var n;te(this,Rd,t),(n=A(this,da))==null||n.call(this),te(this,da,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){A(this,Rl)!==t&&(te(this,Rl,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof A(this,Rl)=="boolean"?A(this,Rl):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Rl=new WeakMap,da=new WeakMap,Rd=new WeakMap,HE),ej=new nM,Pd,ua,zd,VE,sM=(VE=class extends pu{constructor(){super();ge(this,Pd,!0);ge(this,ua);ge(this,zd);te(this,zd,t=>{if(!Zl&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){A(this,ua)||this.setEventListener(A(this,zd))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,ua))==null||t.call(this),te(this,ua,void 0))}setEventListener(t){var n;te(this,zd,t),(n=A(this,ua))==null||n.call(this),te(this,ua,t(this.setOnline.bind(this)))}setOnline(t){A(this,Pd)!==t&&(te(this,Pd,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return A(this,Pd)}},Pd=new WeakMap,ua=new WeakMap,zd=new WeakMap,VE),Pg=new sM;function ub(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function rM(e){return Math.min(1e3*2**e,3e4)}function QA(e){return(e??"online")==="online"?Pg.isOnline():!0}var JA=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Lx(e){return e instanceof JA}function XA(e){let t=!1,n=0,r=!1,o;const i=ub(),a=m=>{var b;r||(f(new JA(m)),(b=e.abort)==null||b.call(e))},l=()=>{t=!0},c=()=>{t=!1},d=()=>ej.isFocused()&&(e.networkMode==="always"||Pg.isOnline())&&e.canRun(),u=()=>QA(e.networkMode)&&e.canRun(),p=m=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,m),o==null||o(),i.resolve(m))},f=m=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,m),o==null||o(),i.reject(m))},h=()=>new Promise(m=>{var b;o=v=>{(r||d())&&m(v)},(b=e.onPause)==null||b.call(e)}).then(()=>{var m;o=void 0,r||(m=e.onContinue)==null||m.call(e)}),g=()=>{if(r)return;let m;const b=n===0?e.initialPromise:void 0;try{m=b??e.fn()}catch(v){m=Promise.reject(v)}Promise.resolve(m).then(p).catch(v=>{var N;if(r)return;const y=e.retry??(Zl?0:3),w=e.retryDelay??rM,j=typeof w=="function"?w(n,v):w,S=y===!0||typeof y=="number"&&n<y||typeof y=="function"&&y(n,v);if(t||!S){f(v);return}n++,(N=e.onFail)==null||N.call(e,n,v),XL(j).then(()=>d()?void 0:h()).then(()=>{t?f(v):g()})})};return{promise:i,cancel:a,continue:()=>(o==null||o(),i),cancelRetry:l,continueRetry:c,canStart:u,start:()=>(u()?g():h().then(g),i)}}var oM=e=>setTimeout(e,0);function iM(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=oM;const i=l=>{t?e.push(l):o(()=>{n(l)})},a=()=>{const l=e;e=[],l.length&&o(()=>{r(()=>{l.forEach(c=>{n(c)})})})};return{batch:l=>{let c;t++;try{c=l()}finally{t--,t||a()}return c},batchCalls:l=>(...c)=>{i(()=>{l(...c)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var pn=iM(),Pl,UE,e3=(UE=class{constructor(){ge(this,Pl)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),lb(this.gcTime)&&te(this,Pl,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Zl?1/0:5*60*1e3))}clearGcTimeout(){A(this,Pl)&&(clearTimeout(A(this,Pl)),te(this,Pl,void 0))}},Pl=new WeakMap,UE),Id,zl,cr,Il,Un,Lp,Ol,Yr,oi,GE,aM=(GE=class extends e3{constructor(t){super();ge(this,Yr);ge(this,Id);ge(this,zl);ge(this,cr);ge(this,Il);ge(this,Un);ge(this,Lp);ge(this,Ol);te(this,Ol,!1),te(this,Lp,t.defaultOptions),this.setOptions(t.options),this.observers=[],te(this,Il,t.client),te(this,cr,A(this,Il).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,te(this,Id,lM(this.options)),this.state=t.state??A(this,Id),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=A(this,Un))==null?void 0:t.promise}setOptions(t){this.options={...A(this,Lp),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,cr).remove(this)}setData(t,n){const r=db(this.state.data,t,this.options);return Oe(this,Yr,oi).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Oe(this,Yr,oi).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=A(this,Un))==null?void 0:r.promise;return(o=A(this,Un))==null||o.cancel(t),n?n.then(us).catch(us):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(A(this,Id))}isActive(){return this.observers.some(t=>pr(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Xw||this.state.dataUpdateCount+this.state.errorUpdate
vendor: 1,274 bytes, line 321
321Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Ia(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!YA(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,Un))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,Un))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),A(this,cr).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(A(this,Un)&&(A(this,Ol)?A(this,Un).cancel({revert:!0}):A(this,Un).cancelRetry()),this.scheduleGc()),A(this,cr).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Oe(this,Yr,oi).call(this,{type:"invalidate"})}
vendor: 26,549 bytes, line 321
321fetch(t,n){var d,u,p;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,Un))return A(this,Un).continueRetry(),A(this,Un).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(h=>h.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(te(this,Ol,!0),r.signal)})},i=()=>{const f=KA(this.options,n),g=(()=>{const m={client:A(this,Il),queryKey:this.queryKey,meta:this.meta};return o(m),m})();return te(this,Ol,!1),this.options.persister?this.options.persister(f,g,this):f(g)},l=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,Il),state:this.state,fetchFn:i};return o(f),f})();(d=this.options.behavior)==null||d.onFetch(l,this),te(this,zl,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=l.fetchOptions)==null?void 0:u.meta))&&Oe(this,Yr,oi).call(this,{type:"fetch",meta:(p=l.fetchOptions)==null?void 0:p.meta});const c=f=>{var h,g,m,b;Lx(f)&&f.silent||Oe(this,Yr,oi).call(this,{type:"error",error:f}),Lx(f)||((g=(h=A(this,cr).config).onError)==null||g.call(h,f,this),(b=(m=A(this,cr).config).onSettled)==null||b.call(m,this.state.data,f,this)),this.scheduleGc()};return te(this,Un,XA({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var h,g,m,b;if(f===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(v){c(v);return}(g=(h=A(this,cr).config).onSuccess)==null||g.call(h,f,this),(b=(m=A(this,cr).config).onSettled)==null||b.call(m,f,this.state.error,this),this.scheduleGc()},onError:c,onFail:(f,h)=>{Oe(this,Yr,oi).call(this,{type:"failed",failureCount:f,error:h})},onPause:()=>{Oe(this,Yr,oi).call(this,{type:"pause"})},onContinue:()=>{Oe(this,Yr,oi).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),A(this,Un).start()}},Id=new WeakMap,zl=new WeakMap,cr=new WeakMap,Il=new WeakMap,Un=new WeakMap,Lp=new WeakMap,Ol=new WeakMap,Yr=new WeakSet,oi=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...t3(r.data,this.options),fetchMeta:t.meta??null};case"success":return te(this,zl,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Lx(o)&&o.revert&&A(this,zl)?{...A(this,zl),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),pn.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),A(this,cr).notify({query:this,type:"updated",action:t})})},GE);function t3(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:QA(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function lM(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Ao,YE,cM=(YE=class extends pu{constructor(t={}){super();ge(this,Ao);this.config=t,te(this,Ao,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??Jw(o,n);let a=this.get(i);return a||(a=new aM({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(a)),a}add(t){A(this,Ao).has(t.queryHash)||(A(this,Ao).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=A(this,Ao).get(t.queryHash);n&&(t.destroy(),n===t&&A(this,Ao).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){pn.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return A(this,Ao).get(t)}getAll(){return[...A(this,Ao).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>jk(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>jk(t,r)):n}notify(t){pn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){pn.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){pn.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ao=new WeakMap,YE),Ro,is,Dl,Po,Ki,qE,dM=(qE=class extends e3{constructor(t){super();ge(this,Po);ge(this,Ro);ge(this,is);ge(this,Dl);this.mutationId=t.mutationId,te(this,is,t.mutationCache),te(this,Ro,[]),this.state=t.state||n3(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){A(this,Ro).includes(t)||(A(this,Ro).push(t),this.clearGcTimeout(),A(this,is).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){te(this,Ro,A(this,Ro).filter(n=>n!==t)),this.scheduleGc(),A(this,is).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,Ro).length||(this.state.status==="pending"?this.scheduleGc():A(this,is).remove(this))}continue(){var t;return((t=A(this,Dl))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,a,l,c,d,u,p,f,h,g,m,b,v,y,w,j,S,N,k,T;const n=()=>{Oe(this,Po,Ki).call(this,{type:"continue"})};te(this,Dl,XA({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(C,R)=>{Oe(this,Po,Ki).call(this,{type:"failed",failureCount:C,error:R})},onPause:()=>{Oe(this,Po,Ki).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,is).canRun(this)}));const r=this.state.status==="pending",o=!A(this,Dl).canStart();try{if(r)n();else{Oe(this,Po,Ki).call(this,{type:"pending",variables:t,isPaused:o}),await((a=(i=A(this,is).config).onMutate)==null?void 0:a.call(i,t,this));const R=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t));R!==this.state.context&&Oe(this,Po,Ki).call(this,{type:"pending",context:R,variables:t,isPaused:o})}const C=await A(this,Dl).start();return await((u=(d=A(this,is).config).onSuccess)==null?void 0:u.call(d,C,t,this.state.context,this)),await((f=(p=this.options).onSuccess)==null?void 0:f.call(p,C,t,this.state.context)),await((g=(h=A(this,is).config).onSettled)==null?void 0:g.call(h,C,null,this.state.variables,this.state.context,this)),await((b=(m=this.options).onSettled)==null?void 0:b.call(m,C,null,t,this.state.context)),Oe(this,Po,Ki).call(this,{type:"success",data:C}),C}catch(C){try{throw await((y=(v=A(this,is).config).onError)==null?void 0:y.call(v,C,t,this.state.context,this)),await((j=(w=this.options).onError)==null?void 0:j.call(w,C,t,this.state.context)),await((N=(S=A(this,is).config).onSettled)==null?void 0:N.call(S,void 0,C,this.state.variables,this.state.context,this)),await((T=(k=this.options).onSettled)==null?void 0:T.call(k,void 0,C,t,this.state.context)),C}finally{Oe(this,Po,Ki).call(this,{type:"error",error:C})}}finally{A(this,is).runNext(this)}}},Ro=new WeakMap,is=new WeakMap,Dl=new WeakMap,Po=new WeakSet,Ki=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),pn.batch(()=>{A(this,Ro).forEach(r=>{r.onMutationUpdate(t)}),A(this,is).notify({mutation:this,type:"updated",action:t})})},qE);function n3(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var fi,qr,Mp,KE,uM=(KE=class extends pu{constructor(t={}){super();ge(this,fi);ge(this,qr);ge(this,Mp);this.config=t,te(this,fi,new Set),te(this,qr,new Map),te(this,Mp,0)}build(t,n,r){const o=new dM({mutationCache:this,mutationId:++yf(this,Mp)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){A(this,fi).add(t);const n=Bf(t);if(typeof n=="string"){const r=A(this,qr).get(n);r?r.push(t):A(this,qr).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(A(this,fi).delete(t)){const n=Bf(t);if(typeof n=="string"){const r=A(this,qr).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&A(this,qr).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Bf(t);if(typeof n=="string"){const r=A(this,qr).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=Bf(t);if(typeof n=="string"){const o=(r=A(this,qr).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){pn.batch(()=>{A(this,fi).forEach(t=>{this.notify({type:"removed",mutation:t})}),A(this,fi).clear(),A(this,qr).clear()})}getAll(){return Array.from(A(this,fi))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Sk(n,r))}findAll(t={}){return this.getAll().filter(n=>Sk(t,n))}notify(t){pn.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return pn.batch(()=>Promise.all(t.map(n=>n.continue().catch(us))))}},fi=new WeakMap,qr=new WeakMap,Mp=new WeakMap,KE);function Bf(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Nk(e){return{onFetch:(t,n)=>{var u,p,f,h,g;const r=t.options,o=(f=(p=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:p.fetchMore)==null?void 0:f.direction,i=((h=t.state.data)==null?void 0:h.pages)||[],a=((g=t.state.data)==null?void 0:g.pageParams)||[];let l={pages:[],pageParams:[]},c=0;const d=async()=>{let m=!1;const b=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},v=KA(t.options,t.fetchOptions),y=async(w,j,S)=>{if(m)return Promise.reject();if(j==null&&w.pages.length)return Promise.resolve(w);const k=(()=>{const L={client:t.client,queryKey:t.queryKey,pageParam:j,direction:S?"backward":"forward",meta:t.options.meta};return b(L),L})(),T=await v(k),{maxPages:C}=t.options,R=S?tM:eM;return{pages:R(w.pages,T,C),pageParams:R(w.pageParams,j,C)}};if(o&&i.length){const w=o==="backward",j=w?hM:Ek,S={pages:i,pageParams:a},N=j(r,S);l=await y(S,N,w)}else{const w=e??i.length;do{const j=c===0?a[0]??r.initialPageParam:Ek(r,l);if(c>0&&j==null)break;l=await y(l,j),c++}while(c<w)}return l};t.options.persister?t.fetchFn=()=>{var m,b;return(b=(m=t.options).persister)==null?void 0:b.call(m,d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=d}}}function Ek(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function hM(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var $t,ha,pa,Od,Dd,fa,Wd,$d,ZE,pM=(ZE=class{constructor(e={}){ge(this,$t);ge(this,ha);ge(this,pa);ge(this,Od);ge(this,Dd);ge(this,fa);ge(this,Wd);ge(this,$d);te(this,$t,e.queryCache||new cM),te(this,ha,e.mutationCache||new uM),te(this,pa,e.defaultOptions||{}),te(this,Od,new Map),te(this,Dd,new Map),te(this,fa,0)}mount(){yf(this,fa)._++,A(this,fa)===1&&(te(this,Wd,ej.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,$t).onFocus())})),te(this,$d,Pg.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,$t).onOnline())})))}unmount(){var e,t;yf(this,fa)._--,A(this,fa)===0&&((e=A(this,Wd))==null||e.call(this),te(this,Wd,void 0),(t=A(this,$d))==null||t.call(this),te(this,$d,void 0))}isFetching(e){return A(this,$t).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,ha).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,$t).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=A(this,$t).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Ia(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return A(this,$t).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=A(this,$t).get(r.queryHash),i=o==null?void 0:o.state.data,a=JL(t,i);if(a!==void 0)return A(this,$t).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return pn.batch(()=>A(this,$t).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,$t).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=A(this,$t);pn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,$t);return pn.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=pn.batch(()=>A(this,$t).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(us).catch(us)}invalidateQueries(e,t={}){return pn.batch(()=>(A(this,$t).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=pn.batch(()=>A(this,$t).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(us)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(us)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=A(this,$t).build(this,t);return n.isStaleByTime(Ia(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(us).catch(us)}fetchInfiniteQuery(e){return e.behavior=Nk(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(us).catch(us)}ensureInfiniteQueryData(e){return e.behavior=Nk(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Pg.isOnline()?A(this,ha).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,$t)}getMutationCache(){return A(this,ha)}getDefaultOptions(){return A(this,pa)}setDefaultOptions(e){te(this,pa,e)}setQueryDefaults(e,t){A(this,Od).set(Ql(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,Od).values()],n={};return t.forEach(r=>{yp(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){A(this,Dd).set(Ql(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,Dd).values()],n={};return t.forEach(r=>{yp(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...A(this,pa).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Jw(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Xw&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,pa).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,$t).clear(),A(this,ha).clear()}},$t=new WeakMap,ha=new WeakMap,pa=new WeakMap,Od=new WeakMap,Dd=new WeakMap,fa=new WeakMap,Wd=new WeakMap,$d=new WeakMap,ZE),Ns,Ue,Bp,as,Wl,Ld,ma,ga,Fp,Md,Bd,$l,Ll,ya,Fd,ot,bh,hb,pb,fb,mb,gb,yb,xb,s3,QE,fM=(QE=class extends pu{constructor(t,n){super();ge(this,ot);ge(this,Ns);ge(this,Ue);ge(this,Bp);ge(this,as);ge(this,Wl);ge(this,Ld);ge(this,ma);ge(this,ga);ge(this,Fp);ge(this,Md);ge(this,Bd);ge(this,$l);ge(this,Ll);ge(this,ya);ge(this,Fd,new Set);this.options=n,te(this,Ns,t),te(this,ga,null),te(this,ma,ub()),this.options.experimental_prefetchInRender||A(this,ma).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(A(this,Ue).addObserver(this),Ck(A(this,Ue),this.options)?Oe(this,ot,bh).call(this):this.updateResult(),Oe(this,ot,mb).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return vb(A(this,Ue),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return vb(A(this,Ue),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Oe(this,ot,gb).call(this),Oe(this,ot,yb).call(this),A(this,Ue).removeObserver(this)}setOptions(t){const n=this.options,r=A(this,Ue);if(this.options=A(this,Ns).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof pr(this.options.enabled,A(this,Ue))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Oe(this,ot,xb).call(this),A(this,Ue).setOptions(this.options),n._defaulted&&!Rg(this.options,n)&&A(this,Ns).getQueryCache().notify({type:"observerOptionsUpdated",query:A(this,Ue),observer:this});const o=this.hasListeners();o&&_k(A(this,Ue),r,this.options,n)&&Oe(this,ot,bh).call(this),this.updateResult(),o&&(A(this,Ue)!==r||pr(this.options.enabled,A(this,Ue))!==pr(n.enabled,A(this,Ue))||Ia(this.options.staleTime,A(this,Ue))!==Ia(n.staleTime,A(this,Ue)))&&Oe(this,ot,hb).call(this);const i=Oe(this,ot,pb).call(this);o&&(A(this,Ue)!==r||pr(this.options.enabled,A(this,Ue))!==pr(n.enabled,A(this,Ue))||i!==A(this,ya))&&Oe(this,ot,fb).call(this,i)}getOptimisticResult(t){const n=A(this,Ns).getQueryCache().build(A(this,Ns),t),r=this.createResult(n,t);return gM(this,r)&&(te(this,as,r),te(this,Ld,this.options),te(this,Wl,A(this,Ue).state)),r}getCurrentResult(){return A(this,as)}trackResult(t,n){return new Proxy(t,{get:(r,o)=>(this.trackProp(o),n==null||n(o),Reflect.get(r,o))})}trackProp(t){A(this,Fd).add(t)}getCurrentQuery(){return A(this,Ue)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=A(this,Ns).defaultQueryOptions(t),r=A(this,Ns).getQueryCache().build(A(this,Ns),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return Oe(this,ot,bh).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),A(this,as)))}createResult(t,n){var C;const r=A(this,Ue),o=this.options,i=A(this,as),a=A(this,Wl),l=A(this,Ld),d=t!==r?t.state:A(this,Bp),{state:u}=t;let p={...u},f=!1,h;if(n._optimisticResults){const R=this.hasListeners(),L=!R&&Ck(t,n),I=R&&_k(t,r,n,o);(L||I)&&(p={...p,...t3(u.data,t.options)}),n._optimisticResults==="isRestoring"&&(p.fetchStatus="idle")}let{error:g,errorUpdatedAt:m,status:b}=p;h=p.data;let v=!1;if(n.placeholderData!==void 0&&h===void 0&&b==="pending"){let R;i!=null&&i.isPlaceholderData&&n.placeholderData===(l==null?void 0:l.placeholderData)?(R=i.data,v=!0):R=typeof n.placeholderData=="function"?n.placeholderData((C=A(this,Bd))==null?void 0:C.state.data,A(this,Bd)):n.placeholderData,R!==void 0&&(b="success",h=db(i==null?void 0:i.data,R,n),f=!0)}if(n.select&&h!==void 0&&!v)if(i&&h===(a==null?void 0:a.data)&&n.select===A(this,Fp))h=A(this,Md);else try{te(this,Fp,n.select),h=n.select(h),h=db(i==null?void 0:i.data,h,n),te(this,Md,h),te(this,ga,null)}catch(R){te(this,ga,R)}A(this,ga)&&(g=A(this,ga),h=A(this,Md),m=Date.now(),b="error");const y=p.fetchStatus==="fetching",w=b==="pending",j=b==="error",S=w&&y,N=h!==void 0,T={status:b,fetchStatus:p.fetchStatus,isPending:w,isSuccess:b==="success",isError:j,isInitialLoading:S,isLoading:S,data:h,dataUpdatedAt:p.dataUpdatedAt,error:g,errorUpdatedAt:m,failureCount:p.fetchFailureCount,failureReason:p.fetchFailureReason,errorUpdateCount:p.errorUpdateCount,isFetched:p.dataUpdateCount>0||p.errorUpdateCount>0,isFetchedAfterMount:p.dataUpdateCount>d.dataUpdateCount||p.errorUpdateCount>d.errorUpdateCount,isFetching:y,isRefetching:y&&!w,isLoadingError:j&&!N,isPaused:p.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:j&&N,isStale:tj(t,n),refetch:this.refetch,promise:A(this,ma),isEnabled:pr(n.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const R=F=>{T.status==="error"?F.reject(T.error):T.data!==void 0&&F.resolve(T.data)},L=()=>{const F=te(this,ma,T.promise=ub());R(F)},I=A(this,ma);switch(I.status){case"pending":t.queryHash===r.queryHash&&R(I);break;case"fulfilled":(T.status==="error"||T.data!==I.value)&&L();break;case"rejected":(T.status!=="error"||T.error!==I.reason)&&L();break}}return T}updateResult(){const t=A(this,as),n=this.createResult(A(this,Ue),this.options);if(te(this,Wl,A(this,Ue).state),te(this,Ld,this.options),A(this,Wl).data!==void 0&&te(this,Bd,A(this,Ue)),Rg(n,t))return;te(this,as,n);const r=()=>{if(!t)return!0;const{notifyOnChangeProps:o}=this.options,i=typeof o=="function"?o():o;if(i==="all"||!i&&!A(this,Fd).size)return!0;const a=new Set(i??A(this,Fd));return this.options.throwOnError&&a.add("error"),Object.keys(A(this,as)).some(l=>{const c=l;return A(this,as)[c]!==t[c]&&a.has(c)})};Oe(this,ot,s3).call(this,{listeners:r()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Oe(this,ot,mb).call(this)}},Ns=new WeakMap,Ue=new WeakMap,Bp=new WeakMap,as=new WeakMap,Wl=new WeakMap,Ld=new WeakMap,ma=new WeakMap,ga=new WeakMap,Fp=new WeakMap,Md=new WeakMap,Bd=new WeakMap,$l=new WeakMap,Ll=new WeakMap,ya=new WeakMap,Fd=new WeakMap,ot=new WeakSet,bh=function(t){Oe(this,ot,xb).call(this);let n=A(this,Ue).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(us)),n},hb=function(){Oe(this,ot,gb).call(this);const t=Ia(this.options.staleTime,A(this,Ue));if(Zl||A(this,as).isStale||!lb(t))return;const r=YA(A(this,as).dataUpdatedAt,t)+1;te(this,$l,setTimeout(()=>{A(this,as).isStale||this.updateResult()},r))},pb=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(A(this,Ue)):this.options.refetchInterval)??!1},fb=function(t){Oe(this,ot,yb).call(this),te(this,ya,t),!(Zl||pr(this.options.enabled,A(this,Ue))===!1||!lb(A(this,ya))||A(this,ya)===0)&&te(this,Ll,setInterval(()=>{(this.options.refetchIntervalInBackground||ej.isFocused())&&Oe(this,ot,bh).call(this)},A(this,ya)))},mb=function(){Oe(this,ot,hb).call(this),Oe(this,ot,fb).call(this,Oe(this,ot,pb).call(this))},gb=function(){A(this,$l)&&(clearTimeout(A(this,$l)),te(this,$l,void 0))},yb=function(){A(this,Ll)&&(clearInterval(A(this,Ll)),te(this,Ll,void 0))},xb=function(){const t=A(this,Ns).getQueryCache().build(A(this,Ns),this.options);if(t===A(this,Ue))return;const n=A(this,Ue);te(this,Ue,t),te(this,Bp,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},s3=function(t){pn.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(A(this,as))}),A(this,Ns).getQueryCache().notify({query:A(this,Ue),type:"observerResultsUpdated"})})},QE);function mM(e,t){return pr(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Ck(e,t){return mM(e,t)||e.state.data!==void 0&&vb(e,t,t.refetchOnMount)}function vb(e,t,n){if(pr(t.enabled,e)!==!1&&Ia(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&tj(e,t)}return!1}function _k(e,t,n,r){return(e!==t||pr(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&tj(e,n)}function tj(e,t){return pr(t.enabled,e)!==!1&&e.isStaleByTime(Ia(t.staleTime,e))}function gM(e,t){return!Rg(e.getCurrentResult(),t)}var xa,va,Es,mi,ji,Lm,bb,JE,yM=(JE=class extends pu{constructor(n,r){super();ge(this,ji);ge(this,xa);ge(this,va);ge(this,Es);ge(this,mi);te(this,xa,n),this.setOptions(r),this.bindMethods(),Oe(this,ji,Lm).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var o;const r=this.options;this.options=A(this,xa).defaultMutationOptions(n),Rg(this.options,r)||A(this,xa).getMutationCache().notify({type:"observerOptionsUpdated",mutation:A(this,Es),observer:this}),r!=null&&r.mutationKey&&this.options.mutationKey&&Ql(r.mutationKey)!==Ql(this.options.mutationKey)?this.reset():((o=A(this,Es))==null?void 0:o.state.status)==="pending"&&A(this,Es).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=A(this,Es))==null||n.removeObserver(this)}onMutationUpdate(n){Oe(this,ji,Lm).call(this),Oe(this,ji,bb).call(this,n)}getCurrentResult(){return A(this,va)}reset(){var n;(n=A(this,Es))==null||n.removeObserver(this),te(this,Es,void 0),Oe(this,ji,Lm).call(this),Oe(this,ji,bb).call(this)}mutate(n,r){var o;return te(this,mi,r),(o=A(this,Es))==null||o.removeObserver(this),te(this,Es,A(this,xa).getMutationCache().build(A(this,xa),this.options)),A(this,Es).addObserver(this),A(this,Es).execute(n)}},xa=new WeakMap,va=new WeakMap,Es=new WeakMap,mi=new WeakMap,ji=new WeakSet,Lm=function(){var r;const n=((r=A(this,Es))==null?void 0:r.state)??n3();te(this,va,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},bb=function(n){pn.batch(()=>{var r,o,i,a,l,c,d,u;if(A(this,mi)&&this.hasListeners()){const p=A(this,va).variables,f=A(this,va).context;(n==null?void 0:n.type)==="success"?((o=(r=A(this,mi)).onSuccess)==null||o.call(r,n.data,p,f),(a=(i=A(this,mi)).onSettled)==null||a.call(i,n.data,null,p,f)):(n==null?void 0:n.type)==="error"&&((c=(l=A(this,mi)).onError)==null||c.call(l,n.error,p,f),(u=(d=A(this,mi)).onSettled)==null||u.call(d,void 0,n.error,p,f))}
321this.listeners.forEach(p=>{p(A(this,va))})})},JE),r3=x.createContext(void 0),sf=e=>{const t=x.useContext(r3);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},xM=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),s.jsx(r3.Provider,{value:e,children:t})),o3=x.createContext(!1),vM=()=>x.useContext(o3);o3.Provider;function bM(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var wM=x.createContext(bM()),jM=()=>x.useContext(wM),SM=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},kM=e=>{x.useEffect(()=>{e.clearReset()},[e])},TM=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(o&&e.data===void 0||ZA(n,[e.error,r])),NM=e=>{if(e.suspense){const t=r=>r==="static"?r:Math.max(r??1e3,1e3),n=e.staleTime;e.staleTime=typeof n=="function"?(...r)=>t(n(...r)):t(n),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},EM=(e,t)=>e.isLoading&&e.isFetching&&!t,CM=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Ak=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function _M(e,t,n){var p,f,h,g,m;const r=vM(),o=jM(),i=sf(),a=i.defaultQueryOptions(e);(f=(p=i.getDefaultOptions().queries)==null?void 0:p._experimental_beforeQuery)==null||f.call(p,a),a._optimisticResults=r?"isRestoring":"optimistic",NM(a),SM(a,o),kM(o);const l=!i.getQueryCache().get(a.queryHash),[c]=x.useState(()=>new t(i,a)),d=c.getOptimisticResult(a),u=!r&&e.subscribed!==!1;if(x.useSyncExternalStore(x.useCallback(b=>{const v=u?c.subscribe(pn.batchCalls(b)):us;return c.updateResult(),v},[c,u]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),x.useEffect(()=>{c.setOptions(a)},[a,c]),CM(a,d))throw Ak(a,c,o);if(TM({result:d,errorResetBoundary:o,throwOnError:a.throwOnError,query:i.getQueryCache().get(a.queryHash),suspense:a.suspense}))throw d.error;if((g=(h=i.getDefaultOptions().queries)==null?void 0:h._experimental_afterQuery)==null||g.call(h,a,d),a.experimental_prefetchInRender&&!Zl&&E
321M(d,r)){const b=l?Ak(a,c,o):(m=i.getQueryCache().get(a.queryHash))==null?void 0:m.promise;b==null||b.catch(us).finally(()=>{c.updateResult()})}return a.notifyOnChangeProps?d:c.trackResult(d)}function xp(e,t){return _M(e,fM)}function nj(e,t){const n=sf(),[r]=x.useState(()=>new yM(n,e));x.useEffect(()=>{r.setOptions(e)},[r,e]);const o=x.useSyncExternalStore(x.useCallback(a=>r.subscribe(pn.batchCalls(a)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),i=x.useCallback((a,l)=>{r.mutate(a,l).catch(us)},[r]);if(o.error&&ZA(r.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:i,mutateAsync:o.mutate}}/**
322 * @remix-run/router v1.23.0
323 *
324 * Copyright (c) Remix Software Inc.
325 *
326 * This source code is licensed under the MIT license found in the
327 * LICENSE.md file in the root directory of this source tree.
328 *
329 * @license MIT
330 */function vp(){return vp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vp.apply(this,arguments)}var ja;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(ja||(ja={}));const Rk="popstate";function AM(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:a,hash:l}=r.location;return wb("",{pathname:i,search:a,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:zg(o)}return PM(t,n,null,e)}function Ut(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function i3(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function RM(){return Math.random().toString(36).substr(2,8)}function Pk(e,t){return{usr:e.state,key:e.key,idx:t}}function wb(e,t,n,r){return n===void 0&&(n=null),vp({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?fu(t):t,{state:n,key:t&&t.key||r||RM()})}function zg(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function fu(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function PM(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,l=ja.Pop,c=null,d=u();d==null&&(d=0,a.replaceState(vp({},a.state,{idx:d}),""));function u(){return(a.state||{idx:null}).idx}function p(){l=ja.Pop;let b=u(),v=b==null?null:b-d;d=b,c&&c({action:l,location:m.location,delta:v})}function f(b,v){l=ja.Push;let y=wb(m.location,b,v);d=u()+1;let w=Pk(y,d),j=m.createHref(y);try{a.pushState(w,"",j)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;o.location.assign(j)}i&&c&&c({action:l,location:m.location,delta:1})}function h(b,v){l=ja.Replace;let y=wb(m.location,b,v);d=u();let w=Pk(y,d),j=m.createHref(y);a.replaceState(w,"",j),i&&c&&c({action:l,location:m.location,delta:0})}function g(b){let v=o.location.origin!=="null"?o.location.origin:o.location.href,y=typeof b=="string"?b:zg(b);return y=y.replace(/ $/,"%20"),Ut(v,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,v)}let m={get action(){return l},get location(){return e(o,a)},listen(b){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(Rk,p),c=b,()=>{o.removeEventListener(Rk,p),c=null}},createHref(b){return t(o,b)},createURL:g,encodeLocation(b){let v=g(b);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:f,replace:h,go(b){return a.go(b)}};return m}var zk;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(zk||(zk={}));function zM(e,t,n){return n===void 0&&(n="/"),IM(e,t,n,!1)}function IM(e,t,n,r){let o=typeof t=="string"?fu(t):t,i=sj(o.pathname||"/",n);if(i==null)return null;let a=a3(e);OM(a);let l=null;for(let c=0;l==null&&c<a.length;++c){let d=GM(i);l=VM(a[c],d,r)}return l}function a3(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,a,l)=>{let c={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};c.relativePath.startsWith("/")&&(Ut(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not val
330id. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let d=Oa([r,c.relativePath]),u=n.concat(c);i.children&&i.children.length>0&&(Ut(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+d+'".')),a3(i.children,t,u,d)),!(i.path==null&&!i.index)&&t.push({path:d,score:FM(d,i.index),routesMeta:u})};return e.forEach((i,a)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,a);else for(let c of l3(i.path))o(i,a,c)}),t}function l3(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=l3(r.join("/")),l=[];return l.push(...a.map(c=>c===""?i:[i,c].join("/"))),o&&l.push(...a),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function OM(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:HM(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const DM=/^:[\w-]+$/,WM=3,$M=2,LM=1,MM=10,BM=-2,Ik=e=>e==="*";function FM(e,t){let n=e.split("/"),r=n.length;return n.some(Ik)&&(r+=BM),t&&(r+=$M),n.filter(o=>!Ik(o)).reduce((o,i)=>o+(DM.test(i)?WM:i===""?LM:MM),r)}function HM(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function VM(e,t,n){let{routesMeta:r}=e,o={},i="/",a=[];for(let l=0;l<r.length;++l){let c=r[l],d=l===r.length-1,u=i==="/"?t:t.slice(i.length)||"/",p=Ok({path:c.relativePath,caseSensitive:c.caseSensitive,end:d},u),f=c.route;if(!p&&d&&n&&!r[r.length-1].route.index&&(p=Ok({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},u)),!p)return null;
vendor: 9,495 bytes, lines 330-339
330Object.assign(o,p.params),a.push({params:o,pathname:Oa([i,p.pathname]),pathnameBase:ZM(Oa([i,p.pathnameBase])),route:f}),p.pathnameBase!=="/"&&(i=Oa([i,p.pathnameBase]))}return a}function Ok(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=UM(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((d,u,p)=>{let{paramName:f,isOptional:h}=u;if(f==="*"){let m=l[p]||"";a=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}const g=l[p];return h&&!g?d[f]=void 0:d[f]=(g||"").replace(/%2F/g,"/"),d},{}),pathname:i,pathnameBase:a,pattern:e}}function UM(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),i3(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,c)=>(r.push({paramName:l,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function GM(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return i3(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function sj(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function YM(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?fu(e):e;return{pathname:n?n.startsWith("/")?n:qM(n,t):t,search:QM(r),hash:JM(o)}}function qM(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Mx(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function KM(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function rj(e,t){let n=KM(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function oj(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=fu(e):(o=vp({},e),Ut(!o.pathname||!o.pathname.includes("?"),Mx("?","pathname","search",o)),Ut(!o.pathname||!o.pathname.includes("#"),Mx("#","pathname","hash",o)),Ut(!o.search||!o.search.includes("#"),Mx("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,l;if(a==null)l=n;else{let p=t.length-1;if(!r&&a.startsWith("..")){let f=a.split("/");for(;f[0]==="..";)f.shift(),p-=1;o.pathname=f.join("/")}l=p>=0?t[p]:"/"}let c=YM(o,l),d=a&&a!=="/"&&a.endsWith("/"),u=(i||a===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||u)&&(c.pathname+="/"),c}const Oa=e=>e.join("/").replace(/\/\/+/g,"/"),ZM=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),QM=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,JM=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function XM(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const c3=["post","put","patch","delete"];new Set(c3);const e9=["get",...c3];new Set(e9);/**
331 * React Router v6.30.1
332 *
333 * Copyright (c) Remix Software Inc.
334 *
335 * This source code is licensed under the MIT license found in the
336 * LICENSE.md file in the root directory of this source tree.
337 *
338 * @license MIT
339 */function bp(){return bp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bp.apply(this,arguments)}const ij=x.createContext(null),t9=x.createContext(null),qa=x.createContext(null),Iy=x.createContext(null),Ii=x.createContext({outlet:null,matches:[],isDataRoute:!1}),d3=x.createContext(null);function n9(e,t){let{relative:n}=t===void 0?{}:t;mu()||Ut(!1);let{basename:r,navigator:o}=x.useContext(qa),{hash:i,pathname:a,search:l}=h3(e,{relative:n}),c=a;return r!=="/"&&(c=a==="/"?r:Oa([r,a])),o.createHref({pathname:c,search:l,hash:i})}function mu(){return x.useContext(Iy)!=null}function uo(){return mu()||Ut(!1),x.useContext(Iy).location}function u3(e){x.useContext(qa).static||x.useLayoutEffect(e)}function gu(){let{isDataRoute:e}=x.useContext(Ii);return e?g9():s9()}function s9(){mu()||Ut(!1);let e=x.useContext(ij),{basename:t,future:n,navigator:r}=x.useContext(qa),{matches:o}=x.useContext(Ii),{pathname:i}=uo(),a=JSON.stringify(rj(o,n.v7_relativeSplatPath)),l=x.useRef(!1);return u3(()=>{l.current=!0}),x.useCallback(function(d,u){if(u===void 0&&(u={}),!l.current)return;if(typeof d=="number"){r.go(d);return}let p=oj(d,JSON.parse(a),i,u.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Oa([t,p.pathname])),(u.replace?r.replace:r.push)(p,u.state,u)},[t,r,a,i,e])}function r9(){let{matches:e}=x.useContext(Ii),t=e[e.length-1];return t?t.params:{}}function h3(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=x.useContext(qa),{matches:o}=x.useContext(Ii),{pathname:i}=uo(),a=JSON.stringify(rj(o,r.v7_relativeSplatPath));return x.useMemo(()=>oj(e,JSON.parse(a),i,n==="path"),[e,a,i,n])}function o9(e,t){return i9(e,t)}function i9(e,t,n,r){mu()||Ut(!1);let{navigator:o}=x.useContext(qa),{matches:i}=x.useContext(Ii),a=i[i.length-1],l=a?a.params:{};a&&a.pathname;let c=a?a.pathnameBase:"/";a&&a.route;let d=uo(),u;if(t){var p;let b=typeof t=="string"?fu(t):t;c==="/"||(p=b.pathname)!=null&&p.startsWith(c)||Ut(!1),u=b}else u=d;let f=u.pathname||"/",h=f;if(c!=="/"){let b=c.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(b.length).join("/")}let g=zM(e,{pathname:h}),m=u9(g&&g.map(b=>Object.assign({},b,{params:Object.assign({},l,b.params),pathname:Oa([c,o.encodeLocation?o.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:Oa([c,o.encodeLocation?o.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n,r);return t&&m?x.createElement(Iy.Provider,{value:{location:bp({pathname:"/",search:"",hash:"",state:null,key:"default"},u),navigationType:ja.Pop}},m):m}function a9(){let e=m9(),t=XM(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return x.createElement(x.Fragment,null,x.createElement("h2",null,"Unexpected Application Error!"),x.createElement("h3",{style:{fontStyle:"italic"}},t),n?x.createElement("pre",{style:o},n):null,null)}const l9=x.createElement(a9,null);class c9 extends x.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?x.createElement(Ii.Provider,{value:this.props.routeContext},x.createElement(d3.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function d9(e){let{routeContext:t,match:n,children:r}=e,o=x.useContext(ij);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),x.createElement(Ii.Provider,{value:t},r)}function u9(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let u=a.findIndex(p=>p.route.id&&(l==null?void 0:l[p.route.id])!==void 0);u>=0||Ut(!1),a=a.slice(0,Math.min(a.length,u+1))}let c=!1,d=-1;if(n&&r&&r.v7_partialHydration)for(let u=0;u<a.length;u++){let p=a[u];if((p.route.HydrateFallback||p.route.hydrateFallbackElement)&&(d=u),p.route.id){let{loaderData:f,errors:h}=n,g=p.route.loader&&f[p.route.id]===void 0&&(!h||h[p.route.id]===void 0);if(p.route.lazy||g){c=!0,d>=0?a=a.slice(0,d+1):a=[a[0]];break}}}return a.reduceRight((u,p,f)=>{let h,g=!1,m=null,b=null;n&&(h=l&&p.route.id?l[p.route.id]:void 0,m=p.route.errorElement||l9,c&&(d<0&&f===0?(g=!0,b=null):d===f&&(g=!0,b=p.route.hydrateFallbackElement||null)));let v=t.concat(a.slice(0,f+1)),y=()=>{let w;return h?w=m:g?w=b:p.route.Component?w=x.createElement(p.route.Component,null):p.route.element?w=p.route.element:w=u,x.createElement(d9,{match:p,routeContext:{outlet:u,matches:v,isDataRoute:n!=null},children:w})};return n&&(p.route.ErrorBoundary||p.route.errorElement||f===0)?x.createElement(c9,{location:n.location,revalidation:n.revalidation,component:m,error:h,children:y(),routeC
339ontext:{outlet:null,matches:v,isDataRoute:!0}}):y()},null)}var p3=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(p3||{}),Ig=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ig||{});function h9(e){let t=x.useContext(ij);return t||Ut(!1),t}function p9(e){let t=x.useContext(t9);return t||Ut(!1),t}function f9(e){let t=x.useContext(Ii);return t||Ut(!1),t}function f3(e){let t=f9(),n=t.matches[t.matches.length-1];return n.route.id||Ut(!1),n.route.id}function m9(){var e;let t=x.useContext(d3),n=p9(Ig.UseRouteError),r=f3(Ig.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function g9(){let{router:e}=h9(p3.UseNavigateStable),t=f3(Ig.UseNavigateStable),n=x.useRef(!1);return u3(()=>{n.current=!0}),x.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,bp({fromRouteId:t},i)))},[e,t])}function y9(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function ns(e){let{to:t,replace:n,state:r,relative:o}=e;mu()||Ut(!1);let{future:i,static:a}=x.useContext(qa),{matches:l}=x.useContext(Ii),{pathname:c}=uo(),d=gu(),u=oj(t,rj(l,i.v7_relativeSplatPath),c,o==="path"),p=JSON.stringify(u);return x.useEffect(()=>d(JSON.parse(p),{replace:n,state:r,relative:o}),[d,p,o,n,r]),null}function xe(e){Ut(!1)}function x9(e){let{basename:t="/",children:n=null,location:r,navigationType:o=ja.Pop,navigator:i,static:a=!1,future:l}=e;mu()&&Ut(!1);let c=t.replace(/^\/*/,"/"),d=x.useMemo(()=>({basename:c,navigator:i,static:a,future:bp({v7_relativeSplatPath:!1},l)}),[c,l,i,a]);typeof r=="string"&&(r=fu(r));let{pathname:u="/",search:p="",hash:f="",state:h=null,key:g="default"}=r,m=x.useMemo(()=>{let b=sj(u,c);return b==null?null:{location:{pathname:b,search:p,hash:f,state:h,key:g},navigationType:o}},[c,u,p,f,h,g,o]);return m==null?null:x.createElement(qa.Provider,{value:d},x.createElement(Iy.Provider,{children:n,value:m}))}function v9(e){let{children:t,location:n}=e;return o9(jb(t),n)}new Promise(()=>{});function jb(e,t){t===void 0&&(t=[]);let n=[];return x.Children.forEach(e,(r,o)=>{if(!x.isValidElement(r))return;let i=[...t,o];if(r.type===x.Fragment){n.push.apply(n,jb(r.props.children,i));return}r.type!==xe&&Ut(!1),!r.props.index||!r.props.children||Ut(!1);let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=jb(r.props.children,i)),n.push(a)}),n}/**
340 * React Router DOM v6.30.1
341 *
342 * Copyright (c) Remix Software Inc.
343 *
344 * This source code is licensed under the MIT license found in the
345 * LICENSE.md file in the root directory of this source tree.
346 *
347 * @license MIT
348 */function Sb(){return Sb=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sb.apply(this,arguments)}function b9(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function w9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function j9(e,t){return e.button===0&&(!t||t==="_self")&&!w9(e)}function kb(e){return e===void 0&&(e=""),new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(o=>[n,o]):[[n,r]])},[]))}function S9(e,t){let n=kb(e);return t&&t.forEach((r,o)=>
348{n.has(o)||t.getAll(o).forEach(i=>{n.append(o,i)})}),n}const k9=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],T9="6";try{window.__reactRouterVersion=T9}catch{}const N9="startTransition",Dk=W1[N9];function E9(e){let{basename:t,children:n,future:r,window:o}=e,i=x.useRef();i.current==null&&(i.current=AM({window:o,v5Compat:!0}));let a=i.current,[l,c]=x.useState({action:a.action,location:a.location}),{v7_startTransition:d}=r||{},u=x.useCallback(p=>{d&&Dk?Dk(()=>c(p)):c(p)},[c,d]);return x.useLayoutEffect(()=>a.listen(u),[a,u]),x.useEffect(()=>y9(r),[r]),x.createElement(x9,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:a,future:r})}const C9=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",_9=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,et=x.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:l,target:c,to:d,preventScrollReset:u,viewTransition:p}=t,f=b9(t,k9),{basename:h}=x.useContext(qa),g,m=!1;if(typeof d=="string"&&_9.test(d)&&(g=d,C9))try{let w=new URL(window.location.href),j=d.startsWith("//")?new URL(w.protocol+d):new URL(d),S=sj(j.pathname,h);j.origin===w.origin&&S!=null?d=S+j.search+j.hash:m=!0}catch{}let b=n9(d,{relative:o}),v=A9(d,{replace:a,state:l,target:c,preventScrollReset:u,relative:o,viewTransition:p});function y(w){r&&r(w),w.defaultPrevented||v(w)}return x.createElement("a",Sb({},f,{href:g||b,onClick:m||i?r:y,ref:n,target:c}))});var Wk;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Wk||(Wk={}));var $k;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})($k||($k={}));function A9(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,viewTransition:l}=t===void 0?{}:t,c=gu(),d=uo(),u=h3(e,{relative:a});return x.useCallback(p=>{if(j9(p,n)){p.preventDefault();let f=r!==void 0?r:zg(d)===zg(u);c(e,{replace:f,state:o,preventScrollReset:i,relative:a,viewTransition:l})}},[d,c,u,r,o,n,e,i,a,l])}function m3(e){let t=x.useRef(kb(e)),n=x.useRef(!1),r=uo(),o=x.useMemo(()=>S9(r.search,n.current?null:t.current),[r.search]),i=gu(),a=x.useCallback((l,c)=>{const d=kb(typeof l=="function"?l(o):l);n.current=!0,i("?"+d,c)},[i,o]);return[o,a]}const Bx="ee_cookie_consent",Lk="G-XMT4JZEHM3",Mk=()=>{if(document.getElementById("ga-script"))return;const e=document.createElement("script");e.id="ga-script",e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${Lk}`,document.head.appendChild(e),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config",Lk,{send_page_view:!0})},R9=()=>{document.cookie.split(";").forEach(e=>{const t=e.trim().split("=")[0];(t.startsWith("_ga")||t.startsWith("_gid"))&&(document.cookie=`${t}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/;domain=${window.location.hostname}`,document.cookie=`${t}=;expires=Thu, 01 Jan 1970 00:00:00 GMT;path=/`)})},P9=()=>{const[e,t]=x.useState(!1);x.useEffect(()=>{const o=localStorage.getItem(Bx);if(o==="accepted")Mk();else if(!o){const i=setTimeout(()=>t(!0),1200);return()=>clearTimeout(i)}},[]);const n=()=>{localStorage.setItem(Bx,"accepted"),Mk(),t(!1)},r=()=>{localStorage.setItem(Bx,"declined"),R9(),t(!1)};return e?s.jsx("div",{className:"no-print fixed bottom-0 left-0 right-0 z-50 animate-in slide-in-from-bottom-4 duration-500",role:"dialog","aria-label":"Cookie consent",children:s.jsx("div",{className:"max-w-3xl mx-auto px-4 pb-4 sm:pb-6",children:s.jsxs("div",{className:"rounded-2xl p-5 sm:p-6 shadow-lg border",style:{backgroundColor:"hsl(var(--card))",borderColor:"hsl(var(--border))"},children:[s.jsxs("div",{className:"flex items-start gap-3 mb-4",children:[s.jsx("div",{className:"flex-shrink-0 w-9 h-9 rounded-full flex items-center justify-center mt-0.5",style:{backgroundColor:"hsl(var(--gold) / 0.12)"},children:s.jsx(PD,{size:16,style:{color:"hsl(var(--gold))"}})}),s.jsx("div",{className:"flex-1 min-w-0",children:s.jsxs("p",{className:"font-body text-sm leading-relaxed",style:{color:"hsl(var(--foreground))"},children:["We use cookies to understand how visitors interact with our site. Your data is never sold."," ",s.jsx(et,{to:"/privacy",className:"underline underline-offset-2 transition-colors hover:opacity-80",style:{color:"hsl(var(--primary))"},children:"Privacy Policy"})]})})]}),s.jsxs("div",{className:"flex items-center justify-end gap-3",children:[s.jsx("button",{onClick:r,className:"font-body text-sm font-medium px-5 py-2 rounded-lg transition-colors",style:{color:"hsl(var(--muted-foreground))",backgroundColor:"transparent",border:"1px solid hsl(var(--border))"},children:"Decline"}),s.jsx("button",{onClick:n,className:"font-body text-sm font-medium px-5 py-2 rounded-lg transition-opacity hover:opacity-90",style:{backgroundColor:"hsl(var(--primary))",color:"hsl(var(--primary-foreground))"},children:"Accept cookies"})]})]})})}):null},z9=()=>{const e=uo();x.useEffect(()=>{typeof window>"u"||typeof window.gtag!="function"||window.gtag("event","page_view",{page_path:e.pathname+e.search,page_location:window.location.href,page_title:document.title})},[e.pathname,e.search])},Bk=[{label:"Scorecard",to:"/scorecard"}
348,{label:"How It Works",to:"/how-it-works"},{label:"Who It's For",to:"/who-its-for"},{label:"Capital Braid™",to:"/capital-braid"}],Fx=[{label:"Team",to:"/team"},{label:"Resources",to:"/resources"},{label:"Events",to:"/events"},{label:"Newsletter",to:"/newsletter"}],I9=()=>{const[e,t]=x.useState(!1),[n,r]=x.useState(!1),o=x.useRef(null),i=uo();x.useEffect(()=>{t(!1),r(!1)},[i.pathname]),x.useEffect(()=>(document.body.style.overflow=e?"hidden":"",()=>{document.body.style.overflow=""}),[e]),x.useEffect(()=>{const l=c=>{o.current&&!o.current.contains(c.target)&&r(!1)};return document.addEventListener("mousedown",l),()=>document.removeEventListener("mousedown",l)},[]);const a=Fx.some(l=>i.pathname===l.to);return s.jsxs("nav",{className:"sticky top-0 z-50 backdrop-blur",style:{backgroundColor:e?"#ffffff":"rgba(255,255,255,0.94)",borderBottom:"1px solid rgba(45,77,131,0.08)"},children:[s.jsxs("div",{className:"max-w-6xl mx-auto px-6 flex items-center justify-between h-16",children:[s.jsx(et,{to:"/",className:"flex-shrink-0",children:s.jsx("img",{src:"/ee-logo-transparent.png",alt:"Ecosystem Edge",className:"h-10 w-auto"})}),s.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[Bk.map(l=>s.jsx(et,{to:l.to,className:"font-body transition-colors",style:{fontSize:"14px",fontWeight:500,color:i.pathname===l.to?"#59BEC9":"#4a5568"},children:l.label},l.to)),s.jsxs("div",{ref:o,className:"relative",children:[s.jsxs("button",{onClick:()=>r(!n),className:"font-body transition-colors flex items-center gap-1 min-h-[44px]",style:{fontSize:"13px",fontWeight:500,color:a?"#59BEC9":"#8894a5"},children:["More",s.jsx(Jp,{className:"w-3.5 h-3.5",style:{transition:"transform 0.2s",transform:n?"rotate(180deg)":"rotate(0)"}})]}),n&&s.jsx("div",{className:"absolute top-full right-0 mt-2 bg-white rounded-lg shadow-lg py-1 min-w-[140px]",style:{border:"1px solid rgba(45,77,131,0.08)"},children:Fx.map(l=>s.jsx(et,{to:l.to,className:"block font-body px-4 py-2.5 min-h-[44px] flex items-center transition-colors hover:bg-gray-50",style:{fontSize:"14px",fontWeight:500,color:i.pathname===l.to?"#59BEC9":"#4a5568"},children:l.label},l.to))})]}),s.jsx("a",{href:"/scorecard",className:"font-body rounded-lg min-h-[44px] flex items-center btn-navy",style:{fontSize:"14px",fontWeight:500,backgroundColor:"#2D4D83",color:"#fff",padding:"12px 22px"},children:"Run Your Scorecard"})]}),s.jsx("button",{onClick:()=>t(!e),className:"md:hidden p-2 -mr-2 min-h-[44px] min-w-[44px] flex items-center justify-center",style:{color:"#2D4D83"},"aria-label":e?"Close menu":"Open menu",children:e?s.jsx(ef,{className:"w-6 h-6"}):s.jsx(LD,{className:"w-6 h-6"})})]}),s.jsx("div",{className:`md:hidden fixed inset-x-0 top-16 bottom-0 transition-transform duration-300 ease-in-out z-50 ${e?"translate-x-0":"translate-x-full"}`,style:{backgroundColor:"#ffffff",borderTop:"1px solid rgba(45,77,131,0.08)",boxShadow:"-8px 0 24px rgba(45,77,131,0.08)"},children:s.jsxs("div",{className:"px-6 py-6 space-y-1",children:[Bk.map(l=>s.jsx(et,{to:l.to,onClick:()=>t(!1),className:"block font-body py-3 min-h-[44px] flex items-center transition-colors",style:{fontSize:"16px",fontWeight:500,color:i.pathname===l.to?"#59BEC9":"#2D4D83"},children:l.label},l.to)),s.jsx("p",{className:"font-body uppercase pt-3 pb-1",style:{fontSize:"12px",fontWeight:500,letterSpacing:"0.1em",color:"#8894a5"},children:"More"}),Fx.map(l=>s.jsx(et,{to:l.to,onClick:()=>t(!1),className:"block font-body py-3 min-h-[44px] flex items-center transition-colors pl-3",style:{fontSize:"15px",fontWeight:500,color:i.pathname===l.to?"#59BEC9":"#5a6779"},children:l.label},l.to)),s.jsx("div",{className:"pt-4",children:s.jsx("a",{href:"/scorecard",className:"block font-body rounded-lg text-center min-h-[44px] flex items-center justify-center btn-teal",style:{fontSize:"14px",fontWeight:500,backgroundColor:"#59BEC9",color:"#2D4D83",padding:"14px 22px"},children:"Run your Scorecard"})})]})})]})},Bi={color:"rgba(255,255,255,0.8)"},Fi="font-body transition-colors hover:text-white inline-block py-1 leading-snug",Hx="font-body uppercase mb-1",Vx={fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:"rgba(255,255,255,0.55)"},O9=()=>s.jsx("footer",{style:{backgroundColor:"#1e3460"},className:"pt-7 pb-16 md:pb-10 text-white",children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[s.jsxs("div",{className:"grid gap-x-8 gap-y-6 md:grid-cols-4",children:[s.jsx("div",{children:s.jsx(et,{to:"/",className:"inline-flex",children:s.jsx("div",{style:{background:"#FFFFFF",borderRadius:"8px",padding:"6px 12px",display:"inline-flex",alignItems:"center"},children:s.jsx("img",{src:"/ee-logo-transparent.png",alt:"Ecosystem Edge",className:"h-7 w-auto"})})})}),s.jsxs("div",{children:[s.jsx("p",{className:Hx,style:Vx,children:"Who it’s for"}),s.jsxs("ul",{className:"text-sm",style:{fontWeight:500},children:[s.jsx("li",{children:s.jsx(et,{to:"/for-funders",className:Fi,style:Bi,children:"Funders"})}),s.jsx("li",{children:s.jsx(et,{to:"/for-builders",className:Fi,style:Bi,children:"Ecosystem Builders"})}),s.jsx("li",{children:s.jsx(et,{to:"/for-field-builders",className:Fi,style:Bi,children:"Field Builders"})})]})]}),s.jsxs("div",{children:[s.jsx("p",{className:Hx,style:Vx,children:"Explore"}),s.jsxs("ul",{className:"text-sm",style:{fontWeight:500},children:[s.jsx("li",{children:s.jsx(et,{to:"/resources",className:Fi,style:Bi,children:"Resources"})}),s.jsx("li",{children:s.jsx(et,{to:"/newsletter",className:Fi,style:Bi,children:"Newsletter"})})]})]}),s.jsxs("div",{children:[s.jsx("p",{className:Hx,style:Vx,children:"Connect"}),s.jsxs("ul",{className:"text-sm",style:{fontWeight:500},children:[s.jsx("li",{children:s.jsx("a",{href:"https://www.linkedin.com/company/ecosystemedge/",target:"_blank",rel:"noopener noreferrer",className:Fi,style:Bi,children:"LinkedIn"})}),s.jsx("li",{children:s.jsx("a",{href:"mailto:[email protected]",className:Fi,style:Bi,children:"Contact"})}),s.jsx("li",{children:s.jsx(et,{to:"/privacy",className:Fi,style:Bi,children:"Privacy"})})]})]})]}),s.jsx("div",{className:"mt-6 pt-4",style:{borderTop:"1px solid rgba(255,255,255,0.15)"},children:s.jsx("p",{className:"text-xs font-body",style:{color:"rgba(255,255,255,0.6)",fontWeight:400},children:"© 2024–2026 Ecosystem Edge LLC · Built by ecosystem builders, for ecosystem builders."})})]})}),Fk="ee-sticky-cta-dismissed",D9=()=>
348{const[e,t]=x.useState(!1),[n,r]=x.useState(()=>{try{return localStorage.getItem(Fk)==="1"}catch{return!1}});x.useEffect(()=>{if(n)return;const i=()=>{t(window.scrollY>window.innerHeight*.8)};return window.addEventListener("scroll",i,{passive:!0}),()=>window.removeEventListener("scroll",i)},[n]);const o=()=>{r(!0),t(!1);try{localStorage.setItem(Fk,"1")}catch{}};return n||!e?null:s.jsx("div",{className:"fixed bottom-0 inset-x-0 z-50 transition-transform duration-300",style:{transform:e?"translateY(0)":"translateY(100%)",backgroundColor:"#59BEC9"},children:s.jsxs("div",{className:"max-w-6xl mx-auto px-4 py-3 flex flex-col sm:flex-row items-center justify-between gap-2 sm:gap-4",children:[s.jsx("p",{className:"font-body text-base font-medium text-center sm:text-left",style:{color:"#1a2740"},children:"See your ecosystem clearly"}),s.jsxs("div",{className:"flex items-center gap-3 w-full sm:w-auto",children:[s.jsx("a",{href:"/scorecard",className:"font-body text-base font-semibold px-5 py-2 rounded-lg btn-navy whitespace-nowrap w-full sm:w-auto text-center",style:{backgroundColor:"#2D4D83",color:"#fff"},children:"Run your Scorecard →"}),s.jsx("button",{onClick:o,className:"p-1.5 rounded-full hover:bg-white/20 transition-colors flex-shrink-0","aria-label":"Dismiss",style:{color:"#1a2740"},children:s.jsx(ef,{className:"w-4 h-4"})})]})]})})},Os=({children:e})=>s.jsxs("div",{className:"min-h-screen flex flex-col",children:[s.jsx(I9,{}),s.jsx("main",{className:"flex-1",children:e}),s.jsx(O9,{}),s.jsx(D9,{})]}),g3="#2D4D83",Ff="#3d4757",Hk="#B8892B",He=[{num:"01",Icon:Ww,kind:"Shared Picture + Scorecard",shift:"noise → network",accent:"#8C6FA6",phase:"Reveal",blurb:"Your coalition rates its own partnerships across the nine groups, so everyone starts from one picture you can re-run later."},{num:"02",Icon:Iw,kind:"Initiatives Deep Dive",shift:`silos → 
349systems`,accent:"#2D4D83",phase:"Reveal",blurb:"We map the initiatives already underway, what each one depends on, and where effort is duplicated or quietly stalling."},{num:"03",Icon:$w,kind:"Strategic Action Planning",shift:"diagnosis → decisions",accent:"#3F7CA8",phase:"Clarify",blurb:"We surface where you do not yet agree, then name the few moves that matter most for the work moving forward."},{num:"04",Icon:Ow,kind:"Partner Group Roundtable",shift:`friction → 
350flow`,accent:"#4FA3A5",phase:"Clarify",blurb:"We design the roundtables and the one-on-one approach partner by partner: what each one needs, what you need back, and the terms of a working relationship."},{num:"05",Icon:Lw,kind:"Operationalizing",shift:"alignment → acceleration",accent:"#7BA05B",phase:"Activate",blurb:"We design the shared operating system your coordination runs on: roles and decision rights, meeting rhythm, shared data, and the communications that keep partners current."},{num:"06",Icon:Ey,kind:"Funding + Sustainability",shift:"invisible → investable",accent:"#B8892B",phase:"Activate",blurb:"We braid the funding and capacity that let the work outlast the grant, and review progress since your first shared picture."}],Jr=[["Ecosystem map","Governance + partnership scorecard","Alignment + disagreement priorities"],["Initiatives map","Gaps + bottlenecks","Strategic opportunities"],["Strategic action plan","2–3 year objectives","Priority experiments with rationale"],["Partner needs + value map","Reciprocity opportunities ","Relationship priorities"],["Backbone operating system","Roles + responsibilities","Learning + feedback loops"],["Sustainability plan","Business model ","Braided funding strategy"]],Vk=[{label:"Reveal",color:g3,bg:"rgba(45,77,131,0.07)"},{label:"Clarify",color:"#2F8C97",bg:"rgba(89,190,201,0.13)"},{label:"Activate",color:"#B8892B",bg:"rgba(184,137,43,0.12)"}],y3={width:1280,height:380,circle:84,icon:35,chip:28,chipFont:12,stroke:5,amplitude:100,threadY:140,showLabels:!0,labelFont:16,labelWidth:190,labelBand:92,shiftFont:13,labelGap:14,showPhases:!1,phaseFont:17,phaseTop:0,sideMargin:145,entryMarkers:!0,uniqueId:"slide"},rf={width:697,height:176,circle:44,icon:20,chip:17,chipFont:8.5,stroke:3,amplitude:26,threadY:52,showLabels:!0,labelFont:8,labelWidth:104,labelBand:36,labelGap:4,showPhases:!0,phaseFont:12,phaseTop:150,sideMargin:78,entryMarkers:!1,uniqueId:"compact"},x3={...rf,height:100,threadY:22,showLabels:!1,phaseTop:76,uniqueId:"compact-bare"},v3={...rf,height:212,threadY:80,amplitude:34,labelGap:6,labelBand:70,labelFont:16,labelWeight:700,labelWidth:220,shiftFont:16,nowrapShift:!0,showPhases:!1,uniqueId:"compact-tall"},aj={...rf,width:686,height:128,circle:40,icon:18,chip:16,chipFont:8.5,stroke:2.6,amplitude:22,threadY:58,labelGap:5,labelBand:44,labelFont:10,labelWidth:108,shiftFont:10,nowrapShift:!0,showPhases:!1,uniqueId:"print"},b3={...aj,width:710,height:154,circle:48,icon:22,chip:19,chipFont:10,stroke:3,amplitude:26,threadY:70,labelGap:6,labelBand:53,labelFont:12,labelWidth:128,shiftFont:12,sideMargin:82,uniqueId:"print-lg"},Uk=({variant:e="slide",width:t,sessions:n=He,className:r,style:o,interactive:i=!1,outerScale:a=1})=>{const[l,c]=x.useState(null),d=e==="slide"?y3:e==="compact-bare"?x3:e==="compact-tall"?v3:e==="print"?aj:e==="print-lg"?b3:rf,u={...d,width:t??d.width},p=u.circle/2,h=(u.width-u.sideMargin*2)/(n.length-1),g=n.map((T,C)=>({x:u.sideMargin+C*h,y:C%2===0?u.threadY:u.threadY+u.amplitude})),m=g[0],b=g[g.length-1],v=h*.51,y=g.map((T,C)=>C===0?`M ${T.x} ${T.y}`:`C ${g[C-1].x+v} ${g[C-1].y}, ${T.x-v} ${T.y}, ${T.x} ${T.y}`).join(" "),w=e==="slide"?88:52,j=`M ${m.x-w} ${m.y} L ${m.x} ${m.y}`,S=`M ${b.x} ${b.y} L ${b.x+w*.82} ${b.y}`,N=`journeyThread-${u.uniqueId}`,k=`journeyArrow-${u.uniqueId}`;return s.jsxs("div",{className:r,style:{position:"relative",width:u.width,height:u.height,...o},children:[s.jsxs("svg",{width:u.width,height:u.height,viewBox:`0 0 ${u.width} ${u.height}`,"aria-hidden":"true",style:{position:"absolute",inset:0,pointerEvents:"none"},children:[s.jsxs("defs",{children:[s.jsx("linearGradient",{id:N,x1:"0",y1:"0",x2:"1",y2:"0",children:n.map((T,C)=>s.jsx("stop",{offset:`${C/(n.length-1)*100}%`,stopColor:T.accent},T.num))}),s.jsx("marker",{id:k,markerWidth:"4.5",markerHeight:"4.5",refX:"3",refY:"2.25",orient:"auto",children:s.jsx("path",{d:"M 0 0 L 4.5 2.25 L 0 4.5 z",fill:Hk})})]}
350),s.jsx("path",{d:j,fill:"none",stroke:g3,strokeWidth:u.stroke,strokeLinecap:"round",strokeDasharray:`${u.stroke*.4} ${u.stroke*2.4}`,opacity:"0.4"}),s.jsx("path",{d:S,fill:"none",stroke:Hk,strokeWidth:u.stroke,strokeLinecap:"round",strokeDasharray:`${u.stroke*.4} ${u.stroke*2.4}`,opacity:"0.5",markerEnd:`url(#${k})`}),s.jsx("path",{d:y,fill:"none",stroke:`url(#${N})`,strokeWidth:u.stroke,strokeLinecap:"round",opacity:"0.9"}),u.entryMarkers&&g.slice(1,-1).map((T,C)=>{const R=C%2===1,L=e==="slide"?46:15,I=e==="slide"?22:10,F=e==="slide"?8:4,D=R?T.y+p+L:T.y-p-L,K=R?-1:1,U=D+K*(I+4);return s.jsxs("g",{opacity:"0.45",children:[s.jsx("path",{d:`M ${T.x} ${D} L ${T.x} ${D+K*I}`,stroke:Ff,strokeWidth:e==="slide"?2:1.4,strokeDasharray:"3 5",strokeLinecap:"round",fill:"none"}),s.jsx("path",{d:`M ${T.x-F*.62} ${U-K*F} L ${T.x} ${U} L ${T.x+F*.62} ${U-K*F}`,fill:"none",stroke:Ff,strokeWidth:e==="slide"?2:1.4,strokeLinecap:"round",strokeLinejoin:"round"})]},C)})]}),n.map((T,C)=>{const R=g[C],L=T.Icon,I=C%2===0;return s.jsxs(P.Fragment,{children:[s.jsxs("div",{className:"inline-flex items-center justify-center",role:i?"button":void 0,tabIndex:i?0:void 0,"aria-label":i?`${T.kind}. ${T.blurb??""}`:void 0,onMouseEnter:i?()=>c(C):void 0,onMouseLeave:i?()=>c(null):void 0,onFocus:i?()=>c(C):void 0,onBlur:i?()=>c(null):void 0,style:{position:"absolute",cursor:i?"pointer":void 0,transition:"transform 160ms ease",transform:i&&l===C?"scale(1.08)":void 0,left:R.x-p,top:R.y-p,width:u.circle,height:u.circle,borderRadius:999,background:"#fff",border:`${e==="slide"?4:2.5}px solid ${T.accent}`},children:[s.jsx(L,{size:u.icon,strokeWidth:1.7,color:T.accent}),s.jsx("span",{className:"font-body inline-flex items-center justify-center",style:{position:"absolute",top:e==="slide"?-8:-5,right:e==="slide"?-8:-5,width:u.chip,height:u.chip,borderRadius:999,background:T.accent,color:"#fff",fontSize:u.chipFont,fontWeight:700},children:T.num})]}),u.showLabels&&s.jsx("div",{style:{position:"absolute",left:R.x-u.labelWidth/2,top:I?R.y-p-u.labelGap-u.labelBand:R.y+p+u.labelGap,width:u.labelWidth,height:u.labelBand,display:"flex",alignItems:I?"flex-end":"flex-start",justifyContent:"center",textAlign:"center"},children:s.jsxs("div",{style:{whiteSpace:"nowrap"},children:[s.jsx("p",{className:"font-body",style:{fontSize:u.labelFont,lineHeight:1.28,color:Ff,fontWeight:u.labelWeight??600,whiteSpace:"nowrap"},children:T.kind}),T.shift&&s.jsx("p",{className:"font-body",style:{fontSize:u.shiftFont??u.labelFont*.8,lineHeight:1.25,color:T.accent,fontWeight:700,marginTop:2,whiteSpace:u.nowrapShift?"nowrap":void 0},children:T.shift})]})}),i&&l===C&&T.blurb&&(()=>{const F=1/(a||1),D=300,K=D*F,U=118*F,H=Math.min(Math.max(R.x-K/2,4),Math.max(4,u.width-K-4));return s.jsxs("div",{className:"print:hidden",style:{position:"absolute",left:H,top:I?R.y+p+10:R.y-p-10-U,width:D,transform:`scale(${F})`,transformOrigin:"top left",zIndex:20,background:"#fff",borderRadius:12,borderTop:`4px solid ${T.accent}`,boxShadow:"0 18px 36px -18px rgba(45,77,131,0.55)",padding:"13px 16px"},children:[s.jsxs("p",{className:"font-display",style:{fontSize:15,fontWeight:700,color:T.accent,marginBottom:5},children:[T.num," ",T.kind]}),s.jsx("p",{className:"font-body",style:{fontSize:14,lineHeight:1.5,color:Ff,fontWeight:300},children:T.blurb})]})})()]},T.num)}),u.showPhases&&s.jsx("div",{style:{position:"absolute",top:u.phaseTop,left:0,right:0,display:"flex",alignItems:"center",gap:8},children:Vk.map((T,C)=>s.jsxs(P.Fragment,{children:[s.jsx("div",{style:{flex:1,textAlign:"center",padding:"4px 0",borderRadius:999,background:T.bg},children:s.jsx("span",{className:"font-display uppercase",style:{fontSize:u.phaseFont,letterSpacing:"0.07em",fontWeight:700,color:T.color},children:T.label})}),C<Vk.length-1&&s.jsx(zw,{size:15,strokeWidth:3,color:["#3F7CA8","#8AA05B"][C],style:{flex:"0 0 auto"},"aria-hidden":"true"})]},T.label))})]})},wi=({responsive:e=!0,className:t,style:n,...r})=>{const o=r.variant==="compact-bare"?x3:r.variant==="compact-tall"?v3:r.variant==="print"?aj:r.variant==="print-lg"?b3:r.variant==="compact"?rf:y3,i=r.width??o.width,a=typeof(n==null?void 0:n.height)=="number"?n.height:o.height,l=x.useRef(null),[c,d]=x.useState(1);return x.useEffect(()=>{if(!e)return;const u=l.current;if(!u)return;const p=h=>d(h>0?Math.min(1,h/i):1);p(u.getBoundingClientRect().width);const f=new ResizeObserver(h=>p(h[0].contentRect.width));return f.observe(u),()=>f.disconnect()},[e,i]),e?s.jsx("div",{ref:l,className:t,style:{width:"100%",height:a*c,position:"relative"},children:s.jsx(Uk,{...r,outerScale:c,style:{...n,transform:`scale(${c})`,transformOrigin:"top left",position:"absolute",top:0,left:0}})}):s.jsx(Uk,{...r,className:t,style:n})},Tn=[{letter:"E",name:"Entrepreneurs",short:"Entrepr",color:"#C4566E",role:"The founders and companies building what comes next.",evidence:"Do entrepreneurs have stronger pathways to start, grow, stay, and contribute back?"},{letter:"C",name:"Corporates",short:"Corps",color:"#59BEC9",role:"The customers, employers, and anchor firms that create demand.",evidence:"Are relationships between companies and the ecosystem becoming stronger and more durable?"},{letter:"O",name:"Government Organizations",short:"Govt",color:"#3F7CA8",role:"Public partners with convening power, resources, and influence.",evidence:"Can public partners co
350ordinate around shared priorities, even as leaders, budgets, and policies change?"},{letter:"S",name:"Storytellers",short:"Story",color:"#E2B673",role:"The people who make the ecosystem’s work visible and understood.",evidence:"Is the ecosystem increasingly understood and represented by people beyond those directly involved in the work?"},{letter:"Y",name:"Youth + Talent",short:"Youth",color:"#7BA05B",role:"The people who supply the workforce and future leaders.",evidence:"Are people finding pathways into the ecosystem, advancing within it, and choosing to stay or return?"},{letter:"S",name:"Service Providers",short:"Services",color:"#8C6FA6",role:"The expertise and support that help organizations succeed.",evidence:"Can organizations find the expertise and support they need through stronger, more connected pathways?"},{letter:"T",name:"Trade + Industry Associations",short:"Trade",color:"#C97B5A",role:"The networks that help firms act together on shared interests.",evidence:"Can firms identify shared interests and act on them together without relying on a single organizer?"},{letter:"E",name:"Ecosystem Support Organizations",short:"ESOs",color:"#4FA3A5",role:"Organizations that make the ecosystem easier to navigate.",evidence:"Can people find the right support without relying on personal connections or a few key people?"},{letter:"M",name:"Money",short:"Money",color:"#B8892B",role:"The funding that enables ideas, companies, and growth.",evidence:"Is funding becoming more accessible, connected, and catalytic, not simply replacing the same dollars?"}],ho={NAVY:"#2D4D83",TEAL:"#59BEC9",GOLD:"#E2B673",INK:"#3d4757",PAPER:"#F7F9FB"},br=Tn.map(e=>({letter:e.letter,label:e.name,color:e.color,role:e.role,evidence:e.evidence}));br.map(e=>e.color);const Oy=({color:e=ho.TEAL})=>s.jsx("svg",{viewBox:"0 0 600 10",preserveAspectRatio:"none",style:{width:"100%",height:8},"aria-hidden":"true",children:s.jsx("path",{d:"M0 5 Q 37 -1 75 5 T 150 5 T 225 5 T 300 5 T 375 5 T 450 5 T 525 5 T 600 5",fill:"none",stroke:e,strokeWidth:"2"})}),wr=({color:e=ho.TEAL,height:t=8})=>s.jsx("svg",{width:"100%",height:t,viewBox:"0 0 120 10",preserveAspectRatio:"none","aria-hidden":"true",style:{display:"block"},children:s.jsx("path",{d:"M0 5 C 7.5 0.4, 15 9.6, 22.5 5 S 37.5 0.4, 45 5 S 60 9.6, 67.5 5 S 82.5 0.4, 90 5 S 105 9.6, 112.5 5 S 120 3, 120 5",fill:"none",stroke:e,strokeWidth:2.4,strokeLinecap:"round"})}),lj=({size:e=30,gapColor:t="#6E7784"})=>{const l=[0,Math.PI*2/3,Math.PI*4/3],c=(p,f)=>({x:3.1+(20.9-3.1)*p,y:12+4.4*Math.sin(p*Math.PI*4+f)}),d=l.map(p=>Array.from({length:73},(f,h)=>{const g=c(h/72,p);return`${g.x.toFixed(2)},${g.y.toFixed(2)}`}).join(" ")),u=Array.from({length:4},(p,f)=>{const h=f%3,g=(f+.5)/4,m=.045;return[-m,0,m].map(b=>{const v=c(g+b,l[h]);return`${v.x.toFixed(2)},${v.y.toFixed(2)}`}).join(" ")});return s.jsxs("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[d.map((p,f)=>s.jsx("polyline",{points:p,stroke:"#fff",strokeWidth:"1.75"},f)),u.map((p,f)=>s.jsxs("g",{children:[s.jsx("polyline",{points:p,stroke:t,strokeWidth:"4"}),s.jsx("polyline",{points:p,stroke:"#fff",strokeWidth:"2.1"})]},f))]})},Pe="#6E7784",oc=({size:e=34,style:t,className:n})=>s.jsx("span",{"aria-hidden":"true",className:`flex items-center justify-center shrink-0${n?` ${n}`:""}`,style:{width:e,height:e,minWidth:e,borderRadius:"50%",background:Pe,...t},children:s.jsx(lj,{size:Math.round(e*.9),gapColor:Pe})}),tt=({style:e,waveHeight:t=13,wave:n="top",color:r=ho.NAVY,className:o,children:i})=>{const{marginTop:a,...l}=e??{},c=s.jsx("svg",{width:"100%",height:t,viewBox:"0 0 1000 13",preserveAspectRatio:"none",style:{display:"block",transform:n==="bottom"?"scaleY(-1)":void 0},"aria-hidden":!0,children:s.jsx("path",{d:"M0,13 L0,8 C 62,8 62,1 125,1 C 187,1 187,8 250,8 C 312,8 312,1 375,1 C 437,1 437,8 500,8 C 562,8 562,1 625,1 C 687,1 687,8 750,8 C 812,8 812,1 875,1 C 937,1 937,8 1000,8 L1000,13 Z",fill:r})}),d=s.jsx("div",{style:{background:r,marginTop:n==="top"?-1:void 0,marginBottom:n==="bottom"?-1:void 0,...l},children:i});return s.jsx("div",{className:`avoid-break ${o??""}`,style:{marginTop:a},children:n==="top"?s.jsxs(s.Fragment,{children:[c,d]}):s.jsxs(s.Fragment,{children:[d,c]})})},yu=({size:e=300,centerIndex:t=0,className:n,decorative:r})=>{const c=br.map((h,g)=>({n:h,i:g})).filter(h=>h.i!==t),d=c.map((h,g)=>{const m=-Math.PI/2+g/c.length*Math.PI*2;return{...h,x:170+124.1*Math.cos(m),y:170+124.1*Math.sin(m)}}),u=340*.072,p=340*.115,f=br[t];return s.jsxs("svg",{width:e,height:e,viewBox:"0 0 340 340",className:n,"aria-hidden":r?!0:void 0,role:r?void 0:"img","aria-label":r?void 0:`The nine Ecosystem Edge partner groups connected as one network, centered on ${f.label}`,children:[d.map((h,g)=>d.slice(g+1).map((m,b)=>s.jsx("line",{x1:h.x,y1:h.y,x2:m.x,y2:m.y,stroke:ho.NAVY,strokeOpacity:.16,strokeWidth:.9},`m${g}-${b}`))),d.map((h,g)=>s.jsx("line",{x1:h.x,y1:h.y,x2:170,y2:170,stroke:f.color,strokeOpacity:.55,strokeWidth:1.9},`s${g}`)),d.map((h,g)=>s.jsxs("g",{children:[s.jsx("circle",{cx:h.x,cy:h.y,r:u,fill:h.n.color}),s.jsx("text",{x:h.x,y:h.y+u*.36,textAnchor:"middle",fill:"#fff",fontSize:u*1.05,fontWeight:700,fontFamily:"inherit",children:h.n.letter})]},`n${g}`)),s.jsx("circle",{cx:170,cy:170,r:p+7,fill:"none",stroke:f.color,strokeOpacity:.28,strokeWidth:1.4}),s.jsx("circle",{cx:170,cy:170,r:p,fill:f.color}),s.jsx("text",{x:170,y:170+p*.36,textAnchor:"middle",fill:"#fff",fontSize:p,fontWeight:700,fontFamily:"inherit",children:f.letter})]})},w3=({size:e=300,intervalMs:t=3200,caption:n=!0})=>{const[r,o]=P.useState(0),[i,a]=P.useState(!1);P.useEffect(()=>{if(i||typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;const d=window.setInterval(()=>
350o(u=>(u+1)%br.length),t);return()=>window.clearInterval(d)},[i,t]);const l=br[r];return s.jsxs("div",{className:"flex flex-col items-center",onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[s.jsx(yu,{size:e,centerIndex:r}),n&&s.jsxs("div",{className:"mt-3 text-center",style:{maxWidth:e+40},children:[s.jsx("p",{className:"font-display font-bold",style:{fontSize:15,color:l.color},children:l.label}),s.jsx("p",{className:"font-body",style:{fontSize:12.5,fontWeight:300,lineHeight:1.55,color:ho.INK},children:l.role}),s.jsx("div",{className:"flex justify-center gap-1.5 mt-3",children:br.map((c,d)=>s.jsx("button",{type:"button","aria-label":`Center the system on ${c.label}`,onClick:()=>o(d),className:"rounded-full transition-opacity",style:{width:8,height:8,backgroundColor:c.color,opacity:d===r?1:.32}},c.label+d))})]})]})},of=({strands:e,cord:t,height:n,plaitWidth:r,gapColor:o="#ffffff"})=>{const a=n??78,l=660/2,c=26,d=r??34,u=a*.34,p=e.length>1?(660-c*2)/(e.length-1):0,f=1.25,h=96,g=[0,Math.PI*2/3,Math.PI*4/3],m=t.length>=3?t.slice(0,3):[e[0],e[3]??e[0],e[6]??e[0]],b=(j,S)=>({x:l+d*Math.sin(j*Math.PI*2*f+S),y:u+(a-u)*j}),v=g.map(j=>Array.from({length:h+1},(S,N)=>{const k=b(N/h,j);return`${k.x.toFixed(2)},${k.y.toFixed(2)}`}).join(" ")),y=4,w=Array.from({length:y},(j,S)=>{const N=S%3,k=(S+.5)/y,T=.055;return{rope:N,points:[-T,-T/2,0,T/2,T].map(C=>{const R=b(Math.min(Math.max(k+C,0),1),g[N]);return`${R.x.toFixed(2)},${R.y.toFixed(2)}`}).join(" ")}});return s.jsxs("svg",{viewBox:`0 0 660 ${a}`,preserveAspectRatio:"xMidYMid meet",style:{width:"100%",height:"auto",display:"block"},"aria-hidden":"true",children:[e.map((j,S)=>{const N=c+S*p,k=S%3,T=b(0,g[k]);return s.jsx("path",{d:`M${N} 0 C ${N} ${u*.58}, ${T.x+(N-T.x)*.18} ${u-12}, ${T.x} ${T.y}`,fill:"none",stroke:j,strokeWidth:3.2,strokeLinecap:"round"},`s${S}`)}),v.map((j,S)=>s.jsx("polyline",{points:j,fill:"none",stroke:m[S],strokeWidth:3.6,strokeLinecap:"round"},`r${S}`)),w.map((j,S)=>s.jsxs("g",{children:[s.jsx("polyline",{points:j.points,fill:"none",stroke:o,strokeWidth:9,strokeLinecap:"round"}),s.jsx("polyline",{points:j.points,fill:"none",stroke:m[j.rope],strokeWidth:4,strokeLinecap:"round"})]},`o${S}`))]})},W9=(e,t)=>{if(t){if(t.defaultPrevented||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.button!==0)return;t.preventDefault()}if(!window.open(e,"_blank","noopener,noreferrer")){try{if(window.top){window.top.location.href=e;return}}catch{}window.location.href=e}},ic=e=>({href:e,target:"_blank",rel:"noopener noreferrer",onClick:t=>W9(e,t)}),M={NAVY:"#2D4D83",TEAL:"#59BEC9",DEEP_TEAL:"#2F8C97",PURPLE:"#7B5EA7",GREEN:"#4C9A5A",GOLD:"#B8892B",INK:"#4a5568"},wp=({cta:e,className:t,style:n})=>e.to?s.jsx(et,{to:e.to,className:t,style:n,children:e.label}):e.external&&e.href?s.jsx("a",{...ic(e.href),className:t,style:n,children:e.label}):s.jsx("a",{href:e.href,className:t,style:n,children:e.label}),cj=({eyebrow:e,accent:t,headline:n,intro:r,note:o,reassurance:i,primary:a,secondary:l,panelLabel:c,panelItems:d,visual:u})=>s.jsx("section",{className:"relative overflow-hidden",style:{background:ho.PAPER},children:s.jsx("div",{className:"max-w-5xl mx-auto px-6 pt-16 pb-14 md:pt-24 md:pb-20",children:s.jsxs("div",{className:`grid gap-10 md:gap-14 items-center ${u||d?"md:grid-cols-[1.35fr_1fr]":""}`,children:[s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-3 mb-5",children:[s.jsx("span",{className:"w-8 h-[2px] flex-shrink-0",style:{backgroundColor:t}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:t},children:e})]}),s.jsx("h1",{className:"font-display font-bold mb-5",style:{fontSize:"clamp(32px, 5vw, 54px)",lineHeight:1.08,color:M.NAVY},children:n}),s.jsx("p",{className:"font-body",style:{fontSize:"17px",fontWeight:300,lineHeight:1.75,color:M.INK},children:r}),o&&s.jsx("p",{className:"font-body mt-5",style:{fontSize:"13.5px",fontWeight:500,lineHeight:1.6,color:"#718096"},children:o}),(a||l)&&s.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 mt-8",children:[a&&s.jsx(wp,{cta:a,className:"inline-flex items-center justify-center font-body rounded-lg min-h-[48px] px-7 text-primary-foreground transition-opacity hover:opacity-90",style:{fontSize:"14px",fontWeight:600,backgroundColor:M.NAVY}}),l&&s.jsx(wp,{cta:l,className:"inline-flex items-center justify-center font-body rounded-lg min-h-[48px] px-7 transition-colors",style:{fontSize:"14px",fontWeight:600,color:M.NAVY,border:`1.5px solid ${M.NAVY}`}})]}),i&&s.jsx("p",{className:"font-body mt-4",style:{fontSize:"13px",fontWeight:400,lineHeight:1.6,color:"#718096"},children:i})]}),u&&s.jsx("div",{className:"flex justify-center md:justify-end",children:u}),!u&&d&&s.jsx("div",{className:"hidden md:block",children:s.jsxs("div",{className:"rounded-2xl p-7 bg-white",style:{border:"1px solid #e4e7ec",boxShadow:"0 24px 48px -32px rgba(45,77,131,0.45)"},children:[c&&s.jsx("p",{className:"font-body uppercase mb-4",style:{fontSize:"10.5px",letterSpacing:"0.16em",fontWeight:700,color:M.GOLD},children:c}),d.map(p=>s.jsxs("div",{className:"flex gap-3 py-2.5",style:{borderTop:"1px solid #edf0f4"},children:[s.jsx("span",{className:"mt-[6px] flex-shrink-0 rounded-full",style:{width:"9px",height:"9px",backgroundColor:p.c}}),s.jsxs("div",{children:[s.jsx("p",{className:"font-display font-bold",style:{fontSize:"15px",color:M.NAVY},children:p.label}),s.jsx("p",{className:"font-body",style:{fontSize:"12.5px",fontWeight:300,lineHeight:1.55,color:M.INK},children:p.d})]})]},p.label))]})})]})})}),$9=({items:e,columns:t=3})=>s.jsx("div",{className:`grid gap-5 ${t===2?"md:grid-cols-2":"md:grid-cols-3"}`,children:e.map(n=>s.jsxs("div",{className:"rounded-2xl p-6 bg-white h-full transition-transform hover:-translate-y-1 motion-reduce:transform-none",style:{border:"1px solid #e4e7ec",borderTop:`4px s
350olid ${n.accent}`,boxShadow:"0 12px 28px -22px rgba(45,77,131,0.5)"},children:[s.jsx("span",{className:"inline-flex items-center justify-center rounded-full font-body mb-4",style:{width:"30px",height:"30px",fontSize:"11px",fontWeight:700,color:"#fff",backgroundColor:n.accent},children:n.num}),s.jsx("h3",{className:"font-display font-bold mb-2.5",style:{fontSize:"19px",color:M.NAVY},children:n.title}),s.jsx("p",{className:"font-body",style:{fontSize:"14px",fontWeight:300,lineHeight:1.7,color:M.INK},children:n.body})]},n.title))}),j3=[{icon:Uo,phase:"Reveal",accent:M.NAVY,title:"See the system together.",body:"A shared picture across the nine strands, grounded in what your partners experience firsthand."},{icon:Er,phase:"Clarify",accent:M.DEEP_TEAL,title:"Decide what matters most.",body:"Name the strengths, gaps, and pressure points that will meaningfully move the system."},{icon:Go,phase:"Activate",accent:M.GOLD,title:"Turn insight into action.",body:"Set clear owners, hand them practical tools, and coach the work forward."}],L9=({items:e=j3,activeIndex:t,onHoverIndex:n,onSelectIndex:r})=>s.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:e.map(({icon:o,phase:i,accent:a,title:l,body:c},d)=>{const u=t!==void 0,p=t===d;return s.jsxs("div",{className:"fade-up rounded-xl bg-white p-6 relative overflow-hidden h-full",onMouseEnter:n?()=>n(d):void 0,onMouseLeave:n?()=>n(null):void 0,onClick:r?()=>r(d):void 0,style:{boxShadow:p?`0 14px 34px ${a}26`:"0 2px 14px rgba(45,77,131,0.06)",borderTop:`${p?6:4}px solid ${a}`,opacity:!u||p?1:.72,transform:p?"translateY(-4px)":"none",transition:"box-shadow 500ms ease, opacity 500ms ease, transform 500ms ease, border-top-width 300ms ease",cursor:r?"pointer":void 0},children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(o,{className:"w-5 h-5",style:{color:a}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:a},children:i})]}),s.jsx("h3",{className:"font-display font-bold mb-3",style:{fontSize:"18px",lineHeight:1.3,color:M.NAVY},children:l}),s.jsx("p",{className:"font-body",style:{fontSize:"15px",fontWeight:300,lineHeight:1.7,color:M.INK},children:c})]},i)})}),M9=[{verb:"Reveal",rest:" what’s already working."},{verb:"Clarify",rest:" what matters now."},{verb:"Activate",rest:" around shared goals."}],B9=({items:e=j3})=>{const t=typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,[n,r]=P.useState(0),[o,i]=P.useState(null),[a,l]=P.useState(null),c=o!==null||a!==null;P.useEffect(()=>{if(t||c)return;const u=window.setInterval(()=>r(p=>(p+1)%e.length),3e3);return()=>window.clearInterval(u)},[t,c,e.length]);const d=o??a??n;return s.jsxs(s.Fragment,{children:[s.jsx("h2",{className:"font-display font-bold max-w-2xl",style:{fontSize:"clamp(26px, 3.6vw, 36px)",lineHeight:1.28,color:M.NAVY},onMouseLeave:()=>l(null),children:M9.map((u,p)=>{var g;const f=((g=e[p])==null?void 0:g.accent)??M.NAVY,h=t||d===p;return s.jsxs("span",{onMouseEnter:()=>l(p),onClick:()=>i(m=>m===p?null:p),style:{cursor:"pointer",color:h?M.NAVY:"rgba(74,85,104,0.42)",transition:"color 500ms ease"},children:[s.jsxs("span",{style:{position:"relative",color:h?f:"inherit",transition:"color 500ms ease"},children:[u.verb,s.jsx("span",{"aria-hidden":"true",style:{position:"absolute",left:0,bottom:"-4px",height:"3px",width:"100%",borderRadius:"2px",backgroundColor:f,transformOrigin:"left center",transform:`scaleX(${t?0:h?1:0})`,transition:"transform 500ms ease"}})]}),u.rest," "]},u.verb)})}),s.jsx("p",{className:"font-body mt-4 max-w-2xl",style:{fontSize:"17px",fontWeight:300,lineHeight:1.75,color:M.INK},children:"Every engagement starts with one shared picture of your ecosystem — built by your own partners. From there, we turn it into action the whole coalition owns."}),s.jsx("div",{className:"mt-10",children:s.jsx(L9,{items:e,activeIndex:t?void 0:d,onHoverIndex:l,onSelectIndex:u=>i(p=>p===u?null:u)})})]})},S3=({children:e})=>s.jsx("section",{className:"py-12 md:py-16",style:{background:ho.PAPER},children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6 relative",children:[s.jsx("span",{"aria-hidden":"true",className:"font-display absolute select-none",style:{fontSize:"110px",lineHeight:1,color:M.TEAL,opacity:.24,top:"-26px",left:"8px"},children:"“"}),s.jsx("p",{className:"font-display italic relative",style:{fontSize:"clamp(20px, 3vw, 27px)",lineHeight:1.4,color:M.NAVY},children:e})]})}),F9=({note:e="This is the path we recommend, in order. Where an ecosystem stops is a choice about how far to go, not where to jump in.",size:t="compact",heading:n,intro:r,cta:o})=>{const i=t==="large";return s.jsx("section",{className:i?"py-10 md:py-16 bg-white":"pb-4 md:pb-10 bg-white",children:s.jsxs("div",{className:`${i?"max-w-[1400px]":"max-w-5xl"} mx-auto px-4 md:px-6`,children:[s.jsx("p",{className:`font-body uppercase text-center ${n?"mb-3":"mb-6"}`,style:{fontSize:i?"clamp(11px, 2.6vw, 14px)":"clamp(9.5px, 2.4vw, 11.5px)",letterSpacing:"0.12em",fontWeight:700,color:M.TEAL,whiteSpace:"nowrap"},children:"Reveal › Clarify › Activate"}),n&&s.jsx("h2",{className:"font-display font-bold text-center mb-3",style:{fontSize:"clamp(24px, 3.4vw, 34px)",color:M.NAVY},children:n}),r&&s.jsx("p",{className:"font-body text-center mx-auto mb-8 max-w-2xl",style:{fontSize:"16px",fontWeight:300,lineHeight:1.7,color:M.INK},children:r}),s.jsx("div",{children:i?s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"hidden md:block",children:s.jsx(wi,{variant:"slide",interactive:!0})}),s.jsx("div",{className:"md:hidden -mx-4 px-4 overflow-x-auto",children:s.jsx("div",{style:{width:620},children:s.jsx(wi,{variant:"compact",interactive:!0})})})]}):s.jsx(wi,{variant:"compact",interactive:!0,style:{height:184}})}),s.jsx("p",{className:"font-body text-center mt-6",style:{fontSize:i?"16px":"13.5px",fontWeight:300,color:M.INK},children:e}),o&&s.jsx("div",{className:"text-center mt-7",children:s.jsx(wp,{cta:o,className:"inline-flex items-center justify-center font-body rounded-lg min-h-[48px] px-8 text-white transition-opacity hover:opacity-90",style:{fontSize:"14px",fontWeight:600,backgroundColor:M.NAVY}})})]})})},dj=({heading:e,body:t,primary:n,secondary:r,background:o="bg-white",showRule:i=!0,flush:a=!1})=>s.jsx("section",{className:`${a?"":"pt-14 md:pt-20"} ${o}`,children:s.jsx(tt,{waveHeight:a?0:24,style:{padding:a?"40px 24px 56px":"44px 24px 52px"},children:s.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[s.jsx("h2",{className:"font-display font-bold mb-3",style:{fontSize:"clamp(23px, 3.2vw, 30px)",color:"#ffffff"},children:e}),s.jsx("p",{className:"font-body mx-auto mb-8 max-w-xl",style:{fontSize:"16px",fontWeight:300,lineHeight:1.7,color:"rgba(255,255,255,0.86)"},children:t}),s.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-3",children:[s.jsx(wp,{cta:n,className:"inline-flex items-center justify-center font-body rounded-lg min-h-[48px] px-7 w-full sm:w-auto btn-on-navy",style:{fontSize:"14px",fontWeight:600}}),r&&s.jsx(wp,{cta:r,className:"inline-flex items-center justify-center font-body rounded-lg min-h-[48px] px-7 transition-colors w-full sm:w-auto",style:{fontSize:"14px",fontWeight:600,color:"#ffffff",border:"1.5px solid rgba(255,255,255,0.6)"}})]})]})})}),H9=({eyebrow:e,accent:t,items:n})=>s.jsx("section",{className:"py-12 md:py-16 bg-white",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6",children:[s.jsx("p",{className:"fade-up font-body uppercase mb-4",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:t},children:e}),s.jsx("ul",{className:"space-y-3",children:n.map(r=>s.jsxs("li",{className:"fade-up flex gap-3",children:[s.jsx("span",{className:"mt-[10px] flex-shrink-0 rounded-full",style:{width:6,height:6,backgroundColor:t}}),s.jsx("span",{className:"font-body",style:{fontSize:"17px",fontWeight:300,lineHeight:1.7,color:M.INK},children:r})]},r))})]})}),Og=["M0 40 C120 10,240 50,360 25 C480 0,600 45,720 20 C840 0,960 35,1080 10 C1200 0,1320 30,1440 15 L1440 60 L0 60 Z","M0 30 C180 55,360 5,540 35 C720 60,900 10,1080 40 C1200 55,1320 15,1440 25 L1440 60 L0 60 Z","M0 45 C160 15,320 50,480 20 C640 0,800 40,960 15 C1120 0,1280 35,1440 10 L1440 60 L0 60 Z"];function hi({fromColor:e,toColor:t,variant:n=0,flip:r=!1,height:o=40}){return s.jsxs("div",{className:"relative w-full overflow-hidden",style:{backgroundColor:e,marginTop:"-1px",marginBottom:"-1px",lineHeight:0},"aria-hidden":"true",children:[s.jsx("svg",{className:"block w-full",viewBox:"0 0 1440 60",fill:"none",preserveAspectRatio:"none",style:{height:`${o}px`,transform:r?"scaleY(-1)":void 0,display:"block"},children:s.jsx("path",{d:Og[n%Og.length],fill:t})}),s.jsx("div",{style:{height:2,backgroundColor:t,marginTop:-1,marginBottom:-1}})]})}const ct="/assets/ecosystem-edge-logo-BLW_grjE.png",Gk={Entrepreneurs:Tn[0].color,Corporates:Tn[1].c
350olor,Government:Tn[2].color,Storytellers:Tn[3].color,Academia:Tn[4].color,ServiceProviders:Tn[5].color,TradeAssociations:Tn[6].color,EcosystemSupport:Tn[7].color,Money:Tn[8].color},Ux=[{key:"Entrepreneurs",letter:"E",label:"Entrepreneurs",icon:UD,tooltip:"The founders and companies building what comes next.",angle:0},{key:"Corporates",letter:"C",label:"Corporates",icon:CD,tooltip:"The customers, employers, and anchor firms that create demand.",angle:40},{key:"Government",letter:"O",label:"Government Organizations",icon:DD,tooltip:"Public partners with convening power, resources, and influence.",angle:80},{key:"Storytellers",letter:"S",label:"Storytellers",icon:$D,tooltip:"The people who make the ecosystem’s work visible and understood.",angle:120},{key:"Academia",letter:"Y",label:"Youth + Talent",icon:WD,tooltip:"The people who supply the workforce and future leaders.",angle:160},{key:"ServiceProviders",letter:"S",label:"Service Providers",icon:ED,tooltip:"The expertise and support that help organizations succeed.",angle:200},{key:"TradeAssociations",letter:"T",label:"Trade + Industry Associations",icon:ZD,tooltip:"The networks that help firms act together on shared interests.",angle:240},{key:"EcosystemSupport",letter:"E",label:"Ecosystem Support Organizations",icon:Ey,tooltip:"Organizations that make the ecosystem easier to navigate.",angle:280},{key:"Money",letter:"M",label:"Money",icon:OD,tooltip:"The funding that enables ideas, companies, and growth.",angle:320}],Yk=[{key:"Engage",label:"Engage",tooltip:"Early connections form as people begin participating and building trust."},{key:"Discover",label:"Discover",tooltip:"Opportunities and patterns emerge through interaction and experimentation."},{key:"Galvanize",label:"Galvanize",tooltip:"Energy concentrates and collective action begins to take shape."},{key:"Emerge",label:"Emerge",tooltip:"New structures and capabilities arise from sustained collaboration."}],Hi={white:"hsl(0 0% 100%)",navy:"hsl(218 48% 35%)",teal:"hsl(186 49% 57%)",tealLight:"hsl(186 40% 70%)",gold:"hsl(36 64% 67%)",navyLight:"hsl(218 40% 62%)",offWhite:"hsl(40 20% 97%)",divider:"hsl(215 24% 82%)"},V9={Engage:"#8FA2C7",Discover:"#6078A2",Galvanize:"#3F5B8F",Emerge:"#243F70"},uj=()=>{const[e,t]=x.useState(null),[n,r]=x.useState(null),o=380,i=380,a=760,l=52,c=l+4,d=30,u=Yk.map((k,T)=>({inner:c+T*d,outer:c+(T+1)*d})),p=u[3].outer+3,f=300,h=338,g=f+4,m=20,b=k=>(k-90)*(Math.PI/180),v=(k,T)=>({x:o+T*Math.cos(b(k)),y:i+T*Math.sin(b(k))}),y=(k,T,C,R)=>{const L=b(k),I=b(T),F=o+R*Math.cos(L),D=i+R*Math.sin(L),K=o+R*Math.cos(I),U=i+R*Math.sin(I),H=o+C*Math.cos(I),O=i+C*Math.sin(I),W=o+C*Math.cos(L),G=i+C*Math.sin(L),pe=T-k>180?1:0;return`M ${F} ${D} A ${R} ${R} 0 ${pe} 1 ${K} ${U} L ${H} ${O} A ${C} ${C} 0 ${pe} 0 ${W} ${G} Z`},w=(k,T)=>`
351    M ${o} ${i-T} A ${T} ${T} 0 1 1 ${o} ${i+T} A ${T} ${T} 0 1 1 ${o} ${i-T}
352    M ${o} ${i-k} A ${k} ${k} 0 1 0 ${o} ${i+k} A ${k} ${k} 0 1 0 ${o} ${i-k}
353  `,j=(k,T)=>{const C=k.split(" "),R=[];let L="";for(const I of C)L.length+I.length>T&&L?(R.push(L.trim()),L=I):L+=(L?" ":"")+I;return L&&R.push(L.trim()),R},S=f-p,N=p+S*.47;return s.jsx("div",{className:"flex flex-col items-center justify-center w-full mx-auto",style:{overflow:"visible"},children:s.jsxs("svg",{viewBox:`21 21 ${a-42} ${a-42}`,className:"w-full h-auto",style:{maxWidth:"900px",overflow:"visible"},children:[s.jsx("defs",{children:s.jsx("clipPath",{id:"centerClip",children:s.jsx("circle",{cx:o,cy:i,r:l-2})})}),s.jsx("circle",{cx:o,cy:i,r:g,fill:"none",stroke:Hi.navy,strokeWidth:"6",className:"pointer-events-none"}),Yk.map((k,T)=>{const{inner:C,outer:R}=u[T],L=n===k.key,I=V9[k.key];return s.jsxs(bk,{delayDuration:0,children:[s.jsx(wk,{asChild:!0,children:s.jsxs("g",{onMouseEnter:()=>r(k.key),onMouseLeave:()=>r(null),className:"cursor-pointer",children:[s.jsx("path",{d:w(C,R),fill:I,fillRule:"evenodd",className:"transition-all duration-200",opacity:L?1:.92}),s.jsx("text",{x:o,y:i+(C+R)/2,textAnchor:"middle",dominantBaseline:"middle",fill:Hi.white,fontSize:"13",fontWeight:"700",className:"pointer-events-none select-none",children:k.label})]})}),s.jsxs(ab,{side:"right",className:"max-w-[260px]",style:{borderLeft:`4px solid ${I}`},children:[s.jsx("p",{className:"font-semibold text-navy mb-1",children:k.label}),s.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:k.tooltip})]})]},k.key)}),Ux.map(k=>{const T=k.angle+m,C=T-20,R=T+20,L=e===k.key,I=v(T,N);k.icon;const F=j(k.label,11),D=F.length>=3?14:F.length===2?16:18,K=Gk[k.key]??Hi.navy;
353return s.jsxs(bk,{delayDuration:0,children:[s.jsx(wk,{asChild:!0,children:s.jsxs("g",{onMouseEnter:()=>t(k.key),onMouseLeave:()=>t(null),className:"cursor-pointer",children:[s.jsx("path",{d:y(C,R,p,f),fill:L?K:"#FBFCFD",fillOpacity:L?.1:1,stroke:L?K:Hi.divider,strokeWidth:L?2:.9,strokeOpacity:L?1:.8,className:"transition-all duration-200"}),s.jsx("text",{x:I.x,y:I.y+4,textAnchor:"middle",fill:Hi.navy,fontSize:D,fontWeight:"700",className:"pointer-events-none select-none",children:F.map((U,H)=>s.jsx("tspan",{x:I.x,dy:H===0?`${-(F.length-1)*.5}em`:"1.15em",children:U},H))})]})}),s.jsxs(ab,{side:"top",className:"max-w-[280px] z-50",style:{borderLeft:`4px solid ${K}`},children:[s.jsx("p",{className:"font-semibold text-navy mb-1",children:k.label}),s.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:k.tooltip})]})]},k.key)}),Ux.map(k=>{const T=k.angle-20+m,C=b(T);return s.jsx("line",{x1:o,y1:i,x2:o+f*Math.cos(C),y2:i+f*Math.sin(C),stroke:Hi.divider,strokeWidth:"1.5",className:"pointer-events-none"},`div-${k.key}`)}),Ux.map(k=>{const T=k.angle+m,C=v(T,h),R=Gk[k.key]??Hi.navy,L=e===k.key;return s.jsxs("g",{className:"pointer-events-none select-none",children:[s.jsx("circle",{cx:C.x,cy:C.y,r:L?18:16,fill:R,className:"transition-all duration-200"}),s.jsx("text",{x:C.x,y:C.y,textAnchor:"middle",dominantBaseline:"central",fill:"#ffffff",fontSize:"18",fontWeight:"800",className:"font-display",children:k.letter})]},`letter-${k.key}`)}),s.jsx("circle",{cx:o,cy:i,r:l,fill:"white",stroke:Hi.teal,strokeWidth:"3"}),s.jsx("image",{href:ct,x:o-42,y:i-26,width:"84",height:"52",clipPath:"url(#centerClip)",preserveAspectRatio:"xMidYMid meet"})]})})};function xu(){const e=x.useRef(null);return x.useEffect(()=>{const t=e.current;if(!t)return;const n=new IntersectionObserver(a=>{a.forEach(l=>{l.isIntersecting&&(l.target.classList.add("visible"),n.unobserve(l.target))})},{threshold:0,rootMargin:"0px 0px -40px 0px"}),r=a=>{if(a.classList.contains("visible"))return;const l=a.getBoundingClientRect();if(l.top<window.innerHeight&&l.bottom>0){a.classList.add("visible");return}n.observe(a)},o=a=>{var l;a instanceof Element&&a.classList.contains("fade-up")&&r(a),(l=a.querySelectorAll)==null||l.call(a,".fade-up").forEach(r)};o(t);const i=new MutationObserver(a=>{a.forEach(l=>{l.addedNodes.forEach(c=>{c.nodeType===1&&o(c)})})});return i.observe(t,{childList:!0,subtree:!0}),()=>{n.disconnect(),i.disconnect()}},[]),e}const U9="https://ecosystem-edge.com",Ve=({title:e,description:t,path:n,type:r="website",image:o,noindex:i=!1,jsonLd:a})=>{const l=`${U9}${n}`,c=a?Array.isArray(a)?a:[a]:[];return s.jsxs(EO,{children:[s.jsx("title",{children:e}),s.jsx("meta",{name:"description",content:t}),s.jsx("link",{rel:"canonical",href:l}),i&&s.jsx("meta",{name:"robots",content:"noindex, nofollow"}),s.jsx("meta",{property:"og:title",content:e}),s.jsx("meta",{property:"og:description",content:t}),s.jsx("meta",{property:"og:url",content:l}),s.jsx("meta",{property:"og:type",content:r}),o&&s.jsx("meta",{property:"og:image",content:o}),s.jsx("meta",{name:"twitter:card",content:o?"summary_large_image":"summary"}),s.jsx("meta",{name:"twitter:title",content:e}),s.jsx("meta",{name:"twitter:description",content:t}),o&&s.jsx("meta",{name:"twitter:image",content:o}),c.map((d,u)=>s.jsx("script",{type:"application/ld+json",children:JSON.stringify(d)},u))]})},G9=[{accent:M.GREEN,title:"Funders",body:`See where an investment holds 
354instead of unravels.`,to:"/for-funders"},{accent:M.PURPLE,title:"Ecosystem Builders",body:`Work from one picture your 
355partners helped build.`,to:"/for-builders"},{accent:M.TEAL,title:"Communities of Practice",body:`One shared language, so regions 
356can learn from each other.`,to:"/for-field-builders"}],Y9=[{n:"40+",l:"regional coalitions"},{n:"9",l:"partner groups"},{n:"4",l:"distinct phases"}],q9=()=>{const e=xu();return s.jsxs(Os,{children:[s.jsx(Ve,{title:"Ecosystem Edge® | Braid Your Region Into an Investable Ecosystem",description:"One clear view of how your partners connect, so funders, Ecosystem Builders, and Field Builders can see what is strengthening and act on it together.",path:"/"}),s.jsxs("div",{ref:e,children:[s.jsx(cj,{eyebrow:"Ecosystem Edge®",accent:M.TEAL,headline:s.jsxs(s.Fragment,{children:[s.jsxs("span",{style:{display:"block",fontSize:"clamp(12px, 1.6vw, 16px)",letterSpacing:"0.08em",fontWeight:600,marginBottom:"0.6rem"},children:[s.jsx("span",{style:{color:M.NAVY},children:"Reveal"}),s.jsx("span",{style:{color:"rgba(45,77,131,0.35)"},children:". "}),s.jsx("span",{style:{color:M.DEEP_TEAL},children:"Clarify"}),s.jsx("span",{style:{color:"rgba(45,77,131,0.35)"},children:". "}),s.jsx("span",{style:{color:M.GOLD},children:"Activate"}),s.jsx("span",{style:{color:"rgba(45,77,131,0.35)"},children:"."})]}),s.jsx("span",{style:{color:M.NAVY},children:"Braid your region’s strengths into "}),s.jsx("em",{className:"font-display italic",style:{color:M.TEAL},children:"an investable ecosystem."})]}),intro:s.jsx(s.Fragment,{children:"Your region already has the assets. Whether they wobble or stay woven comes down to the connective infrastru
356cture between them. That's the part no one sees. We measure it, and we help you strengthen it."}),note:s.jsx(s.Fragment,{children:"40 ecosystems · 15 states · Five years of field-tested practice"}),primary:{label:"Start the Process",to:"/scorecard"},secondary:{label:"Book a call",href:"https://calendar.app.google/31Qa6HfhwAfhDvtk6",external:!0},reassurance:"Twelve months from a shared picture to a woven ecosystem.",visual:s.jsx(w3,{size:320})}),s.jsx("section",{className:"py-16 md:py-20 bg-white",children:s.jsx("div",{className:"max-w-5xl mx-auto px-6",children:s.jsxs("div",{className:"fade-up",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("span",{className:"w-8 h-[2px]",style:{backgroundColor:M.TEAL}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:M.TEAL},children:"How we work with you"})]}),s.jsx(B9,{})]})})}),s.jsx(hi,{fromColor:"#ffffff",toColor:"#fafaf8",variant:0}),s.jsx("section",{className:"py-16 md:py-20",style:{backgroundColor:"#fafaf8"},children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up max-w-2xl mb-10",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("span",{className:"w-8 h-[2px]",style:{backgroundColor:M.GOLD}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:M.GOLD},children:"Nine partner groups"})]}),s.jsx("h2",{className:"font-display font-bold mb-4 max-w-none whitespace-normal md:whitespace-nowrap",style:{fontSize:"clamp(26px, 3.6vw, 36px)",lineHeight:1.14,color:M.NAVY},children:"Nine strands. Four phases. One braid."}),s.jsx("p",{className:"font-body",style:{fontSize:"17px",fontWeight:300,lineHeight:1.75,color:M.INK},children:"A healthy ecosystem weaves these nine together — with shared governance as the hands doing the weaving. The strengths and gaps surface as we run the Ecosystem Edge process with you and your partners."})]}),s.jsx("div",{className:"fade-up mx-auto",style:{maxWidth:"620px",overflow:"visible"},children:s.jsx(uj,{})}),s.jsx("div",{className:"fade-up mt-10 flex justify-center",children:s.jsx(et,{to:"/how-it-works#the-process",className:"font-body inline-flex items-center gap-2 rounded-full px-7 py-3.5 text-white transition-opacity hover:opacity-90",style:{fontSize:"15px",fontWeight:600,backgroundColor:M.NAVY},children:"See the full process →"})})]})}),s.jsx(hi,{fromColor:"#fafaf8",toColor:"#ffffff",variant:1}),s.jsx("section",{className:"py-12 bg-white",children:s.jsx("div",{className:"max-w-5xl mx-auto px-6",children:s.jsx("div",{className:"fade-up grid sm:grid-cols-3 gap-8 text-center",children:Y9.map(t=>s.jsxs("div",{children:[s.jsx("p",{className:"font-display font-bold",style:{fontSize:"clamp(30px, 4.4vw, 42px)",lineHeight:1,color:M.TEAL},children:t.n}),s.jsx("p",{className:"font-body mt-2",style:{fontSize:"14px",fontWeight:300,color:M.INK},children:t.l})]},t.l))})})}),s.jsx("section",{className:"pb-16 md:pb-20 bg-white",children:s.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up max-w-2xl mb-8",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("span",{className:"w-8 h-[2px]",style:{backgroundColor:M.PURPLE}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:M.PURPLE},children:"Who it’s for"})]}),s.jsx("h2",{className:"font-display font-bold max-w-none whitespace-normal md:whitespace-nowrap",style:{fontSize:"clamp(26px, 3.6vw, 36px)",lineHeight:1.14,color:M.NAVY},children:"One clear view everyone can act on together."})]}),s.jsx("div",{className:"fade-up grid md:grid-cols-3 gap-5",children:G9.map(t=>s.jsxs(et,{to:t.to,className:"rounded-2xl p-6 bg-white transition-transform hover:-translate-y-1 motion-reduce:transform-none",style:{border:"1px solid #e4e7ec",borderTop:`4px solid ${t.accent}`,boxShadow:"0 18px 34px -22px rgba(45,77,131,0.55)"},children:[s.jsx("h3",{className:"font-display font-bold mb-2",style:{fontSize:"19px",color:M.NAVY},children:t.title}),s.jsx("p",{className:"font-body mb-4",style:{fontSize:"14px",fontWeight:300,lineHeight:1.7,color:M.INK},children:t.body}),s.jsx("span",{className:"font-body",style:{fontSize:"13.5px",fontWeight:600,color:t.accent},children:"Read more →"})]},t.title))})]})}),s.jsx(S3,{children:"We walked in with twenty different pictures of our ecosystem. We walked out with one that was actionable."}),s.jsx(hi,{fromColor:"#F7F9FB",toColor:M.NAVY,variant:2,height:56}),s.jsx("div",{style:{backgroundColor:M.NAVY},children:s.jsx(dj,{heading:"The process starts with one shared picture.",body:"Begin with a guided view of your ecosystem, then bring your partners in to see where you really stand — and weave the connective infrastru
356cture that moves the whole system forward.",primary:{label:"Start the Process",to:"/scorecard"},secondary:{label:"Book a call",href:"https://calendar.app.google/31Qa6HfhwAfhDvtk6",external:!0},background:"",showRule:!1,flush:!0})})]})]})},Gx=[{center:"Startup growth and founder retention",node:0,read:"Investors, corporates, and support organizations are prioritized by how well they support founders."},{center:"Good jobs, hiring, and advancement",node:4,read:"Employers, talent organizations, and service providers are prioritized by how well they support workers."},{center:"Industry and anchor-sector growth",node:1,read:"Associations, government, and money are prioritized by how well they support industry growth."}],K9=()=>s.jsx("svg",{viewBox:"0 0 900 40",preserveAspectRatio:"none",style:{width:"100%",height:30},"aria-hidden":"true",children:[150,450,750].map(e=>s.jsx("path",{d:`M450 0 C 450 20, ${e} 18, ${e} 40`,fill:"none",stroke:M.NAVY,strokeOpacity:.5,strokeWidth:2,strokeLinecap:"round"},e))}),Z9=()=>{const[e,t]=x.useState(0),n=br[Gx[e].node];return s.jsxs(s.Fragment,{children:[s.jsx("section",{className:"py-16 md:py-20 pb-8 md:pb-10",style:{backgroundColor:"#F7F9FB"},children:s.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[s.jsx("p",{className:"fade-up font-body uppercase text-center",style:{fontSize:12,letterSpacing:"0.16em",fontWeight:700,color:M.TEAL},children:"Same practice, tailored to your purpose"}),s.jsx("h2",{className:"fade-up font-display text-2xl md:text-3xl font-bold text-center leading-tight mt-3",style:{color:M.NAVY},children:"One practice, centered on what you are trying to strengthen."}),s.jsx("p",{className:"fade-up font-body text-center max-w-2xl mx-auto mt-4",style:{fontSize:16,fontWeight:300,lineHeight:1.78,color:"#4a5568"},children:"Same ecosystem, same rigor. Your purpose changes which group we center; everything else is prioritized by how well it supports that group."}),s.jsxs("div",{className:"fade-up mt-10",children:[s.jsx("div",{className:"flex justify-center",children:s.jsx("span",{className:"font-body uppercase",style:{background:M.NAVY,color:"#fff",fontSize:12,letterSpacing:"0.18em",fontWeight:700,padding:"6px 18px",borderRadius:999},children:"Same ecosystem"})}),s.jsx("div",{className:"flex justify-center",style:{marginTop:2},children:s.jsx("span",{style:{width:2,height:12,background:"rgba(45,77,131,0.5)",display:"block"}})}),s.jsx("p",{className:"font-display text-center",style:{fontSize:16,color:M.NAVY,fontWeight:700,marginTop:4},children:"Different objectives"}),s.jsx("div",{className:"hidden md:block",children:s.jsx(K9,{})}),s.jsx("div",{className:"grid md:grid-cols-3 gap-4 mt-4 md:mt-0",children:Gx.map((r,o)=>{const i=br[r.node];return s.jsxs("button",{type:"button",onClick:()=>t(o),onMouseEnter:()=>t(o),onFocus:()=>t(o),"aria-pressed":e===o,className:"rounded-xl text-left transition-shadow",style:{border:"1px solid #e4e7ec",borderTop:`4px solid ${i.color}`,background:"#fff",padding:"16px 18px",opacity:e===o?1:.72,boxShadow:e===o?"0 18px 34px -22px rgba(45,77,131,0.55)":"none"},children:[s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:M.NAVY,fontWeight:700},children:r.center}),s.jsxs("span",{className:"inline-flex items-center",style:{gap:6,marginTop:10,padding:"4px 10px",borderRadius:999,background:`${i.color}1f`},children:[s.jsx("span",{"aria-hidden":!0,style:{width:9,height:9,borderRadius:99,background:i.color,display:"inline-block"}}),s.jsxs("span",{className:"font-body uppercase",style:{fontSize:11.5,letterSpacing:"0.08em",color:M.NAVY,fontWeight:700},children:["Centers ",i.label]})]}),s.jsx("p",{className:"font-body",style:{fontSize:14,lineHeight:1.65,color:"#4a5568",marginTop:10,fontWeight:300},children:r.read})]},r.center)})})]}),s.jsxs("div",{className:"fade-up flex flex-col md:flex-row items-center justify-center gap-8 md:gap-10 mt-12",children:[s.jsx("div",{className:"shrink-0",children:s.jsx(yu,{size:260,centerIndex:Gx[e].node})}),s.jsxs("div",{className:"max-w-md",children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:12,letterSpacing:"0.16em",fontWeight:700,color:n.color},children:"Same ecosystem, re-prioritized"}),s.jsxs("p",{className:"font-display",style:{fontSize:20,lineHeight:1.3,color:M.NAVY,fontWeight:700,marginTop:6},children:["Everything else is prioritized by how well it supports"," ",s.jsx("span",{style:{color:n.color},children:n.label}),"."]}),s.jsx("p",{className:"font-body",style:{fontSize:15,lineHeight:1.65,color:"#5a6779",marginTop:10,fontWeight:300},children:"Shared governance is always prioritized first and never centered. It is what lets progress hold."}),s.jsx("p",{className:"font-body italic",style:{fontSize:13,lineHeight:1.5,color:"#8d97a6",marginTop:10},children:"Select an objective above to re-center the ecosystem."})]})]}),s.jsxs("p",{className:"fade-up font-body max-w-3xl mx-auto",style:{fontSize:15,lineHeight:1.7,color:"#5a6779",marginTop:40,paddingTop:18,borderTop:"1px solid rgba(45,77,131,0.14)"},children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:12,letterSpacing:"0.14em",fontWeight:700,color:M.NAVY},children:"Region or sector"}
356)," ","for a region, work all nine strands across the geography. For an industry, work the same nine within the sector: “Corporates” becomes the industry’s anchor firms, “Money” becomes the sector’s investors."]})]})}),s.jsxs("div",{children:[s.jsx(tt,{waveHeight:22,style:{padding:"46px 24px 50px"},children:s.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:11.5,letterSpacing:"0.2em",color:M.GOLD,fontWeight:700},children:"Built to flex"}),s.jsx("p",{className:"font-display mx-auto",style:{fontSize:"clamp(19px, 2.8vw, 24px)",lineHeight:1.4,color:"#fff",fontWeight:700,marginTop:10,maxWidth:620},children:"One practice flexes across a portfolio, a region, or a whole field, even as places, objectives, and strategy change."})]})}),s.jsx(tt,{wave:"bottom",waveHeight:22,style:{padding:0},children:s.jsx("div",{})})]})]})},Q9=["Entrepreneurs","Storytellers","Trade + Industry Associations","Corporates","Youth + Talent","Ecosystem Support Organizations","Money","Service Providers","Government Organizations"],k3=Q9.map(e=>{var t;return((t=Tn.find(n=>n.name===e))==null?void 0:t.color)??"#2D4D83"}),J9=[6,7,8].map(e=>k3[e]),Mm="#2D4D83",Bm="#59BEC9",hj=({color:e=Bm,height:t=9})=>s.jsx("svg",{width:"100%",height:t,viewBox:"0 0 120 10",preserveAspectRatio:"none","aria-hidden":"true",style:{display:"block"},children:s.jsx("path",{d:"M0 5 C 7.5 0.4, 15 9.6, 22.5 5 S 37.5 0.4, 45 5 S 60 9.6, 67.5 5 S 82.5 0.4, 90 5 S 105 9.6, 112.5 5 S 120 3, 120 5",fill:"none",stroke:e,strokeWidth:2.4,strokeLinecap:"round"})}),T3=({letter:e,color:t,size:n=28})=>s.jsx("span",{"aria-hidden":"true",className:"font-display flex items-center justify-center shrink-0",style:{width:n,height:n,borderRadius:"50%",background:t,color:"#fff",fontWeight:700,fontSize:n*.58,lineHeight:1},children:e}),X9=({letter:e,name:t,color:n,role:r,evidence:o})=>s.jsxs("div",{className:"flex flex-col h-full overflow-hidden bg-white transition-transform hover:-translate-y-1 motion-reduce:transform-none",style:{border:"1px solid #e4e7ec",borderRadius:14,boxShadow:"0 18px 34px -22px rgba(45,77,131,0.55)",paddingBottom:14},children:[s.jsx("div",{style:{paddingTop:5},children:s.jsx(hj,{color:n})}),s.jsxs("div",{className:"px-5 pt-3",children:[s.jsx(T3,{letter:e,color:n}),s.jsx("h3",{className:"font-display font-bold mt-3",style:{fontSize:"17px",lineHeight:1.18,color:Mm},children:t}),s.jsx("p",{className:"font-body mt-2",style:{fontSize:"14px",fontWeight:300,lineHeight:1.6,color:"#4b5565"},children:r})]}),s.jsx("div",{className:"px-5 mt-auto pt-4",children:s.jsxs("div",{style:{borderTop:"1px solid #e4e7ec",paddingTop:10},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:"10px",letterSpacing:"0.13em",fontWeight:700,color:n},children:"Success looks like"}),s.jsx("p",{className:"font-body mt-1",style:{fontSize:"13px",fontWeight:300,lineHeight:1.55,color:"#6b7686"},children:o})]})})]}),eB=()=>s.jsx("div",{className:"flex justify-center",children:s.jsx("div",{className:"w-full max-w-[520px]",children:s.jsx(of,{strands:k3,cord:J9})})}),tB=()=>s.jsxs("div",{className:"overflow-hidden bg-white",style:{border:"1px solid #e4e7ec",borderRadius:14,boxShadow:"0 18px 34px -22px rgba(45,77,131,0.55)"},children:[s.jsx("div",{style:{paddingTop:5},children:s.jsx(hj,{color:Mm})}),s.jsxs("div",{className:"px-6 md:px-8 pt-5 pb-6",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(oc,{size:34}),s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:"10.5px",letterSpacing:"0.14em",fontWeight:700,color:Bm},children:"The Backbone"}),s.jsx("h3",{className:"font-display font-bold",style:{fontSize:"21px",lineHeight:1.15,color:Mm},children:"Shared Governance"})]})]}),s.jsx("p",{className:"font-body mt-4",style:{fontSize:"14.5px",fontWeight:300,lineHeight:1.7,color:"#4b5565"},children:"Nine partner groups don’t add up to a working ecosystem on their own. Shared Governance is what builds connections between them — no agenda of its own, fluent in all nine. It is the capacity most regions leave unassigned and unfunded."}),s.jsxs("div",{style:{borderTop:"1px solid #e4e7ec",marginTop:18,paddingTop:14},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:"10.5px",letterSpacing:"0.14em",fontWeight:700,color:Bm},children:"Success looks like"}),s.jsx("ul",{className:"mt-2 grid md:grid-cols-3 gap-x-8 gap-y-2",children:["Someone is clearly accountable for the whole, and is resourced to do it.","Every partner group knows its role and who to go to when work stalls.","Gaps between partners get named early, not after something breaks."].map(e=>s.jsxs("li",{className:"font-body flex gap-2",style:{fontSize:"14.5px",fontWeight:400,lineHeight:1.6,color:Mm},children:[s.jsx("span",{"aria-hidden":"true",style:{color:Bm,fontWeight:700},children:"•"}),s.jsx("span",{children:e})]},e))})]})]})]}),nB=1,sB="6a8df869-220b-41ac-8e4e-f5e01fe39f7e",rB="ad65106b-3a35-40ca-85a5-313ebfbdb26e",oB="/__l5e/assets-v1/6a8df869-220b-41ac-8e4e-f5e01fe39f7e/sample-report-desk.png",iB="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/6a8df869-220b-41ac-8e4e-f5e01fe39f7e/sample-report-desk.png",aB="sample-report-desk.png",lB=2099190,cB="image/png",dB="2026-09-10T16:31:55Z",uB={version:nB,asset_id:sB,project_id:rB,url:oB,r2_key:iB,original_filename:aB,size:lB,content_type:cB,created_at:dB},hB="/assets/scorecard-closeup-C3XU66wI.png",vu="/assets/coalition-session-photo-Wpa-NDwX.jpg",Dy="/assets/sticky-map-tFSUOuVs.jpg",qk=["#A9BAD6","#7D95BC","#54719F","#2D4D83"],pB=[{letter:"E",name:"Engage",body:"Are these partners in the room? Engage shows presence and mutual awareness, not depth. Without it, nothing else is possible."},{letter:"D",name:"Discover",body:"Are you finding out what partners genuinely need, and are they learning what you offer? Discover shows mutual understanding."},{letter:"G",name:"Galvanize",body:"Are partners contributing resources, connections, or action? Galvanize shows whether relationships became real collaboration."},{letter:"E",name:"Emerge",body:"Are initiatives executing and results visible? Emerge shows whether the work produces outcomes partners can learn from."}];Tn.map(e=>e.short);const fB=()=>{const e=xu();return s.jsxs(Os,{children:[s.jsx(Ve,{title:"How It Works | The ECOSYSTEM EDGE® Practice",description:"See how the Ecosystem Edge® scorecard works: score independently, compare across partners, act on the gaps that matter.",path:"/how-it-works"}),s.jsxs("div",{ref:e,children:[s.jsx(cj,{eyebrow:"How It Works",accent:M.TEAL,headline:s.jsxs(s.Fragment,{children:["From scattered signals to"," ",s.jsx("em",{className:"font-display italic",style:{color:M.TEAL},children:"a shared strategy you can stand behind."})]}),intro:s.jsx(s.Fragment,{children:"In about 20 minutes, you rate your region’s relationship with nine partner groups across four phases of development. What comes back isn’t a score to file away: it’s a clear picture of where your ecosystem is strong, where it’s stalling, and which two or three actions change the most, in language your board and your funders already understand."}),primary:{label:"Run your Scorecard",href:"/scorecard"},secondary:{label:"Book a call",href:"https://calendar.app.google/31Qa6HfhwAfhDvtk6",external:!0},visual:s.jsx("img",{src:vu,alt:"Regional partners seated around a table working through an Ecosystem Edge session together",className:"w-full max-w-md rounded-xl shadow-lg",loading:"lazy"})}),s.jsx(Z9,{}),s.jsx("section",{className:"py-16 md:py-20 bg-white",children:s.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up max-w-3xl",children:[s.jsx("h2",{className:"font-display text-2xl md:text-3xl font-bold leading-tight",style:{color:M.NAVY},children:"Humans think linearly. Ecosystems don’t work that way."}),s.jsx("p",{className:"font-body text-base md:text-lg leading-relaxed mt-4",style:{color:"#4a5568"},children:"A logical plan assumes step one leads to step two. Ecosystems run on relationships, roles, and trust, all moving at once. That’s why linear plans stall, and why the work that compounds is the work that strengthens the connections between partners."})]}),s.jsxs("div",{className:"fade-up grid md:grid-cols-2 gap-6 mt-10",children:[s.jsxs("div",{className:"rounded-2xl p-6 bg-white ee-card-raised ee-card-hover",style:{border:"1px solid #e4e7ec",borderTop:`4px s
356olid ${M.NAVY}`},children:[s.jsx("p",{className:"font-body text-xs font-semibold tracking-[0.12em] uppercase mb-3",style:{color:M.NAVY},children:"How Humans Plan"}),s.jsx("p",{className:"font-body text-base leading-relaxed",style:{color:"#4a5568"},children:"A sequence of steps, milestones on a timeline, one lead organization holding it."}),s.jsx("div",{className:"flex items-center gap-2 mt-6","aria-hidden":"true",children:[0,1,2,3].map(t=>s.jsxs(P.Fragment,{children:[s.jsx("span",{className:"rounded-full",style:{width:10,height:10,backgroundColor:M.NAVY,opacity:.65}}),t<3&&s.jsx("span",{className:"flex-1",style:{height:2,backgroundColor:"rgba(45,77,131,0.2)"}})]},t))})]}),s.jsxs("div",{className:"rounded-2xl p-6 bg-white ee-card-raised ee-card-hover",style:{border:"1px solid #e4e7ec",borderTop:`4px solid ${M.TEAL}`},children:[s.jsx("p",{className:"font-body text-xs font-semibold tracking-[0.12em] uppercase mb-3",style:{color:"#2a8a94"},children:"How Ecosystems Strengthen"}),s.jsx("p",{className:"font-body text-base leading-relaxed",style:{color:"#4a5568"},children:"Relationships in every direction, overlapping roles, responsibility shared across partners."}),s.jsxs("svg",{viewBox:"0 0 220 44",className:"w-full mt-6",style:{height:44},"aria-hidden":"true",children:[[[22,22,74,12],[22,22,74,34],[74,12,126,32],[74,34,126,12],[74,12,126,12],[74,34,126,34],[126,12,190,22],[126,32,190,22]].map(([t,n,r,o],i)=>s.jsx("line",{x1:t,y1:n,x2:r,y2:o,stroke:"rgba(79,163,165,0.45)",strokeWidth:"1.5"},i)),[[22,22],[74,12],[74,34],[126,12],[126,32],[190,22]].map(([t,n],r)=>s.jsx("circle",{cx:t,cy:n,r:"5",fill:M.TEAL},r))]})]})]})]})}),s.jsx("section",{id:"the-process",className:"py-16 md:py-20 bg-white",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up text-center mb-8",children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:M.TEAL},children:"The Ecosystem Edge® Process"}),s.jsx("h2",{className:"font-display font-bold mt-3 mb-4",style:{fontSize:"clamp(24px, 3.4vw, 34px)",color:M.NAVY},children:"The relationships behind your ecosystem’s performance"}),s.jsx("p",{className:"font-body max-w-xl mx-auto",style:{fontSize:"16px",fontWeight:300,lineHeight:1.75,color:M.INK},children:"Most of your ecosystem’s infrastructure is invisible — not because it doesn’t exist, but because no one has given it a name or a shape. Hover any segment to explore the nine partner groups and four phases."})]}),s.jsx("div",{className:"fade-up mx-auto",style:{maxWidth:"620px",overflow:"visible"},children:s.jsx(uj,{})})]})}),s.jsx("section",{className:"py-16 md:py-20",style:{backgroundColor:ho.PAPER},children:s.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up text-center mb-10",children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:M.GOLD},children:"The nine partner groups"}),s.jsx("h2",{className:"font-display font-bold mt-3",style:{fontSize:"clamp(24px, 3.4vw, 34px)",color:M.NAVY},children:"E · C · O · S · Y · S · T · E · M"})]}),s.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:Tn.map((t,n)=>s.jsx("div",{className:"fade-up h-full",children:s.jsx(X9,{letter:t.letter,name:t.name,color:t.color,role:t.role,evidence:t.evidence})},`${t.letter}-${n}`))}),s.jsx("div",{className:"fade-up mt-6",children:s.jsx(eB,{})}),s.jsx("div",{className:"fade-up mt-2",children:s.jsx(tB,{})})]})}),s.jsx(tt,{waveHeight:22,style:{padding:"56px 0 64px"},children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center mb-10",children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:M.GOLD},children:"The four development phases"}),s.jsx("h2",{className:"font-display font-bold text-white mt-3",style:{fontSize:"clamp(24px, 3.4vw, 34px)"},children:"E · D · G · E"}),s.jsx("p",{className:"font-body text-white/75 mt-4 max-w-2xl mx-auto",style:{fontSize:"16px",fontWeight:300,lineHeight:1.7},children:"Each phase goes deeper than the last. A partner can be present without understanding you, and understanding without contributing."})]}),s.jsxs("div",{className:"hidden lg:flex items-center gap-3 mb-4","aria-hidden":"true",children:[s.jsx("span",{className:"font-body uppercase whitespace-nowrap",style:{fontSize:"11px",letterSpacing:"0.16em",fontWeight:700,color:"rgba(255,255,255,0.5)"},children:"Surface"}),s.jsx("span",{className:"flex-1 h-px",style:{background:"linear-gradient(to right, rgba(255,255,255,0.18), rgba(89,190,201,0.85))"}}),s.jsx("svg",{width:"12",height:"10",viewBox:"0 0 12 10",fill:"none",children:s.jsx("path",{d:"M0 5h9M6.5 1.5 10.5 5l-4 3.5",stroke:M.TEAL,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),s.jsx("span",{className:"font-body uppercase whitespace-nowrap",style:{fontSize:"11px",letterSpacing:"0.16em",fontWeight:700,color:M.TEAL},children:"Deeper"})]}),s.jsxs("div",{className:"relative grid sm:grid-cols-2 lg:grid-cols-4 gap-
3565 items-stretch",children:[s.jsx("span",{"aria-hidden":"true",className:"sm:hidden absolute left-6 top-4 bottom-4 w-px",style:{background:"linear-gradient(to bottom, rgba(255,255,255,0.18), rgba(89,190,201,0.85))"}}),pB.map((t,n)=>s.jsxs("div",{className:"group relative h-full text-left rounded-xl bg-white p-6 transition-all duration-300 hover:-translate-y-1",style:{border:"1px solid #e4e7ec",boxShadow:"0 12px 30px rgba(0,0,0,0.18)",marginTop:0},children:[s.jsx("span",{className:"font-display inline-block mb-3",style:{width:40,height:40,lineHeight:"40px",textAlign:"center",borderRadius:"50%",background:qk[n],color:n===0?"#2D4D83":"#ffffff",fontSize:18,fontWeight:700},children:t.letter}),s.jsx("h3",{className:"font-display text-lg font-bold mb-2",style:{color:M.NAVY},children:t.name}),s.jsx("span",{className:"flex mb-3",style:{gap:3},"aria-hidden":"true",children:[0,1,2,3].map(r=>s.jsx("span",{style:{width:13,height:4,borderRadius:2,background:r<=n?qk[n]:"rgba(90,103,121,0.15)"}},r))}),s.jsx("p",{className:"font-body",style:{fontSize:"14.5px",fontWeight:300,lineHeight:1.7,color:"#5a6779"},children:t.body})]},`${t.letter}-${n}`))]})]})}),s.jsx("section",{className:"py-20",style:{backgroundColor:"#fafaf8"},children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up text-center max-w-2xl mx-auto mb-12",children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:M.TEAL},children:"What running it looks like"}),s.jsxs("h2",{className:"font-display font-bold mt-3",style:{fontSize:"clamp(24px, 3.4vw, 34px)",color:M.NAVY},children:[s.jsx("span",{style:{color:M.NAVY},children:"Reveal"}),s.jsx("span",{style:{color:"#98A2B3"},children:" › "}),s.jsx("span",{style:{color:M.TEAL},children:"Clarify"}),s.jsx("span",{style:{color:"#98A2B3"},children:" › "}),s.jsx("span",{style:{color:M.GOLD},children:"Activate"})]})]}),s.jsxs("div",{className:"grid lg:grid-cols-3 gap-6 items-stretch",children:[s.jsxs("div",{className:"fade-up h-full rounded-2xl bg-white p-6 ee-card-raised ee-card-hover flex flex-col",style:{border:"1px solid #e4e7ec",borderTop:`4px solid ${M.NAVY}`},children:[s.jsx("div",{className:"mb-3",children:s.jsxs("span",{className:"font-body uppercase inline-flex items-center gap-2",style:{fontSize:"11px",letterSpacing:"0.14em",fontWeight:700,color:M.NAVY},children:[s.jsx(Uo,{className:"w-4 h-4",style:{color:M.NAVY},"aria-hidden":"true"}),"Step 1 · Reveal"]})}),s.jsx("h3",{className:"font-display text-lg md:text-xl font-bold mb-3",style:{color:M.NAVY},children:"Build Your Scorecard"}),s.jsxs("div",{className:"clearfix after:block after:clear-both after:content-['']",children:[s.jsx("img",{src:hB,alt:"A completed paper Ecosystem Edge Scorecard on a table",loading:"lazy",className:"w-full sm:w-1/3 h-40 sm:h-44 object-cover object-center rounded-lg mb-4 sm:float-right sm:ml-4",style:{border:"1px solid #e4e7ec",boxShadow:"0 12px 28px -22px rgba(45,77,131,0.7)"}}),s.jsx("p",{className:"font-body text-base leading-relaxed",style:{color:"#4a5568"},children:"Rate your ecosystem’s relationship with each of the nine partner groups across the four phases. The result is a 36-cell grid showing where you’re strong, where it’s stalling, and the patterns no one has been able to name."})]}),s.jsx("div",{className:"mt-auto pt-4",style:{borderTop:"1px solid #eceff3"},children:s.jsx("span",{className:"font-body",style:{fontSize:"12px",color:"#7a8699"},children:"About 20 minutes"})})]}),s.jsxs("div",{className:"fade-up h-full rounded-2xl bg-white p-6 ee-card-raised ee-card-hover flex flex-col",style:{border:"1px solid #e4e7ec",borderTop:`4px solid ${M.DEEP_TEAL}`},children:[s.jsx("div",{className:"mb-3",children:s.jsxs("span",{className:"font-body uppercase inline-flex items-center gap-2",style:{fontSize:"11px",letterSpacing:"0.14em",fontWeight:700,color:M.DEEP_TEAL},children:[s.jsx(Er,{className:"w-4 h-4",style:{color:M.DEEP_TEAL},"aria-hidden":"true"}),"Step 2 · Clarify"]})}),s.jsx("h3",{className:"font-display text-lg md:text-xl font-bold mb-3",style:{color:M.NAVY},children:"Get clear insights"}),s.jsxs("div",{className:"mb-5 after:block after:clear-both after:content-['']",children:[s.jsx("img",{src:uB.url,alt:"Printed pages of sample Ecosystem Edge Vantage Point insights on a desk",loading:"lazy",className:"w-full sm:w-1/3 h-40 sm:h-44 object-cover object-center rounded-lg mb-4 sm:float-right sm:ml-4",style:{border:"1px solid #e4e7ec",boxShadow:"0 12px 28px -22px rgba(45,77,131,0.7)"}}),s.jsx("p",{className:"font-body text-base leading-relaxed mb-4",style:{color:"#4a5568"},children:"Personalized to your ecosystem, not a template, and written so a board or a funder can follow it."}),s.jsx("ul",{className:"space-y-2",children:["Partnership map (36 intersections)","Top 3 strengths and top 3 gaps","Specific next steps by partner group","Shareable insights"].map(t=>s.jsxs("li",{className:"flex items-start gap-2",children:[s.jsx(vr,{className:"w-4 h-4 flex-shrink-0 mt-1",style:{color:M.TEAL}}),s.jsx("span",{className:"font-body text-sm",style:{color:"#4a5568"},children:t})]},t))})]}),s.jsx("div",{className:"mt-auto pt-4",style:{borderTop:"1px solid #eceff3"},children:s.jsx("span",{className:"font-body",style:{fontSize:"12px",color:"#7a8699"},children:"Delivered right away"})})]}),s.jsxs("div",{className:"fade-up h-full rounded-2xl bg-white p-6 ee-card-raised ee-card-hover flex flex-col",style:{border:"1px solid #e4e7ec",borderTop:`4px s
356olid ${M.GOLD}`},children:[s.jsx("div",{className:"mb-3",children:s.jsxs("span",{className:"font-body uppercase inline-flex items-center gap-2",style:{fontSize:"11px",letterSpacing:"0.14em",fontWeight:700,color:M.GOLD},children:[s.jsx(Go,{className:"w-4 h-4",style:{color:M.GOLD},"aria-hidden":"true"}),"Step 3 · Activate"]})}),s.jsx("h3",{className:"font-display text-lg md:text-xl font-bold mb-3",style:{color:M.NAVY},children:"Act on it, then bring your partners in"}),s.jsxs("div",{className:"mb-5 after:block after:clear-both after:content-['']",children:[s.jsx("img",{src:Dy,alt:"A partner map built from sticky notes on a table during a working session",loading:"lazy",className:"w-full sm:w-1/3 h-40 sm:h-44 object-cover object-center rounded-lg mb-4 sm:float-right sm:ml-4",style:{border:"1px solid #e4e7ec",boxShadow:"0 12px 28px -22px rgba(45,77,131,0.7)"}}),s.jsx("p",{className:"font-body text-base leading-relaxed",style:{color:"#4a5568"},children:"Start with the two or three actions your insights point to. When you’re ready for the whole coalition to see the same picture, bring them into a facilitated group session, where the disagreements surface and alignment actually happens."})]}),s.jsx("div",{className:"mt-auto pt-4",style:{borderTop:"1px solid #eceff3"},children:s.jsx("span",{className:"font-body",style:{fontSize:"12px",color:"#7a8699"},children:"At your pace"})})]})]}),s.jsx("div",{className:"fade-up text-center mt-12",children:s.jsx(et,{to:"/scorecard",className:"inline-block font-body font-medium text-sm px-8 py-3 rounded-lg text-white transition-opacity hover:opacity-90",style:{backgroundColor:M.NAVY},children:"Run your Scorecard"})})]})}),s.jsx("section",{className:"py-20",style:{backgroundColor:"#2D4D83"},children:s.jsxs("div",{className:"max-w-5xl mx-auto px-6 text-center",children:[s.jsx("p",{className:"font-body text-sm tracking-[0.15em] uppercase font-bold mb-3",style:{color:"#E2B673"},children:"Want to go deeper?"}),s.jsx("h2",{className:"font-display text-2xl md:text-3xl font-bold text-white mb-4 leading-snug",children:"Bring your whole coalition. See the same picture."}),s.jsxs("p",{className:"font-body text-base text-white/80 max-w-2xl mx-auto mb-10 leading-relaxed",children:["The individual scorecard helps clarify your own perspective about the ecosystem.",s.jsx("br",{}),"The facilitated workshop surfaces what your coalition sees, and where they disagree.",s.jsx("br",{}),"In one session, you get alignment you'd otherwise spend months trying to reach."]}),s.jsx("div",{className:"grid sm:grid-cols-3 gap-6 mb-10",children:[{label:"30–40 participants (3+ per stakeholder group)"},{label:"90-minute virtual session or 3-hour in-person"},{label:"Team alignment insights + strategy"}].map(t=>s.jsx("div",{className:"rounded-xl p-5 transition-transform duration-200 hover:-translate-y-0.5 motion-reduce:transform-none",style:{backgroundColor:"rgba(255,255,255,0.08)",border:"1px solid rgba(255,255,255,0.12)",boxShadow:"0 18px 30px -18px rgba(0,0,0,0.55)"},children:s.jsx("p",{className:"font-body text-base text-white/90 font-medium",children:t.label})},t.label))}),s.jsx("a",{...ic("https://calendar.app.google/31Qa6HfhwAfhDvtk6"),className:"inline-block font-body font-medium text-sm px-8 py-3 rounded-lg btn-on-navy",children:"Book a call"})]})}),s.jsx(F9,{size:"large",heading:"What the deeper work looks like",intro:"Once your partners are in the room, the work moves stage by stage. Ecosystems take it as far as they need — each stage stands on its own."}),s.jsx(dj,{heading:"Start together",body:"Start with your own Scorecard and see it for yourself. Then bring your partners into a collaborative session to see where your ecosystem stands, so you can move forward together.",primary:{label:"Run your Scorecard",href:"/scorecard"},secondary:{label:"Book a call",href:"https://calendar.app.google/31Qa6HfhwAfhDvtk6",external:!0}})]})]})},mB=1,gB="77be0b08-bcfc-4df1-bc04-46743cf6af17",yB="ad65106b-3a35-40ca-85a5-313ebfbdb26e",xB="/__l5e/assets-v1/77be0b08-bcfc-4df1-bc04-46743cf6af17/capital-braid-rope.png",vB="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/77be0b08-bcfc-4df1-bc04-46743cf6af17/capital-braid-rope.png",bB="capital-braid-rope.png",wB=2724112,jB="image/png",SB="2026-06-11T12:21:38Z",N3={version:mB,asset_id:gB,project_id:yB,url:xB,r2_key:vB,original_filename:bB,size:wB,content_type:jB,created_at:SB},kB=1,TB="cff00c4d-4510-4e19-ac46-e1202cc81164",NB="ad65106b-3a35-40ca-85a5-313ebfbdb26e",EB="/__l5e/assets-v1/cff00c4d-4510-4e19-ac46-e1202cc81164/capital-braid-sample-report.png",CB="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/cff00c4d-4510-4e19-ac46-e1202cc81164/capital-braid-sample-report.png",_B="capital-braid-sample-report.png",AB=981195,RB="image/png",PB="2026-06-11T12:40:29Z",zB={version:kB,asset_id:TB,project_id:NB,url:EB,r2_key:CB,original_filename:_B,size:AB,content_type:RB,created_at:PB},IB=1,OB="89508978-8d75-4185-881b-1e811c2198ae",DB="ad65106b-3a35-40ca-85a5-313ebfbdb26e",WB="/__l5e/assets-v1/89508978-8d75-4185-881b-1e811c2198ae/rti-seesaw.jpg",$B="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/89508978-8d75-4185-881b-1e811c2198ae/rti-seesaw.jpg",LB="rti-seesaw.jpg",MB=255294,BB="image/jpeg",FB="2026-08-28T01:26:57Z",HB={version:IB,asset_id:OB,project_id:DB,url:WB,r2_key:$B,original_filename:LB,size:MB,c
356ontent_type:BB,created_at:FB},Et="#2D4D83",ls="#59BEC9",wh="#E2B673",zr="#fafaf8",yo="#ffffff",E3="https://buy.stripe.com/3cIaEXeVg2cTb8d0mrcbC0c",VB=[{n:"01",title:"Walk in already ahead.",body:"The moment you book, your prep goes to work. You complete a structured intake — stage, TRL, runway, ownership, technical milestones, current capital plan — and we turn it into real pre-research on your company. Your session doesn’t start from a blank page. It starts from work already done on you.",icon:RD},{n:"02",title:"Get your plan pressure-tested, not second-guessed.",body:"In a focused 45-minute working session, we stress-test the plan you have, surface what’s missing, and match funding to where you genuinely are, non-dilutive, philanthropic, corporate-sponsored, revenue-based, equity. You leave knowing your real sequence, not a longer to-do list.",icon:MD},{n:"03",title:"Keep a roadmap that outlasts the call.",body:"You walk away with a written capital roadmap: a clear view of your stage and capital readiness, a sequenced 12–18 month roadmap matched to specific funding opportunities, and the milestone each source is timed to hit. Something you run on, not a file you forget.",icon:eA},{n:"04",title:"Know your next move, every step of the way.",body:"No more guessing which door to knock on next. You’ll know what to pursue now, what to line up behind it, and why each piece comes when it does.",icon:Er}],UB=["A clear view of your stage and capital readiness","Sequenced 12–18 month capital roadmap","Funding sources matched to specific milestones","Risk notes and structural fixes to make before you’re investable","Non-dilutive, philanthropic, and revenue-based routes most founders never hear about"],GB=["A deep-tech or research-driven startup defaulting to NIH/NSF and worried you’ll burn 18 months on the wrong path","A hardware, biotech, or climate company where non-dilutive capital should come before you give up equity","A revenue-stage company wondering whether to keep chasing grants or shift to revenue-based options","Any founder who wants a plan sequenced to milestones, not a list of links","An advisor, accelerator, or ecosystem builder who wants a sequenced plan to hand a founder, instead of another list of links"],YB=["Structured intake, completed after you book","Pre-research on your company before the call","45-minute collaborative Capital Braid™ Session","Co-created 12–18 month capital roadmap and action plan","Current funding-landscape orientation"],qB=()=>s.jsxs("svg",{viewBox:"0 0 600 32",className:"w-full max-w-[520px] mx-auto mt-4","aria-hidden":"true",children:[s.jsx("path",{d:"M5 16 Q 75 -8 150 16 T 295 16 T 440 16 T 595 16",fill:"none",stroke:ls,strokeWidth:"2.5",strokeLinecap:"round"}),s.jsx("path",{d:"M5 16 Q 75 40 150 16 T 295 16 T 440 16 T 595 16",fill:"none",stroke:Et,strokeWidth:"2.5",strokeLinecap:"round",opacity:"0.85"}),s.jsx("path",{d:"M5 16 L 595 16",fill:"none",stroke:wh,strokeWidth:"1.5",strokeLinecap:"round",opacity:"0.6"})]}),Hu=({children:e})=>s.jsxs("div",{className:"flex items-center justify-center gap-3 mb-4",children:[s.jsx("div",{className:"w-6 h-[2px]",style:{backgroundColor:ls}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:"14px",fontWeight:700,letterSpacing:"0.12em",color:ls},children:e}),s.jsx("div",{className:"w-6 h-[2px]",style:{backgroundColor:ls}})]}),Hf=({variant:e="gradient",className:t=""})=>s.jsxs("a",{...ic(E3),className:`inline-flex items-center justify-center gap-2 font-body rounded-lg min-h-[44px] ${e==="gradient"?"btn-gradient":"btn-navy"} ${t}`,style:{fontSize:"15px",fontWeight:600,padding:"16px 32px",...e==="navy"?{backgroundColor:Et,color:"#fff"}:{}},children:["Book Your Session for $1,000 ",s.jsx(xi,{className:"w-4 h-4"})]}),KB=()=>{const e=xu();return s.jsxs(Os,{children:[s.jsx(Ve,{title:"Capital Braid™, Your 12–18 Month Funding Roadmap",description:"A sequenced 12–18 month capital roadmap matched to your stage, strategy, and technical milestones, the funding plan a federal-funding specialist would build, without hiring one.",path:"/capital-braid"}),s.jsxs("div",{ref:e,children:[s.jsxs("section",{className:"relative pt-[72px] overflow-hidden",style:{backgroundColor:zr},children:[s.jsx("img",{src:N3.url,alt:"","aria-hidden":"true",loading:"eager",className:"absolute inset-x-0 w-full h-auto pointer-events-none select-none",style:{bottom:0,opacity:.1,mixBlendMode:"multiply",maskImage:"linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%)",WebkitMaskImage:"linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%)"}}),s.jsx("div",{className:"absolute bottom-0 left-0 w-[450px] h-[450px] pointer-events-none",style:{background:"radial-gradient(circle at 30% 70%, rgba(226,182,115,0.10), transparent 70%)"}}),s.jsxs("div",{className:"relative z-10 max-w-5xl mx-auto px-6 py-8 md:py-10 text-center",children:[s.jsxs("div",{className:"animate-fade-in-up stagger-1 inline-flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"w-8 h-[2px]",style:{backgroundColor:ls}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:"14px",fontWeight:700,letterSpacing:"0.12em",color:ls},children:"A funding roadmap built for your company"}),s.jsx("div",{className:"w-8 h-[2px]",style:{backgroundColor:ls}})]}),s.jsxs("div",{className:"animate-fade-in-up stagger-2 mb-4",children:[s.jsx("p",{className:"font-display font-bold",style:{fontSize:"clamp(40px, 7vw, 84px)",letterSpacing:"0.04em",color:Et,lineHeight:1},children:"CAPITAL BRAID™"}),s.jsx(qB,{})]}),s.jsxs("h1",{className:"animate-fade-in-up stagger-3 font-display font-bold mb-4 max-w-4xl mx-auto",style:{fontSize:"clamp(28px, 3.8vw, 44px)",lineHeight:1.2,color:Et},children:["You don't need another list of grants."," ",s.jsx("br",{className:"hidden sm:block"}),s.jsx("em",{className:"font-display italic",style:{color:ls},children:"You need a realistic funding plan."})]}),s.jsx("p",{className:"animate-fade-in-up stagger-4 font-body max-w-3xl mx-auto mb-6",style:{fontSize:"17px",fontWeight:300,lineHeight:1.78,color:"#4a5568"},children:"Capital Braid™ gives you a 12–18 month capital roadmap matched to your stage, your strategy, and your technical milestones, the sequenced funding plan a federal-funding specialist would build, without hiring one."}),s.jsxs("div",{className:"animate-fade-in-up stagger-5 flex flex-col sm:flex-row items-center justify-center gap-4",children:[s.jsx(Hf,{className:"w-full sm:w-auto"}),s.jsx("a",{href:"#who-its-for",className:"inline-flex items-center justify-center gap-2 font-body rounded-lg min-h-[44px] w-full sm:w-auto",style:{fontSize:"15px",fontWeight:600,padding:"14px 28px",color:Et,border:`1.5px solid ${Et}`}
356,children:"Who it's for"})]})]})]}),s.jsx(hi,{fromColor:zr,toColor:yo,variant:0}),s.jsx("section",{id:"who-its-for",className:"py-16 md:py-24",style:{backgroundColor:yo},children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up text-center mb-10",children:[s.jsx(Hu,{children:"Who it's for"}),s.jsx("h2",{className:"font-display font-bold mb-4",style:{fontSize:"clamp(26px, 3.4vw, 38px)",lineHeight:1.2,color:Et},children:"Built for founders raising real money, and the people helping them get there."}),s.jsx("p",{className:"font-body",style:{fontSize:"17px",fontWeight:300,lineHeight:1.7,color:"#4a5568"},children:`Capital Braid™ is for early-stage founders past "what is SBIR" and into "what's my actual sequence," and for the advisors, accelerators, and ecosystem builders guiding them. You're especially in the right place if you're:`})]}),s.jsx("div",{className:"space-y-4",children:GB.map(t=>s.jsxs("div",{className:"fade-up flex items-start gap-4 rounded-xl p-5 md:p-6",style:{border:"1px solid #e4e7ec",backgroundColor:zr},children:[s.jsx("div",{className:"flex-shrink-0 rounded-full mt-1.5",style:{width:10,height:10,background:`linear-gradient(135deg, ${ls}, ${Et})`}}),s.jsx("p",{className:"font-body",style:{fontSize:"16px",fontWeight:400,lineHeight:1.6,color:"#2d3748"},children:t})]},t))})]})}),s.jsx(hi,{fromColor:yo,toColor:zr,variant:1}),s.jsx("section",{className:"py-16 md:py-24",style:{backgroundColor:zr},children:s.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up text-center mb-10",children:[s.jsx(Hu,{children:"The problem"}),s.jsx("h2",{className:"font-display font-bold",style:{fontSize:"clamp(26px, 3.4vw, 38px)",lineHeight:1.2,color:Et},children:'"Where do I get money?" is the wrong question.'})]}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-8 md:gap-10 items-center mb-8",children:[s.jsxs("figure",{className:"fade-up m-0",children:[s.jsx("img",{src:HB.url,alt:"A hand pressing down on one end of a wooden seesaw that is balancing three stacks of coins",loading:"lazy",decoding:"async",className:"w-full rounded-xl",style:{aspectRatio:"3 / 2",objectFit:"cover"}}),s.jsx("figcaption",{className:"font-body italic mt-3",style:{fontSize:"14px",lineHeight:1.6,color:"#6B7FA3"},children:"One hand can tip it. That is what a single source of capital does to a plan."})]}),s.jsx("p",{className:"fade-up font-body",style:{fontSize:"17px",fontWeight:300,lineHeight:1.78,color:"#4a5568"},children:"You've been told to go apply for SBIR. Someone sent you a list of grants. Maybe you burned months chasing the wrong one. The problem isn't that funding is missing, it's that no one has strategically sequenced it for you: what to go after now, what to line up next, and how each source sets up the one after it."})]}),s.jsx("div",{className:"fade-up rounded-xl p-7 md:p-8 max-w-3xl mx-auto",style:{backgroundColor:"#e8f7f9",borderLeft:`4px solid ${ls}`},children:s.jsxs("p",{className:"font-body",style:{fontSize:"17px",fontWeight:400,lineHeight:1.7,color:Et},children:["That strategic sequencing is a specialist's job. Most founders can't afford one, and the free advice you're getting is generic, out of date, and not actionable. ",s.jsx("strong",{children:"Capital Braid™ is that specialist layer, for one company, yours."})]})})]})}),s.jsx(hi,{fromColor:zr,toColor:yo,variant:0}),s.jsx("section",{id:"what-you-get",className:"py-16 md:py-24",style:{backgroundColor:yo},children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up text-center max-w-3xl mx-auto mb-12",children:[s.jsx(Hu,{children:"What you get"}),s.jsx("h2",{className:"font-display font-bold",style:{fontSize:"clamp(26px, 3.4vw, 38px)",lineHeight:1.2,color:Et},children:"A working session and a roadmap you can genuinely run on."})]}),s.jsx("div",{className:"grid md:grid-cols-2 gap-6",children:VB.map(({n:t,title:n,body:r,icon:o})=>s.jsx("div",{className:"fade-up rounded-xl p-7 relative card-gradient-top-smooth overflow-hidden",style:{border:"1px solid #e4e7ec",backgroundColor:zr},children:s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"flex-shrink-0 rounded-lg flex items-center justify-center",style:{width:44,height:44,backgroundColor:"rgba(89,190,201,0.12)"},children:s.jsx(o,{className:"w-5 h-5",style:{color:ls}})}),s.jsxs("div",{className:"flex-1",children:[s.jsx("p",{className:"font-body mb-2",style:{fontSize:"13px",fontWeight:700,color:wh,letterSpacing:"0.12em"},children:t}),s.jsx("h3",{className:"font-display font-bold mb-3",style:{fontSize:"22px",color:Et,lineHeight:1.25},children:n}),s.jsx("p",{className:"font-body",style:{fontSize:"15px",fontWeight:300,lineHeight:1.65,color:"#4a5568"},children:r})]})]})},t))})]})}),s.jsx(hi,{fromColor:yo,toColor:zr,variant:1}),s.jsx("section",{className:"py-16 md:py-24",style:{backgroundColor:zr},children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up text-center max-w-3xl mx-auto mb-12",children:[s.jsx(Hu,{children:"What you walk away with"}),s.jsx("h2",{className:"font-display font-bold",style:{fontSize:"clamp(26px, 3.4vw, 38px)",lineHeight:1.2,color:Et},children:"Every session produces a capital roadmap you act on for the next 12–18 months."})]}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-10 items-center",children:[s.jsxs("div",{className:"fade-up",children:[s.jsx("img",{src:zB.url,alt:"Sample Capital Braid capital roadmap, cover and inside spread",loading:"lazy",className:"w-full h-auto rounded-lg",style:{boxShadow:"0 30px 60px -25
356px rgba(45,77,131,0.35)"}}),s.jsx("p",{className:"font-body text-center mt-4",style:{fontSize:"13px",color:"#718096"},children:"Sample Capital Braid™ capital roadmap, cover and inside spread."})]}),s.jsxs("div",{className:"fade-up",children:[s.jsx("ul",{className:"space-y-4 mb-8",children:UB.map(t=>s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(vr,{className:"w-5 h-5 mt-0.5 flex-shrink-0",style:{color:ls}}),s.jsx("span",{className:"font-body",style:{fontSize:"16px",lineHeight:1.6,color:"#2d3748"},children:t})]},t))}),s.jsx(Hf,{variant:"navy"})]})]})]})}),s.jsx(hi,{fromColor:zr,toColor:yo,variant:0}),s.jsx("section",{className:"py-16 md:py-24",style:{backgroundColor:yo},children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up text-center mb-10",children:[s.jsx(Hu,{children:"Pricing"}),s.jsx("h2",{className:"font-display font-bold",style:{fontSize:"clamp(26px, 3.4vw, 38px)",lineHeight:1.2,color:Et},children:"One company. One roadmap. One price."})]}),s.jsxs("div",{className:"fade-up rounded-2xl overflow-hidden bg-white",style:{border:"1px solid #e4e7ec",boxShadow:"0 24px 60px -20px rgba(45,77,131,0.25)"},children:[s.jsx("div",{style:{height:6,background:`linear-gradient(90deg, ${ls}, ${Et}, ${wh})`}}),s.jsxs("div",{className:"p-8 md:p-12",children:[s.jsxs("div",{className:"text-center mb-8",children:[s.jsx("p",{className:"font-body uppercase mb-2",style:{fontSize:"13px",fontWeight:700,letterSpacing:"0.14em",color:"#718096"},children:"Capital Braid™ Session"}),s.jsx("p",{className:"font-display font-bold",style:{fontSize:"clamp(38px, 6vw, 64px)",lineHeight:1.1,color:Et},children:"$1,000"})]}),s.jsxs("div",{className:"mb-8",children:[s.jsx("p",{className:"font-body uppercase mb-4",style:{fontSize:"12px",fontWeight:700,letterSpacing:"0.14em",color:"#718096"},children:"Included"}),s.jsx("ul",{className:"space-y-3",children:YB.map(t=>s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(vr,{className:"w-5 h-5 mt-0.5 flex-shrink-0",style:{color:ls}}),s.jsx("span",{className:"font-body",style:{fontSize:"15px",lineHeight:1.6,color:"#2d3748"},children:t})]},t))})]}),s.jsx("div",{className:"text-center",children:s.jsx(Hf,{})})]})]})]})}),s.jsx(hi,{fromColor:yo,toColor:Et,variant:1}),s.jsx("section",{className:"py-16 md:py-24",style:{backgroundColor:Et},children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"fade-up font-display font-bold mb-6",style:{fontSize:"clamp(28px, 3.6vw, 42px)",lineHeight:1.2,color:"#fff"},children:"Stop guessing at your funding. Get the sequence."}),s.jsx("p",{className:"fade-up font-body mb-10",style:{fontSize:"17px",fontWeight:300,lineHeight:1.7,color:"rgba(255,255,255,0.85)"},children:"Book your session, pick a date about two weeks out, and your prep starts the moment you do. You'll walk into the call with the work already underway, and walk out with a roadmap you can run on for the next 12–18 months."}),s.jsx("div",{className:"fade-up",children:s.jsx(Hf,{})})]})}),s.jsx("section",{className:"py-14 md:py-20",style:{backgroundColor:zr},children:s.jsx("div",{className:"max-w-4xl mx-auto px-6",children:s.jsxs("div",{className:"fade-up rounded-2xl overflow-hidden",style:{backgroundColor:yo,border:"1px solid #e4e7ec"},children:[s.jsx("div",{style:{height:5,background:`linear-gradient(90deg, ${wh}, ${ls}, ${Et})`}}),s.jsxs("div",{className:"p-8 md:p-10",children:[s.jsx("p",{className:"font-body uppercase mb-3",style:{fontSize:"12px",fontWeight:700,letterSpacing:"0.14em",color:wh},children:"Supporting a whole portfolio?"}),s.jsx("h2",{className:"font-display font-bold mb-4",style:{fontSize:"clamp(24px, 3vw, 32px)",lineHeight:1.2,color:Et},children:"Bring Capital Braid™ to your founders."}),s.jsx("p",{className:"font-body mb-5",style:{fontSize:"16px",fontWeight:300,lineHeight:1.75,color:"#4a5568"},children:"If you run an incubator, accelerator, university program, or regional coalition, you can deploy Capital Braid™ across your portfolio, every founder gets their own session and roadmap, and you get a portfolio-level view: which companies are on a credible non-dilutive runway, which are mismatched to the capital they're chasing, and where the patterns point for your next program cycle."}),s.jsx("p",{className:"font-body mb-6",style:{fontSize:"15px",fontWeight:600,color:Et},children:"$1,000 per startup · $1,000 for the portfolio view"}),s.jsxs("a",{...ic(E3),className:"inline-flex items-center justify-center gap-2 font-body rounded-lg min-h-[44px]",style:{fontSize:"15px",fontWeight:600,padding:"14px 28px",color:Et,border:`1.5px solid ${Et}`}
vendor: 29,528 bytes, line 356
356,children:["Book your founders ",s.jsx(xi,{className:"w-4 h-4"})]})]})]})})})]})]})},Tb=({className:e=""})=>s.jsx("div",{className:e,"aria-hidden":"true",children:s.jsx("div",{style:{height:1,backgroundColor:"rgba(45,77,131,0.12)"}})}),ZB=1,QB="7a5cdd19-6ef0-4f96-b4b5-592f817e6652",JB="ad65106b-3a35-40ca-85a5-313ebfbdb26e",XB="/__l5e/assets-v1/7a5cdd19-6ef0-4f96-b4b5-592f817e6652/scorecard-app-screenshot.png",eF="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/7a5cdd19-6ef0-4f96-b4b5-592f817e6652/scorecard-app-screenshot.png",tF="scorecard-app-screenshot.png",nF=212173,sF="image/png",rF="2026-09-10T16:29:33Z",oF={version:ZB,asset_id:QB,project_id:JB,url:XB,r2_key:eF,original_filename:tF,size:nF,content_type:sF,created_at:rF},pj=x.createContext({});function fj(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const C3=typeof window<"u",_3=C3?x.useLayoutEffect:x.useEffect,Wy=x.createContext(null);function mj(e,t){e.indexOf(t)===-1&&e.push(t)}function Dg(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Vo=(e,t,n)=>n>t?t:n<e?e:n;let $y=()=>{},Xd=()=>{};const _i={},A3=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function R3(e){return typeof e=="object"&&e!==null}const P3=e=>/^0[^.\s]+$/u.test(e);function z3(e){let t;return()=>(t===void 0&&(t=e()),t)}const jr=e=>e,iF=(e,t)=>n=>t(e(n)),af=(...e)=>e.reduce(iF),jp=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class gj{constructor(){this.subscriptions=[]}add(t){return mj(this.subscriptions,t),()=>Dg(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i<o;i++){const a=this.subscriptions[i];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Sr=e=>e*1e3,yr=e=>e/1e3;function I3(e,t){return t?e*(1e3/t):0}const O3=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,aF=1e-7,lF=12;function cF(e,t,n,r,o){let i,a,l=0;do a=t+(n-t)/2,i=O3(a,r,o)-e,i>0?n=a:t=a;while(Math.abs(i)>aF&&++l<lF);return a}function lf(e,t,n,r){if(e===t&&n===r)return jr;const o=i=>cF(i,0,1,e,n);return i=>i===0||i===1?i:O3(o(i),t,r)}const D3=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,W3=e=>t=>1-e(1-t),$3=lf(.33,1.53,.69,.99),yj=W3($3),L3=D3(yj),M3=e=>(e*=2)<1?.5*yj(e):.5*(2-Math.pow(2,-10*(e-1))),xj=e=>1-Math.sin(Math.acos(e)),B3=W3(xj),F3=D3(xj),dF=lf(.42,0,1,1),uF=lf(0,0,.58,1),H3=lf(.42,0,.58,1),hF=e=>Array.isArray(e)&&typeof e[0]!="number",V3=e=>Array.isArray(e)&&typeof e[0]=="number",Kk={linear:jr,easeIn:dF,easeInOut:H3,easeOut:uF,circIn:xj,circInOut:F3,circOut:B3,backIn:yj,backInOut:L3,backOut:$3,anticipate:M3},pF=e=>typeof e=="string",Zk=e=>{if(V3(e)){Xd(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,o]=e;return lf(t,n,r,o)}else if(pF(e))return Xd(Kk[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Kk[e];return e},Vf=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Qk={value:null,addProjectionMetrics:null};function fF(e,t){let n=new Set,r=new Set,o=!1,i=!1;const a=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},c=0;function d(p){a.has(p)&&(u.schedule(p),e()),c++,p(l)}const u={schedule:(p,f=!1,h=!1)=>{const m=h&&o?n:r;return f&&a.add(p),m.has(p)||m.add(p),p},cancel:p=>{r.delete(p),a.delete(p)},process:p=>{if(l=p,o){i=!0;return}o=!0,[n,r]=[r,n],n.forEach(d),t&&Qk.value&&Qk.value.frameloop[t].push(c),c=0,n.clear(),o=!1,i&&(i=!1,u.process(p))}};return u}const mF=40;function U3(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,a=Vf.reduce((w,j)=>(w[j]=fF(i,t?j:void 0),w),{}),{setup:l,read:c,resolveKeyframes:d,preUpdate:u,update:p,preRender:f,render:h,postRender:g}=a,m=()=>{const w=_i.useManualTiming?o.timestamp:performance.now();n=!1,_i.useManualTiming||(o.delta=r?1e3/60:Math.max(Math.min(w-o.timestamp,mF),1)),o.timestamp=w,o.isProcessing=!0,l.process(o),c.process(o),d.process(o),u.process(o),p.process(o),f.process(o),h.process(o),g.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(m))},b=()=>{n=!0,r=!0,o.isProcessing||e(m)};return{schedule:Vf.reduce((w,j)=>{const S=a[j];return w[j]=(N,k=!1,T=!1)=>(n||b(),S.schedule(N,k,T)),w},{}),cancel:w=>{for(let j=0;j<Vf.length;j++)a[Vf[j]].cancel(w)},state:o,steps:a}}const{schedule:bt,cancel:Fa,state:On,steps:Yx}=U3(typeof requestAnimationFrame<"u"?requestAnimationFrame:jr,!0);let Fm;function gF(){Fm=void 0}const ps={now:()=>(Fm===void 0&&ps.set(On.isProcessing||_i.useManualTiming?On.timestamp:performance.now()),Fm),set:e=>{Fm=e,queueMicrotask(gF)}},G3=e=>t=>typeof t=="string"&&t.startsWith(e),Y3=G3("--"),yF=G3("var(--"),vj=e=>yF(e)?xF.test(e.split("/*")[0].trim()):!1,xF=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Jk(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const bu={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Sp={...bu,transform:e=>Vo(0,1,e)},Uf={...bu,default:1},Bh=e=>Math.round(e*1e5)/1e5,bj=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function vF(e){return e==null}const bF=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,wj=(e,t)=>n=>!!(typeof n=="string"&&bF.test(n)&&n.startsWith(e)||t&&!vF(n)&&Object.prototype.hasOwnProperty.call(n,t)),q3=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,a,l]=r.match(bj);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:l!==void 0?parseFloat(l):1}},wF=e=>Vo(0,255,e),qx={...bu,transform:e=>Math.round(wF(e))},Nl={test:wj("rgb","red"),parse:q3("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+qx.transform(e)+", "+qx.transform(t)+", "+qx.transform(n)+", "+Bh(Sp.transform(r))+")"};function jF(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Nb={test:wj("#"),parse:jF,transform:Nl.transform},cf=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Zi=cf("deg"),Bo=cf("%"),ie=cf("px"),SF=cf("vh"),kF=cf("vw"),Xk={...Bo,parse:e=>Bo.parse(e)/100,transform:e=>Bo.transform(e*100)},ld={test:wj("hsl","hue"),parse:q3("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Bo.transform(Bh(t))+", "+Bo.transform(Bh(n))+", "+Bh(Sp.transform(r))+")"},Jt={test:e=>Nl.test(e)||Nb.test(e)||ld.test(e),parse:e=>Nl.test(e)?Nl.parse(e):ld.test(e)?ld.parse(e):Nb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Nl.transform(e):ld.transform(e),getAnimatableNone:e=>{const t=Jt.parse(e);return t.alpha=0,Jt.transform(t)}},TF=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function NF(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(bj))==null?void 0:t.length)||0)+(((n=e.match(TF))==null?void 0:n.length)||0)>0}const K3="number",Z3="color",EF="var",CF="var(",eT="${}",_F=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function kp(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const l=t.replace(_F,c=>(Jt.test(c)?(r.color.push(i),o.push(Z3),n.push(Jt.parse(c))):c.startsWith(CF)?(r.var.push(i),o.push(EF),n.push(c)):(r.number.push(i),o.push(K3),n.push(parseFloat(c))),++i,eT)).split(eT);return{values:n,split:l,indexes:r,types:o}}function Q3(e){return kp(e).values}function J3(e){const{split:t,types:n}=kp(e),r=t.length;return o=>{let i="";for(let a=0;a<r;a++)if(i+=t[a],o[a]!==void 0){const l=n[a];l===K3?i+=Bh(o[a]):l===Z3?i+=Jt.transform(o[a]):i+=o[a]}return i}}const AF=e=>typeof e=="number"?0:Jt.test(e)?Jt.getAnimatableNone(e):e;function RF(e){const t=Q3(e);return J3(e)(t.map(AF))}const ro={test:NF,parse:Q3,createTransformer:J3,getAnimatableNone:RF};function Kx(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function PF({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,a=0;if(!t)o=i=a=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;o=Kx(c,l,e+1/3),i=Kx(c,l,e),a=Kx(c,l,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:r}}function Wg(e,t){return n=>n>0?t:e}const Pt=(e,t,n)=>e+(t-e)*n,Zx=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},zF=[Nb,Nl,ld],IF=e=>zF.find(t=>t.test(e));function tT(e){const t=IF(e);if($y(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===ld&&(n=PF(n)),n}const nT=(e,t)=>{const n=tT(e),r=tT(t);if(!n||!r)return Wg(e,t);const o={...n};return i=>(o.red=Zx(n.red,r.red,i),o.green=Zx(n.green,r.green,i),o.blue=Zx(n.blue,r.blue,i),o.alpha=Pt(n.alpha,r.alpha,i),Nl.transform(o))},Eb=new Set(["none","hidden"]);function OF(e,t){return Eb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function DF(e,t){return n=>Pt(e,t,n)}function jj(e){return typeof e=="number"?DF:typeof e=="string"?vj(e)?Wg:Jt.test(e)?nT:LF:Array.isArray(e)?X3:typeof e=="object"?Jt.test(e)?nT:WF:Wg}function X3(e,t){const n=[...e],r=n.length,o=e.map((i,a)=>jj(i)(i,t[a]));return i=>{for(let a=0;a<r;a++)n[a]=o[a](i);return n}}function WF(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=jj(e[o])(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}}function $F(e,t){const n=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const i=t.types[o],a=e.indexes[i][r[i]],l=e.values[a]??0;n[o]=l,r[i]++}return n}const LF=(e,t)=>{const n=ro.createTransformer(t),r=kp(e),o=kp(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Eb.has(e)&&!o.values.length||Eb.has(t)&&!r.values.length?OF(e,t):af(X3($F(r,o),o.values),n):($y(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),Wg(e,t))};function e6(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Pt(e,t,n):jj(e)(e,t)}const MF=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>bt.update(t,n),stop:()=>Fa(t),now:()=>On.isProcessing?On.timestamp:ps.now()}},t6=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=Math.round(e(i/(o-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},$g=2e4;function Sj(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<$g;)t+=n,r=e.next(t);return t>=$g?1/0:t}function BF(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(Sj(r),$g);return{type:"keyframes",ease:i=>r.next(o*i).value/t,duration:yr(o)}}const FF=5;function n6(e,t,n){const r=Math.max(t-FF,0);return I3(n-e(r),t-r)}const At={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Qx=.001;function HF({duration:e=At.duration,bounce:t=At.bounce,velocity:n=At.velocity,mass:r=At.mass}){let o,i;$y(e<=Sr(At.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=Vo(At.minDamping,At.maxDamping,a),e=Vo(At.minDuration,At.maxDuration,yr(e)),a<1?(o=d=>{const u=d*a,p=u*e,f=u-n,h=Cb(d,a),g=Math.exp(-p);return Qx-f/h*g},i=d=>{const p=d*a*e,f=p*n+n,h=Math.pow(a,2)*Math.pow(d,2)*e,g=Math.exp(-p),m=Cb(Math.pow(d,2),a);return(-o(d)+Qx>0?-1:1)*((f-h)*g)/m}):(o=d=>{const u=Math.exp(-d*e),p=(d-n)*e+1;return-Qx+u*p},i=d=>{const u=Math.exp(-d*e),p=(n-d)*(e*e);return u*p});const l=5/e,c=UF(o,i,l);if(e=Sr(e),isNaN(c))return{stiffness:At.stiffness,damping:At.damping,duration:e};{const d=Math.pow(c,2)*r;return{stiffness:d,damping:a*2*Math.sqrt(r*d),duration:e}}}const VF=12;function UF(e,t,n){let r=n;for(let o=1;o<VF;o++)r=r-e(r)/t(r);return r}function Cb(e,t){return e*Math.sqrt(1-t*t)}const GF=["duration","bounce"],YF=["stiffness","damping","mass"];function sT(e,t){return t.some(n=>e[n]!==void 0)}function qF(e){let t={velocity:At.velocity,stiffness:At.stiffness,damping:At.damping,mass:At.mass,isResolvedFromDuration:!1,...e};if(!sT(e,YF)&&sT(e,GF))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,i=2*Vo(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:At.mass,stiffness:o,damping:i}}else{const n=HF({...e,velocity:0});t={...t,...n,mass:At.mass},t.isResolvedFromDuration=!0}return t}function Lg(e=At.visualDuration,t=At.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:i},{stiffness:c,damping:d,mass:u,duration:p,velocity:f,isResolvedFromDuration:h}=qF({...n,velocity:-yr(n.velocity||0)}),g=f||0,m=d/(2*Math.sqrt(c*u)),b=a-i,v=yr(Math.sqrt(c/u)),y=Math.abs(b)<5;r||(r=y?At.restSpeed.granular:At.restSpeed.default),o||(o=y?At.restDelta.granular:At.restDelta.default);let w;if(m<1){const S=Cb(v,m);w=N=>{const k=Math.exp(-m*v*N);return a-k*((g+m*v*b)/S*Math.sin(S*N)+b*Math.cos(S*N))}}else if(m===1)w=S=>a-Math.exp(-v*S)*(b+(g+v*b)*S);else{const S=v*Math.sqrt(m*m-1);w=N=>{const k=Math.exp(-m*v*N),T=Math.min(S*N,300);return a-k*((g+m*v*b)*Math.sinh(T)+S*b*Math.cosh(T))/S}}const j={calculatedDuration:h&&p||null,next:S=>{const N=w(S);if(h)l.done=S>=p;else{let k=S===0?g:0;m<1&&(k=S===0?Sr(g):n6(w,S,N));const T=Math.abs(k)<=r,C=Math.abs(a-N)<=o;l.done=T&&C}return l.value=l.done?a:N,l},toString:()=>{const S=Math.min(Sj(j),$g),N=t6(k=>j.next(S*k).value,S,30);return S+"ms "+N},toTransition:()=>{}};return j}Lg.applyToOptions=e=>{const t=BF(e,100,Lg);return e.ease=t.ease,e.duration=Sr(t.duration),e.type="keyframes",e};function _b({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:l,max:c,restDelta:d=.5,restSpeed:u}){const p=e[0],f={done:!1,value:p},h=T=>l!==void 0&&T<l||c!==void 0&&T>c,g=T=>l===void 0?c:c===void 0||Math.abs(l-T)<Math.abs(c-T)?l:c;let m=n*t;const b=p+m,v=a===void 0?b:a(b);v!==b&&(m=v-p);const y=T=>-m*Math.exp(-T/r),w=T=>v+y(T),j=T=>{const C=y(T),R=w(T);f.done=Math.abs(C)<=d,f.value=f.done?v:R};let S,N;const k=T=>{h(f.value)&&(S=T,N=Lg({keyframes:[f.value,g(f.value)],velocity:n6(w,T,f.value),damping:o,stiffness:i,restDelta:d,restSpeed:u}))};return k(0),{calculatedDuration:null,next:T=>{let C=!1;return!N&&S===void 0&&(C=!0,j(T),k(T)),S!==void 0&&T>=S?N.next(T-S):(!C&&j(T),f)}}}function KF(e,t,n){const r=[],o=n||_i.mix||e6,i=e.length-1;for(let a=0;a<i;a++){let l=o(e[a],e[a+1]);if(t){const c=Array.isArray(t)?t[a]||jr:t;l=af(c,l)}r.push(l)}return r}function ZF(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Xd(i===t.length,"Both input and output ranges must be the same length","range-length"),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=KF(t,r,o),c=l.length,d=u=>{if(a&&u<e[0])return t[0];let p=0;if(c>1)for(;p<e.length-2&&!(u<e[p+1]);p++);const f=jp(e[p],e[p+1],u);return l[p](f)};return n?u=>d(Vo(e[0],e[i-1],u)):d}function QF(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=jp(0,t,r);e.push(Pt(n,1,o))}}function JF(e){const t=[0];return QF(t,e.length-1),t}function XF(e,t){return e.map(n=>n*t)}function eH(e,t){return e.map(()=>t||H3).splice(0,e.length-1)}function Fh({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=hF(r)?r.map(Zk):Zk(r),i={done:!1,value:t[0]},a=XF(n&&n.length===t.length?n:JF(t),e),l=ZF(a,t,{ease:Array.isArray(o)?o:eH(t,o)});return{calculatedDuration:e,next:c=>(i.value=l(c),i.done=c>=e,i)}}const tH=e=>e!==null;function kj(e,{repeat:t,repeatType:n="loop"},r,o=1){const i=e.filter(tH),l=o<0||t&&n!=="loop"&&t%2===1?0:i.length-1;return!l||r===void 0?i[l]:r}const nH={decay:_b,inertia:_b,tween:Fh,keyframes:Fh,spring:Lg};function s6(e){typeof e.type=="string"&&(e.type=nH[e.type])}class Tj{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const sH=e=>e/100;class Nj extends Tj{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,o;const{motionValue:n}=this.options;n&&n.updatedAt!==ps.now()&&this.tick(ps.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(o=(r=this.options).onStop)==null||o.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;s6(t);const{type:n=Fh,repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:a=0}=t;let{keyframes:l}=t;const c=n||Fh;c!==Fh&&typeof l[0]!="number"&&(this.mixKeyframes=af(sH,e6(l[0],l[1])),l=[0,100]);const d=c({...t,keyframes:l});i==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-a})),d.calculatedDuration===null&&(d.calculatedDuration=Sj(d));const{calculatedDuration:u}=d;this.calculatedDuration=u,this.resolvedDuration=u+o,this.totalDuration=this.resolvedDuration*(r+1)-o,this.generator=d}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:o,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return r.next(0);const{delay:d=0,keyframes:u,repeat:p,repeatType:f,repeatDelay:h,type:g,onUpdate:m,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-o/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const v=this.currentTime-d*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>o;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=o);let w=this.currentTime,j=r;if(p){const T=Math.min(this.currentTime,o)/l;let C=Math.floor(T),R=T%1;!R&&T>=1&&(R=1),R===1&&C--,C=Math.min(C,p+1),!!(C%2)&&(f==="reverse"?(R=1-R,h&&(R-=h/l)):f==="mirror"&&(j=a)),w=Vo(0,1,R)*l}const S=y?{done:!1,value:u[0]}:j.next(w);i&&(S.value=i(S.value));let{done:N}=S;!y&&c!==null&&(N=this.playbackSpeed>=0?this.currentTime>=o:this.currentTime<=0);const k=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&N);return k&&g!==_b&&(S.value=kj(u,this.options,b,this.speed)),m&&m(S.value),k&&this.finish(),S}then(t,n){return this.finished.then(t,n)}get duration(){return yr(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+yr(t)}get time(){return yr(this.currentTime)}set time(t){var n;t=Sr(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(ps.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=yr(this.currentTime))}play(){var o,i;if(this.isStopped)return;const{driver:t=MF,startTime:n}=this.options;this.driver||(this.driver=t(a=>this.tick(a))),(i=(o=this.options).onPlay)==null||i.call(o);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(ps.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function rH(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const El=e=>e*180/Math.PI,Ab=e=>{const t=El(Math.atan2(e[1],e[0]));return Rb(t)},oH={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ab,rotateZ:Ab,skewX:e=>El(Math.atan(e[1])),skewY:e=>El(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Rb=e=>(e=e%360,e<0&&(e+=360),e),rT=Ab,oT=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),iT=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),iH={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:oT,scaleY:iT,scale:e=>(oT(e)+iT(e))/2,rotateX:e=>Rb(El(Math.atan2(e[6],e[5]))),rotateY:e=>Rb(El(Math.atan2(-e[2],e[0]))),rotateZ:rT,rotate:rT,skewX:e=>El(Math.atan(e[4])),skewY:e=>El(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Pb(e){return e.includes("scale")?1:0}function zb(e,t){if(!e||e==="none")return Pb(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,o;if(n)r=iH,o=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=oH,o=l}if(!o)return Pb(t);const i=r[t],a=o[1].split(",").map(lH);return typeof i=="function"?i(a):a[i]}const aH=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return zb(n,t)};function lH(e){return parseFloat(e.trim())}const wu=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ju=new Set(wu),aT=e=>e===bu||e===ie,cH=new Set(["x","y","z"]),dH=wu.filter(e=>!cH.has(e));function uH(e){const t=[];return dH.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Sa={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>zb(t,"x"),y:(e,{transform:t})=>zb(t,"y")};Sa.translateX=Sa.x;Sa.translateY=Sa.y;const Fl=new Set;let Ib=!1,Ob=!1,Db=!1;function r6(){if(Ob){const e=Array.from(Fl).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=uH(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([i,a])=>{var l;(l=r.getValue(i))==null||l.set(a)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ob=!1,Ib=!1,Fl.forEach(e=>e.complete(Db)),Fl.clear()}function o6(){Fl.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ob=!0)})}function hH(){Db=!0,o6(),r6(),Db=!1}class Ej{constructor(t,n,r,o,i,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(Fl.add(this),Ib||(Ib=!0,bt.read(o6),bt.resolveKeyframes(r6))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;if(t[0]===null){const i=o==null?void 0:o.get(),a=t[t.length-1];if(i!==void 0)t[0]=i;else if(r&&n){const l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),o&&i===void 0&&o.set(t[0])}rH(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Fl.delete(this)}cancel(){this.state==="scheduled"&&(Fl.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const pH=e=>e.startsWith("--");function fH(e,t,n){pH(t)?e.style.setProperty(t,n):e.style[t]=n}const mH={};function i6(e,t){const n=z3(e);return()=>mH[t]??n()}const gH=i6(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),a6=i6(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),jh=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,lT={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:jh([0,.65,.55,1]),circOut:jh([.55,0,1,.45]),backIn:jh([.31,.01,.66,-.59]),backOut:jh([.33,1.53,.69,.99])};function l6(e,t){if(e)return typeof e=="function"?a6()?t6(e,t):"ease-out":V3(e)?jh(e):Array.isArray(e)?e.map(n=>l6(n,t)||lT.easeOut):lT[e]}function yH(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:l="easeOut",times:c}={},d=void 0){const u={[t]:n};c&&(u.offset=c);const p=l6(l,o);Array.isArray(p)&&(u.easing=p);const f={delay:r,duration:o,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:i+1,direction:a==="reverse"?"alternate":"normal"};return d&&(f.pseudoElement=d),e.animate(u,f)}function c6(e){return typeof e=="function"&&"applyToOptions"in e}function xH({type:e,...t}){return c6(e)&&a6()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class d6 extends Tj{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:o,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:l,onComplete:c}=t;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=t,Xd(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const d=xH(t);this.animation=yH(n,r,o,d,i),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const u=kj(o,this.options,l,this.speed);this.updateMotionValue?this.updateMotionValue(u):fH(n,r,u),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,o;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((o=(r=this.animation).commitStyles)==null||o.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return yr(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+yr(t)}get time(){return yr(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Sr(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&gH()?(this.animation.timeline=t,jr):n(this)}}const u6={anticipate:M3,backInOut:L3,circInOut:F3};function vH(e){return e in u6}function bH(e){typeof e.ease=="string"&&vH(e.ease)&&(e.ease=u6[e.ease])}const Jx=10;class wH extends d6{constructor(t){bH(t),s6(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:o,element:i,...a}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new Nj({...a,autoplay:!1}),c=Math.max(Jx,ps.now()-this.startTime),d=Vo(0,Jx,c-Jx);n.setWithVelocity(l.sample(Math.max(0,c-d)).value,l.sample(c).value,d),l.stop()}}const cT=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(ro.test(e)||e==="0")&&!e.startsWith("url("));function jH(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function SH(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],a=cT(o,t),l=cT(i,t);return $y(a===l,`You are trying to animate ${t} from "${o}" to "${i}". "${a?i:o}" is not an animatable value.`,"value-not-animatable"),!a||!l?!1:jH(e)||(n==="spring"||c6(n))&&r}function Wb(e){e.duration=0,e.type="keyframes"}const kH=new Set(["opacity","clipPath","filter","transform"]),TH=z3(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function NH(e){var u;
356const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:a}=e;if(!(((u=t==null?void 0:t.owner)==null?void 0:u.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:d}=t.owner.getProps();return TH()&&n&&kH.has(n)&&(n!=="transform"||!d)&&!c&&!r&&o!=="mirror"&&i!==0&&a!=="inertia"}const EH=40;class CH extends Tj{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:a="loop",keyframes:l,name:c,motionValue:d,element:u,...p}){var g;super(),this.stop=()=>{var m,b;this._animation&&(this._animation.stop(),(m=this.stopTimeline)==null||m.call(this)),(b=this.keyframeResolver)==null||b.cancel()},this.createdAt=ps.now();const f={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:a,name:c,motionValue:d,element:u,...p},h=(u==null?void 0:u.KeyframeResolver)||Ej;this.keyframeResolver=new h(l,(m,b,v)=>this.onKeyframesResolved(m,b,f,!v),c,d,u),(g=this.keyframeResolver)==null||g.scheduleResolve()}onKeyframesResolved(t,n,r,o){var b,v;this.keyframeResolver=void 0;const{name:i,type:a,velocity:l,delay:c,isHandoff:d,onUpdate:u}=r;this.resolvedAt=ps.now(),SH(t,i,a,l)||((_i.instantAnimations||!c)&&(u==null||u(kj(t,r,n))),t[0]=t[t.length-1],Wb(r),r.repeat=0);const f={startTime:o?this.resolvedAt?this.resolvedAt-this.createdAt>EH?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},h=!d&&NH(f),g=(v=(b=f.motionValue)==null?void 0:b.owner)==null?void 0:v.current,m=h?new wH({...f,element:g}):new Nj(f);m.finished.then(()=>{this.notifyFinished()}).catch(jr),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),hH()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function h6(e,t,n,r=0,o=1){const i=Array.from(e).sort((d,u)=>d.sortNodePosition(u)).indexOf(t),a=e.size,l=(a-1)*r;return typeof n=="function"?n(i,a):o===1?i*r:l-i*r}const _H=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function AH(e){const t=_H.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}const RH=4;function p6(e,t,n=1){Xd(n<=RH,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,o]=AH(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const a=i.trim();return A3(a)?parseFloat(a):a}return vj(o)?p6(o,t,n+1):o}const PH={type:"spring",stiffness:500,damping:25,restSpeed:10},zH=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),IH={type:"keyframes",duration:.8},OH={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},DH=(e,{keyframes:t})=>t.length>2?IH:ju.has(e)?e.startsWith("scale")?zH(t[1]):PH:OH,WH=e=>e!==null;function $H(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(WH),i=t&&n!=="loop"&&t%2===1?0:o.length-1;return!i||r===void 0?o[i]:r}function f6(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function Cj(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?f6(n,e):n}function LH({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:l,from:c,elapsed:d,...u}){return!!Object.keys(u).length}const _j=(e,t,n,r={},o,i)=>a=>{const l=Cj(r,e)||{},c=l.delay||r.delay||0;let{elapsed:d=0}=r;d=d-Sr(c);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-d,onUpdate:f=>{t.set(f),l.onUpdate&&l.onUpdate(f)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:i?void 0:o};LH(l)||Object.assign(u,DH(e,u)),u.duration&&(u.duration=Sr(u.duration)),u.repeatDelay&&(u.repeatDelay=Sr(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Wb(u),u.delay===0&&(p=!0)),(_i.instantAnimations||_i.skipAnimations||o!=null&&o.shouldSkipAnimations)&&(p=!0,Wb(u),u.delay=0),u.allowFlatten=!l.type&&!l.ease,p&&!i&&t.get()!==void 0){const f=$H(u.ke
vendor: 29,440 bytes, line 356
356yframes,l);if(f!==void 0){bt.update(()=>{u.onUpdate(f),u.onComplete()});return}}return l.isSync?new Nj(u):new CH(u)};function dT(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Aj(e,t,n,r){if(typeof t=="function"){const[o,i]=dT(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,i]=dT(r);t=t(n!==void 0?n:e.custom,o,i)}return t}function Nd(e,t,n){const r=e.getProps();return Aj(r,t,n!==void 0?n:r.custom,e)}const m6=new Set(["width","height","top","left","right","bottom",...wu]),uT=30,MH=e=>!isNaN(parseFloat(e));class BH{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var i;const o=ps.now();if(this.updatedAt!==o&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((i=this.events.change)==null||i.notify(this.current),this.dependents))for(const a of this.dependents)a.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=ps.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=MH(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new gj);const r=this.events[t].add(n);return t==="change"?()=>{r(),bt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=ps.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>uT)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,uT);return I3(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function eu(e,t){return new BH(e,t)}const $b=e=>Array.isArray(e);function FH(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,eu(n))}function HH(e){return $b(e)?e[e.length-1]||0:e}function VH(e,t){const n=Nd(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const a in i){const l=HH(i[a]);FH(e,a,l)}}const Yn=e=>!!(e&&e.getVelocity);function UH(e){return!!(Yn(e)&&e.add)}function Lb(e,t){const n=e.getValue("willChange");if(UH(n))return n.add(t);if(!n&&_i.WillChange){const r=new _i.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function Rj(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const GH="framerAppearId",g6="data-"+Rj(GH);function y6(e){return e.props[g6]}function YH({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function x6(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i,transitionEnd:a,...l}=t;const c=e.getDefaultTransition();i=i?f6(i,c):c;const d=i==null?void 0:i.reduceMotion;r&&(i=r);const u=[],p=o&&e.animationState&&e.animationState.getState()[o];for(const f in l){const h=e.getValue(f,e.latestValues[f]??null),g=l[f];if(g===void 0||p&&YH(p,f))continue;const m={delay:n,...Cj(i||{},f)},b=h.get();if(b!==void 0&&!h.isAnimating&&!Array.isArray(g)&&g===b&&!m.velocity)continue;let v=!1;if(window.MotionHandoffAnimation){const j=y6(e);if(j){const S=window.MotionHandoffAnimation(j,f,bt);S!==null&&(m.startTime=S,v=!0)}}Lb(e,f);const y=d??e.shouldReduceMotion;h.start(_j(f,h,g,y&&m6.has(f)?{type:!1}:m,e,v));const w=h.animation;w&&u.push(w)}if(a){const f=()=>bt.update(()=>{a&&VH(e,a)});u.length?Promise.all(u).then(f):f()}return u}function Mb(e,t,n={}){var c;const r=Nd(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(x6(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:u=0,staggerChildren:p,staggerDirection:f}=o;return qH(e,t,d,u,p,f,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[d,u]=l==="beforeChildren"?[i,a]:[a,i];return d().then(()=>u())}else return Promise.all([i(),a(n.delay)])}function qH(e,t,n=0,r=0,o=0,i=1,a){const l=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),l.push(Mb(c,t,{...a,delay:n+(typeof r=="function"?0:r)+h6(e.variantChildren,c,r,o,i)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(l)}function KH(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>Mb(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=Mb(e,t,n);else{const o=typeof t=="function"?Nd(e,t,n.custom):t;r=Promise.all(x6(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const ZH={test:e=>e==="auto",parse:e=>e},v6=e=>t=>t.test(e),b6=[bu,ie,Bo,Zi,kF,SF,ZH],hT=e=>b6.find(v6(e));function QH(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||P3(e):!0}const JH=new Set(["brightness","contrast","saturate","opacity"]);function XH(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(bj)||[];if(!r)return e;const o=n.replace(r,"");let i=JH.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const eV=/\b([a-z-]*)\(.*?\)/gu,Bb={...ro,getAnimatableNone:e=>{const t=e.match(eV);return t?t.map(XH).join(" "):e}},Fb={...ro,getAnimatableNone:e=>{const t=ro.parse(e);return ro.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},pT={...bu,transform:Math.round},tV={rotate:Zi,rotateX:Zi,rotateY:Zi,rotateZ:Zi,scale:Uf,scaleX:Uf,scaleY:Uf,scaleZ:Uf,skew:Zi,skewX:Zi,skewY:Zi,distance:ie,translateX:ie,translateY:ie,translateZ:ie,x:ie,y:ie,z:ie,perspective:ie,transformPerspective:ie,opacity:Sp,originX:Xk,originY:Xk,originZ:ie},Pj={borderWidth:ie,borderTopWidth:ie,borderRightWidth:ie,borderBottomWidth:ie,borderLeftWidth:ie,borderRadius:ie,borderTopLeftRadius:ie,borderTopRightRadius:ie,borderBottomRightRadius:ie,borderBottomLeftRadius:ie,width:ie,maxWidth:ie,height:ie,maxHeight:ie,top:ie,right:ie,bottom:ie,left:ie,inset:ie,insetBlock:ie,insetBlockStart:ie,insetBlockEnd:ie,insetInline:ie,insetInlineStart:ie,insetInlineEnd:ie,padding:ie,paddingTop:ie,paddingRight:ie,paddingBottom:ie,paddingLeft:ie,paddingBlock:ie,paddingBlockStart:ie,paddingBlockEnd:ie,paddingInline:ie,paddingInlineStart:ie,paddingInlineEnd:ie,margin:ie,marginTop:ie,marginRight:ie,marginBottom:ie,marginLeft:ie,marginBlock:ie,marginBlockStart:ie,marginBlockEnd:ie,marginInline:ie,marginInlineStart:ie,marginInlineEnd:ie,fontSize:ie,backgroundPositionX:ie,backgroundPositionY:ie,...tV,zIndex:pT,fillOpacity:Sp,strokeOpacity:Sp,numOctaves:pT},nV={...Pj,color:Jt,backgroundColor:Jt,outlineColor:Jt,fill:Jt,stroke:Jt,borderColor:Jt,borderTopColor:Jt,borderRightColor:Jt,borderBottomColor:Jt,borderLeftColor:Jt,filter:Bb,WebkitFilter:Bb,mask:Fb,WebkitMask:Fb},w6=e=>nV[e],sV=new Set([Bb,Fb]);function j6(e,t){let n=w6(e);return sV.has(n)||(n=ro),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const rV=new Set(["auto","none","0"]);function oV(e,t,n){let r=0,o;for(;r<e.length&&!o;){const i=e[r];typeof i=="string"&&!rV.has(i)&&kp(i).values.length&&(o=e[r]),r++}if(o&&n)for(const i of t)e[i]=j6(n,o)}class iV extends Ej{constructor(t,n,r,o,i){super(t,n,r,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let p=t[u];if(typeof p=="string"&&(p=p.trim(),vj(p))){const f=p6(p,n.current);f!==void 0&&(t[u]=f),u===t.length-1&&(this.finalKeyframe=p)}}if(this.resolveNoneKeyframes(),!m6.has(r)||t.length!==2)return;const[o,i]=t,a=hT(o),l=hT(i),c=Jk(o),d=Jk(i);if(c!==d&&Sa[r]){this.needsMeasurement=!0;return}if(a!==l)if(aT(a)&&aT(l))for(let u=0;u<t.length;u++){const p=t[u];typeof p=="string"&&(t[u]=parseFloat(p))}else Sa[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)(t[o]===null||QH(t[o]))&&r.push(o);r.length&&oV(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Sa[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var l;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const i=r.length-1,a=r[i];r[i]=Sa[n](t.measureViewportBox(),window.getComputedStyle(t.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),(l=this.removedTransforms)!=null&&l.length&&this.removedTransforms.forEach(([c,d])=>{t.getValue(c).set(d)}),this.resolveNoneKeyframes()}}const aV=new Set(["opacity","clipPath","filter","transform"]);function S6(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const o=document.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e).filter(r=>r!=null)}const k6=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Hb(e){return R3(e)&&"offsetHeight"in e}const{schedule:zj,cancel:jie}=U3(queueMicrotask,!1),Br={x:!1,y:!1};function T6(){return Br.x||Br.y}function lV(e){return e==="x"||e==="y"?Br[e]?null:(Br[e]=!0,()=>{Br[e]=!1}):Br.x||Br.y?null:(Br.x=Br.y=!0,()=>{Br.x=Br.y=!1})}function N6(e,t){const n=S6(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function cV(e){return!(e.pointerType==="touch"||T6())}function dV(e,t,n={}){const[r,o,i]=N6(e,n);return r.forEach(a=>{let l=!1,c=!1,d;const u=()=>{a.removeEventListener("pointerleave",g)},p=b=>{d&&(d(b),d=void 0),u()},f=b=>{l=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),c&&(c=!1,p(b))},h=()=>{l=!0,window.addEventListener("pointerup",f,o),window.addEventListener("pointercancel",f,o)},g=b=>{if(b.pointerType!=="touch"){if(l){c=!0;return}p(b)}},m=b=>{if(!cV(b))return;c=!1;const v=t(a,b);typeof v=="function"&&(d=v,a.addEventListener("pointerleave",g,o))};a.addEventListener("pointerenter",m,o),a.addEventListener("pointerdown",h,o)}),i}const E6=(e,t)=>t?e===t?!0:E6(e,t.parentElement):!1,Ij=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,uV=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function hV(e){return uV.has(e.tagName)||e.isContentEditable===!0}const pV=new Set(["INPUT","SELECT","TEXTAREA"]);function fV(e){return pV.has(e.tagName)||e.isContentEditable===!0}const Hm=new WeakSet;function fT(e){return t=>{t.key==="Enter"&&e(t)}}function Xx(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const mV=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=fT(()=>{if(Hm.has(n))return;Xx(n,"down");const o=fT(()=>{Xx(n,"up")}),i=()=>Xx(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function mT(e){return Ij(e)&&!T6()}const gT=new WeakSet;function gV(e,t,n={}){const[r,o,i]=N6(e,n),a=l=>{const c=l.currentTarget;if(!mT(l)||gT.has(l))return;Hm.add(c),n.stopPropagation&&gT.add(l);const d=t(c,l),u=(h,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",f),Hm.has(c)&&Hm.delete(c),mT(h)&&typeof d=="function"&&d(h,{success:g})},p=h=>{u(h,c===window||c===document||n.useGlobalTarget||E6(c,h.target))},f=h=>{u(h,!1)};window.addEventListener("pointerup",p,o),window.addEventListener("pointercancel",f,o)};return r.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",a,o),Hb(l)&&(l.addEventListener("focus",d=>mV(d,o)),!hV(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),i}function Oj(e){return R3(e)&&"ownerSVGElement"in e}const Vm=new WeakMap;let Qi;const C6=(e,t,n)=>(r,o)=>o&&o[0]?o[0][e+"Size"]:Oj(r)&&"getBBox"in r?r.getBBox()[t]:r[n],yV=C6("inline","width","offsetWidth"),xV=C6("block","height","offsetHeight");function vV({target:e,borderBoxSize:t}){var n;(n=Vm.get(e))==null||n.forEach(r=>{r(e,{get width(){return yV(e,t)},get height(){return xV(e,t)}})})}function bV(e){e.forEach(vV)}function wV(){typeof ResizeObserver>"u"||(Qi=new ResizeObserver(bV))}function jV(e,t){Qi||wV();const n=S6(e);return n.forEach(r=>{let o=Vm.get(r);o||(o=new Set,Vm.set(r,o)),o.add(t),Qi==null||Qi.observe(r)}),()=>{n.forEach(r=>{const o=Vm.get(r);o==null||o.delete(t),o!=null&&o.size||Qi==null||Qi.unobserve(r)})}}const Um=new Set;let cd;function SV(){cd=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Um.forEach(t=>t(e))},window.addEventListener("resize",cd)}function kV(e){return Um.add(e),cd||SV(),()=>{Um.delete(e),!Um.size&&typeof cd=="function"&&(window.removeEventListener("resize",cd),cd=void 0)}}function yT(e,t){return typeof e=="function"?kV(e):jV(e,t)}function TV(e){return Oj(e)&&e.tagName==="svg"}const NV=[...b6,Jt,ro],EV=e=>NV.find(v6(e)),xT=()=>({translate:0,scale:1,origin:0,originPoint:0}),dd=()=>({x:xT(),y:xT()}),vT=()=>({min:0,max:0}),cn=()=>({x:vT(),y:vT()}),CV=new WeakMap;function Ly(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Tp(e){return typeof e=="string"||Array.isArray(e)}const Dj=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Wj=["initial",...Dj];function My(e){return Ly(e.animate)||Wj.some(t=>Tp(e[t]))}function _6(e){return!!(My(e)||e.variants)}function _V(e,t,n){for(const r in t){const o=t[r],i=n[r];if(Yn(o))e.addValue(r,o);else if(Yn(i))e.addValue(r,eu(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const a=e.getValue(r);a.liveStyle===!0?a.jump(o):a.hasAnimated||a.set(o)}else{const a=e.getStaticValue(r);e.addValue(r,eu(a!==void 0?a:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Vb={current:null},A6={current:!1},AV=typeof window<"u";function RV(){if(A6.current=!0,!!AV)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Vb.current=e.matches;e.addEventListener("change",t),t()}else Vb.current=!1}const bT=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Mg={};function R6(e){Mg=e}function PV(){return Mg}class zV{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,skipAnimations:i,blockInitialAnimation:a,visualState:l},c={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Ej,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=ps.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,bt.render(this.render,!1,!0))};const{latestValues:d,renderState:u}=l;this.latestValues=d,this.baseTarget={...d},this.initialValues=n.initial?{...d}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.skipAnimationsConfig=i,this.options=c,this.blockInitialAnimation=!!a,this.isControllingVariants=My(n),this.isVariantNode=_6(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:p,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const g=f[h];d[h]!==void 0&&Yn(g)&&g.set(d[h])}}mount(t){var n,r;if(this.hasBeenMounted)for(const o in this.initialValues)(n=this.values.get(o))==null||n.jump(this.initialValues[o]),this.latestValues[o]=this.initialValues[o];this.current=t,CV.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((o,i)=>this.bindToMotionValue(i,o)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(A6.current||RV(),this.shouldReduceMotion=Vb.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),Fa(this.notifyUpdate),Fa(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&aV.has(t)&&this.current instanceof HTMLElement){const{factory:a,keyframes:l,times:c,ease:d,duration:u}=n.accelerate,p=new d6({element:this.current,name:t,keyframes:l,times:c,ease:d,duration:Sr(u)}),f=a(p);this.valueSubscriptions.set(t,()=>{f(),p.cancel()});return}const r=ju.has(t);r&&this.onBindTransform&&this.onBindTransform();const o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&bt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;typeof window<"u"&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i&&i(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Mg){const n=Mg[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):cn()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<bT.length;r++){const o=bT[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const i="on"+o,a=t[i];a&&(this.propEventSubscriptions[o]=this.on(o,a))}this.prevMotionValues=_V(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=eu(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(A3(r)||P3(r))?r=parseFloat(r):!EV(r)&&ro.test(n)&&(r=j6(t,n)),this.setBaseTarget(t,Yn(r)?r.get():r)),Yn(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var i;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const a=Aj(this.props,n,(i=this.presenceContext)==null?void 0:i.custom);a&&(r=a[t])}if(n&&r!==void 0)return r;const o=this.getBaseTargetFromProps(this.props,t);return o!==void 0&&!Yn(o)?o:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new gj),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){zj.render(this.render)}}class P6 extends zV{constructor(){super(...arguments),this.KeyframeResolver=iV}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Yn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class Ka{constructor(t){this.isMounted=!1,this.node=t}update(){}}function z6({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function IV({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function OV(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function e0(e){return e===void 0||e===1}function Ub({scale:e,scaleX:t,scaleY:n}){return!e0(e)||!e0(t)||!e0(n)}function ml(e){return Ub(e)||I6(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function I6(e){return wT(e.x)||wT(e.y)}function wT(e){return e&&e!=="0%"}function Bg(e,t,n){const r=e-n,o=t*r;return n+o}function jT(e,t,n,r,o){return o!==void 0&&(e=Bg(e,o,r)),Bg(e,n,r)+t}function Gb(e,t=0,n=1,r,o){e.min=jT(e.min,t,n,r,o),e.max=jT(e.max,t,n,r,o)}function O6(e,{x:t,y:n}){Gb(e.x,t.translate,t.scale,t.originPoint),Gb(e.y,n.translate,n.scale,n.originPoint)}const ST=.999999999999,kT=1.0000000000001;function DV(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,a;for(let l=0;l<o;l++){i=n[l],a=i.projectionDelta;const{visualElement:c}=i.options;c&&c.props.style&&c.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&hd(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,O6(e,a)),r&&ml(i.latestValues)&&hd(e,i.latestValues))}t.x<kT&&t.x>ST&&(t.x=1),t.y<kT&&t.y>ST&&(t.y=1)}function ud(e,t){e.min=e.min+t,e.max=e.max+t}function TT(e,t,n,r,o=.5){const i=Pt(e.min,e.max,o);Gb(e,t,n,i,r)}function hd(e,t){TT(e.x,t.x,t.scaleX,t.scale,t.originX),TT(e.y,t.y,t.scaleY,t.scale,t.originY)}function D6(e,t){return z6(OV(e.getBoundingClientRect(),t))}function WV(e,t,n){const r=D6(e,n),{scroll:o}=t;return o&&(ud(r.x,o.offset.x),ud(r.y,o.offset.y)),r}const $V={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},LV=wu.length;function MV(e,t,n){let r="",o=!0;for(let i=0;i<LV;i++){const a=wu[i],l=e[a];if(l===void 0)continue;let c=!0;if(typeof l=="number")c=l===(a.startsWith("scale")?1:0);else{const d=parseFloat(l);c=a.startsWith("scale")?d===1:d===0}if(!c||n){const d=k6(l,Pj[a]);if(!c){o=!1;const u=$V[a]||a;r+=`${u}(${d}) `}n&&(t[a]=d)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function $j(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let a=!1,l=!1;for(const c in t){const d=t[c];if(ju.has(c)){a=!0;continue}else if(Y3(c)){o[c]=d;continue}else{const u=k6(d,Pj[c]);c.startsWith("origin")?(l=!0,i[c]=u):r[c]=u}}if(t.transform||(a||n?r.transform=MV(t,e.transform,n):r.transform&&(r.transform="none")),l){const{originX:c="50%",originY:d="50%",originZ:u=0}=i;r.transformOrigin=`${c} ${d} ${u}`}}function W6(e,{style:t,vars:n},r,o){const i=e.style;let a;for(a in t)i[a]=t[a];o==null||o.applyProjectionStyles(i,r);for(a in n)i.setProperty(a,n[a])}function NT(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Vu={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ie.test(e))e=parseFloat(e);else return e;const n=NT(e,t.target.x),r=NT(e,t.target.y);return`${n}% ${r}%`}},BV={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=ro.parse(e);if(o.length>5)return r;const i=ro.createTransformer(e),a=typeof o[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;o[0+a]/=l,o[1+a]/=c;const d=Pt(l,c,.5);return typeof o[2+a]=="number"&&(o[2+a]/=d),typeof o[3+a]=="number"&&(o[3+a]/=d),i(o)}},Yb={borderRadius:{...Vu,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Vu,borderTopRightRadius:Vu,borderBottomLeftRadius:Vu,borderBottomRightRadius:Vu,boxShadow:BV};function $6(e,{layout:t,layoutId:n}){return ju.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Yb[e]||e==="opacity")}function Lj(e,t,n){var a;const r=e.style,o=t==null?void 0:t.style,i={};if(!r)return i;for(const l in r)(Yn(r[l])||o&&Yn(o[l])||$6(l,e)||((a=n==null?void 0:n.getValue(l))==null?void 0:a.liveStyle)!==void 0)&&(i[l]=r[l]);return i}function FV(e){return window.getComputedStyle(e)}class HV extends P6{constructor(){super(...arguments),this.type="html",this.renderInstance=W6}readValueFromInstance(t,n){var r;if(ju.has(n))return(r=this.projection)!=null&&r.isProjecting?Pb(n):aH(t,n);{const o=FV(t),i=(Y3(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return D6(t,n)}build(t,n,r){$j(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Lj(t,n,r)}}const VV={offset:"stroke-dashoffset",array:"stroke-dasharray"},UV={offset:"strokeDashoffset",array:"strokeDasharray"};function GV(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?VV:UV;e[i.offset]=`${-r}`,e[i.array]=`${t} ${n}`}const YV=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function L6(e,{attrX:t,attrY:n,attrScale:r,pathLength:o,pathSpacing:i=1,pathOffset:a=0,...l},c,d,u){if($j(e,l,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:f}=e;p.transform&&(f.transform=p.transform,delete p.transform),(f.transform||p.transformOrigin)&&(f.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),f.transform&&(f.transformBox=(u==null?void 0:u.transformBox)??"fill-box",delete p.transformBox);for(const h of YV)p[h]!==void 0&&(f[h]=p[h],delete p[h]);t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),r!==void 0&&(p.scale=r),o!==void 0&&GV(p,o,i,a,!1)}const M6=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),B6=e=>typeof e=="string"&&e.toLowerCase()==="svg";function qV(e,t,n,r){W6(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(M6.has(o)?o:Rj(o),t.attrs[o])}function F6(e,t,n){const r=Lj(e,t,n);for(const o in e)if(Yn(e[o])||Yn(t[o])){const i=wu.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}class KV extends P6{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=cn}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ju.has(n)){const r=w6(n);return r&&r.default||0}return n=M6.has(n)?n:Rj(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return F6(t,n,r)}build(t,n,r){L6(t,n,this.isSVGTag,r.transformTemplate,r.style)}
vendor: 20,612 bytes, line 356
356renderInstance(t,n,r,o){qV(t,n,r,o)}mount(t){this.isSVGTag=B6(t.tagName),super.mount(t)}}const ZV=Wj.length;function H6(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?H6(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<ZV;n++){const r=Wj[n],o=e.props[r];(Tp(o)||o===!1)&&(t[r]=o)}return t}function V6(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}const QV=[...Dj].reverse(),JV=Dj.length;function XV(e){return t=>Promise.all(t.map(({animation:n,options:r})=>KH(e,n,r)))}function eU(e){let t=XV(e),n=ET(),r=!0;const o=c=>(d,u)=>{var f;const p=Nd(e,u,c==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(p){const{transition:h,transitionEnd:g,...m}=p;d={...d,...m,...g}}return d};function i(c){t=c(e)}function a(c){const{props:d}=e,u=H6(e.parent)||{},p=[],f=new Set;let h={},g=1/0;for(let b=0;b<JV;b++){const v=QV[b],y=n[v],w=d[v]!==void 0?d[v]:u[v],j=Tp(w),S=v===c?y.isActive:null;S===!1&&(g=b);let N=w===u[v]&&w!==d[v]&&j;if(N&&r&&e.manuallyAnimateOnMount&&(N=!1),y.protectedKeys={...h},!y.isActive&&S===null||!w&&!y.prevProp||Ly(w)||typeof w=="boolean")continue;if(v==="exit"&&y.isActive&&S!==!0){y.prevResolvedValues&&(h={...h,...y.prevResolvedValues});continue}const k=tU(y.prevProp,w);let T=k||v===c&&y.isActive&&!N&&j||b>g&&j,C=!1;const R=Array.isArray(w)?w:[w];let L=R.reduce(o(v),{});S===!1&&(L={});const{prevResolvedValues:I={}}=y,F={...I,...L},D=H=>{T=!0,f.has(H)&&(C=!0,f.delete(H)),y.needsAnimating[H]=!0;const O=e.getValue(H);O&&(O.liveStyle=!1)};for(const H in F){const O=L[H],W=I[H];if(h.hasOwnProperty(H))continue;let G=!1;$b(O)&&$b(W)?G=!V6(O,W):G=O!==W,G?O!=null?D(H):f.add(H):O!==void 0&&f.has(H)?D(H):y.protectedKeys[H]=!0}y.prevProp=w,y.prevResolvedValues=L,y.isActive&&(h={...h,...L}),r&&e.blockInitialAnimation&&(T=!1);const K=N&&k;T&&(!K||C)&&p.push(...R.map(H=>{const O={type:v};if(typeof H=="string"&&r&&!K&&e.manuallyAnimateOnMount&&e.parent){const{parent:W}=e,G=Nd(W,H);if(W.enteringChildren&&G){const{delayChildren:pe}=G.transition||{};O.delay=h6(W.enteringChildren,e,pe)}}return{animation:H,options:O}}))}if(f.size){const b={};if(typeof d.initial!="boolean"){const v=Nd(e,Array.isArray(d.initial)?d.initial[0]:d.initial);v&&v.transition&&(b.transition=v.transition)}f.forEach(v=>{const y=e.getBaseTarget(v),w=e.getValue(v);w&&(w.liveStyle=!0),b[v]=y??null}),p.push({animation:b})}let m=!!p.length;return r&&(d.initial===!1||d.initial===d.animate)&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(p):Promise.resolve()}function l(c,d){var p;if(n[c].isActive===d)return Promise.resolve();(p=e.variantChildren)==null||p.forEach(f=>{var h;return(h=f.animationState)==null?void 0:h.setActive(c,d)}),n[c].isActive=d;const u=a(c);for(const f in n)n[f].protectedKeys={};return u}return{animateChanges:a,setActive:l,setAnimateFunction:i,getState:()=>n,reset:()=>{n=ET()}}}function tU(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!V6(t,e):!1}function nl(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ET(){return{animate:nl(!0),whileInView:nl(),whileHover:nl(),whileTap:nl(),whileDrag:nl(),whileFocus:nl(),exit:nl()}}function CT(e,t){e.min=t.min,e.max=t.max}function Ir(e,t){CT(e.x,t.x),CT(e.y,t.y)}function _T(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const U6=1e-4,nU=1-U6,sU=1+U6,G6=.01,rU=0-G6,oU=0+G6;function fs(e){return e.max-e.min}function iU(e,t,n){return Math.abs(e-t)<=n}function AT(e,t,n,r=.5){e.origin=r,e.originPoint=Pt(t.min,t.max,e.origin),e.scale=fs(n)/fs(t),e.translate=Pt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=nU&&e.scale<=sU||isNaN(e.scale))&&(e.scale=1),(e.translate>=rU&&e.translate<=oU||isNaN(e.translate))&&(e.translate=0)}function Hh(e,t,n,r){AT(e.x,t.x,n.x,r?r.originX:void 0),AT(e.y,t.y,n.y,r?r.originY:void 0)}function RT(e,t,n){e.min=n.min+t.min,e.max=e.min+fs(t)}function aU(e,t,n){RT(e.x,t.x,n.x),RT(e.y,t.y,n.y)}function PT(e,t,n){e.min=t.min-n.min,e.max=e.min+fs(t)}function Fg(e,t,n){PT(e.x,t.x,n.x),PT(e.y,t.y,n.y)}function zT(e,t,n,r,o){return e-=t,e=Bg(e,1/n,r),o!==void 0&&(e=Bg(e,1/o,r)),e}function lU(e,t=0,n=1,r=.5,o,i=e,a=e){if(Bo.test(t)&&(t=parseFloat(t),t=Pt(a.min,a.max,t/100)-a.min),typeof t!="number")return;let l=Pt(i.min,i.max,r);e===i&&(l-=t),e.min=zT(e.min,t,n,l,o),e.max=zT(e.max,t,n,l,o)}function IT(e,t,[n,r,o],i,a){lU(e,t[n],t[r],t[o],t.scale,i,a)}const cU=["x","scaleX","originX"],dU=["y","scaleY","originY"];function OT(e,t,n,r){IT(e.x,t,cU,n?n.x:void 0,r?r.x:void 0),IT(e.y,t,dU,n?n.y:void 0,r?r.y:void 0)}function DT(e){return e.translate===0&&e.scale===1}function Y6(e){return DT(e.x)&&DT(e.y)}function WT(e,t){return e.min===t.min&&e.max===t.max}function uU(e,t){return WT(e.x,t.x)&&WT(e.y,t.y)}function $T(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function q6(e,t){return $T(e.x,t.x)&&$T(e.y,t.y)}function LT(e){return fs(e.x)/fs(e.y)}function MT(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function No(e){return[e("x"),e("y")]}function hU(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,a=(n==null?void 0:n.z)||0;if((o||i||a)&&(r=`translate3d(${o}px, ${i}px, ${a}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:d,rotate:u,rotateX:p,rotateY:f,skewX:h,skewY:g}=n;d&&(r=`perspective(${d}px) ${r}`),u&&(r+=`rotate(${u}deg) `),p&&(r+=`rotateX(${p}deg) `),f&&(r+=`rotateY(${f}deg) `),h&&(r+=`skewX(${h}deg) `),g&&(r+=`skewY(${g}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(r+=`scale(${l}, ${c})`),r||"none"}const K6=["TopLeft","TopRight","BottomLeft","BottomRight"],pU=K6.length,BT=e=>typeof e=="string"?parseFloat(e):e,FT=e=>typeof e=="number"||ie.test(e);function fU(e,t,n,r,o,i){o?(e.opacity=Pt(0,n.opacity??1,mU(r)),e.opacityExit=Pt(t.opacity??1,0,gU(r))):i&&(e.opacity=Pt(t.opacity??1,n.opacity??1,r));for(let a=0;a<pU;a++){const l=`border${K6[a]}Radius`;let c=HT(t,l),d=HT(n,l);if(c===void 0&&d===void 0)continue;c||(c=0),d||(d=0),c===0||d===0||FT(c)===FT(d)?(e[l]=Math.max(Pt(BT(c),BT(d),r),0),(Bo.test(d)||Bo.test(c))&&(e[l]+="%")):e[l]=d}(t.rotate||n.rotate)&&(e.rotate=Pt(t.rotate||0,n.rotate||0,r))}function HT(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const mU=Z6(0,.5,B3),gU=Z6(.5,.95,jr);function Z6(e,t,n){return r=>r<e?0:r>t?1:n(jp(e,t,r))}function yU(e,t,n){const r=Yn(e)?e:eu(e);return r.start(_j("",r,t,n)),r.animation}function Np(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const xU=(e,t)=>e.depth-t.depth;class vU{constructor(){this.children=[],this.isDirty=!1}add(t){mj(this.children,t),this.isDirty=!0}remove(t){Dg(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(xU),this.isDirty=!1,this.children.forEach(t)}}function bU(e,t){const n=ps.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(Fa(r),e(i-t))};return bt.setup(r,!0),()=>Fa(r)}function Gm(e){return Yn(e)?e.get():e}class wU{constructor(){this.members=[]}add(t){mj(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const o=r.instance;o&&o.isConnected===!1&&r.isPresent!==!1&&!r.snapshot&&Dg(this.members,r)}t.scheduleRender()}remove(t){if(Dg(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const i=this.members[o],a=i.instance;if(i.isPresent!==!1&&(!a||a.isConnected!==!1)){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender();const o=r.options.layoutDependency,i=t.options.layoutDependency;if(!(o!==void 0&&i!==void 0&&o===i)){const c=r.instance;c&&c.isConnected===!1&&!r.snapshot||(t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0))}const{crossfade:l}=t.options;l===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Ym={hasAnimatedSinceResize:!0,hasEverUpdated:!1},t0=["","X","Y","Z"],jU=1e3;let SU=0;function n0(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Q6(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=y6(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",bt,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Q6(r)}function J6({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(a={},l=t==null?void 0:t()){this.id=SU++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(NU),this.nodes.forEach(AU),this.nodes.forEach(RU),this.nodes.forEach(EU)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new vU)}addEventListener(a,l){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new gj),this.eventHandlers.get(a).add(l)}notifyListeners(a,...l){const c=this.eventHandlers.get(a);c&&c.notify(...l)}hasListeners(a){return this.eventHandlers.has(a)}mount(a){if(this.instance)return;this.isSVG=Oj(a)&&!TV(a),this.instance=a;const{layoutId:l,layout:c,visualElement:d}=this.options;if(d&&!d.current&&d.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||l)&&(this.isLayoutDirty=!0),e){let u,p=0;const f=()=>this.root.updateBlockedByResize=!1;bt.read(()=>{p=window.innerWidth}),e(a,()=>{const h=window.innerWidth;h!==p&&(p=h,this.root.updateBlockedByResize=!0,u&&u(),u=bU(f,250),Ym.hasAnimatedSinceResize&&(Ym.hasAnimatedSinceResize=!1,this.nodes.forEach(GT)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&d&&(l||c)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:f,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||d.getDefaultTransition()||DU,{onLayoutAnimationStart:m,onLayoutAnimationComplete:b}=d.getProps(),v=!this.targetLayout||!q6(this.targetLayout,h),y=!p&&f;if(this.options.layoutRoot||this.resumeFrom||y||p&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const w={...Cj(g,"layout"),onPlay:m,onComplete:b};(d.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w),this.setAnimationOrigin(u,y)}else p||GT(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Fa(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(PU),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Q6(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const p=this.path[u];p.shouldResetTransform=!0,p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:l,layout:c}=this.options;if(l===void 0&&!c)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(VT);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(UT);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(_U),this.nodes.forEach(kU),this.nodes.forEach(TU)):this.nodes.forEach(UT),this.clearAllSnapshots();const l=ps.now();On.delta=Vo(0,1e3/60,l-On.timestamp),On.timestamp=l,On.isProcessing=!0,Yx.update.process(On),Yx.preRender.process(On),Yx.render.process(On),On.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,zj.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(CU),this.sharedNodes.forEach(zU)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,bt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){bt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!fs(this.snapshot.measuredBox.x)&&!fs(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=cn(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(l=!1),l&&this.instance){const c=r(this.instance);this.scroll={animationId:this.root.animationId,phase:a,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!o)return;const a=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!Y6(this.projectionDelta),c=this.getTransformTemplate(),d=c?c(this.latestValues,""):void 0,u=d!==this.prevTransformTemplateValue;a&&this.instance&&(l||ml(this.latestValues)||u)&&(o(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return a&&(c=this.removeTransform(c)),WU(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var d;const{visualElement:a}=this.options;if(!a)return cn();const l=a.measureViewportBox();if(!(((d=this.scroll)==null?void 0:d.wasRoot)||this.path.some($U))){const{scroll:u}=this.root;u&&(ud(l.x,u.offset.x),ud(l.y,u.offset.y))}return l}removeElementScroll(a){var c;const l=cn();if(Ir(l,a),(c=this.scroll)!=null&&c.wasRoot)return l;for(let d=0;d<this.path.length;d++){const u=this.path[d],{scroll:p,options:f}=u;u!==this.root&&p&&f.layoutScroll&&(p.wasRoot&&Ir(l,a),ud(l.x,p.offset.x),ud(l.y,p.offset.y))}return l}applyTransform(a,l=!1){const c=cn();Ir(c,a);for(let d=0;d<this.path.length;d++){const u=this.path[d];!l&&u.options.layoutScroll&&u.scroll&&u!==u.root&&hd(c,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),ml(u.latestValues)&&hd(c,u.latestValues)}return ml(this.latestValues)&&hd(c,this.latestValues),c}removeTransform(a){const l=cn();Ir(l,a);for(let c=0;c<this.path.length;c++){const d=this.path[c];if(!d.instance||!ml(d.latestValues))continue;Ub(d.latestValues)&&d.updateSnapshot();const u=cn(),p=d.measurePageBox();Ir(u,p),OT(l,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,u)}return ml(this.latestValues)&&OT(l,this.latestValues),l}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==On.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var h;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(a||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(h=this.parent)!=null&&h.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:p}=this.options;if(!this.layout||!(u||p))return;this.resolvedRelativeTargetAt=On.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=cn(),this.targetWithTransforms=cn()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),aU(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ir(this.target,this.layout.layoutBox),O6(this.target,this.targetDelta)):Ir(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ub(this.parent.latestValues)||I6(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(a,l,c){this.relativeParent=a,this.linkedParentVersion=a.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=cn(),this.relativeTargetOrigin=cn(),Fg(this.relativeTargetOrigin,l,c),Ir(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var g;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let c=!0;if((this.isProjectionDirty||(g=this.parent)!=null&&g.isProjectionDirty)&&
vendor: 4,186 bytes, line 356
356(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===On.timestamp&&(c=!1),c)return;const{layout:d,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||u))return;Ir(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,f=this.treeScale.y;DV(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=cn());const{target:h}=a;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(_T(this.prevProjectionDelta.x,this.projectionDelta.x),_T(this.prevProjectionDelta.y,this.projectionDelta.y)),Hh(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==f||!MT(this.projectionDelta.x,this.prevProjectionDelta.x)||!MT(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){var l;if((l=this.options.visualElement)==null||l.scheduleRender(),a){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=dd(),this.projectionDelta=dd(),this.projectionDeltaWithTransform=dd()}setAnimationOrigin(a,l=!1){const c=this.snapshot,d=c?c.latestValues:{},u={...this.latestValues},p=dd();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const f=cn(),h=c?c.source:void 0,g=this.layout?this.layout.source:void 0,m=h!==g,b=this.getStack(),v=!b||b.members.length<=1,y=!!(m&&!v&&this.options.crossfade===!0&&!this.path.some(OU));this.animationProgress=0;let w;this.mixTargetDelta=j=>{const S=j/1e3;YT(p.x,a.x,S),YT(p.y,a.y,S),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Fg(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),IU(this.relativeTarget,this.relativeTargetOrigin,f,S),w&&uU(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=cn()),Ir(w,this.relativeTarget)),m&&(this.animationValues=u,fU(u,d,this.latestValues,S,y,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){var l,c,d;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(d=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||d.stop(),this.pendingAnimation&&(Fa(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=bt.update(()=>{Ym.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=eu(0)),this.motionValue.jump(0,!1),this.currentAnimation=yU(this.motionValue,[0,1e3],{...a,velocity:0,isSync:!0,onUpdate:u=>{this.mixTargetDelta(u),a.onUpdate&&a.onUpdate(u)},onStop:()=>{},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(jU),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:l,target:c,layout:d,latestValues:u}=a;if(!(!l||!c||!d)){if(this!==a&&this.layout&&d&&X6(this.options.animationType,this.layout.layoutBox,d.layoutBox)){c=this.target||cn();const p=fs(this.layout.layoutBox.x);
vendor: 5,324 bytes, line 356
356c.x.min=a.target.x.min,c.x.max=c.x.min+p;const f=fs(this.layout.layoutBox.y);c.y.min=a.target.y.min,c.y.max=c.y.min+f}Ir(l,c),hd(l,u),Hh(this.projectionDeltaWithTransform,this.layoutCorrected,l,u)}}registerSharedNode(a,l){this.sharedNodes.has(a)||this.sharedNodes.set(a,new wU),this.sharedNodes.get(a).add(l);const d=l.options.initialPromotionConfig;l.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(l):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var l;const{layoutId:a}=this.options;return a?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:a}=this.options;return a?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:l,preserveFollowOpacity:c}={}){const d=this.getStack();d&&d.promote(this,c),a&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetSkewAndRotation(){const{visualElement:a}=this.options;if(!a)return;let l=!1;const{latestValues:c}=a;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const d={};c.z&&n0("z",a,d,this.animationValues);for(let u=0;u<t0.length;u++)n0(`rotate${t0[u]}`,a,d,this.animationValues),n0(`skew${t0[u]}`,a,d,this.animationValues);a.render();for(const u in d)a.setStaticValue(u,d[u]),this.animationValues&&(this.animationValues[u]=d[u]);a.scheduleRender()}applyProjectionStyles(a,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){a.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,a.visibility="",a.opacity="",a.pointerEvents=Gm(l==null?void 0:l.pointerEvents)||"",a.transform=c?c(this.latestValues,""):"none";return}const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(a.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,a.pointerEvents=Gm(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!ml(this.latestValues)&&(a.transform=c?c({},""):"none",this.hasProjected=!1);return}a.visibility="";const u=d.animationValues||d.latestValues;this.applyTransformsToTarget();let p=hU(this.projectionDeltaWithTransform,this.treeScale,u);c&&(p=c(u,p)),a.transform=p;const{x:f,y:h}=this.projectionDelta;a.transformOrigin=`${f.origin*100}% ${h.origin*100}% 0`,d.animationValues?a.opacity=d===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:a.opacity=d===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const g in Yb){if(u[g]===void 0)continue;const{correct:m,applyTo:b,isCSSVariable:v}=Yb[g],y=p==="none"?u[g]:m(u[g],d);if(b){const w=b.length;for(let j=0;j<w;j++)a[b[j]]=y}else v?this.options.visualElement.renderState.vars[g]=y:a[g]=y}this.options.layoutId&&(a.pointerEvents=d===this?Gm(l==null?void 0:l.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var l;return(l=a.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(VT),this.root.sharedNodes.clear()}}}function kU(e){e.updateLayout()}function TU(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;i==="size"?No(p=>{const f=a?t.measuredBox[p]:t.layoutBox[p],h=fs(f);f.min=r[p].min,f.max=f.min+h}):X6(i,t.layoutBox,r)&&No(p=>{const f=a?t.measuredBox[p]:t.layoutBox[p],h=fs(r[p]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[p].max=e.relativeTarget[p].min+h)});const l=dd();Hh(l,r,t.layoutBox);const c=dd();a?Hh(c,e.applyTransform(o,!0),t.measuredBox):Hh(c,r,t.layoutBox);const d=!Y6(l);let u=!1;if(!e.resumeFrom){const p=e.getClosestProjectingParent();if(p&&!p.resumeFrom){const{snapshot:f,layout:h}=p;if(f&&h){const g=cn();Fg(g,t.layoutBox,f.layoutBox);const m=cn();Fg(m,r,h.layoutBox),q6(g,m)||(u=!0),p.options.layoutRoot&&(e.relativeTarget=m,e.relativeTargetOrigin=g,e.relativeParent=p)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:c,layoutDelta:l,hasLayoutChanged:d,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function NU(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function EU(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function CU(e){e.clearSnapshot()}function VT(e){e.clearMeasurements()}function UT(e){e.isLayoutDirty=!1}function _U(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function GT(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function AU(e){e.resolveTargetDelta()}function RU(e){e.calcProjection()}
vendor: 6,900 bytes, lines 356-364
356function PU(e){e.resetSkewAndRotation()}function zU(e){e.removeLeadSnapshot()}function YT(e,t,n){e.translate=Pt(t.translate,0,n),e.scale=Pt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function qT(e,t,n,r){e.min=Pt(t.min,n.min,r),e.max=Pt(t.max,n.max,r)}function IU(e,t,n,r){qT(e.x,t.x,n.x,r),qT(e.y,t.y,n.y,r)}function OU(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const DU={duration:.45,ease:[.4,0,.1,1]},KT=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ZT=KT("applewebkit/")&&!KT("chrome/")?Math.round:jr;function QT(e){e.min=ZT(e.min),e.max=ZT(e.max)}function WU(e){QT(e.x),QT(e.y)}function X6(e,t,n){return e==="position"||e==="preserve-aspect"&&!iU(LT(t),LT(n),.2)}function $U(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const LU=J6({attachResizeListener:(e,t)=>Np(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),s0={current:void 0},e7=J6({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!s0.current){const e=new LU({});e.mount(window),e.setOptions({layoutScroll:!0}),s0.current=e}return s0.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Mj=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function JT(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function MU(...e){return t=>{let n=!1;const r=e.map(o=>{const i=JT(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():JT(e[o],null)}}}}function BU(...e){return x.useCallback(MU(...e),e)}class FU extends x.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,o=Hb(r)&&r.offsetWidth||0,i=Hb(r)&&r.offsetHeight||0,a=this.props.sizeRef.current;a.height=n.offsetHeight||0,a.width=n.offsetWidth||0,a.top=n.offsetTop,a.left=n.offsetLeft,a.right=o-a.width-a.left,a.bottom=i-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function HU({children:e,isPresent:t,anchorX:n,anchorY:r,root:o,pop:i}){var f;const a=x.useId(),l=x.useRef(null),c=x.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:d}=x.useContext(Mj),u=((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref),p=BU(l,u);return x.useInsertionEffect(()=>{const{width:h,height:g,top:m,left:b,right:v,bottom:y}=c.current;if(t||i===!1||!l.current||!h||!g)return;const w=n==="left"?`left: ${b}`:`right: ${v}`,j=r==="bottom"?`bottom: ${y}`:`top: ${m}`;l.current.dataset.motionPopId=a;const S=document.createElement("style");d&&(S.nonce=d);const N=o??document.head;return N.appendChild(S),S.sheet&&S.sheet.insertRule(`
357          [data-motion-pop-id="${a}"] {
358            position: absolute !important;
359            width: ${h}px !important;
360            height: ${g}px !important;
361            ${w}px !important;
362            ${j}px !important;
363          }
364        `),()=>{N.contains(S)&&N.removeChild(S)}},[t]),s.jsx(FU,{isPresent:t,childRef:l,sizeRef:c,pop:i,children:i===!1?e:x.cloneElement(e,{ref:p})})}const VU=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:a,anchorX:l,anchorY:c,root:d})=>{const u=fj(UU),p=x.useId();let f=!0,h=x.useMemo(()=>(f=!1,{id:p,initial:t,isPresent:n,custom:o,onExitComplete:g=>{u.set(g,!0);for(const m of u.values())if(!m)return;r&&r()},register:g=>(u.set(g,!1),()=>u.delete(g))}),[n,u,r]);return i&&f&&(h={...h}),x.useMemo(()=>{u.forEach((g,m)=>u.set(m,!1))},[n]),x.useEffect(()=>{!n&&!u.size&&r&&r()},[n]),e=s.jsx(HU,{pop:a==="popLayout",isPresent:n,anchorX:l,anchorY:c,root:d,children:e}),s.jsx(Wy.Provider,{value:h,children:e})};function UU(){return new Map}function t7(e=!0){const t=x.useContext(Wy);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,i=x.useId();x.useEffect(()=>{if(e)return o(i)},[e]);const a=x.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,a]:[!0]}const Gf=e=>e.key||"";function XT(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const GU=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:i="sync",propagate:a=!1,anchorX:l="left",anchorY:c="top",root:d})=>{const[u,p]=t7(a),f=x.useMemo(()=>XT(e),[e]),h=a&&!u?[]:f.map(Gf),g=x.useRef(!0),m=x.useRef(f),b=fj(()=>new Map),v=x.useRef(new Set),[y,w]=x.useState(f),[j,S]=x.useState(f);_3(()=>{g.current=!1,m.current=f;for(let T=0;T<j.length;T++){const C=Gf(j[T]);h.includes(C)?(b.delete(C),v.current.delete(C)):b.get(C)!==!0&&b.set(C,!1)}},[j,h.length,h.join("-")]);const N=[];if(f!==y){let T=[...f];for(let C=0;C<j.length;C++){const R=j[C],L=Gf(R);h.includes(L)||(T.splice(C,0,R),N.push(R))}return i==="wait"&&N.length&&(T=N),S(XT(T)),w(f),null}const{forceRender:k}=x.useContext(pj);return s.jsx(s.Fragment,{children:j.map(T=>{const C=Gf(T),R=a&&!u?!1:f===j||h.includes(C),L=()=>{if(v.current.has(C))return;if(v.current.add(C),b.has(C))b.set(C,!0);else return;let I=!0;b.forEach(F=>{F||(I=!1)}),I&&(k==null||k(),S(m.current),a&&(p==null||p()),r&&r())};return s.jsx(VU,{isPresent:R,initial:!g.current||n?void 0:!1,custom:t,presenceAffectsLayout:o,mode:i,root:d,onExitComplete:R?void 0:L,anchorX:l,anchorY:c,children:T},C)})})},n7=x.createContext({strict:!1}),e5={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let t5=!1;function YU(){if(t5)return;const e={};for(const t in e5)e[t]={isEnabled:n=>e5[t].some(r=>!!n[r])};R6(e),t5=!0}function s7(){return YU(),PV()}function qU(e){const t=s7();for(const n in e)t[n]={...t[n],...e[n]};R6(t)}const KU=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function Hg(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||KU.has(e)}let r7=e=>
vendor: 5,458 bytes, line 364
364!Hg(e);function ZU(e){typeof e=="function"&&(r7=t=>t.startsWith("on")?!Hg(t):e(t))}try{ZU(require("@emotion/is-prop-valid").default)}catch{}function QU(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(r7(o)||n===!0&&Hg(o)||!t&&!Hg(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}const By=x.createContext({});function JU(e,t){if(My(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Tp(n)?n:void 0,animate:Tp(r)?r:void 0}}return e.inherit!==!1?t:{}}function XU(e){const{initial:t,animate:n}=JU(e,x.useContext(By));return x.useMemo(()=>({initial:t,animate:n}),[n5(t),n5(n)])}function n5(e){return Array.isArray(e)?e.join(" "):e}const Bj=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function o7(e,t,n){for(const r in t)!Yn(t[r])&&!$6(r,n)&&(e[r]=t[r])}function eG({transformTemplate:e},t){return x.useMemo(()=>{const n=Bj();return $j(n,t,e),Object.assign({},n.vars,n.style)},[t])}function tG(e,t){const n=e.style||{},r={};return o7(r,n,e),Object.assign(r,eG(e,t)),r}function nG(e,t){const n={},r=tG(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const i7=()=>({...Bj(),attrs:{}});function sG(e,t,n,r){const o=x.useMemo(()=>{const i=i7();return L6(i,t,B6(r),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};o7(i,e.style,e),o.style={...i,...o.style}}return o}const rG=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Fj(e){return typeof e!="string"||e.includes("-")?!1:!!(rG.indexOf(e)>-1||/[A-Z]/u.test(e))}function oG(e,t,n,{latestValues:r},o,i=!1,a){const c=(a??Fj(e)?sG:nG)(t,r,o,e),d=QU(t,typeof e=="string",i),u=e!==x.Fragment?{...d,...c,ref:n}:{},{children:p}=t,f=x.useMemo(()=>Yn(p)?p.get():p,[p]);return x.createElement(e,{...u,children:f})}function iG({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,o){return{latestValues:aG(n,r,o,e),renderState:t()}}function aG(e,t,n,r){const o={},i=r(e,{});for(const f in i)o[f]=Gm(i[f]);let{initial:a,animate:l}=e;const c=My(e),d=_6(e);t&&d&&!c&&e.inherit!==!1&&(a===void 0&&(a=t.initial),l===void 0&&(l=t.animate));let u=n?n.initial===!1:!1;u=u||a===!1;const p=u?l:a;if(p&&typeof p!="boolean"&&!Ly(p)){const f=Array.isArray(p)?p:[p];for(let h=0;h<f.length;h++){const g=Aj(e,f[h]);if(g){const{transitionEnd:m,transition:b,...v}=g;for(const y in v){let w=v[y];if(Array.isArray(w)){const j=u?w.length-1:0;w=w[j]}w!==null&&(o[y]=w)}for(const y in m)o[y]=m[y]}}}return o}const a7=e=>(t,n)=>{const r=x.useContext(By),o=x.useContext(Wy),i=()=>iG(e,t,r,o);return n?i():fj(i)},lG=a7({scrapeMotionValuesFromProps:Lj,createRenderState:Bj}),cG=a7({scrapeMotionValuesFromProps:F6,createRenderState:i7}),dG=Symbol.for("motionComponentSymbol");function uG(e,t,n){const r=x.useRef(n);x.useInsertionEffect(()=>{r.current=n});const o=x.useRef(null);return x.useCallback(i=>{var l;i&&((l=e.onMount)==null||l.call(e,i)),t&&(i?t.mount(i):t.unmount());const a=r.current;if(typeof a=="function")if(i){const c=a(i);typeof c=="function"&&(o.current=c)}else o.current?(o.current(),o.current=null):a(i);else a&&(a.current=i)},[t])}const l7=x.createContext({});function Mc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function hG(e,t,n,r,o,i){var w,j;const{visualElement:a}=x.useContext(By),l=x.useContext(n7),c=x.useContext(Wy),d=x.useContext(Mj),u=d.reducedMotion,p=d.skipAnimations,f=x.useRef(null),h=x.useRef(!1);r=r||l.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:a,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:p,isSVG:i}),h.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const g=f.current,m=x.useContext(l7);g&&!g.projection&&o&&(g.type==="html"||g.type==="svg")&&pG(f.current,n,o,m);const b=x.useRef(!1);x.useInsertionEffect(()=>{g&&b.current&&g.update(n,c)});const v=n[g6],y=x.useRef(!!v&&!((w=window.MotionHandoffIsComplete)!=null&&w.call(window,v))&&((j=window.MotionHasOptimisedAnimation)==null?void 0:j.call(window,v)));return _3(()=>{h.current=!0,g&&(b.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),g.scheduleRenderMicrotask(),y.current&&g.animationState&&g.animationState.animateChanges())}),x.useEffect(()=>{g&&(!y.current&&g.animationState&&g.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var S;(S=window.MotionHandoffMarkAsComplete)==null||S.call(window,v)}),y.current=!1),g.enteringChildren=void 0)}),g}function pG(e,t,n,r){const{layoutId:o,layout:i,drag:a,dragConstraints:l,layoutScroll:c,layoutRoot:d,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:c7(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||l&&Mc(l),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,crossfade:u,layoutScroll:c,layoutRoot:d})}function c7(e){if(e)return e.options.allowProjection!==!1?e.projection:c7(e.parent)}function r0(e,{forwardMotionProps:t=!1,type:n}={},r,o){r&&qU(r);const i=n?n==="svg":Fj(e),a=i?cG:lG;function l(d,u){let p;const f={...x.useContext(Mj),...d,layoutId:fG(d)},{isStatic:h}
vendor: 6,177 bytes, line 364
364=f,g=XU(d),m=a(d,h);if(!h&&C3){mG();const b=gG(f);p=b.MeasureLayout,g.visualElement=hG(e,m,f,o,b.ProjectionNode,i)}return s.jsxs(By.Provider,{value:g,children:[p&&g.visualElement?s.jsx(p,{visualElement:g.visualElement,...f}):null,oG(e,d,uG(m,g.visualElement,u),m,h,t,i)]})}l.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=x.forwardRef(l);return c[dG]=e,c}function fG({layoutId:e}){const t=x.useContext(pj).id;return t&&e!==void 0?t+"-"+e:e}function mG(e,t){x.useContext(n7).strict}function gG(e){const t=s7(),{drag:n,layout:r}=t;if(!n&&!r)return{};const o={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function yG(e,t){if(typeof Proxy>"u")return r0;const n=new Map,r=(i,a)=>r0(i,a,e,t),o=(i,a)=>r(i,a);return new Proxy(o,{get:(i,a)=>a==="create"?r:(n.has(a)||n.set(a,r0(a,void 0,e,t)),n.get(a))})}const xG=(e,t)=>t.isSVG??Fj(e)?new KV(t):new HV(t,{allowProjection:e!==x.Fragment});class vG extends Ka{constructor(t){super(t),t.animationState||(t.animationState=eU(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ly(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let bG=0;class wG extends Ka{constructor(){super(...arguments),this.id=bG++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const jG={animation:{Feature:vG},exit:{Feature:wG}};function df(e){return{point:{x:e.pageX,y:e.pageY}}}const SG=e=>t=>Ij(t)&&e(t,df(t));function Vh(e,t,n,r){return Np(e,t,SG(n),r)}const d7=({current:e})=>e?e.ownerDocument.defaultView:null,s5=(e,t)=>Math.abs(e-t);function kG(e,t){const n=s5(e.x,t.x),r=s5(e.y,t.y);return Math.sqrt(n**2+r**2)}const r5=new Set(["auto","scroll"]);class u7{constructor(t,n,{transformPagePoint:r,contextWindow:o=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:l}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=h=>{this.handleScroll(h.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=i0(this.lastMoveEventInfo,this.history),g=this.startEvent!==null,m=kG(h.offset,{x:0,y:0})>=this.distanceThreshold;if(!g&&!m)return;const{point:b}=h,{timestamp:v}=On;this.history.push({...b,timestamp:v});const{onStart:y,onMove:w}=this.handlers;g||(y&&y(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,h)},this.handlePointerMove=(h,g)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=o0(g,this.transformPagePoint),bt.update(this.updatePoint,!0)},this.handlePointerUp=(h,g)=>{this.end();const{onEnd:m,onSessionEnd:b,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=i0(h.type==="pointercancel"?this.lastMoveEventInfo:o0(g,this.transformPagePoint),this.history);this.startEvent&&m&&m(h,y),b&&b(h,y)},!Ij(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=a,this.contextWindow=o||window;const c=df(t),d=o0(c,this.transformPagePoint),{point:u}=d,{timestamp:p}=On;this.history=[{...u,timestamp:p}];const{onSessionStart:f}=n;f&&f(t,i0(d,this.history)),this.removeListeners=af(Vh(this.contextWindow,"pointermove",this.handlePointerMove),Vh(this.contextWindow,"pointerup",this.handlePointerUp),Vh(this.contextWindow,"pointercancel",this.handlePointerUp)),l&&this.startScrollTracking(l)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(r5.has(r.overflowX)||r5.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,o=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:o.x-n.x,y:o.y-n.y};i.x===0&&i.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,o),bt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Fa(this.updatePoint)}}function o0(e,t){return t?{point:t(e.point)}:e}function o5(e,t){return{x:e.x-t.x,y:e.y-t.y}}function i0({point:e},t){return{point:e,delta:o5(e,h7(t)),offset:o5(e,TG(t)),velocity:NG(t,.1)}}function TG(e){return e[0]}function h7(e){return e[e.length-1]}function NG(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=h7(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Sr(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&o.timestamp-r.timestamp>Sr(t)*2&&(r=e[1]);const i=yr(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function EG(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Pt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Pt(n,e,r.max):Math.min(e,n)),e}
vendor: 13,007 bytes, line 364
364function i5(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function CG(e,{top:t,left:n,bottom:r,right:o}){return{x:i5(e.x,n,o),y:i5(e.y,t,r)}}function a5(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function _G(e,t){return{x:a5(e.x,t.x),y:a5(e.y,t.y)}}function AG(e,t){let n=.5;const r=fs(e),o=fs(t);return o>r?n=jp(t.min,t.max-r,e.min):r>o&&(n=jp(e.min,e.max-o,t.min)),Vo(0,1,n)}function RG(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const qb=.35;function PG(e=qb){return e===!1?e=0:e===!0&&(e=qb),{x:l5(e,"left","right"),y:l5(e,"top","bottom")}}function l5(e,t,n){return{min:c5(e,t),max:c5(e,n)}}function c5(e,t){return typeof e=="number"?e:e[t]||0}const zG=new WeakMap;class IG{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=cn(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:o}=this.visualElement;if(o&&o.isPresent===!1)return;const i=p=>{n&&this.snapToCursor(df(p).point),this.stopAnimation()},a=(p,f)=>{const{drag:h,dragPropagation:g,onDragStart:m}=this.getProps();if(h&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=lV(h),!this.openDragLock))return;this.latestPointerEvent=p,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),No(v=>{let y=this.getAxisMotionValue(v).get()||0;if(Bo.test(y)){const{projection:w}=this.visualElement;if(w&&w.layout){const j=w.layout.layoutBox[v];j&&(y=fs(j)*(parseFloat(y)/100))}}this.originPoint[v]=y}),m&&bt.update(()=>m(p,f),!1,!0),Lb(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},l=(p,f)=>{this.latestPointerEvent=p,this.latestPanInfo=f;const{dragPropagation:h,dragDirectionLock:g,onDirectionLock:m,onDrag:b}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:v}=f;if(g&&this.currentDirection===null){this.currentDirection=DG(v),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",f.point,v),this.updateAxis("y",f.point,v),this.visualElement.render(),b&&bt.update(()=>b(p,f),!1,!0)},c=(p,f)=>{this.latestPointerEvent=p,this.latestPanInfo=f,this.stop(p,f),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>{const{dragSnapToOrigin:p}=this.getProps();(p||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new u7(t,{onSessionStart:i,onStart:a,onMove:l,onSessionEnd:c,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:r,contextWindow:d7(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,o=n||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!o||!r)return;const{velocity:a}=o;this.startAnimation(a);const{onDragEnd:l}=this.getProps();l&&bt.postRender(()=>l(r,o))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Yf(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=EG(a,this.constraints[t],this.elastic[t])),i.set(a)}resolveConstraints(){var i;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(i=this.visualElement.projection)==null?void 0:i.layout,o=this.constraints;t&&Mc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=CG(r.layoutBox,t):this.constraints=!1,this.elastic=PG(n),o!==this.constraints&&!Mc(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&No(a=>{this.constraints!==!1&&this.getAxisMotionValue(a)&&(this.constraints[a]=RG(r.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Mc(t))return!1;const r=t.current;Xd(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=WV(r,o.root,this.visualElement.getTransformPagePoint());let a=_G(o.layout.layoutBox,i);if(n){const l=n(IV(a));this.hasMutatedConstraints=!!l,l&&(a=z6(l))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},d=No(u=>{if(!Yf(u,n,this.currentDirection))return;let p=c&&c[u]||{};a&&(p={min:0,max:0});const f=o?200:1e6,h=o?40:1e7,g={type:"inertia",velocity:r?t[u]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...i,...p};return this.startAxisValueAnimation(u,g)});return Promise.all(d).then(l)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Lb(this.visualElement,t),r.start(_j(t,r,0,n,this.visualElement,!1))}stopAnimation(){No(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){No(n=>{const{drag:r}=this.getProps();if(!Yf(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:a,max:l}=o.layout.layoutBox[n],c=i.get()||0;i.set(t[n]-Pt(a,l,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Mc(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};No(a=>{const l=this.getAxisMotionValue(a);if(l&&this.constraints!==!1){const c=l.get();o[a]=AG({min:c,max:c},this.constraints[a])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),No(a=>{if(!Yf(a,t,null))return;const l=this.getAxisMotionValue(a),{min:c,max:d}=this.constraints[a];l.set(Pt(c,d,o[a]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;zG.set(this.visualElement,this);const t=this.visualElement.current,n=Vh(t,"pointerdown",d=>{const{drag:u,dragListener:p=!0}=this.getProps(),f=d.target,h=f!==t&&fV(f);u&&p&&!h&&this.start(d)});let r;const o=()=>{const{dragConstraints:d}=this.getProps();Mc(d)&&d.current&&(this.constraints=this.resolveRefConstraints(),r||(r=OG(t,d.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,a=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),bt.read(o);const l=Np(window,"resize",()=>this.scalePositionWithinConstraints()),c=i.addEventListener("didUpdate",({delta:d,hasLayoutChanged:u})=>{this.isDragging&&u&&(No(p=>{const f=this.getAxisMotionValue(p);f&&(this.originPoint[p]+=d[p].translate,f.set(f.get()+d[p].translate))}),this.visualElement.render())});return()=>{l(),n(),a(),c&&c(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:a=qb,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:a,dragMomentum:l}}}function d5(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function OG(e,t,n){const r=yT(e,d5(n)),o=yT(t,d5(n));return()=>{r(),o()}}function Yf(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function DG(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class WG extends Ka{constructor(t){super(t),this.removeGroupControls=jr,this.removeListeners=jr,this.controls=new IG(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||jr}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const a0=e=>(t,n)=>{e&&bt.update(()=>e(t,n),!1,!0)};class $G extends Ka{constructor(){super(...arguments),this.removePointerDownListener=jr}onPointerDown(t){this.session=new u7(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:d7(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:a0(t),onStart:a0(n),onMove:a0(r),onEnd:(i,a)=>{delete this.session,o&&bt.postRender(()=>o(i,a))}}}mount(){this.removePointerDownListener=Vh(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let l0=!1;class LG extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),l0&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Ym.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,{projection:a}=r;return a&&(a.isPresent=i,t.layoutDependency!==n&&a.setOptions({...a.options,layoutDependency:n}),l0=!0,o||t.layoutDependency!==n||n===void 0||t.isPresent!==i?a.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?a.promote():a.relegate()||bt.postRender(()=>{const l=a.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),zj.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;l0=!0,o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function p7(e){const[t,n]=t7(),r=x.useContext(pj);return s.jsx(LG,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(l7),isPresent:t,safeToRemove:n})}const MG={pan:{Feature:$G},drag:{Feature:WG,ProjectionNode:e7,MeasureLayout:p7}};function u5(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,i=r[o];i&&bt.postRender(()=>i(t,df(t)))}class BG extends Ka{mount(){const{current:t}=this.node;t&&(this.unmount=dV(t,(n,r)=>(u5(this.node,r,"Start"),o=>u5(this.node,o,"End"))))}unmount(){}}class FG extends Ka{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=af(Np(this.node.current,"focus",()=>this.onFocus()),Np(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function h5(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),i=r[o];i&&bt.postRender(()=>i(t,df(t)))}class HG extends Ka{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=gV(t,(o,i)=>(h5(this.node,i,"Start"),(a,{success:l})=>h5(this.node,a,l?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Kb=new WeakMap,c0=new WeakMap,VG=e=>{const t=Kb.get(e.target);t&&t(e)},UG=e=>{e.forEach(VG)};function GG({root:e,...t}){const n=e||document;c0.has(n)||c0.set(n,{});const r=c0.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(UG,{root:e,...t})),r[o]}function YG(e,t,n){const r=GG(t);return Kb.set(e,n),r.observe(e),()=>{Kb.delete(e),r.unobserve(e)}}const qG={some:0,all:1};
364class KG extends Ka{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:qG[o]},l=c=>{const{isIntersecting:d}=c;if(this.isInView===d||(this.isInView=d,i&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:u,onViewportLeave:p}=this.node.getProps(),f=d?u:p;f&&f(c)};return YG(this.node.current,a,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(ZG(t,n))&&this.startObserver()}unmount(){}}function ZG({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const QG={inView:{Feature:KG},tap:{Feature:HG},focus:{Feature:FG},hover:{Feature:BG}},JG={layout:{ProjectionNode:e7,MeasureLayout:p7}},XG={...jG,...QG,...MG,...JG},eY=yG(XG,xG),tY="/assets/confession-bg-C-cz4emy.jpg",nY=["We have all the right people at the table and nothing ever moves.","Three organizations are funded to do the same thing and none of them know it.","Our best companies finish the program and immediately hit a wall.","Every funder is waiting for someone else to go first.","There’s a university right next door and we never tap it.","The corporates show up, say all the right things, and then procurement kills it.","We have momentum and no signal. We have capital and no deal flow. Both sides are waiting."],sY=()=>{const e=x.useMemo(()=>{const i=[...nY];for(let a=i.length-1;a>0;a--){const l=Math.floor(Math.random()*(a+1));[i[a],i[l]]=[i[l],i[a]]}return i},[]),[t,n]=x.useState(0),r=x.useCallback(()=>n(i=>(i+1)%e.length),[e]),o=x.useCallback(()=>n(i=>(i-1+e.length)%e.length),[e]);return x.useEffect(()=>{const i=setInterval(r,4500);return()=>clearInterval(i)},[r]),s.jsxs("section",{className:"relative overflow-hidden",style:{backgroundColor:"#1E3A5F"},onKeyDown:i=>{i.key==="ArrowRight"&&r(),i.key==="ArrowLeft"&&o()},tabIndex:0,children:[s.jsx("div",{className:"absolute inset-0",style:{backgroundImage:`url(${tY})`,backgroundSize:"cover",backgroundPosition:"center",opacity:.5},"aria-hidden":"true"}),s.jsx("div",{className:"absolute inset-0",style:{background:`
365            linear-gradient(to bottom, rgba(30,58,95,0.62), rgba(30,58,95,0.56)),
366            radial-gradient(ellipse at center, transparent 30%, rgba(20,40,70,0.45) 100%)
367          `},"aria-hidden":"true"}),s.jsx("div",{className:"absolute top-10 left-6 md:left-16 select-none pointer-events-none",style:{fontFamily:"'Playfair Display', serif",fontSize:"clamp(7rem, 17vw, 15rem)",lineHeight:1,color:"hsl(36 64% 67% / 0.32)"},"aria-hidden":"true",children:"“"}),s.jsxs("div",{className:"relative z-10 max-w-4xl mx-auto px-6 md:px-12 py-16 md:py-20",children:[s.jsx("p",{className:"text-sm md:text-base tracking-widest uppercase mb-8 font-bold",style:{color:"#59BEC9"},children:"Sound familiar?"}),s.jsx("div",{className:"relative min-h-[7.5rem] md:min-h-[9rem] cursor-pointer select-none",onClick:r,role:"button",tabIndex:0,onKeyDown:i=>i.key==="Enter"&&r(),"aria-label":"Advance to next phrase",children:s.jsx(GU,{mode:"wait",children:s.jsx(eY.blockquote,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.5,ease:"easeInOut"},className:"text-left",style:{fontFamily:"'Playfair Display', serif",fontStyle:"italic",fontWeight:400,fontSize:"clamp(1.75rem, 5vw, 3.25rem)",lineHeight:1.15,color:"#ffffff"},children:e[t]},t)})}),s.jsx("div",{className:"mt-8 flex items-center gap-1.5 flex-wrap",children:e.map((i,a)=>s.jsx("button",{onClick:()=>n(a),className:"w-1.5 h-1.5 rounded-full transition-all duration-300",style:{backgroundColor:a===t?"#E2B673":"rgba(255,255,255,0.25)",transform:a===t?"scale(1.5)":"scale(1)"},"aria-label":`Go to phrase ${a+1}`},a))}),s.jsx("p",{className:"mt-10 font-body",style:{fontSize:"16px",fontWeight:400,lineHeight:1.7,color:"rgba(255,255,255,0.86)",maxWidth:"40rem"},children:"If you’ve said any of these out loud, the Scorecard shows you why — and which connection to strengthen first."})]})]})},rY="/assets/workshop-facilitating-Dz7SKpPW.jpg",oY=1,iY="d39ded30-0fe2-4594-a6ee-e21fae8e37b0",aY="ad65106b-3a35-40ca-85a5-313ebfbdb26e",lY="/__l5e/assets-v1/d39ded30-0fe2-4594-a6ee-e21fae8e37b0/sample-report-cover-page.jpg",cY="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/d39ded30-0fe2-4594-a6ee-e21fae8e37b0/sample-report-cover-page.jpg",dY="sample-report-cover-page.jpg",uY=156750,hY="image/jpeg",pY="2026-09-10T16:03:52Z",fY={version:oY,asset_id:iY,project_id:aY,url:lY,r2_key:cY,original_filename:dY,size:uY,content_type:hY,created_at:pY}
367,p5="/sample-scorecard-report.pdf",mY="https://buy.stripe.com/4gMcN5dRcg3J905b15cbC0a",xn="#2D4D83",Or="#59BEC9",sl="#E2B673",Ts="#4a5568",hc="#718096",pc="#fafaf8",d0=({className:e=""})=>s.jsx("a",{href:mY,target:"_blank",rel:"noopener noreferrer",className:`inline-flex items-center justify-center font-body rounded-lg btn-gradient min-h-[52px] ${e}`,style:{fontSize:"16px",fontWeight:600,padding:"15px 30px"},children:"Run your Scorecard"}),gY=[{icon:Uo,phase:"Reveal",accent:"#2D4D83",title:"See the whole system, not just your part of it.",body:"Rate the depth of your relationships across all nine partner groups and get a clear view back, where you’re strong, where the network gets weak at the edges, and where effort is leaking."},{icon:Er,phase:"Clarify",accent:"#2F8C97",title:"Find the lowest-effort move that unlocks the most.",body:"You don’t need to do more. You need to know the one or two connections that would unlock the greatest impact for the least effort. The Scorecard shows you where that leverage is."},{icon:Go,phase:"Activate",accent:"#B8892B",title:"Bring funders proof, not a pitch.",body:"Funders follow demonstrated coherence, not potential. The Scorecard hands you the evidence and the language to show your ecosystem already works as a high-functioning system, so you walk into the conversation already looking like a win, before the money arrives."}],yY=["My colleague and I are from the same organization, and we ranked things very differently. Now we’re having the conversations to understand why.","I sat in sessions all day, and this was by far the most interactive and engaging. I finally saw things I knew but had never had the words for.","This completely changed the way I think about how to engage people in my ecosystem. It’s complicated work, and I’d never been able to see it this clearly before."],f5="If the Scorecard doesn’t surface something you can act on, email us within 14 days and we’ll refund you in full. No forms, no friction.",xY=()=>{const e=xu(),t=[{"@context":"https://schema.org","@type":"Product",name:"ECOSYSTEM EDGE® Scorecard",description:"A 20-minute structured view of your regional innovation ecosystem, with funder-ready insights you can share.",brand:{"@type":"Brand",name:"Ecosystem Edge®"},offers:{"@type":"Offer",price:"149",priceCurrency:"USD",availability:"https://schema.org/InStock",url:"https://ecosystem-edge.com/scorecard"}}];return s.jsxs(Os,{children:[s.jsx(Ve,{title:"Ecosystem Edge® Scorecard — $149, About 20 Minutes",description:"See exactly where your regional innovation ecosystem is connected, and where effort leaks out. The Ecosystem Edge® Scorecard takes about 20 minutes. One-time $149.",path:"/scorecard",jsonLd:t}),s.jsxs("div",{ref:e,children:[s.jsxs("section",{className:"relative overflow-hidden pt-24 pb-14 md:pt-32 md:pb-20",style:{backgroundColor:pc},children:[s.jsx("div",{className:"absolute top-10 -left-24 w-[520px] h-[520px] pointer-events-none",style:{background:"radial-gradient(circle at 40% 40%, rgba(89,190,201,0.12), transparent 70%)"}}),s.jsx("div",{className:"absolute -bottom-28 -right-20 w-[460px] h-[460px] pointer-events-none",style:{background:"radial-gradient(circle at 60% 60%, rgba(226,182,115,0.14), transparent 70%)"}}),s.jsx("div",{className:"relative z-10 max-w-6xl mx-auto px-6",children:s.jsxs("div",{className:"grid lg:grid-cols-[minmax(0,1fr)_minmax(0,1.05fr)] gap-10 lg:gap-14 items-center",children:[s.jsx("div",{className:"fade-up order-1 lg:order-2",children:s.jsxs("div",{className:"relative rounded-2xl overflow-hidden shadow-2xl",style:{backgroundColor:"#e8e6e1"},children:[s.jsx("img",{src:vu,alt:"Regional partners working through the Ecosystem Edge Scorecard together in a facilitated session",className:"w-full h-[280px] md:h-[400px] lg:h-[440px] object-cover",decoding:"async"}),s.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"linear-gradient(180deg, rgba(45,77,131,0.06) 0%, rgba(45,77,131,0.42) 100%)"}}),s.jsx("p",{className:"absolute left-5 right-5 bottom-4 font-body",style:{fontSize:"13px",fontWeight:500,color:"rgba(255,255,255,0.95)"},children:"A regional coalition running the Scorecard together."})]})}),s.jsxs("div",{className:"order-2 lg:order-1 fade-up text-center lg:text-left",children:[s.jsxs("div",{className:"flex items-center justify-center lg:justify-start gap-3 mb-5",children:[s.jsx("div",{className:"w-8 h-[2px]",style:{backgroundColor:Or}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:"clamp(11px, 2.6vw, 13px)",fontWeight:700,letterSpacing:"0.12em",color:Or},children:"The ECOSYSTEM EDGE® Scorecard"})]}),s.jsxs("h1",{className:"font-display font-bold mb-5",style:{fontSize:"clamp(32px, 5vw, 54px)",lineHeight:1.08,color:xn},children:["Your ecosystem is busy.",s.jsx("br",{}),s.jsx("em",{className:"font-display italic",style:{color:Or},children:"But the effort isn’t compounding."})]}),s.jsx("p",{className:"font-body mb-7 mx-auto lg:mx-0",style:{fontSize:"18px",fontWeight:300,lineHeight:1.7,color:Ts,maxWidth:"34rem"},children:"In about 20 minutes, rate your relationship with nine partner groups across four phases. You get a clear picture of what is strong, what is stalling, and the two or three actions that matter most."}),s.jsx("div",{className:"flex flex-col sm:flex-row items-center lg:items-start gap-3 sm:gap-4",children:s.jsx(d0,{className:"w-full sm:w-auto"})}),s.jsxs("p",{className:"font-body flex items-start justify-center lg:justify-start gap-1.5 mt-4 mx-auto lg:mx-0 text-left",style:{fontSize:"13px",color:hc,maxWidth:"32rem"},children:[s.jsx(rk,{className:"w-3.5 h-3.5 flex-shrink-0 mt-0.5",style:{color:Or}}),"One-time payment. Insights the moment you finish. Backed by a 14-day, act-on-it-or-refund guarantee."]})]})]})})]}),s.jsxs("section",{style:{backgroundColor:xn},children:[s.jsx(Tb,{}),s.jsx("div",{className:"max-w-5xl mx-auto px-6 py-6",children:s.jsxs("p",{className:"font-body text-center",style:{fontSize:"clamp(13px, 3vw, 16px)",fontWeight:500,color:"#fff",letterSpacing:"0.02em"},children:["40+ sessions ",s.jsx("span",{style:{color:sl},children:"·"})," 15+ states ",s.jsx("span",{style:{color:sl},children:"·"})," One clear view of what’s working"]})}),s.jsx(Tb,{})]}),s.jsx(sY,{}),s.jsx("section",{className:"py-16 md:py-24",style:{backgroundColor:pc},children:s.jsx("div",{className:"max-w-6xl mx-auto px-6",children:s.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 lg:gap-14 items-center",children:[s.jsxs("div",{className:"fade-up",children:[s.jsx("p",{className:"font-body mb-5",style:{fontSize:"18px",fontWeight:300,lineHeight:1.78,color:Ts},children:"You’re doing everything right. The programs run. The partners show up. But it never quite adds up — you watch other ecosystems grow fast while yours works twice as hard for half the traction."}),s.jsx("p",{className:"font-body mb-7",style:{fontSize:"18px",fontWeight:300,lineHeight:1.78,color:Ts},children:"It isn’t the people and it isn’t the assets. It’s that nothing connects. Effort goes in and scatters at the edges, and no amount of hustle from one person fixes a system that isn’t wired to build on itself."}),s.jsxs("div",{className:"rounded-xl p-6 md:p-7 bg-white",style:{border:"1px solid #e4e7ec",borderLeft:`4px solid ${sl}`,boxShadow:"0 18px 34px -22px rgba(45,77,131,0.55)"},children:[s.jsx("p",{className:"font-display font-bold mb-2",style:{fontSize:"clamp(19px, 3.4vw, 24px)",lineHeight:1.25,color:xn},children:"Across 40+ ecosystems we’ve measured, 4 out of 5 regions had corporate engagement missing entirely."}),s.jsx("p",{className:"font-body italic",style:{fontSize:"15px",color:Ts},children:"Disconnection isn’t your failure. It’s the pattern — and it’s fixable once you can see it."})]})]}),s.jsx("div",{className:"fade-up rounded-2xl overflow-hidden shadow-xl",style:{backgroundColor:"#e8e6e1"},children:s.jsx("img",{src:Dy,alt:"Partner groups mapped out on sticky notes during an Ecosystem Edge session",className:"w-full h-[300px] md:h-[440px] object-cover",loading:"lazy",decoding:"async"})})]})})}),s.jsx("section",{className:"py-16 md:py-24 bg-white",children:s.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[s.jsx("p",{className:"fade-up font-body text-center mx-auto mb-4",style:{fontSize:"16px",fontWeight:300,lineHeight:1.7,color:Ts,maxWidth:"42rem"},children:"Your plan is linear, because that’s how people think. Your ecosystem isn’t. It runs on relationships and connections, all at once."}),s.jsxs("p",{className:"fade-up font-display font-bold text-center mx-auto mb-12",style:{fontSize:"clamp(22px, 3.4vw, 32px)",lineHeight:1.3,color:xn,maxWidth:"46rem"},children:["The Ecosystem Edge® Scorecard reveals what’s really happening beneath the activity — so your ecosystem can finally start to ",s.jsx("em",{className:"italic",style:{color:Or},children:"compound instead of scatter"}),"."]}),s.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:gY.map(({icon:n,phase:r,accent:o,title:i,body:a})=>s.jsxs("div",{className:"fade-up rounded-xl bg-white p-6 relative overflow-hidden ee-card-hover",style:{border:"1px solid #e4e7ec",boxShadow:"0 18px 34px -22px rgba(45,77,131,0.55)",borderTop:`4px s
367olid ${o}`},children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(n,{className:"w-5 h-5",style:{color:o}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:o},children:r})]}),s.jsx("h3",{className:"font-display font-bold mb-3",style:{fontSize:"18px",lineHeight:1.3,color:xn},children:i}),s.jsx("p",{className:"font-body",style:{fontSize:"15px",fontWeight:300,lineHeight:1.7,color:Ts},children:a})]},i))})]})}),s.jsxs("section",{className:"relative overflow-hidden",children:[s.jsx("img",{src:rY,alt:"Ecosystem Edge scorecard workshop being facilitated for ecosystem builders",className:"absolute inset-0 w-full h-full object-cover",loading:"lazy",decoding:"async"}),s.jsx("div",{className:"absolute inset-0",style:{background:"linear-gradient(100deg, rgba(28,48,84,0.94) 0%, rgba(28,48,84,0.86) 48%, rgba(28,48,84,0.55) 100%)"}}),s.jsx("div",{className:"relative z-10 max-w-6xl mx-auto px-6 py-20 md:py-28",children:s.jsxs("div",{className:"max-w-xl fade-up",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"w-6 h-[2px]",style:{backgroundColor:sl}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:"13px",fontWeight:700,letterSpacing:"0.12em",color:sl},children:"What you get"})]}),s.jsx("h2",{className:"font-display font-bold mb-5 text-white",style:{fontSize:"clamp(26px, 4vw, 38px)",lineHeight:1.15},children:"Your whole ecosystem, in clear view."}),s.jsx("p",{className:"font-body mb-5",style:{fontSize:"17px",fontWeight:300,lineHeight:1.75,color:"rgba(255,255,255,0.86)"},children:"Nine partner groups across four phases — 36 data points that show where your ecosystem is strong, where it’s developing, and where it’s disconnected."}),s.jsx("p",{className:"font-body",style:{fontSize:"17px",fontWeight:300,lineHeight:1.75,color:"rgba(255,255,255,0.86)"},children:"The same instrument we run in the room with coalitions across 15+ states — now yours to run on your own in about 20 minutes, with funder-ready insights you can share the moment you finish."})]})})]}),s.jsx("section",{className:"py-16 md:py-24",style:{backgroundColor:pc},children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up text-center mb-10",children:[s.jsx("h2",{className:"font-display font-bold mb-4",style:{fontSize:"clamp(24px, 3.6vw, 34px)",lineHeight:1.2,color:xn},children:"This is exactly what you get."}),s.jsx("p",{className:"font-body mx-auto",style:{fontSize:"17px",fontWeight:300,lineHeight:1.75,color:Ts,maxWidth:"44rem"},children:"Not a teaser — the real output. Your 36-cell grid across nine partner groups and four phases, your gap analysis, and a funder-ready Partnership Health Snapshot you can put in front of a board the same day."})]}),s.jsx("div",{className:"fade-up rounded-2xl bg-white p-6 sm:p-8 lg:p-10",style:{boxShadow:"0 18px 46px -24px rgba(20,40,80,0.35)",border:"1px solid rgba(45,77,131,0.10)"},children:s.jsxs("div",{className:"grid lg:grid-cols-[minmax(0,1fr)_minmax(0,0.95fr)] gap-8 lg:gap-12 items-center",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4 sm:gap-6",children:[s.jsxs("figure",{className:"m-0",children:[s.jsx("div",{className:"rounded-xl overflow-hidden bg-white",style:{border:"1px solid #e4e7ec",boxShadow:"0 14px 34px -20px rgba(20,40,80,0.45)"},children:s.jsx("img",{src:oF.url,alt:"Ecosystem Edge Scorecard in the app: nine partner types rated across the four EDGE phases",className:"w-full h-auto",loading:"lazy",decoding:"async"})}),s.jsx("figcaption",{className:"font-body mt-2.5 text-center",style:{fontSize:"12.5px",color:hc},children:"The Scorecard in the app"})]}),s.jsxs("figure",{className:"m-0",children:[s.jsx("a",{href:p5,target:"_blank",rel:"noopener noreferrer",className:"block rounded-xl overflow-hidden bg-white",style:{border:"1px solid #e4e7ec",boxShadow:"0 14px 34px -20px rgba(20,40,80,0.45)"},children:s.jsx("img",{src:fY.url,alt:"First page of sample Ecosystem Edge Vantage Point insights",className:"w-full h-auto",loading:"lazy",decoding:"async"})}),s.jsx("figcaption",{className:"font-body mt-2.5 text-center",style:{fontSize:"12.5px",color:hc},children:"Your insights, page one"})]})]}),s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase mb-2",style:{fontSize:"12px",fontWeight:700,letterSpacing:"0.14em",color:Or},children:"The full insights"}),s.jsx("h3",{className:"font-display font-bold mb-4",style:{fontSize:"clamp(20px, 3vw, 26px)",lineHeight:1.2,color:xn},children:"Read a complete sample."}),s.jsx("ul",{className:"space-y-2.5 mb-6",children:["Your Partnership Health Snapshot, ready to share","Where the ecosystem is losing effort, named plainly","Three prioritized actions and questions for your partners"].map(n=>s.jsxs("li",{className:"flex items-start gap-2.5",children:[s.jsx(vr,{className:"w-4 h-4 flex-shrink-0 mt-1",style:{color:Or}}),s.jsx("span",{className:"font-body",style:{fontSize:"15.5px",fontWeight:300,lineHeight:1.65,color:Ts},children:n})]},n))}),s.jsxs("a",{href:p5,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 font-body rounded-lg min-h-[50px] w-full sm:w-auto whitespace-nowrap",style:{fontSize:"15px",fontWeight:500,padding:"13px 24px",color:xn,backgroundColor:"#ffffff",border:"1px solid rgba(45,77,131,0.22)"},children:[s.jsx(J4,{className:"w-4 h-4 flex-shrink-0",style:{color:Or}}),"Download sample insights (PDF)"]})]})]})})]})}),s.jsx("section",{className:"py-16 md:py-24 bg-white",children:s.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up text-center mb-10",children:[s.jsx("h2",{className:"font-display font-bold mb-4",style:{fontSize:"clamp(24px, 3.6vw, 34px)",color:xn},children:"Builders keep telling us the same thing."}),s.jsx("p",{className:"font-body mx-auto",style:{fontSize:"16px",fontWeight:300,lineHeight:1.75,color:Ts,maxWidth:"44rem"},children:"The Scorecard surfaces what people know but haven’t been able to name — and starts the conversations that move an ecosystem. Here’s what participants have said at our recent sessions:"})]}),s.jsx("div",{className:"grid md:grid-cols-3 gap-6 mb-8",children:yY.map(n=>s.jsxs("div",{className:"fade-up relative overflow-hidden rounded-xl px-7 pt-9 pb-7",style:{backgroundColor:pc,borderLeft:`4px solid ${sl}`,boxShadow:"0 2px 12px rgba(45,77,131,0.06)"},children:[s.jsx("span",{"aria-hidden":"true",className:"font-display pointer-events-none absolute select-none",style:{to
367p:-14,left:12,fontSize:"84px",lineHeight:1,color:sl,opacity:.28},children:"“"}),s.jsxs("p",{className:"font-display italic leading-relaxed relative",style:{fontSize:"17px",color:xn},children:["“",n,"”"]})]},n))}),s.jsxs("div",{className:"fade-up rounded-xl p-6 md:p-8 mb-8 text-center",style:{backgroundColor:xn,boxShadow:"0 4px 20px rgba(45,77,131,0.14)"},children:[s.jsx("p",{className:"font-display italic mb-3",style:{fontSize:"clamp(20px, 3vw, 26px)",lineHeight:1.4,color:"#fff"},children:"“You are 10x ahead in your thinking about this field than anyone I’ve seen — and I drove more than five hours for your session.”"}),s.jsx("p",{className:"font-body",style:{fontSize:"14px",color:"rgba(255,255,255,0.75)"},children:"Participant · recent Scorecard session"})]}),s.jsx("p",{className:"fade-up font-body text-center",style:{fontSize:"14px",fontWeight:500,color:hc},children:"Built on the proprietary instrument behind Ecosystem Edge®. Used by coalitions across 15+ states."})]})}),s.jsx("section",{className:"py-16 md:py-24",style:{backgroundColor:pc},children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsxs("h2",{className:"fade-up font-display font-bold mb-6 leading-snug",style:{fontSize:"clamp(26px, 4.2vw, 40px)",color:xn},children:["You can keep holding the system together.",s.jsx("br",{}),s.jsx("em",{className:"font-display italic",style:{color:Or},children:"Or you can see it clearly."})]}),s.jsx("p",{className:"fade-up font-body mb-4",style:{fontSize:"17px",fontWeight:300,lineHeight:1.78,color:Ts},children:"More meetings, more programs, more effort that scatters before it builds — that’s one path. The other is seeing the whole picture, strengthening the few connections that matter, and letting the ecosystem start building on itself."}),s.jsx("p",{className:"fade-up font-body mb-8",style:{fontSize:"17px",fontWeight:500,lineHeight:1.7,color:xn},children:"The Scorecard takes about 20 minutes. The next funding cycle won’t wait — and the regions that can show their coordination are the ones getting funded. What you learn changes what you do next."}),s.jsxs("div",{className:"fade-up rounded-xl px-6 py-5 mb-8 mx-auto flex items-start gap-3 text-left",style:{backgroundColor:"#ffffff",border:"1px solid #e4e7ec",maxWidth:"34rem"},children:[s.jsx(rk,{className:"w-5 h-5 flex-shrink-0 mt-0.5",style:{color:Or}}),s.jsx("p",{className:"font-body",style:{fontSize:"15px",fontWeight:400,lineHeight:1.7,color:Ts},children:f5})]}),s.jsxs("div",{className:"fade-up",children:[s.jsx("p",{className:"font-body mb-4",style:{fontSize:"15px",fontWeight:500,color:xn},children:"One clear view. About 20 minutes. $149."}),s.jsx(d0,{className:"w-full sm:w-auto"})]})]})}),s.jsx("section",{className:"py-16 md:py-24 bg-white",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center mb-10 fade-up",children:[s.jsx("h2",{className:"font-display text-2xl md:text-3xl font-bold mb-3",style:{color:xn},children:"Two ways to run the Scorecard"}),s.jsx("p",{className:"font-body mx-auto max-w-2xl",style:{fontSize:"17px",fontWeight:300,lineHeight:1.75,color:Ts},children:"Take your own, or bring your partners in for a shared one. The Virtual Scorecard with partners is the required first step before the facilitated track — sessions, coalition work, or Capital Braid™."})]}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-6 fade-up",children:[s.jsxs("div",{className:"rounded-xl p-6",style:{backgroundColor:pc,border:"1px solid #e4e7ec"},children:[s.jsx("p",{className:"font-body uppercase mb-1",style:{fontSize:"13px",fontWeight:700,letterSpacing:"0.12em",color:hc},children:"Individual"}),s.jsx("h3",{className:"font-display text-lg font-bold mb-1",style:{color:xn},children:"Your own view"}),s.jsx("p",{className:"font-display text-3xl font-bold mb-3",style:{color:xn},children:"$149"}),s.jsx("p",{className:"font-body mb-6",style:{fontSize:"15px",fontWeight:300,lineHeight:1.7,color:Ts},children:"The full scorecard across all nine partner groups and four phases, plus your personalized insights. About 20 minutes."}),s.jsx(d0,{className:"w-full"}),s.jsx("p",{className:"font-body mt-3",style:{fontSize:"13px",lineHeight:1.6,color:hc},children:f5})]}),s.jsxs("div",{className:"rounded-xl p-6",style:{backgroundColor:xn},children:[s.jsx("p",{className:"font-body uppercase mb-1",style:{fontSize:"13px",fontWeight:700,letterSpacing:"0.12em",color:"rgba(255,255,255,0.7)"},children:"Required first step for the facilitated track"}),s.jsx("h3",{className:"font-display text-lg font-bold mb-1 text-white",children:"Virtual scorecard with your partners"}),s.jsx("p",{className:"font-display text-3xl font-bold mb-3 text-white",children:"$10,000"}),s.jsx("p",{className:"font-body mb-6",style:{fontSize:"15px",fontWeight:300,lineHeight:1.7,color:"rgba(255,255,255,0.8)"},children:"Facilitated virtually with your partner group, so every group sees the same system and you leave with one shared view, plus a debrief on what it means."}),s.jsx(et,{to:"/workshop",className:"inline-flex w-full items-center justify-center font-body rounded-lg min-h-[52px] btn-on-navy",style:{fontSize:"16px",fontWeight:600},children:"Book the Virtual Scorecard"})]})]})]})}),s.jsx("section",{className:"py-14 md:py-16 bg-white",children:s.jsx("div",{className:"max-w-3xl mx-auto px-6 text-center",children:s.jsxs("p",{className:"fade-up font-body",style:{fontSize:"16px",color:Ts},children:["Questions about the Scorecard, pricing, or a facilitated session?"," ",s.jsx(et,{to:"/how-it-works#faq",className:"underline underline-offset-4",style:{color:Or,fontWeight:500},children:"Read the full FAQ"}),"."]})})})]})]})},vY="/assets/dawn-0ScJ7TqA.jpg",bY="/assets/amy-CGsZyyDE.jpg",wY="/assets/dawn-amy-backdrop-D3LoYVGf.jpg",jY="/assets/amy-speaking-D10VgXYv.jpg",SY="/assets/room-setup-CelxDtGD.jpg",kY="/assets/nola-selfie-CWsRcW60.jpg",TY=1,NY="cd6847c9-e5fb-4210-ac84-70f2faf02c92",EY="ad65106b-3a35-40ca-85a5-313ebfbdb26e",CY="/__l5e/assets-v1/cd6847c9-e5fb-4210-ac84-70f2faf02c92/panel-wide.jpg",_Y="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/cd6847c9-e5fb-4210-ac84-70f2faf02c92/panel-wide.jpg",AY="panel-wide.jpg",RY=668182,PY="image/jpeg",zY="2026-07-07T19:36:34Z",IY={version:TY,asset_id:NY,project_id:EY,url:CY,r2_key:_Y,original_filename:AY,size:RY,content_type:PY,created_at:zY},OY=1,DY="ea83ce19-c13a-43c1-b71d-59db7ca15021",WY="ad65106b-3a35-40ca-85a5-313ebfbdb26e",$Y="/__l5e/assets-v1/ea83ce19-c13a-43c1-b71d-59db7ca15021/panel-three.jpg",LY="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/ea83ce19-c13a-43c1-b71d-59db7ca15021/panel-three.jpg",MY="panel-three.jpg",BY=561270,FY="image/jpeg",HY="2026-07-07T19:36:43Z",VY={version:OY,asset_id:DY,project_id:WY,url:$Y,r2_key:LY,original_filename:MY,size:BY,content_type:FY,created_at:HY},UY=[{src:IY.url,alt:"Amy Beaird on the panel at the 3rd NORDP Consultants Program Annual Meeting at Emory",caption:"NORDP Annual Meeting · Panel, Emory 2026",position:"center center"},{src:VY.url,alt:"Amy Beaird with fellow panelists at NORDP Consultants Program Annual Meeting",caption:"In discu
367ssion · NORDP 2026",position:"center center"},{src:wY,alt:"Amy Beaird and Dawn Haynes at Cityscapes Summit",caption:"Cityscapes Summit · New Orleans",position:"center 20%"},{src:jY,alt:"Amy presenting on stage at Cityscapes Summit",caption:"On stage · Cityscapes 2026",position:"center 30%"},{src:SY,alt:"Workshop room set for the Ecosystem Edge® facilitated session",caption:"Facilitated workshop · New Orleans",position:"center center"},{src:kY,alt:"Amy and Dawn in Jackson Square, New Orleans",caption:"Behind the scenes · New Orleans",position:"center 30%"}],GY="https://calendar.app.google/31Qa6HfhwAfhDvtk6",YY=[{name:"National Academies of Sciences, Engineering, and Medicine",badge:"Advisory, 2026"},{name:"NSF Regional Innovation Engines",badge:"Active Advisory"},{name:"Bridging Innovation Week, West Virginia",badge:"Workshop, April 2026"},{name:"Cityscapes Summit, New Orleans",badge:"Workshop, 2026"},{name:"Arkansas EDGE Summit",badge:"Workshop, 2026"},{name:"INBIA eBuilders Forum",badge:"Speaking"},{name:"Startup Champions Network",badge:"Speaking"},{name:"Florida High Tech Corridor",badge:"Former CSO, 3 years"},{name:"The Builder Platform",badge:"Advisor, 2 years"},{name:"StarterStudio, Central Florida Startup Accelerator",badge:"Dawn, CEO"},{name:"Orlando Tech Community",badge:"Dawn, President"},{name:"Tech Connect",badge:"Amy, Chair"}],qY=()=>{const e=xu();return s.jsxs(Os,{children:[s.jsx(Ve,{title:"Team | Amy Beaird & Dawn Haynes",description:"Meet the practitioners behind Ecosystem Edge®, Amy Beaird, Dawn Haynes, and the team making regional partnership health measurable.",path:"/team"}),s.jsxs("div",{ref:e,children:[s.jsx("section",{className:"pt-24 pb-12 md:pt-36 md:pb-20",style:{backgroundColor:"#2D4D83"},children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center fade-up",children:[s.jsx("p",{className:"font-body text-sm tracking-[0.15em] uppercase font-bold mb-4",style:{color:"#E2B673"},children:"The Team"}),s.jsxs("h1",{className:"font-display text-[32px] md:text-5xl font-bold text-white mb-6 leading-tight",children:["Practitioners first.",s.jsx("br",{})," ",s.jsx("em",{className:"italic",style:{color:"#59BEC9"},children:"Strategists by design."})]}),s.jsxs("p",{className:"font-body text-base md:text-lg leading-relaxed text-white/80",children:["We didn't build Ecosystem Edge® from a consulting framework.",s.jsx("br",{}),"We built it from 30+ years of doing the work, building coalitions, securing grants, holding together partnerships with too few resources and too much at stake.",s.jsx("br",{}),"The ECOSYSTEM EDGE® Scorecard is the tool we wish we had."]})]})}),s.jsx("section",{className:"py-12 md:py-24",style:{backgroundColor:"#fafaf8"},children:s.jsx("div",{className:"max-w-6xl mx-auto px-6",children:s.jsxs("div",{className:"grid md:grid-cols-2 gap-6 md:gap-8",children:[s.jsxs("div",{className:"fade-up rounded-xl overflow-hidden bg-white card-gradient-top ee-card-raised",style:{border:"1px solid #e4e7ec"},children:[s.jsx("img",{src:bY,alt:"Amy Beaird",className:"w-full object-cover",style:{aspectRatio:"4/3",objectPosition:"center 30%"}}
367),s.jsxs("div",{className:"p-5 md:p-8",children:[s.jsx("h3",{className:"font-display text-xl font-bold mb-1",style:{color:"#2D4D83"},children:"Amy Beaird, PhD"}),s.jsx("p",{className:"font-body text-sm font-bold uppercase tracking-wider mb-4",style:{color:"#59BEC9"},children:"Co-Founder & Managing Partner"}),s.jsx("p",{className:"font-body leading-relaxed mb-3 text-base",style:{color:"#4a5568"},children:"Amy Beaird is a chemical engineer who builds the infrastructure that turns regional research into domestic production. She holds a PhD in Chemical Engineering and came up through R&D and technology translation, which is why her work doesn't stop at coordination. It extends through the translation layer, the capital sequence, and the federal funding pathways that determine whether a region's research reaches the market."}),s.jsx("p",{className:"font-body leading-relaxed mb-3 text-base",style:{color:"#4a5568"},children:'She brings 22+ years of experience across regional innovation, research, technology translation, ecosystem strategy, and capital architecture. She spent three years as Chief Strategy Officer at Florida High Tech Corridor, and has supported regional coalitions and federal program portfolios across the country. She coined the Capital Braid™ framework, presented at the National Academies of Sciences, Engineering, and Medicine in March 2026 on "Designing a New Capital Stack for a National Research Economy."'}),s.jsx("p",{className:"font-body leading-relaxed mb-4 text-base",style:{color:"#4a5568"},children:"The ECOSYSTEM EDGE® Scorecard is the field-validated tool she built across more than 40 regional engagements, the partnership half of the work. Capital Braid™ is the translation-and-capital half. Together, they're the architecture regions need to be investable on the timelines federal industrial competitiveness requires."}),s.jsxs("a",{href:"https://www.linkedin.com/in/abeaird/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 font-body text-sm font-medium rounded-lg btn-gradient min-h-[44px]",style:{padding:"8px 18px"},children:[s.jsx(tk,{size:16})," Connect on LinkedIn"]})]})]}),s.jsxs("div",{className:"fade-up rounded-xl overflow-hidden bg-white card-gradient-top ee-card-raised",style:{border:"1px solid #e4e7ec"},children:[s.jsx("img",{src:vY,alt:"Dawn Haynes",className:"w-full object-cover",style:{aspectRatio:"4/3",objectPosition:"center 30%"}}
367),s.jsxs("div",{className:"p-5 md:p-8",children:[s.jsx("h3",{className:"font-display text-xl font-bold mb-1",style:{color:"#2D4D83"},children:"Dawn Haynes, MBA"}),s.jsx("p",{className:"font-body text-sm font-bold uppercase tracking-wider mb-4",style:{color:"#59BEC9"},children:"Co-Founder & Managing Partner"}),s.jsx("p",{className:"font-body leading-relaxed mb-3 text-base",style:{color:"#4a5568"},children:"Dawn is a mentor, leader, and visionary, Co-Founder of Ecosystem Edge® and former CEO of StarterStudio, Central Florida's leading startup accelerator. She is committed to helping individual entrepreneurs realize their goals and to helping regions become hubs for successful startups and leading tech companies. As a former tech-accelerator CEO, she understands first-hand the catalytic role entrepreneur support organizations play in cultivating a region's innovation ecosystem."}),s.jsx("p",{className:"font-body leading-relaxed mb-3 text-base",style:{color:"#4a5568"},children:"She brings 35+ years of international leadership experience, spearheading strategic planning, innovation, ecosystem creation, business development, asset growth, operations, and customer experience for companies from startup to enterprise. Her executive career spans Disney, British Airways, and Weight Watchers, alongside leadership roles at regional nonprofits focused on ecosystem building and community impact."}),s.jsx("p",{className:"font-body leading-relaxed mb-4 text-base",style:{color:"#4a5568"},children:"What Dawn brings to her work is a commitment to helping individuals and organizations identify the gap between where they are and where they want to be, and pinpoint what it takes to bridge it. She holds an MBA from the Crummer Graduate School of Business at Rollins College, serves as an Adjunct Professor of Strategic Management in UCF's MBA program, and served as President of the Orlando Tech Community in 2024."}),s.jsxs("a",{href:"https://www.linkedin.com/in/dawn-haynes-74a1b74/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 font-body text-sm font-medium rounded-lg btn-gradient min-h-[44px]",style:{padding:"8px 18px"},children:[s.jsx(tk,{size:16})," Connect on LinkedIn"]})]})]})]})})}),s.jsx("section",{className:"py-12 md:py-20 bg-white",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6 text-center",children:[s.jsx("h2",{className:"font-display text-2xl md:text-3xl font-bold mb-10 md:mb-12 fade-up",style:{color:"#2D4D83"},children:"What We've Built Together"}),s.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-8 fade-up",children:[{num:"40+",label:"Ecosystems scored using the ECOSYSTEM EDGE® Process"},{num:"9",label:"Partner groups mapped across each ecosystem"},{num:"4",label:"Phases of development tracked from Engage to Emerge"}].map(t=>s.jsxs("div",{children:[s.jsx("p",{className:"font-display text-4xl md:text-5xl font-bold mb-2 text-gradient-stat",children:t.num}),s.jsx("p",{className:"font-body leading-relaxed text-base",style:{color:"#4a5568"},children:t.label})]},t.num))})]})}),s.jsx("section",{className:"py-12 md:py-20",style:{backgroundColor:"#fafaf8"},children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6",children:[s.jsx("h2",{className:"font-display text-2xl md:text-3xl font-bold mb-8 text-center fade-up",style:{color:"#2D4D83"},children:"Where We've Been"}),s.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3 md:gap-4 mb-10 fade-up",children:UY.map(t=>s.jsxs("figure",{className:"group rounded-xl overflow-hidden bg-white transition-transform hover:-translate-y-1",style:{border:"1px solid #e4e7ec"},children:[s.jsx("div",{className:"aspect-[4/5] overflow-hidden",children:s.jsx("img",{src:t.src,alt:t.alt,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105",style:{objectPosition:t.position},loading:"lazy"})}),s.jsx("figcaption",{className:"font-body px-3 py-2",style:{fontSize:"11px",fontWeight:500,letterSpacing:"0.04em",color:"#718096"},children:t.caption})]},t.src))}),s.jsx("div",{className:"space-y-3 fade-up",children:YY.map(t=>s.jsxs("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2 py-3 px-4 roun
367ded-lg bg-white",style:{border:"1px solid #e4e7ec"},children:[s.jsx("span",{className:"font-body text-sm font-medium",style:{color:"#2D4D83"},children:t.name}),s.jsx("span",{className:"font-body text-[11px] font-medium px-2.5 py-1 rounded-full whitespace-nowrap self-start sm:self-auto",style:{backgroundColor:"#e8f7f9",color:"#2D4D83"},children:t.badge})]},t.name))})]})}),s.jsx("section",{className:"py-12 md:py-20",style:{backgroundColor:"#2D4D83"},children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center fade-up",children:[s.jsxs("h2",{className:"font-display text-2xl md:text-3xl font-bold mb-6 text-primary-foreground",children:["We Scale by Connecting the Right Experts,",s.jsx("br",{})," ",s.jsx("em",{className:"italic",style:{color:"#59BEC9"},children:"Not Adding Overhead."})]}),s.jsx("p",{className:"font-body text-base leading-relaxed text-white/90 mb-8",children:"Our growing network of designers, facilitators, strategists, regional leaders, and research partners helps us deliver impactful engagements with trust, purpose, and lasting relationships. If we can't serve you directly, we'll connect you with someone who can."}),s.jsxs("p",{className:"font-body leading-relaxed italic text-base text-accent font-normal",children:["We're committed to making ecosystem building measurable, fundable, and recognized, ",s.jsx("br",{}),"without compromising the values that matter most."]})]})}),s.jsx("section",{className:"py-12 md:py-20",style:{backgroundColor:"#fafaf8"},children:s.jsxs("div",{className:"max-w-2xl mx-auto px-6 text-center fade-up",children:[s.jsx("h2",{className:"font-display text-2xl md:text-3xl font-bold mb-8",style:{color:"#2D4D83"},children:"Ready to work together?"}),s.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[s.jsx("a",{...ic(GY),className:"font-body font-medium text-sm px-8 py-3 rounded-lg btn-gradient min-h-[44px] flex items-center justify-center",children:"Book a Call"}),s.jsx("a",{href:"/scorecard",className:"font-body font-medium text-sm px-8 py-3 rounded-lg btn-outline min-h-[44px] flex items-center justify-center",style:{border:"1.5px solid #2D4D83",color:"#2D4D83"},children:"Run Your Scorecard"})]})]})})]})]})};var Oo=function(){return Oo=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Oo.apply(this,arguments)};function Su(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function KY(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function l(u){try{d(r.next(u))}catch(p){a(p)}}function c(u){try{d(r.throw(u))}catch(p){a(p)}}function d(u){u.done?i(u.value):o(u.value).then(l,c)}d((r=r.apply(e,t||[])).next())})}function ZY(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}const QY=e=>e?(...t)=>e(...t):(...t)=>fetch(...t);class Hj extends Error{constructor(t,n="FunctionsError",r){super(t),this.name=n,this.context=r}}class JY extends Hj{constructor(t){super("Failed to send a request to the Edge Function","FunctionsFetchError",t)}}class m5 extends Hj{constructor(t){super("Relay Error invoking the Edge Function","FunctionsRelayError",t)}}class g5 extends Hj{constructor(t){super("Edge Function returned a non-2xx status code","FunctionsHttpError",t)}}var Zb;(function(e){e.Any="any",e.ApNortheast1="ap-northeast-1",e.ApNortheast2="ap-northeast-2",e.ApSouth1="ap-south-1",e.ApSoutheast1="ap-southeast-1",e.ApSoutheast2="ap-southeast-2",e.CaCentral1="ca-central-1",e.EuCentral1="eu-central-1",e.EuWest1="eu-west-1",e.EuWest2="eu-west-2",e.EuWest3="eu-west-3",e.SaEast1="sa-east-1",e.UsEast1="us-east-1",e.UsWest1="us-west-1",e.UsWest2="us-west-2"})(Zb||(Zb={}));class XY{constructor(t,{headers:n={},customFetch:r,region:o=Zb.Any}={}){this.url=t,this.headers=n,this.region=o,this.fetch=QY(r)}setAuth(t){this.headers.Authorization=`Bearer ${t}`}invoke(t){return KY(this,arguments,void 0,function*(n,r={}){var o;let i,a;try{const{headers:l,method:c,body:d,signal:u,timeout:p}=r;let f={},{region:h}=r;h||(h=this.region);const g=new URL(`${this.url}/${n}`);h&&h!=="any"&&(f["x-region"]=h,g.searchParams.set("forceFunctionRegion",h));let m;d&&(l&&!Object.prototype.hasOwnProperty.call(l,"Content-Type")||!l)?typeof Blob<"u"&&d instanceof Blob||d instanceof ArrayBuffer?(f["Content-Type"]="application/octet-stream",m=d):typeof d=="str
367ing"?(f["Content-Type"]="text/plain",m=d):typeof FormData<"u"&&d instanceof FormData?m=d:(f["Content-Type"]="application/json",m=JSON.stringify(d)):d&&typeof d!="string"&&!(typeof Blob<"u"&&d instanceof Blob)&&!(d instanceof ArrayBuffer)&&!(typeof FormData<"u"&&d instanceof FormData)?m=JSON.stringify(d):m=d;let b=u;p&&(a=new AbortController,i=setTimeout(()=>a.abort(),p),u?(b=a.signal,u.addEventListener("abort",()=>a.abort())):b=a.signal);const v=yield this.fetch(g.toString(),{method:c||"POST",headers:Object.assign(Object.assign(Object.assign({},f),this.headers),l),body:m,signal:b}).catch(S=>{throw new JY(S)}),y=v.headers.get("x-relay-error");if(y&&y==="true")throw new m5(v);if(!v.ok)throw new g5(v);let w=((o=v.headers.get("Content-Type"))!==null&&o!==void 0?o:"text/plain").split(";")[0].trim(),j;return w==="application/json"?j=yield v.json():w==="application/octet-stream"||w==="application/pdf"?j=yield v.blob():w==="text/event-stream"?j=v:w==="multipart/form-data"?j=yield v.formData():j=yield v.text(),{data:j,error:null,response:v}}catch(l){return{data:null,error:l,response:l instanceof g5||l instanceof m5?l.context:void 0}}finally{i&&clearTimeout(i)}})}}var eq=class extends Error{constructor(e){super(e.message),this.name="PostgrestError",this.details=e.details,this.hint=e.hint,this.co
367de=e.code}},tq=class{constructor(e){var t,n;this.shouldThrowOnError=!1,this.method=e.method,this.url=e.url,this.headers=new Headers(e.headers),this.schema=e.schema,this.body=e.body,this.shouldThrowOnError=(t=e.shouldThrowOnError)!==null&&t!==void 0?t:!1,this.signal=e.signal,this.isMaybeSingle=(n=e.isMaybeSingle)!==null&&n!==void 0?n:!1,e.fetch?this.fetch=e.fetch:this.fetch=fetch}throwOnError(){return this.shouldThrowOnError=!0,this}setHeader(e,t){return this.headers=new Headers(this.headers),this.headers.set(e,t),this}then(e,t){var n=this;this.schema===void 0||(["GET","HEAD"].includes(this.method)?this.headers.set("Accept-Profile",this.schema):this.headers.set("Content-Profile",this.schema)),this.method!=="GET"&&this.method!=="HEAD"&&this.headers.set("Content-Type","application/json");const r=this.fetch;let o=r(this.url.toString(),{method:this.method,headers:this.headers,body:JSON.stringify(this.body),signal:this.signal}).then(async i=>{let a=null,l=null,c=null,d=i.status,u=i.statusText;if(i.ok){var p,f;if(n.method!=="HEAD"){var h;const v=await i.text();v===""||(n.headers.get("Accept")==="text/csv"||n.headers.get("Accept")&&(!((h=n.headers.get("Accept"))===null||h===void 0)&&h.includes("application/vnd.pgrst.plan+text"))?l=v:l=JSON.parse(v))}const m=(p=n.headers.get("Prefer"))===null||p===void 0?void 0:p.match(/count=(exact|planned|estimated)/),b=(f=i.headers.get("content-range"))===null||f===void 0?void 0:f.split("/");m&&b&&b.length>1&&(c=parseInt(b[1])),n.isMaybeSingle&&n.method==="GET"&&Array.isArray(l)&&(l.length>1?(a={code:"PGRST116",details:`Results contain ${l.length} rows, application/vnd.pgrst.object+json requires 1 row`,hint:null,message:"JSON object requested, multiple (or no) rows returned"},l=null,c=null,d=406,u="Not Acceptable"):l.length===1?l=l[0]:l=null)}else{var g;const m=await i.text();try{a=JSON.parse(m),Array.isArray(a)&&i.status===404&&(l=[],a=null,d=200,u="OK")}catch{i.status===404&&m===""?(d=204,u="No Content"):a={message:m}}if(a&&n.isMaybeSingle&&(!(a==null||(g=a.details)===null||g===void 0)&&g.includes("0 rows"))&&(a=null,d=200,u="OK"),a&&n.shouldThrowOnError)throw new eq(a)}return{error:a,data:l,count:c,status:d,statusText:u}});return this.shouldThrowOnError||(o=o.catch(i=>{var a;let l="";const c=i==null?void 0:i.cause;if(c){var d,u,p,f;const g=(d=c==null?void 0:c.message)!==null&&d!==void 0?d:"",m=(u=c==null?void 0:c.code)!==null&&u!==void 0?u:"";l=`${(p=i==null?void 0:i.name)!==null&&p!==void 0?p:"FetchError"}: ${i==null?void 0:i.message}`,l+=`
368
369Caused by: ${(f=c==null?void 0:c.name)!==null&&f!==void 0?f:"Error"}: ${g}`,m&&(l+=` (${m})`),c!=null&&c.stack&&(l+=`
370${c.stack}`)}else{var h;l=(h=i==null?void 0:i.stack)!==null&&h!==void 0?h:""}return{error:{message:`${(a=i==null?void 0:i.name)!==null&&a!==void 0?a:"FetchError"}: ${i==null?void 0:i.message}`,details:l,hint:"",code:""},data:null,count:null,status:0,statusText:""}})),o.then(e,t)}returns(){return this}overrideTypes(){return this}},nq=class extends tq{select(e){let t=!1;const n=(e??"*").split("").map(r=>/\s/.test(r)&&!t?"":(r==='"'&&(t=!t),r)).join("");return this.url.searchParams.set("select",n),this.headers.append("Prefer","return=representation"),this}order(e,{ascending:t=!0,nullsFirst:n,foreignTable:r,referencedTable:o=r}={}){const i=o?`${o}.order`:"order",a=this.url.searchParams.get(i);return this.url.searchParams.set(i,`${a?`${a},`:""}${e}.${t?"asc":"desc"}${n===void 0?"":n?".nullsfirst":".nullslast"}`),this}limit(e,{foreignTable:t,referencedTable:n=t}={}){const r=typeof n>"u"?"limit":`${n}.limit`;return this.url.searchParams.set(r,`${e}`),this}range(e,t,{foreignTable:n,referencedTable:r=n}={}){const o=typeof r>"u"?"offset":`${r}.offset`,i=typeof r>"u"?"limit":`${r}.limit`;return this.url.searchParams.set(o,`${e}`),this.url.searchParams.set(i,`${t-e+1}`),this}abortSignal(e){return this.signal=e,this}single(){return this.headers.set("Accept","application/vnd.pgrst.object+json"),this}maybeSingle(){return this.method==="GET"?this.headers.set("Accept","application/json"):this.headers.set("Accept","application/vnd.pgrst.object+json"),this.isMaybeSingle=!0,this}csv(){return this.headers.set("Accept","text/csv"),this}geojson(){return this.headers.set("Accept","application/geo+json"),this}
370explain({analyze:e=!1,verbose:t=!1,settings:n=!1,buffers:r=!1,wal:o=!1,format:i="text"}={}){var a;const l=[e?"analyze":null,t?"verbose":null,n?"settings":null,r?"buffers":null,o?"wal":null].filter(Boolean).join("|"),c=(a=this.headers.get("Accept"))!==null&&a!==void 0?a:"application/json";return this.headers.set("Accept",`application/vnd.pgrst.plan+${i}; for="${c}"; options=${l};`),i==="json"?this:this}rollback(){return this.headers.append("Prefer","tx=rollback"),this}returns(){return this}maxAffected(e){return this.headers.append("Prefer","handling=strict"),this.headers.append("Prefer",`max-affected=${e}`),this}};const y5=new RegExp("[,()]");var Bc=class extends nq{eq(e,t){return this.url.searchParams.append(e,`eq.${t}`),this}neq(e,t){return this.url.searchParams.append(e,`neq.${t}`),this}gt(e,t){return this.url.searchParams.append(e,`gt.${t}`),this}gte(e,t){return this.url.searchParams.append(e,`gte.${t}`),this}lt(e,t){return this.url.searchParams.append(e,`lt.${t}`),this}lte(e,t){return this.url.searchParams.append(e,`lte.${t}`),this}like(e,t){return this.url.searchParams.append(e,`like.${t}`),this}likeAllOf(e,t){return this.url.searchParams.append(e,`like(all).{${t.join(",")}}`),this}likeAnyOf(e,t){return this.url.searchParams.append(e,`like(any).{${t.join(",")}}`),this}ilike(e,t){return this.url.searchParams.append(e,`ilike.${t}`),this}ilikeAllOf(e,t){return this.url.searchParams.append(e,`ilike(all).{${t.join(",")}}`),this}ilikeAnyOf(e,t){return this.url.searchParams.append(e,`ilike(any).{${t.join(",")}}`),this}regexMatch(e,t){return this.url.searchParams.append(e,`match.${t}`),this}regexIMatch(e,t){return this.url.searchParams.append(e,`imatch.${t}`),this}is(e,t){return this.url.searchParams.append(e,`is.${t}`),this}isDistinct(e,t){return this.url.searchParams.append(e,`isdistinct.${t}`),this}in(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&y5.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`in.(${n})`),this}notIn(e,t){const n=Array.from(new Set(t)).map(r=>typeof r=="string"&&y5.test(r)?`"${r}"`:`${r}`).join(",");return this.url.searchParams.append(e,`not.in.(${n})`),this}contains(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cs.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cs.{${t.join(",")}}`):this.url.searchParams.append(e,`cs.${JSON.stringify(t)}`),this}containedBy(e,t){return typeof t=="string"?this.url.searchParams.append(e,`cd.${t}`):Array.isArray(t)?this.url.searchParams.append(e,`cd.{${t.join(",")}}`):this.url.searchParams.append(e,`cd.${JSON.stringify(t)}`),this}rangeGt(e,t){return this.url.searchParams.append(e,`sr.${t}`),this}rangeGte(e,t){return this.url.searchParams.append(e,`nxl.${t}`),this}rangeLt(e,t){return this.url.searchParams.append(e,`sl.${t}`),this}rangeLte(e,t){return this.url.searchParams.append(e,`nxr.${t}`),this}rangeAdjacent(e,t){return this.url.searchParams.append(e,`adj.${t}`),this}overlaps(e,t){return typeof t=="string"?this.url.searchParams.append(e,`ov.${t}`):this.url.searchParams.append(e,`ov.{${t.join(",")}}`),this}textSearch(e,t,{config:n,type:r}={}){let o="";r==="plain"?o="pl":r==="phrase"?o="ph":r==="websearch"&&(o="w");const i=n===void 0?"":`(${n})`;return this.url.searchParams.append(e,`${o}fts${i}.${t}`),this}match(e){return Object.entries(e).forEach(([t,n])=>{this.url.searchParams.append(t,`eq.${n}`)}),this}not(e,t,n){return this.url.searchParams.append(e,`not.${t}.${n}`),this}or(e,{foreignTable:t,referencedTable:n=t}={}){const r=n?`${n}.or`:"or";return this.url.searchParams.append(r,`(${e})`),this}filter(e,t,n){return this.url.searchParams.append(e,`${t}.${n}`),this}},sq=class{constructor(e,{headers:t={},schema:n,fetch:r}){this.url=e,this.headers=new Headers(t),this.schema=n,this.fetch=r}cloneRequestState(){return{url:new URL(this.url.toString()),headers:new Headers(this.headers)}}select(e,t){const{head:n=!1,count:r}=t??{},o=n?"HEAD":"GET";let i=!1;const a=(e??"*").split("").map(d=>/\s/.test(d)&&!i?"":(d==='"'&&(i=!i),d)).join(""),{url:l,headers:c}=this.cloneRequestState();return l.searchParams.set("select",a),r&&c.append("Prefer",`count=${r}`),new Bc({method:o,url:l,headers:c,schema:this.schema,fetch:this.fetch})}insert(e,{count:t,defaultToNull:n=!0}={}){var r;const o="POST",{url:i,headers:a}=this.cloneRequestState();if(t&&a.append("Prefer",`count=${t}`),n||a.append("Prefer","missing=default"),Array.isArray(e)){const l=e.reduce((c,d)=>c.concat(Object.keys(d)),[]);if(l.length>0){const c=[...new Set(l)].map(d=>`"${d}"`);i.searchParams.set("columns",c.join(","))}}return new Bc({method:o,url:i,headers:a,schema:this.schema,body:e,fetch:(r=this.fetch)!==null&&r!==void 0?r:fetch})}upsert(e,{onConflict:t,ignoreDuplicates:n=!1,count:r,defaultToNull:o=!0}={}){var i;const a="POST",{url:l,headers:c}=this.cloneRequestState();if(c.append("Prefer",`resolution=${n?"ignore":"merge"}-duplicates`),t!==void 0&&l.searchParams.set("on_conflict",t),r&&c.append("Prefer",`count=${r}
370`),o||c.append("Prefer","missing=default"),Array.isArray(e)){const d=e.reduce((u,p)=>u.concat(Object.keys(p)),[]);if(d.length>0){const u=[...new Set(d)].map(p=>`"${p}"`);l.searchParams.set("columns",u.join(","))}}return new Bc({method:a,url:l,headers:c,schema:this.schema,body:e,fetch:(i=this.fetch)!==null&&i!==void 0?i:fetch})}update(e,{count:t}={}){var n;const r="PATCH",{url:o,headers:i}=this.cloneRequestState();return t&&i.append("Prefer",`count=${t}`),new Bc({method:r,url:o,headers:i,schema:this.schema,body:e,fetch:(n=this.fetch)!==null&&n!==void 0?n:fetch})}delete({count:e}={}){var t;const n="DELETE",{url:r,headers:o}=this.cloneRequestState();return e&&o.append("Prefer",`count=${e}`),new Bc({method:n,url:r,headers:o,schema:this.schema,fetch:(t=this.fetch)!==null&&t!==void 0?t:fetch})}},rq=class f7{constructor(t,{headers:n={},schema:r,fetch:o}={}){this.url=t,this.headers=new Headers(n),this.schemaName=r,this.fetch=o}from(t){if(!t||typeof t!="string"||t.trim()==="")throw new Error("Invalid relation name: relation must be a non-empty string.");return new sq(new URL(`${this.url}/${t}`),{headers:new Headers(this.headers),schema:this.schemaName,fetch:this.fetch})}schema(t){return new f7(this.url,{headers:this.headers,schema:t,fetch:this.fetch})}rpc(t,n={},{head:r=!1,get:o=!1,count:i}={}){var a;let l;const c=new URL(`${this.url}/rpc/${t}`);let d;const u=h=>h!==null&&typeof h=="object"&&(!Array.isArray(h)||h.some(u)),p=r&&Object.values(n).some(u);p?(l="POST",d=n):r||o?(l=r?"HEAD":"GET",Object.entries(n).filter(([h,g])=>g!==void 0).map(([h,g])=>[h,Array.isArray(g)?`{${g.join(",")}}`:`${g}`]).forEach(([h,g])=>{c.searchParams.append(h,g)})):(l="POST",d=n);const f=new Headers(this.headers);return p?f.set("Prefer",i?`count=${i},return=minimal`:"return=minimal"):i&&f.set("Prefer",`count=${i}
370`),new Bc({method:l,url:c,headers:f,schema:this.schemaName,body:d,fetch:(a=this.fetch)!==null&&a!==void 0?a:fetch})}};class oq{constructor(){}static detectEnvironment(){var t;if(typeof WebSocket<"u")return{type:"native",constructor:WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocket<"u")return{type:"native",constructor:globalThis.WebSocket};if(typeof global<"u"&&typeof global.WebSocket<"u")return{type:"native",constructor:global.WebSocket};if(typeof globalThis<"u"&&typeof globalThis.WebSocketPair<"u"&&typeof globalThis.WebSocket>"u")return{type:"cloudflare",error:"Cloudflare Workers detected. WebSocket clients are not supported in Cloudflare Workers.",workaround:"Use Cloudflare Workers WebSocket API for server-side WebSocket handling, or deploy to a different runtime."};if(typeof globalThis<"u"&&globalThis.EdgeRuntime||typeof navigator<"u"&&(!((t=navigator.userAgent)===null||t===void 0)&&t.includes("Vercel-Edge")))return{type:"unsupported",error:"Edge runtime detected (Vercel Edge/Netlify Edge). WebSockets are not supported in edge functions.",workaround:"Use serverless functions or a different deployment target for WebSocket functionality."};const n=globalThis.process;if(n){const r=n.versions;if(r&&r.node){const o=r.node,i=parseInt(o.replace(/^v/,"").split(".")[0]);return i>=22?typeof globalThis.WebSocket<"u"?{type:"native",constructor:globalThis.WebSocket}:{type:"unsupported",error:`Node.js ${i} detected but native WebSocket not found.`,workaround:"Provide a WebSocket implementation via the transport option."}:{type:"unsupported",error:`Node.js ${i} detected without native WebSocket support.`,workaround:`For Node.js < 22, install "ws" package and provide it via the transport option:
371import ws from "ws"
372new RealtimeClient(url, { transport: ws })`}}}return{type:"unsupported",error:"Unknown JavaScript runtime without WebSocket support.",workaround:"Ensure you're running in a supported environment (browser, Node.js, Deno) or provide a custom WebSocket implementation."}}static getWebSocketConstructor(){const t=this.detectEnvironment();if(t.constructor)return t.constructor;let n=t.error||"WebSocket not supported in this environment.";throw t.workaround&&(n+=`
373
374Suggested solution: ${t.workaround}`),new Error(n)}static createWebSocket(t,n){const r=this.getWebSocketConstructor();return new r(t,n)}static isWebSocketSupported(){try{const t=this.detectEnvironment();return t.type==="native"||t.type==="ws"}catch{return!1}}}const iq="2.93.3",aq=`realtime-js/${iq}`,lq="1.0.0",m7="2.0.0",x5=m7,Qb=1e4,cq=1e3,dq=100;var na;(function(e){e[e.connecting=0]="connecting",e[e.open=1]="open",e[e.closing=2]="closing",e[e.closed=3]="closed"})(na||(na={}));var on;(function(e){e.closed="closed",e.errored="errored",e.joined="joined",e.joining="joining",e.leaving="leaving"})(on||(on={}));var Zr;(function(e){e.close="phx_close",e.error="phx_error",e.join="phx_join",e.reply="phx_reply",e.leave="phx_leave",e.access_token="access_token"})(Zr||(Zr={}));var Jb;(function(e){e.websocket="websocket"})(Jb||(Jb={}));var bl;(function(e){e.Connecting="connecting",e.Open="open",e.Closing="closing",e.Closed="closed"})(bl||(bl={}));class uq{constructor(t){this.HEADER_LENGTH=1,this.USER_BROADCAST_PUSH_META_LENGTH=6,this.KINDS={userBroadcastPush:3,userBroadcast:4},this.BINARY_ENCODING=0,this.JSON_ENCODING=1,this.BROADCAST_EVENT="broadcast",this.allowedMetadataKeys=[],this.allowedMetadataKeys=t??[]}encode(t,n){if(t.event===this.BROADCAST_EVENT&&!(t.payload instanceof ArrayBuffer)&&typeof t.payload.event=="string")return n(this._binaryEncodeUserBroadcastPush(t));let r=[t.join_ref,t.ref,t.topic,t.event,t.payload];return n(JSON.stringify(r))}_binaryEncodeUserBroadcastPush(t){var n;return this._isArrayBuffer((n=t.payload)===null||n===void 0?void 0:n.payload)?this._encodeBinaryUserBroadcastPush(t):this._encodeJsonUserBroadcastPush(t)}_encodeBinaryUserBroadcastPush(t){var n,r;const o=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:new ArrayBuffer(0);return this._encodeUserBroadcastPush(t,this.BINARY_ENCODING,o)}_encodeJsonUserBroadcastPush(t){var n,r;const o=(r=(n=t.payload)===null||n===void 0?void 0:n.payload)!==null&&r!==void 0?r:{},a=new TextEncoder().encode(JSON.stringify(o)).buffer;return this._encodeUserBroadcastPush(t,this.JSON_ENCODING,a)}_encodeUserBroadcastPush(t,n,r){var o,i;const a=t.topic,l=(o=t.ref)!==null&&o!==void 0?o:"",c=(i=t.join_ref)!==null&&i!==void 0?i:"",d=t.payload.event,u=this.allowedMetadataKeys?this._pick(t.payload,this.allowedMetadataKeys):{},p=Object.keys(u).length===0?"":JSON.stringify(u);if(c.length>255)throw new Error(`joinRef length ${c.length} exceeds maximum of 255`);if(l.length>255)throw new Error(`ref length ${l.length} exceeds maximum of 255`);if(a.length>255)throw new Error(`topic length ${a.length} exceeds maximum of 255`);if(d.length>255)throw new Error(`userEvent length ${d.length} exceeds maximum of 255`);if(p.length>255)throw new Error(`metadata length ${p.length} exceeds maximum of 255`);const f=this.USER_BROADCAST_PUSH_META_LENGTH+c.length+l.length+a.length+d.length+p.length,h=new ArrayBuffer(this.HEADER_LENGTH+f);
374let g=new DataView(h),m=0;g.setUint8(m++,this.KINDS.userBroadcastPush),g.setUint8(m++,c.length),g.setUint8(m++,l.length),g.setUint8(m++,a.length),g.setUint8(m++,d.length),g.setUint8(m++,p.length),g.setUint8(m++,n),Array.from(c,v=>g.setUint8(m++,v.charCodeAt(0))),Array.from(l,v=>g.setUint8(m++,v.charCodeAt(0))),Array.from(a,v=>g.setUint8(m++,v.charCodeAt(0))),Array.from(d,v=>g.setUint8(m++,v.charCodeAt(0))),Array.from(p,v=>g.setUint8(m++,v.charCodeAt(0)));var b=new Uint8Array(h.byteLength+r.byteLength);return b.set(new Uint8Array(h),0),b.set(new Uint8Array(r),h.byteLength),b.buffer}decode(t,n){if(this._isArrayBuffer(t)){let r=this._binaryDecode(t);return n(r)}if(typeof t=="string"){const r=JSON.parse(t),[o,i,a,l,c]=r;return n({join_ref:o,ref:i,topic:a,event:l,payload:c})}return n({})}_binaryDecode(t){const n=new DataView(t),r=n.getUint8(0),o=new TextDecoder;switch(r){case this.KINDS.userBroadcast:return this._decodeUserBroadcast(t,n,o)}}_decodeUserBroadcast(t,n,r){const o=n.getUint8(1),i=n.getUint8(2),a=n.getUint8(3),l=n.getUint8(4);let c=this.HEADER_LENGTH+4;const d=r.decode(t.slice(c,c+o));c=c+o;const u=r.decode(t.slice(c,c+i));c=c+i;const p=r.decode(t.slice(c,c+a));c=c+a;const f=t.slice(c,t.byteLength),h=l===this.JSON_ENCODING?JSON.parse(r.decode(f)):f,g={type:this.BROADCAST_EVENT,event:u,payload:h};return a>0&&(g.meta=JSON.parse(p)),{join_ref:null,ref:null,topic:d,event:this.BROADCAST_EVENT,payload:g}}_isArrayBuffer(t){var n;return t instanceof ArrayBuffer||((n=t==null?void 0:t.constructor)===null||n===void 0?void 0:n.name)==="ArrayBuffer"}_pick(t,n){return!t||typeof t!="object"?{}:Object.fromEntries(Object.entries(t).filter(([r])=>n.includes(r)))}}class g7{constructor(t,n){this.callback=t,this.timerCalc=n,this.timer=void 0,this.tries=0,this.callback=t,this.timerCalc=n}reset(){this.tries=0,clearTimeout(this.timer),this.timer=void 0}scheduleTimeout(){clearTimeout(this.timer),this.timer=setTimeout(()=>{this.tries=this.tries+1,this.callback()},this.timerCalc(this.tries+1))}}var ft;(function(e){e.abstime="abstime",e.bool="bool",e.date="date",e.daterange="daterange",e.float4="float4",e.float8="float8",e.int2="int2",e.int4="int4",e.int4range="int4range",e.int8="int8",e.int8range="int8range",e.json="json",e.jsonb="jsonb",e.money="money",e.numeric="numeric",e.oid="oid",e.reltime="reltime",e.text="text",e.time="time",e.timestamp="timestamp",e.timestamptz="timestamptz",e.timetz="timetz",e.tsrange="tsrange",e.tstzrange="tstzrange"})(ft||(ft={}));const v5=(e,t,n={})=>{var r;const o=(r=n.skipTypes)!==null&&r!==void 0?r:[];return t?Object.keys(t).reduce((i,a)=>(i[a]=hq(a,e,t,o),i),{}):{}},hq=(e,t,n,r)=>{const o=t.find(l=>
vendor: 7,343 bytes, line 374
374l.name===e),i=o==null?void 0:o.type,a=n[e];return i&&!r.includes(i)?y7(i,a):Xb(a)},y7=(e,t)=>{if(e.charAt(0)==="_"){const n=e.slice(1,e.length);return gq(t,n)}switch(e){case ft.bool:return pq(t);case ft.float4:case ft.float8:case ft.int2:case ft.int4:case ft.int8:case ft.numeric:case ft.oid:return fq(t);case ft.json:case ft.jsonb:return mq(t);case ft.timestamp:return yq(t);case ft.abstime:case ft.date:case ft.daterange:case ft.int4range:case ft.int8range:case ft.money:case ft.reltime:case ft.text:case ft.time:case ft.timestamptz:case ft.timetz:case ft.tsrange:case ft.tstzrange:return Xb(t);default:return Xb(t)}},Xb=e=>e,pq=e=>{switch(e){case"t":return!0;case"f":return!1;default:return e}},fq=e=>{if(typeof e=="string"){const t=parseFloat(e);if(!Number.isNaN(t))return t}return e},mq=e=>{if(typeof e=="string")try{return JSON.parse(e)}catch{return e}return e},gq=(e,t)=>{if(typeof e!="string")return e;const n=e.length-1,r=e[n];if(e[0]==="{"&&r==="}"){let i;const a=e.slice(1,n);try{i=JSON.parse("["+a+"]")}catch{i=a?a.split(","):[]}return i.map(l=>y7(t,l))}return e},yq=e=>typeof e=="string"?e.replace(" ","T"):e,x7=e=>{const t=new URL(e);return t.protocol=t.protocol.replace(/^ws/i,"http"),t.pathname=t.pathname.replace(/\/+$/,"").replace(/\/socket\/websocket$/i,"").replace(/\/socket$/i,"").replace(/\/websocket$/i,""),t.pathname===""||t.pathname==="/"?t.pathname="/api/broadcast":t.pathname=t.pathname+"/api/broadcast",t.href};class u0{constructor(t,n,r={},o=Qb){this.channel=t,this.event=n,this.payload=r,this.timeout=o,this.sent=!1,this.timeoutTimer=void 0,this.ref="",this.receivedResp=null,this.recHooks=[],this.refEvent=null}resend(t){this.timeout=t,this._cancelRefEvent(),this.ref="",this.refEvent=null,this.receivedResp=null,this.sent=!1,this.send()}send(){this._hasReceived("timeout")||(this.startTimeout(),this.sent=!0,this.channel.socket.push({topic:this.channel.topic,event:this.event,payload:this.payload,ref:this.ref,join_ref:this.channel._joinRef()}))}updatePayload(t){this.payload=Object.assign(Object.assign({},this.payload),t)}receive(t,n){var r;return this._hasReceived(t)&&n((r=this.receivedResp)===null||r===void 0?void 0:r.response),this.recHooks.push({status:t,callback:n}),this}startTimeout(){if(this.timeoutTimer)return;this.ref=this.channel.socket._makeRef(),this.refEvent=this.channel._replyEventName(this.ref);const t=n=>{this._cancelRefEvent(),this._cancelTimeout(),this.receivedResp=n,this._matchReceive(n)};this.channel._on(this.refEvent,{},t),this.timeoutTimer=setTimeout(()=>{this.trigger("timeout",{})},this.timeout)}trigger(t,n){this.refEvent&&this.channel._trigger(this.refEvent,{status:t,response:n})}destroy(){this._cancelRefEvent(),this._cancelTimeout()}_cancelRefEvent(){this.refEvent&&this.channel._off(this.refEvent,{})}_cancelTimeout(){clearTimeout(this.timeoutTimer),this.timeoutTimer=void 0}_matchReceive({status:t,response:n}){this.recHooks.filter(r=>r.status===t).forEach(r=>r.callback(n))}_hasReceived(t){return this.receivedResp&&this.receivedResp.status===t}}var b5;(function(e){e.SYNC="sync",e.JOIN="join",e.LEAVE="leave"})(b5||(b5={}));class Uh{constructor(t,n){this.channel=t,this.state={},this.pendingDiffs=[],this.joinRef=null,this.enabled=!1,this.caller={onJoin:()=>{},onLeave:()=>{},onSync:()=>{}};const r=(n==null?void 0:n.events)||{state:"presence_state",diff:"presence_diff"};this.channel._on(r.state,{},o=>{const{onJoin:i,onLeave:a,onSync:l}=this.caller;this.joinRef=this.channel._joinRef(),this.state=Uh.syncState(this.state,o,i,a),this.pendingDiffs.forEach(c=>{this.state=Uh.syncDiff(this.state,c,i,a)}),this.pendingDiffs=[],l()}),this.channel._on(r.diff,{},o=>{const{onJoin:i,onLeave:a,onSync:l}=this.caller;this.inPendingSyncState()?this.pendingDiffs.push(o):(this.state=Uh.syncDiff(this.state,o,i,a),l())}),this.onJoin((o,i,a)=>{this.channel._trigger("presence",{event:"join",key:o,currentPresences:i,newPresences:a})}),this.onLeave((o,i,a)=>{this.channel._trigger("presence",{event:"leave",key:o,currentPresences:i,leftPresences:a})}),this.onSync(()=>{this.channel._trigger("presence",{event:"sync"})})}static syncState(t,n,r,o){const i=this.cloneDeep(t),a=this.transformState(n),l={},c={};return this.map(i,(d,u)=>{a[d]||(c[d]=u)}),this.map(a,(d,u)=>{const p=i[d];if(p){const f=u.map(b=>b.presence_ref),h=p.map(b=>b.presence_ref),g=u.filter(b=>h.indexOf(b.presence_ref)<0),m=p.filter(b=>f.indexOf(b.presence_ref)<0);g.length>0&&(l[d]=g),m.length>0&&(c[d]=m)}else l[d]=u}),this.syncDiff(i,{joins:l,leaves:c},r,o)}static syncDiff(t,n,r,o){const{joins:i,leaves:a}={joins:this.transformState(n.joins),leaves:this.transformState(n.leaves)};return r||(r=()=>{}),o||(o=()=>{}),this.map(i,(l,c)=>{var d;const u=(d=t[l])!==null&&d!==void 0?d:[];if(t[l]=this.cloneDeep(c),u.length>0){const p=t[l].map(h=>h.presence_ref),f=u.filter(h=>p.indexOf(h.presence_ref)<0);t[l].unshift(...f)}r(l,u,c)}),this.map(a,(l,c)=>{let d=t[l];if(!d)return;const u=c.map(p=>p.presence_ref);d=d.filter(p=>u.indexOf(p.presence_ref)<0),t[l]=d,o(l,d,c),d.length===0&&delete t[l]}),t}static map(t,n){return Object.getOwnPropertyNames(t).map(r=>n(r,t[r]))}static transformState(t){return t=this.cloneDeep(t),Object.getOwnPropertyNames(t).reduce((n,r)=>{const o=t[r];return"metas"in o?n[r]=o.metas.map(i=>(i.presence_ref=i.phx_ref,delete i.phx_ref,delete i.phx_ref_prev,i)):n[r]=o,n},{})}static cloneDeep(t){return JSON.parse(JSON.stringify(t))}onJoin(t){this.caller.onJoin=t}onLeave(t){this.caller.onLeave=t}onSync(t){this.caller.onSync=t}inPendingSyncState(){return!this.joinRef||this.joinRef!==this.channel._joinRef()}}var w5;(function(e){e.ALL="*",e.INSERT="INSERT",e.UPDATE="UPDATE",e.DELETE="DELETE"})(w5||(w5={}));var Gh;(function(e){e.BROADCAST="broadcast",e.PRESENCE="presence",e.POSTGRES_CHANGES="postgres_changes",e.SYSTEM="system"})(Gh||(Gh={}));var li;(function(e){e.SUBSCRIBED="SUBSCRIBED",e.TIMED_OUT="TIMED_OUT",e.CLOSED="CLOSED",e.CHANNEL_ERROR="CHANNEL_ERROR"})(li||(li={}));class pd{constructor(t,n={config:{}},r){var o,i;if(this.topic=t,this.params=n,this.socket=r,this.bindings={},this.state=on.closed,this.joinedOnce=!1,this.pushBuffer=[],this.subTopic=t.replace(/^realtime:/i,""),this.params.config=Object.assign({broadcast:{ack:!1,self:!1},presence:{key:"",enabled:!1},private:!1},n.config),this.timeout=this.socket.timeout,this.joinPush=new u0(this,Zr.join,this.params,this.timeout),this.rejoinTimer=new g7(()=>this._rejoinUntilConnected(),this.socket.reconnectAfterMs),this.joinPush.receive("ok",()=>{this.state=on.joined,this.rejoinTimer.reset(),this.pushBuffer.forEach(a=>a.send()),this.pushBuffer=[]}),this._onClose(()=>{this.rejoinTimer.reset(),this.socket.log("channel",`close ${this.topic} ${this._joinRef()}`),this.state=on.closed,this.socket._remove(this)}),this._onError(a=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,a),this.state=on.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("timeout",()=>{this._isJoining()&&(this.socket.log("channel",`timeout ${this.topic}`,this.joinPush.timeout),this.state=on.errored,this.rejoinTimer.scheduleTimeout())}),this.joinPush.receive("error",a=>{this._isLeaving()||this._isClosed()||(this.socket.log("channel",`error ${this.topic}`,a),this.state=on.errored,this.rejoinTimer.scheduleTimeout())}),this._on(Zr.reply,{},(a,l)=>{this._trigger(this._replyEventName(l),a)}
374),this.presence=new Uh(this),this.broadcastEndpointURL=x7(this.socket.endPoint),this.private=this.params.config.private||!1,!this.private&&(!((i=(o=this.params.config)===null||o===void 0?void 0:o.broadcast)===null||i===void 0)&&i.replay))throw`tried to use replay on public channel '${this.topic}'. It must be a private channel.`}subscribe(t,n=this.timeout){var r,o,i;if(this.socket.isConnected()||this.socket.connect(),this.state==on.closed){const{config:{broadcast:a,presence:l,private:c}}=this.params,d=(o=(r=this.bindings.postgres_changes)===null||r===void 0?void 0:r.map(h=>h.filter))!==null&&o!==void 0?o:[],u=!!this.bindings[Gh.PRESENCE]&&this.bindings[Gh.PRESENCE].length>0||((i=this.params.config.presence)===null||i===void 0?void 0:i.enabled)===!0,p={},f={broadcast:a,presence:Object.assign(Object.assign({},l),{enabled:u}),postgres_changes:d,private:c};this.socket.accessTokenValue&&(p.access_token=this.socket.accessTokenValue),this._onError(h=>t==null?void 0:t(li.CHANNEL_ERROR,h)),this._onClose(()=>t==null?void 0:t(li.CLOSED)),this.updateJoinPayload(Object.assign({config:f},p)),this.joinedOnce=!0,this._rejoin(n),this.joinPush.receive("ok",async({postgres_changes:h})=>{var g;if(this.socket._isManualToken()||this.socket.setAuth(),h===void 0){t==null||t(li.SUBSCRIBED);return}else{const m=this.bindings.postgres_changes,b=(g=m==null?void 0:m.length)!==null&&g!==void 0?g:0,v=[];for(let y=0;y<b;y++){const w=m[y],{filter:{event:j,schema:S,table:N,filter:k}}=w,T=h&&h[y];if(T&&T.event===j&&pd.isFilterValueEqual(T.schema,S)&&pd.isFilterValueEqual(T.table,N)&&pd.isFilterValueEqual(T.filter,k))v.push(Object.assign(Object.assign({},w),{id:T.id}));else{this.unsubscribe(),this.state=on.errored,t==null||t(li.CHANNEL_ERROR,new Error("mismatch between server and client bindings for postgres changes"));return}}this.bindings.postgres_changes=v,t&&t(li.SUBSCRIBED);return}}).receive("error",h=>{this.state=on.errored,t==null||t(li.CHANNEL_ERROR,new Error(JSON.stringify(Object.values(h).join(", ")||"error")))}).receive("timeout",()=>{t==null||t(li.TIMED_OUT)})}return this}presenceState(){return this.presence.state}async track(t,n={}){return await this.send({type:"presence",event:"track",payload:t},n.timeout||this.timeout)}async untrack(t={}){return await this.send({type:"presence",event:"untrack"},t)}on(t,n,r){return this.state===on.joined&&t===Gh.PRESENCE&&(this.socket.log("channel",`resubscribe to ${this.topic} due to change in presence callbacks on joined channel`),this.unsubscribe().then(async()=>await this.subscribe())),this._on(t,n,r)}async httpSend(t,n,r={}){var o;if(n==null)return Promise.reject("Payload is required for httpSend()");const i={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(i.Authorization=`Bearer ${this.socket.accessTokenValue}`);const a={method:"POST",headers:i,body:JSON.stringify({messages:[{topic:this.subTopic,event:t,payload:n,private:this.private}]})},l=await this._fetchWithTimeout(this.broadcastEndpointURL,a,(o=r.timeout)!==null&&o!==void 0?o:this.timeout);if(l.status===202)return{success:!0};let c=l.statusText;try{const d=await l.json();c=d.error||d.message||c}catch{}return Promise.reject(new Error(c))}async send(t,n={}){var r,o;if(!this._canPush()&&t.type==="broadcast"){console.warn("Realtime send() is automatically falling back to REST API. This behavior will be deprecated 
374in the future. Please use httpSend() explicitly for REST delivery.");const{event:i,payload:a}=t,l={apikey:this.socket.apiKey?this.socket.apiKey:"","Content-Type":"application/json"};this.socket.accessTokenValue&&(l.Authorization=`Bearer ${this.socket.accessTokenValue}`);const c={method:"POST",headers:l,body:JSON.stringify({messages:[{topic:this.subTopic,event:i,payload:a,private:this.private}]})};try{const d=await this._fetchWithTimeout(this.broadcastEndpointURL,c,(r=n.timeout)!==null&&r!==void 0?r:this.timeout);return await((o=d.body)===null||o===void 0?void 0:o.cancel()),d.ok?"ok":"error"}catch(d){return d.name==="AbortError"?"timed out":"error"}}else return new Promise(i=>{var a,l,c;const d=this._push(t.type,t,n.timeout||this.timeout);t.type==="broadcast"&&!(!((c=(l=(a=this.params)===null||a===void 0?void 0:a.config)===null||l===void 0?void 0:l.broadcast)===null||c===void 0)&&c.ack)&&i("ok"),d.receive("ok",()=>i("ok")),d.receive("error",()=>i("error")),d.receive("timeout",()=>i("timed out"))})}updateJoinPayload(t){this.joinPush.updatePayload(t)}unsubscribe(t=this.timeout){this.state=on.leaving;const n=()=>{this.socket.log("channel",`leave ${this.topic}`),this._trigger(Zr.close,"leave",this._joinRef())};this.joinPush.destroy();let r=null;return new Promise(o=>{r=new u0(this,Zr.leave,{},t),r.receive("ok",()=>{n(),o("ok")}).receive("timeout",()=>{n(),o("timed out")}).receive("error",()=>{o("error")}),r.send(),this._canPush()||r.trigger("ok",{})}).finally(()=>{r==null||r.destroy()})}teardown(){this.pushBuffer.forEach(t=>t.destroy()),this.pushBuffer=[],this.rejoinTimer.reset(),this.joinPush.destroy(),this.state=on.closed,this.bindings={}}async _fetchWithTimeout(t,n,r){const o=new AbortController,i=setTimeout(()=>o.abort(),r),a=await this.socket.fetch(t,Object.assign(Object.assign({},n),{signal:o.signal}));return clearTimeout(i),a}_push(t,n,r=this.timeout){if(!this.joinedOnce)throw`tried to push '${t}' to '${this.topic}' before joining. Use channel.subscribe() before pushing events`;let o=new u0(this,t,n,r);return this._canPush()?o.send():this._addToPushBuffer(o),o}_addToPushBuffer(t){if(t.startTimeout(),this.pushBuffer.push(t),this.pushBuffer.length>dq){const n=this.pushBuffer.shift();n&&(n.destroy(),this.socket.log("channel",`discarded push due to buffer overflow: ${n.event}`,n.payload))}}_onMessage(t,n,r){return n}_isMember(t){return this.topic===t}_joinRef(){return this.joinPush.ref}_trigger(t,n,r){var o,i;const a=t.toLocaleLowerCase(),{close:l,error:c,leave:d,join:u}=Zr;if(r&&[l,c,d,u].indexOf(a)>=0&&r!==this._joinRef())return;let f=this._onMessage(a,n,r);if(n&&!f)throw"channel onMessage callbacks must return the payload, modified or unmodified";["insert","update","delete"].includes(a)?(o=this.bindings.postgres_changes)===null||o===void 0||o.filter(h=>{var g,m,b;return((g=h.filter)===null||g===void 0?void 0:g.event)==="*"||((b=(m=h.filter)===null||m===void 0?void 0:m.event)===null||b===void 0?void 0:b.toLocaleLowerCase())===a}).map(h=>h.callback(f,r)):(i=this.bindings[a])===null||i===void 0||i.filter(h=>{var g,m,b,v,y,w;if(["broadcast","presence","postgres_changes"].includes(a))if("id"in h){const j=h.id,S=(g=h.filter)===null||g===void 0?void 0:g.event;return j&&((m=n.ids)===null||m===void 0?void 0:m.includes(j))&&(S==="*"||(S==null?void 0:S.toLocaleLowerCase())===((b=n.data)===null||b===void 0?void 0:b.type.toLocaleLowerCase()))}else{const j=(y=(v=h==null?void 0:h.filter)===null||v===void 0?void 0:v.event)===null||y===void 0?void 0:y.toLocaleLowerCase();return j==="*"||j===((w=n==null?void 0:n.event)===null||w===void 0?void 0:w.toLocaleLowerCase())}else return h.type.toLocaleLowerCase()===a}).map(h=>{if(typeof f=="object"&&"ids"in f){const g=f.data,{schema:m,table:b,commit_timestamp:v,type:y,errors:w}=g;f=Object.assign(Object.assign({},{schema:m,table:b,commit_timestamp:v,eventType:y,new:{},old:{},errors:w}),this._getPayloadRecords(g))}h.callback(f,r)})}_isClosed(){return this.state===on.closed}_isJoined(){return this.state===on.joined}_isJoining(){return this.state===on.joining}_isLeaving(){return this.state===on.leaving}_replyEventName(t){return`chan_reply_${t}`}_on(t,n,r){const o=t.toLocaleLowerCase(),i={type:o,filter:n,callback:r};return this.bindings[o]?this.bindings[o].push(i):this.bindings[o]=[i],this}_off(t,n){const r=t.toLocaleLowerCase();return this.bindings[r]&&(this.bindings[r]=this.bindings[r].filter(o=>{var i;return!(((i=o.type)===null||i===void 0?void 0:i.toLocaleLowerCase())===r&&pd.isEqual(o.filter,n))})),this}static isEqual(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const r in t)if(t[r]!==n[r])return!1;return!0}static isFilterValueEqual(t,n){return(t??void 0)===(n??void 0)}_rejoinUntilConnected(){this.rejoinTimer.scheduleTimeout(),this.socket.isConnected()&&this._rejoin()}_onClose(t){this._on(Zr.close,{},t)}_onError(t){this._on(Zr.error,{},n=>t(n))}_canPush(){return this.socket.isConnected()&&this._isJoined()}_rejoin(t=this.timeout){this._isLeaving()||(this.socket._leaveOpenTopic(this.topic),this.state=on.joining,this.joinPush.resend(t))}_getPayloadRecords(t){const n={new:{},old:{}};return(t.type==="INSERT"||t.type==="UPDATE")&&(n.new=v5(t.columns,t.record)),(t.type==="UPDATE"||t.type==="DELETE")&&(n.old=v5(t.columns,t.old_record)),n}}const h0=()=>{},qf={HEARTBEAT_INTERVAL:25e3,RECONNECT_DELAY:10,HEARTBEAT_TIMEOUT_FALLBACK:100},xq=[1e3,2e3,5e3,1e4],vq=1e4,bq=`
375  addEventListener("message", (e) => {
376    if (e.data.event === "start") {
377      setInterval(() => postMessage({ event: "keepAlive" }), e.data.interval);
378    }
379  });`;class wq{constructor(t,n){var r;if(this.accessTokenValue=null,this.apiKey=null,this._manuallySetToken=!1,this.channels=new Array,this.endPoint="",this.httpEndpoint="",this.headers={},this.params={},this.timeout=Qb,this.transport=null,this.heartbeatIntervalMs=qf.HEARTBEAT_INTERVAL,this.heartbeatTimer=void 0,this.pendingHeartbeatRef=null,this.heartbeatCallback=h0,this.ref=0,this.reconnectTimer=null,this.vsn=x5,this.logger=h0,this.conn=null,this.sendBuffer=[],this.serializer
379=new uq,this.stateChangeCallbacks={open:[],close:[],error:[],message:[]},this.accessToken=null,this._connectionState="disconnected",this._wasManualDisconnect=!1,this._authPromise=null,this._heartbeatSentAt=null,this._resolveFetch=o=>o?(...i)=>o(...i):(...i)=>fetch(...i),!(!((r=n==null?void 0:n.params)===null||r===void 0)&&r.apikey))throw new Error("API key is required to connect to Realtime");this.apiKey=n.params.apikey,this.endPoint=`${t}/${Jb.websocket}`,this.httpEndpoint=x7(t),this._initializeOptions(n),this._setupReconnectionTimer(),this.fetch=this._resolveFetch(n==null?void 0:n.fetch)}connect(){if(!(this.isConnecting()||this.isDisconnecting()||this.conn!==null&&this.isConnected())){if(this._setConnectionState("connecting"),this.accessToken&&!this._authPromise&&this._setAuthSafely("connect"),this.transport)this.conn=new this.transport(this.endpointURL());else try{this.conn=oq.createWebSocket(this.endpointURL())}catch(t){this._setConnectionState("disconnected");const n=t.message;throw n.includes("Node.js")?new Error(`${n}
380
381To use Realtime in Node.js, you need to provide a WebSocket implementation:
382
383Option 1: Use Node.js 22+ which has native WebSocket support
384Option 2: Install and provide the "ws" package:
385
386  npm install ws
387
388  import ws from "ws"
389  const client = new RealtimeClient(url, {
390    ...options,
391    transport: ws
392  })`):new Error(`WebSocket not available: ${n}`)}this._setupConnectionHandlers()}}endpointURL(){return this._appendParams(this.endPoint,Object.assign({},this.params,{vsn:this.vsn}))}disconnect(t,n){if(!this.isDisconnecting())if(this._setConnectionState("disconnecting",!0),this.conn){const r=setTimeout(()=>{this._setConnectionState("disconnected")},100);this.conn.onclose=()=>{clearTimeout(r),this._setConnectionState("disconnected")},typeof this.conn.close=="function"&&(t?this.conn.close(t,n??""):this.conn.close()),this._teardownConnection()}else this._setConnectionState("disconnected")}getChannels(){return this.channels}async removeChannel(t){const n=await t.unsubscribe();return this.channels.length===0&&this.disconnect(),n}async removeAllChannels(){const t=await Promise.all(this.channels.map(n=>n.unsubscribe()));return this.channels=[],this.disconnect(),t}log(t,n,r){this.logger(t,n,r)}connectionState(){switch(this.conn&&this.conn.readyState){case na.connecting:return bl.Connecting;case na.open:return bl.Open;case na.closing:return bl.Closing;default:return bl.Closed}}isConnected(){return this.connectionState()===bl.Open}isConnecting(){return this._connectionState==="connecting"}isDisconnecting(){return this._connectionState==="disconnecting"}channel(t,n={config:{}}){const r=`realtime:${t}`,o=this.getChannels().find(i=>i.topic===r);if(o)return o;{const i=new pd(`realtime:${t}`,n,this);return this.channels.push(i),i}}push(t){const{topic:n,event:r,payload:o,ref:i}=t,a=()=>{this.encode(t,l=>{var c;(c=this.conn)===null||c===void 0||c.send(l)})};this.log("push",`${n} ${r} (${i})`,o),this.isConnected()?a():this.sendBuffer.push(a)}async setAuth(t=null){this._authPromise=this._performAuth(t);try{await this._authPromise}finally{this._authPromise=null}}_isManualToken(){return this._manuallySetToken}async sendHeartbeat(){var t;if(!this.isConnected()){try{this.heartbeatCallback("disconnected")}catch(n){this.log("error","error in heartbeat callback",n)}return}if(this.pendingHeartbeatRef){this.pendingHeartbeatRef=null,this._heartbeatSentAt=null,this.log("transport","heartbeat timeout. Attempting to re-establish connection");try{this.heartbeatCallback("timeout")}catch(n){this.log("error","error in heartbeat callback",n)}this._wasManualDisconnect=!1,(t=this.conn)===null||t===void 0||t.close(cq,"heartbeat timeout"),setTimeout(()=>{var n;this.isConnected()||(n=this.reconnectTimer)===null||n===void 0||n.scheduleTimeout()},qf.HEARTBEAT_TIMEOUT_FALLBACK);return}this._heartbeatSentAt=Date.now(),this.pendingHeartbeatRef=this._makeRef(),this.push({topic:"phoenix",event:"heartbeat",payload:{},ref:this.pendingHeartbeatRef});try{this.heartbeatCallback("sent")}catch(n){this.log("error","error in heartbeat callback",n)}this._setAuthSafely("heartbeat")}onHeartbeat(t){this.heartbeatCallback=t}flushSendBuffer(){this.isConnected()&&this.sendBuffer.length>0&&(this.sendBuffer.forEach(t=>t()),this.sendBuffer=[])}_makeRef(){let t=this.ref+1;return t===this.ref?this.ref=0:this.ref=t,this.ref.toString()}_leaveOpenTopic(t){let n=this.channels.find(r=>r.topic===t&&(r._isJoined()||r._isJoining()));n&&(this.log("transport",`leaving duplicate topic "${t}"`),n.unsubscribe())}_remove(t){this.channels=this.channels.filter(n=>n.topic!==t.topic)}_onConnMessage(t){this.decode(t.data,n=>
392{if(n.topic==="phoenix"&&n.event==="phx_reply"&&n.ref&&n.ref===this.pendingHeartbeatRef){const d=this._heartbeatSentAt?Date.now()-this._heartbeatSentAt:void 0;try{this.heartbeatCallback(n.payload.status==="ok"?"ok":"error",d)}catch(u){this.log("error","error in heartbeat callback",u)}this._heartbeatSentAt=null,this.pendingHeartbeatRef=null}const{topic:r,event:o,payload:i,ref:a}=n,l=a?`(${a})`:"",c=i.status||"";this.log("receive",`${c} ${r} ${o} ${l}`.trim(),i),this.channels.filter(d=>d._isMember(r)).forEach(d=>d._trigger(o,i,a)),this._triggerStateCallbacks("message",n)})}_clearTimer(t){var n;t==="heartbeat"&&this.heartbeatTimer?(clearInterval(this.heartbeatTimer),this.heartbeatTimer=void 0):t==="reconnect"&&((n=this.reconnectTimer)===null||n===void 0||n.reset())}_clearAllTimers(){this._clearTimer("heartbeat"),this._clearTimer("reconnect")}_setupConnectionHandlers(){this.conn&&("binaryType"in this.conn&&(this.conn.binaryType="arraybuffer"),this.conn.onopen=()=>this._onConnOpen(),this.conn.onerror=t=>this._onConnError(t),this.conn.onmessage=t=>this._onConnMessage(t),this.conn.onclose=t=>this._onConnClose(t),this.conn.readyState===na.open&&this._onConnOpen())}_teardownConnection(){if(this.conn){if(this.conn.readyState===na.open||this.conn.readyState===na.connecting)try{this.conn.close()}catch(t){this.log("error","Error closing connection",t)}this.conn.onopen=null,this.conn.onerror=null,this.conn.onmessage=null,this.conn.onclose=null,this.conn=null}this._clearAllTimers(),this._terminateWorker(),this.channels.forEach(t=>t.teardown())}_onConnOpen(){this._setConnectionState("connected"),this.log("transport",`connected to ${this.endpointURL()}`),(this._authPromise||(this.accessToken&&!this.accessTokenValue?this.setAuth():Promise.resolve())).then(()=>{this.flushSendBuffer()}).catch(n=>{this.log("error","error waiting for auth on connect",n),this.flushSendBuffer()}),this._clearTimer("reconnect"),this.worker?this.workerRef||this._startWorkerHeartbeat():this._startHeartbeat(),this._triggerStateCallbacks("open")}_startHeartbeat(){this.heartbeatTimer&&clearInterval(this.heartbeatTimer),this.heartbeatTimer=setInterval(()=>this.sendHeartbeat(),this.heartbeatIntervalMs)}_startWorkerHeartbeat(){this.workerUrl?this.log("worker",`starting worker for from ${this.workerUrl}`):this.log("worker","starting default worker");const t=this._workerObjectUrl(this.workerUrl);this.workerRef=new Worker(t),this.workerRef.onerror=n=>{this.log("worker","worker error",n.message),this._terminateWorker()},this.workerRef.onmessage=n=>{n.data.event==="keepAlive"&&this.sendHeartbeat()},this.workerRef.postMessage({event:"start",interval:this.heartbeatIntervalMs})}_terminateWorker(){this.workerRef&&(this.log("worker","terminating worker"),this.workerRef.terminate(),this.workerRef=void 0)}_onConnClose(t){var n;this._setConnectionState("disconnected"),this.log("transport","close",t),this._triggerChanError(),this._clearTimer("heartbeat"),this._wasManualDisconnect||(n=this.reconnectTimer)===null||n===void 0||n.scheduleTimeout(),this._triggerStateCallbacks("close",t)}_onConnError(t){this._setConnectionState("disconnected"),this.log("transport",`${t}`),this._triggerChanError(),this._triggerStateCallbacks("error",t);try{this.heartbeatCallback("error")}catch(n){this.log("error","error in heartbeat callback",n)}}_triggerChanError(){this.channels.forEach(t=>t._trigger(Zr.error))}_appendParams(t,n){if(Object.keys(n).length===0)return t;const r=t.match(/\?/)?"&":"?",o=new URLSearchParams(n);return`${t}${r}${o}`}_workerObjectUrl(t){let n;if(t)n=t;else{const r=new Blob([bq],{type:"application/javascript"});n=URL.createObjectURL(r)}return n}_setConnectionState(t,n=!1){this._connectionState=t,t==="connecting"?this._wasManualDisconnect=!1:t==="disconnecting"&&(this._wasManualDisconnect=n)}async _performAuth(t=null){let n,r=!1;if(t)n=t,r=!0;else if(this.accessToken)try{n=await this.accessToken()}catch(o){this.log("error","Error fetching access token from callback",o),n=this.accessTokenValue}else n=this.accessTokenValue;r?this._manuallySetToken=!0:this.accessToken&&(this._manuallySetToken=!1),this.accessTokenValue!=n&&(this.accessTokenValue=n,this.channels.forEac
392h(o=>{const i={access_token:n,version:aq};n&&o.updateJoinPayload(i),o.joinedOnce&&o._isJoined()&&o._push(Zr.access_token,{access_token:n})}))}async _waitForAuthIfNeeded(){this._authPromise&&await this._authPromise}_setAuthSafely(t="general"){this._isManualToken()||this.setAuth().catch(n=>{this.log("error",`Error setting auth in ${t}`,n)})}_triggerStateCallbacks(t,n){try{this.stateChangeCallbacks[t].forEach(r=>{try{r(n)}catch(o){this.log("error",`error in ${t} callback`,o)}})}catch(r){this.log("error",`error triggering ${t} callbacks`,r)}}_setupReconnectionTimer(){this.reconnectTimer=new g7(async()=>{setTimeout(async()=>{await this._waitForAuthIfNeeded(),this.isConnected()||this.connect()},qf.RECONNECT_DELAY)},this.reconnectAfterMs)}_initializeOptions(t){var n,r,o,i,a,l,c,d,u,p,f,h;switch(this.transport=(n=t==null?void 0:t.transport)!==null&&n!==void 0?n:null,this.timeout=(r=t==null?void 0:t.timeout)!==null&&r!==void 0?r:Qb,this.heartbeatIntervalMs=(o=t==null?void 0:t.heartbeatIntervalMs)!==null&&o!==void 0?o:qf.HEARTBEAT_INTERVAL,this.worker=(i=t==null?void 0:t.worker)!==null&&i!==void 0?i:!1,this.accessToken=(a=t==null?void 0:t.accessToken)!==null&&a!==void 0?a:null,this.heartbeatCallback=(l=t==null?void 0:t.heartbeatCallback)!==null&&l!==void 0?l:h0,this.vsn=(c=t==null?void 0:t.vsn)!==null&&c!==void 0?c:x5,t!=null&&t.params&&(this.params=t.params),t!=null&&t.logger&&(this.logger=t.logger),(t!=null&&t.logLevel||t!=null&&t.log_level)&&(this.logLevel=t.logLevel||t.log_level,this.params=Object.assign(Object.assign({},this.params),{log_level:this.logLevel})),this.reconnectAfterMs=(d=t==null?void 0:t.reconnectAfterMs)!==null&&d!==void 0?d:g=>xq[g-1]||vq,this.vsn){case lq:this.encode=(u=t==null?void 0:t.encode)!==null&&u!==void 0?u:(g,m)=>m(JSON.stringify(g)),this.decode=(p=t==null?void 0:t.decode)!==null&&p!==void 0?p:(g,m)=>m(JSON.parse(g));break;case m7:this.encode=(f=t==null?void 0:t.encode)!==null&&f!==void 0?f:this.serializer.encode.bind(this.serializer),this.decode=(h=t==null?void 0:t.decode)!==null&&h!==void 0?h:this.serializer.decode.bind(this.serializer);break;default:throw new Error(`Unsupported serializer version: ${this.vsn}`)}if(this.worker){if(typeof window<"u"&&!window.Worker)throw new Error("Web Worker is not supported");this.workerUrl=t==null?void 0:t.workerUrl}}}var Ep=class extends Error{constructor(e,t){var n;super(e),this.name="IcebergError",this.status=t.status,this.icebergType=t.icebergType,this.icebergCode=t.icebergCode,this.details=t.details,this.isCommitStateUnknown=t.icebergType==="CommitStateUnknownException"||[500,502,504].includes(t.status)&&((n=t.icebergType)==null?void 0:n.includes("CommitState"))===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function jq(e,t,n){const r=new URL(t,e);if(n)for(const[o,i]of Object.entries(n))i!==void 0&&r.searchParams.set(o,i);return r.toString()}async function Sq(e){return!e||e.type==="none"?{}:e.type==="bearer"?{Authorization:`Bearer ${e.token}`}:e.type==="header"?{[e.name]:e.value}:e.type==="custom"?await e.getHeaders():{}}function kq(e){const t=e.fetchImpl??globalThis.fetch;return{async request({method:n,path:r,query:o,body:i,headers:a}){const l=jq(e.baseUrl,r,o),c=await Sq(e.auth),d=await t(l,{method:n,headers:{...i?{"Content-Type":"application/json"}:{},...c,...a},body:i?JSON.stringify(i):void 0}),u=await d.text(),p=(d.headers.get("content-type")||"").includes("application/json"),f=p&&u?JSON.parse(u):u;if(!d.ok){const h=p?f:void 0,g=h==null?void 0:h.error;throw new Ep((g==null?void 0:g.message)??`Request failed with status ${d.status}`,{status:d.status,icebergType:g==null?void 0:g.type,icebergCode:g==null?void 0:g.code,details:h})}return{status:d.status,headers:d.headers,data:f}}}}function Kf(e){return e.join("�")}var Tq=class{constructor(e,t=""){this.client=e,this.prefix=t}async listNamespaces(e){const t=e?{parent:Kf(e.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:t})).data.namespaces.map(r=>({namespace:r}))}async createNamespace(e,t){const n={namespace:e.namespace,properties:t==null?void 0:t.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:n})).data}async dropNamespace(e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Kf(e.namespace)}`})}async loadNamespaceMetadata(e){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Kf(e.namespace)}`})).data.properties}}async namespaceExists(e){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Kf(e.namespace)}`}),!0}catch(t){if(t instanceof Ep&&t.status===404)return!1;throw t}}async createNamespaceIfNotExists(e,t){try{return await this.createNamespace(e,t)}catch(n){if(n instanceof Ep&&n.status===409)return;throw n}}};function fc(e){return e.join("�")}var Nq=class{constructor(e,t="",n){this.client=e,this.prefix=t,this.accessDelegation=n}async listTables(e){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${fc(e.namespace)}/tables`})).data.identifiers}async createTable(e,t){const n={};return this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${fc(e.namespace)}/tables`,body:t,headers:n})).data.metadata}async updateTable(e,t){const n=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${fc(e.namespace)}/tables/${e.name}`,body:t});return{"metadata-location":n.data["metadata-location"],metadata:n.data.metadata}}async dropTable(e,t){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${fc(e.namespace)}/tables/${e.name}`,query:{purgeRequested:String((t==null?void 0:t.purge)??!1)}})}async loadTable(e){const t={};return this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${fc(e.namespace)}/tables/${e.name}`,headers:t})).data.metadata}async tableExists(e){const t={};this.accessDelegation&&(t["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${fc(e.namespace)}/tables/${e.name}`,headers:t}),!0}catch(n){if(n instanceof Ep&&n.status===404)return!1;throw n}}async createTableIfNotExists(e,t){try{return await this.createTable(e,t)}catch(n){if(n instanceof Ep&&n.status===409)return await this.loadTable({namespace:e.namespace,name:t.name});throw n}}},Eq=class{constructor(e){var r;let t="v1";e.catalogName&&(t+=`/${e.catalogName}`);const n=e.baseUrl.endsWith("/")?e.baseUrl:`${e.baseUrl}/`;this.client=kq({baseUrl:n,auth:e.auth,fetchImpl:e.fetch}),this.accessDelegation=(r=e.accessDelegation)==null?void 0:r.join(","),this.namespaceOps=new Tq(this.client,t),this.tableOps=new Nq(this.client,t,this.accessDelegation)}async listNamespaces(e){return this.namespaceOps.listNamespaces(e)}async createNamespace(e,t){return this.namespaceOps.createNamespace(e,t)}async dropNamespace(e){await this.namespaceOps.dropNamespace(e)}async loadNamespaceMetadata(e){return this.namespaceOps.loadNamespaceMetadata(e)}async listTables(e){return this.tableOps.listTables(e)}
392async createTable(e,t){return this.tableOps.createTable(e,t)}async updateTable(e,t){return this.tableOps.updateTable(e,t)}async dropTable(e,t){await this.tableOps.dropTable(e,t)}async loadTable(e){return this.tableOps.loadTable(e)}async namespaceExists(e){return this.namespaceOps.namespaceExists(e)}async tableExists(e){return this.tableOps.tableExists(e)}async createNamespaceIfNotExists(e,t){return this.namespaceOps.createNamespaceIfNotExists(e,t)}async createTableIfNotExists(e,t){return this.tableOps.createTableIfNotExists(e,t)}},Fy=class extends Error{constructor(e,t="storage",n,r){super(e),this.__isStorageError=!0,this.namespace=t,this.name=t==="vectors"?"StorageVectorsError":"StorageError",this.status=n,this.statusCode=r}};function Hy(e){return typeof e=="object"&&e!==null&&"__isStorageError"in e}var Zf=class extends Fy{constructor(e,t,n,r="storage"){super(e,r,t,n),this.name=r==="vectors"?"StorageVectorsApiError":"StorageApiError",this.status=t,this.statusCode=n}toJSON(){return{name:this.name,message:this.message,status:this.status,statusCode:this.statusCode}}},v7=class extends Fy{constructor(e,t,n="storage"){super(e,n),this.name=n==="vectors"?"StorageVectorsUnknownError":"StorageUnknownError",this.originalError=t}};const Cq=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),_q=e=>{if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},e1=e=>{if(Array.isArray(e))return e.map(n=>e1(n));if(typeof e=="function"||e!==Object(e))return e;const t={};return Object.entries(e).forEach(([n,r])=>{const o=n.replace(/([-_][a-z])/gi,i=>i.toUpperCase().replace(/[-_]/g,""));t[o]=e1(r)}),t},Aq=e=>!e||typeof e!="string"||e.length===0||e.length>100||e.trim()!==e||e.includes("/")||e.includes("\\")?!1:/^[\w!.\*'() &$@=;:+,?-]+$/.test(e);function Cp(e){"@babel/helpers - typeof";return Cp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Cp(e)}function Rq(e,t){if(Cp(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Cp(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Pq(e){var t=Rq(e,"string");return Cp(t)=="symbol"?t:t+""}function zq(e,t,n){return(t=Pq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?j5(Object(n),!0).forEach(function(r){zq(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}const S5=e=>{var t;return e.msg||e.message||e.error_description||(typeof e.error=="string"?e.error:(t=e.error)===null||t===void 0?void 0:t.message)||JSON.stringify(e)},Iq=async(e,t,n,r)=>{if(e&&typeof e=="object"&&"status"in e&&"ok"in e&&typeof e.status=="number"&&!(n!=null&&n.noResolveJson)){const o=e,i=o.status||500;if(typeof o.json=="function")o.json().then(a=>{const l=(a==null?void 0:a.statusCode)||(a==null?void 0:a.code)||i+"";t(new Zf(S5(a),i,l,r))}).catch(()=>{if(r==="vectors"){const a=i+"";t(new Zf(o.statusText||`HTTP ${i} error`,i,a,r))}else{const a=i+"";t(new Zf(o.statusText||`HTTP ${i} error`,i,a,r))}});else{const a=i+"";t(new Zf(o.statusText||`HTTP ${i} error`,i,a,r))}}else t(new v7(S5(e),e,r))},Oq=(e,t,n,r)=>{const o={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"||e==="HEAD"||!r?be(be({},o),n):(_q(r)?(o.headers=be({"Content-Type":"application/json"},t==null?void 0:t.headers),o.body=JSON.stringify(r)):o.body=r,t!=null&&t.duplex&&(o.duplex=t.duplex),be(be({},o),n))};async function Uu(e,t,n,r,o,i,a){return new Promise((l,c)=>{e(n,Oq(t,r,o,i)).then(d=>{if(!d.ok)throw d;if(r!=null&&r.noResolveJson)return d;if(a==="vectors"){const u=d.headers.get("content-type");if(d.headers.get("content-length")==="0"||d.status===204)return{};if(!u||!u.includes("application/json"))return{}}return d.json()}).then(d=>l(d)).catch(d=>Iq(d,c,r,a))})}function b7(e="storage"){return{get:async(t,n,r,o)=>Uu(t,"GET",n,r,o,void 0,e),post:async(t,n,r,o,i)=>Uu(t,"POST",n,o,i,r,e),put:async(t,n,r,o,i)=>Uu(t,"PUT",n,o,i,r,e),head:async(t,n,r,o)=>Uu(t,"HEAD",n,be(be({},r),{},{noResolveJson:!0}),o,void 0,e),remove:async(t,n,r,o,i)=>Uu(t,"DELETE",n,o,i,r,e)}}const Dq=b7("storage"),{get:_p,post:Ur,put:t1,head:Wq,remove:Vj}=Dq,Ys=b7("vectors");var ku=class{constructor(e,t={},n,r="storage"){this.shouldThrowOnError=!1,this.url=e,this.headers=t,this.fetch=Cq(n),this.namespace=r}throwOnError(){return this.shouldThrowOnError=!0,this}async handleOperation(e){var t=this;try{return{data:await e(),error:null}}catch(n){if(t.shouldThrowOnError)throw n;if(Hy(n))return{data:null,error:n};throw n}}},$q=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t}then(e,t){return this.execute().then(e,t)}async execute(){var e=this;try{return{data:(await e.downloadFn()).body,error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(Hy(t))return{data:null,error:t};throw t}}};let w7;w7=Symbol.toStringTag;var Lq=class{constructor(e,t){this.downloadFn=e,this.shouldThrowOnError=t,this[w7]="BlobDownloadBuilder",this.promise=null}asStream(){return new $q(this.downloadFn,this.shouldThrowOnError)}then(e,t){return this.getPromise().then(e,t)}catch(e){return this.getPromise().catch(e)}finally(e){return this.getPromise().finally(e)}getPromise(){return this.promise||(this.promise=this.execute()),this.promise}async execute(){var e=this;try{return{data:await(await e.downloadFn()).blob(),error:null}}catch(t){if(e.shouldThrowOnError)throw t;if(Hy(t))return{data:null,error:t};throw t}}};const Mq={limit:100,offset:0,sortBy:{column:"name",order:"asc"}},k5={cacheControl:"3600",contentType:"text/plain;charset=UTF-8",upsert:!1};var Bq=class extends ku{constructor(e,t={},n,r){super(e,t,r,"storage"),this.bucketId=n}async uploadOrUpdate(e,t,n,r){var o=this;return o.handleOperation(async()=>{let i;const a=be(be({},k5),r);let l=be(be({},o.headers),e==="POST"&&{"x-upsert":String(a.upsert)});const c=a.metadata;typeof Blob<"u"&&n instanceof Blob?(i=new FormData,i.append("cacheControl",a.cacheControl),c&&i.append("metadata",o.encodeMetadata(c)),i.append("",n)):typeof FormData<"u"&&n instanceof FormData?(i=n,i.has("cacheControl")||i.append("cacheControl",a.cacheControl),c&&!i.has("metadata")&&i.append("metadata",o.encodeMetadata(c))):(i=n,l["cache-control"]=`max-age=${a.cacheControl}`,l["content-type"]=a.contentType,c&&(l["x-metadata"]=o.toBase64(o.encodeMetadata(c))),(typeof ReadableStream<"u"&&i instanceof ReadableStream||i&&typeof i=="object"&&"pipe"in i&&typeof i.pipe=="function")&&!a.duplex&&(a.duplex="half")),r!=null&&r.headers&&(l=be(be({},l),r.headers));const d=o._removeEmptyFolders(t),u=o._getFinalPath(d),p=await(e=="PUT"?t1:Ur)(o.fetch,`${o.url}/object/${u}`,i,be({headers:l},a!=null&&a.duplex?{duplex:a.duplex}:{}));return{path:d,id:p.Id,fullPath:p.Key}})}async upload(e,t,n){return this.uploadOrUpdate("POST",e,t,n)}async uploadToSignedUrl(e,t,n,r){var o=this;const i=o._removeEmptyFolders(e),a=o._getFinalPath(i),l=new URL(o.url+`/object/upload/sign/${a}`);return l.searchParams.set("token",t),o.handleOperation(async()=>{let c;const d=be({upsert:k5.upsert},r),u=be(be({},o.headers),{"x-upsert":String(d.upsert)});return typeof Blob<"u"&&n instanceof Blob?(c=new FormData,c.append("cacheControl",d.cacheControl),c.append("",n)):typeof FormData<"u"&&n instanceof FormData?(c=n,c.append("cacheControl",d.cacheControl)):(c=n,u["cache-control"]=`max-age=${d.cacheControl}`,u["content-type"]=d.contentType),{path:i,fullPath:(await t1(o.fetch,l.toString(),c,{headers:u})).Key}})}async createSignedUploadUrl(e,t){var n=this;return n.handleOperation(async()=>{let r=n._getFinalPath(e);const o=be({},n.headers);t!=null&&t.upsert&&(o["x-upsert"]="true");const i=await Ur(n.fetch,`${n.url}/object/upload/sign/${r}`,{},{headers:o}),a=new URL(n.url+i.url),l=a.searchParams.get("token");if(!l)throw new Fy("No token returned by API");return{signedUrl:a.toString(),path:e,token:l}})}async update(e,t,n){return this.uploadOrUpdate("PUT",e,t,n)}async move(e,t,n){var r=this;return r.handleOperation(async()=>await Ur(r.fetch,`${r.url}/object/move`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,de
392stinationBucket:n==null?void 0:n.destinationBucket},{headers:r.headers}))}async copy(e,t,n){var r=this;return r.handleOperation(async()=>({path:(await Ur(r.fetch,`${r.url}/object/copy`,{bucketId:r.bucketId,sourceKey:e,destinationKey:t,destinationBucket:n==null?void 0:n.destinationBucket},{headers:r.headers})).Key}))}async createSignedUrl(e,t,n){var r=this;return r.handleOperation(async()=>{let o=r._getFinalPath(e),i=await Ur(r.fetch,`${r.url}/object/sign/${o}`,be({expiresIn:t},n!=null&&n.transform?{transform:n.transform}:{}),{headers:r.headers});const a=n!=null&&n.download?`&download=${n.download===!0?"":n.download}`:"";return{signedUrl:encodeURI(`${r.url}${i.signedURL}${a}`)}})}async createSignedUrls(e,t,n){var r=this;return r.handleOperation(async()=>{const o=await Ur(r.fetch,`${r.url}/object/sign/${r.bucketId}`,{expiresIn:t,paths:e},{headers:r.headers}),i=n!=null&&n.download?`&download=${n.download===!0?"":n.download}`:"";return o.map(a=>be(be({},a),{},{signedUrl:a.signedURL?encodeURI(`${r.url}${a.signedURL}${i}`):null}))})}download(e,t){const n=typeof(t==null?void 0:t.transform)<"u"?"render/image/authenticated":"object",r=this.transformOptsToQueryString((t==null?void 0:t.transform)||{}),o=r?`?${r}`:"",i=this._getFinalPath(e),a=()=>_p(this.fetch,`${this.url}/${n}/${i}${o}`,{headers:this.headers,noResolveJson:!0});return new Lq(a,this.shouldThrowOnError)}async info(e){var t=this;const n=t._getFinalPath(e);return t.handleOperation(async()=>e1(await _p(t.fetch,`${t.url}/object/info/${n}`,{headers:t.headers})))}async exists(e){var t=this;const n=t._getFinalPath(e);try{return await Wq(t.fetch,`${t.url}/object/${n}`,{headers:t.headers}),{data:!0,error:null}}catch(r){if(t.shouldThrowOnError)throw r;if(Hy(r)&&r instanceof v7){const o=r.originalError;if([400,404].includes(o==null?void 0:o.status))return{data:!1,error:r}}throw r}}getPublicUrl(e,t){const n=this._getFinalPath(e),r=[],o=t!=null&&t.download?`download=${t.download===!0?"":t.download}`:"";o!==""&&r.push(o);const i=typeof(t==null?void 0:t.transform)<"u"?"render/image":"object",a=this.transformOptsToQueryString((t==null?void 0:t.transform)||{});a!==""&&r.push(a);let l=r.join("&");return l!==""&&(l=`?${l}`),{data:{publicUrl:encodeURI(`${this.url}/${i}/public/${n}${l}`)}}}async remove(e){var t=this;return t.handleOperation(async()=>await Vj(t.fetch,`${t.url}/object/${t.bucketId}`,{prefixes:e},{headers:t.headers}))}async list(e,t,n){var r=this;return r.handleOperation(async()=>{const o=be(be(be({},Mq),t),{},{prefix:e||""});return await Ur(r.fetch,`${r.url}/object/list/${r.bucketId}`,o,{headers:r.headers},n)})}async listV2(e,t){var n=this;return n.handleOperation(async()=>{const r=be({},e);return await Ur(n.fetch,`${n.url}/object/list-v2/${n.bucketId}`,r,{headers:n.headers},t)})}encodeMetadata(e){return JSON.stringify(e)}toBase64(e){return typeof Buffer<"u"?Buffer.from(e).toString("base64"):btoa(e)}_getFinalPath(e){return`${this.bucketId}/${e.replace(/^\/+/,"")}`}_removeEmptyFolders(e){return e.replace(/^\/|\/$/g,"").replace(/\/+/g,"/")}transformOptsToQueryString(e){const t=[];return e.width&&t.push(`width=${e.width}`),e.height&&t.push(`height=${e.height}`),e.resize&&t.push(`resize=${e.resize}`),e.format&&t.push(`format=${e.format}`),e.quality&&t.push(`quality=${e.quality}`),t.join("&")}};const Fq="2.93.3",uf={"X-Client-Info":`storage-js/${Fq}`};var Hq=class extends ku{constructor(e,t={},n,r){const o=new URL(e);r!=null&&r.useNewHostname&&/supabase\.(co|in|red)$/.test(o.hostname)&&!o.hostname.includes("storage.supabase.")&&(o.hostname=o.hostname.replace("supabase.","storage.supabase."));const i=o.href.replace(/\/$/,""),a=be(be({},uf),t);super(i,a,n,"storage")}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=t.listBucketOptionsToQueryString(e);return await _p(t.fetch,`${t.url}/bucket${n}`,{headers:t.headers})})}async getBucket(e){var t=this;return t.handleOperation(async()=>await _p(t.fetch,`${t.url}/bucket/${e}`,{headers:t.headers}))}async createBucket(e,t={public:!1}){var n=this;return n.handleOperation(async()=>await Ur(n.fetch,`${n.url}/bucket`,{id:e,name:e,type:t.type,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async updateBucket(e,t){var n=this;return n.handleOperation(async()=>await t1(n.fetch,`${n.url}/bucket/${e}`,{id:e,name:e,public:t.public,file_size_limit:t.fileSizeLimit,allowed_mime_types:t.allowedMimeTypes},{headers:n.headers}))}async emptyBucket(e){var t=this;return t.handleOperation(async()=>await Ur(t.fetch,`${t.url}/bucket/${e}/empty`,{},{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Vj(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}listBucketOptionsToQueryString(e){const t={};return e&&("limit"in e&&(t.limit=String(e.limit)),"offset"in e&&(t.offset=String(e.offset)),e.search&&(t.search=e.search),e.sortColumn&&(t.sortColumn=e.sortColumn),e.sortOrder&&(t.sortOrder=e.sortOrder)),Object.keys(t).length>0?"?"+new URLSearchParams(t).toString():""}},Vq=class extends ku{constructor(e,t={},n){const r=e.replace(/\/$/,""),o=be(be({},uf),t);super(r,o,n,"storage")}async createBucket(e){var t=this;return t.handleOperation(async()=>await Ur(t.fetch,`${t.url}/bucket`,{name:e},{headers:t.headers}))}async listBuckets(e){var t=this;return t.handleOperation(async()=>{const n=new URLSearchParams;(e==null?void 0:e.limit)!==void 0&&n.set("limit",e.limit.toString()),(e==null?void 0:e.offset)!==void 0&&n.set("offset",e.offset.toString()),e!=null&&e.sortColumn&&n.set("sortColumn",e.sortColumn),e!=null&&e.sortOrder&&n.set("sortOrder",e.sortOrder),e!=null&&e.search&&n.set("search",e.search);const r=n.toString(),o=r?`${t.url}/bucket?${r}`:`${t.url}/bucket`;return await _p(t.fetch,o,{headers:t.headers})})}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Vj(t.fetch,`${t.url}/bucket/${e}`,{},{headers:t.headers}))}from(e){var t=this;if(!Aq(e))throw new Fy("Invalid bucket name: File, folder, and bucket names must follow AWS object key naming guidelines and should avoid the use of any other characters.");const n=new Eq({baseUrl:this.url,catalogName:e,auth:{type:"custom",getHeaders:async()=>t.headers},fetch:this.fetch}
392),r=this.shouldThrowOnError;return new Proxy(n,{get(o,i){const a=o[i];return typeof a!="function"?a:async(...l)=>{try{return{data:await a.apply(o,l),error:null}}catch(c){if(r)throw c;return{data:null,error:c}}}}})}},Uq=class extends ku{constructor(e,t={},n){const r=e.replace(/\/$/,""),o=be(be({},uf),{},{"Content-Type":"application/json"},t);super(r,o,n,"vectors")}async createIndex(e){var t=this;return t.handleOperation(async()=>await Ys.post(t.fetch,`${t.url}/CreateIndex`,e,{headers:t.headers})||{})}async getIndex(e,t){var n=this;return n.handleOperation(async()=>await Ys.post(n.fetch,`${n.url}/GetIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers}))}async listIndexes(e){var t=this;return t.handleOperation(async()=>await Ys.post(t.fetch,`${t.url}/ListIndexes`,e,{headers:t.headers}))}async deleteIndex(e,t){var n=this;return n.handleOperation(async()=>await Ys.post(n.fetch,`${n.url}/DeleteIndex`,{vectorBucketName:e,indexName:t},{headers:n.headers})||{})}},Gq=class extends ku{constructor(e,t={},n){const r=e.replace(/\/$/,""),o=be(be({},uf),{},{"Content-Type":"application/json"},t);super(r,o,n,"vectors")}async putVectors(e){var t=this;if(e.vectors.length<1||e.vectors.length>500)throw new Error("Vector batch size must be between 1 and 500 items");return t.handleOperation(async()=>await Ys.post(t.fetch,`${t.url}/PutVectors`,e,{headers:t.headers})||{})}async getVectors(e){var t=this;return t.handleOperation(async()=>await Ys.post(t.fetch,`${t.url}/GetVectors`,e,{headers:t.headers}))}async listVectors(e){var t=this;if(e.segmentCount!==void 0){if(e.segmentCount<1||e.segmentCount>16)throw new Error("segmentCount must be between 1 and 16");if(e.segmentIndex!==void 0&&(e.segmentIndex<0||e.segmentIndex>=e.segmentCount))throw new Error(`segmentIndex must be between 0 and ${e.segmentCount-1}`)}return t.handleOperation(async()=>await Ys.post(t.fetch,`${t.url}/ListVectors`,e,{headers:t.headers}))}async queryVectors(e){var t=this;return t.handleOperation(async()=>await Ys.post(t.fetch,`${t.url}/QueryVectors`,e,{headers:t.headers}))}async deleteVectors(e){var t=this;if(e.keys.length<1||e.keys.length>500)throw new Error("Keys batch size must be between 1 and 500 items");return t.handleOperation(async()=>await Ys.post(t.fetch,`${t.url}/DeleteVectors`,e,{headers:t.headers})||{})}},Yq=class extends ku{constructor(e,t={},n){const r=e.replace(/\/$/,""),o=be(be({},uf),{},{"Content-Type":"application/json"},t);super(r,o,n,"vectors")}async createBucket(e){var t=this;return t.handleOperation(async()=>await Ys.post(t.fetch,`${t.url}/CreateVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}async getBucket(e){var t=this;return t.handleOperation(async()=>await Ys.post(t.fetch,`${t.url}/GetVectorBucket`,{vectorBucketName:e},{headers:t.headers}))}async listBuckets(e={}){var t=this;return t.handleOperation(async()=>await Ys.post(t.fetch,`${t.url}/ListVectorBuckets`,e,{headers:t.headers}))}async deleteBucket(e){var t=this;return t.handleOperation(async()=>await Ys.post(t.fetch,`${t.url}/DeleteVectorBucket`,{vectorBucketName:e},{headers:t.headers})||{})}},qq=class extends Yq{constructor(e,t={}){super(e,t.headers||{},t.fetch)}from(e){return new Kq(this.url,this.headers,e,this.fetch)}async createBucket(e){var t=()=>super.createBucket,n=this;return t().call(n,e)}async getBucket(e){var t=()=>super.getBucket,n=this;return t().call(n,e)}async listBuckets(e={}){var t=()=>super.listBuckets,n=this;return t().call(n,e)}async deleteBucket(e){var t=()=>super.deleteBucket,n=this;return t().call(n,e)}},Kq=class extends Uq{constructor(e,t,n,r){super(e,t,r),this.vectorBucketName=n}async createIndex(e){var t=()=>super.createIndex,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName}))}async listIndexes(e={}){var t=()=>super.listIndexes,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName}))}async getIndex(e){var t=()=>super.getIndex,n=this;return t().call(n,n.vectorBucketName,e)}async deleteIndex(e){var t=()=>super.deleteIndex,n=this;return t().call(n,n.vectorBucketName,e)}index(e){return new Zq(this.url,this.headers,this.vectorBucketName,e,this.fetch)}},Zq=class extends Gq{constructor(e,t,n,r,o){super(e,t,o),this.vectorBucketName=n,this.indexName=r}async putVectors(e){var t=()=>super.putVectors,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async getVectors(e){var t=()=>super.getVectors,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async listVectors(e={}){var t=()=>super.listVectors,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async queryVectors(e){var t=()=>super.queryVectors,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}async deleteVectors(e){var t=()=>super.deleteVectors,n=this;return t().call(n,be(be({},e),{},{vectorBucketName:n.vectorBucketName,indexName:n.indexName}))}},Qq=class extends Hq{constructor(e,t={},n,r){super(e,t,n,r)}from(e){return new Bq(this.url,this.headers,e,this.fetch)}get vectors(){return new qq(this.url+"/vector",{headers:this.headers,fetch:this.fetch})}get analytics(){return new Vq(this.url+"/iceberg",this.headers,this.fetch)}};const j7="2.93.3",Fc=30*1e3,n1=3,p0=n1*Fc,Jq="http://localhost:9999",Xq="supabase.auth.token",eK={"X-Client-Info":`gotrue-js/${j7}`},s1="X-Supabase-Api-Version",S7={"2024-01-01":{timestamp:Date.parse("2024-01-01T00:00:00.0Z"),name:"2024-01-01"}},tK=/^([a-z0-9_-]{4})*($|[a-z0-9_-]{3}$|[a-z0-9_-]{2}$)$/i,nK=10*60*1e3;
392class Ap extends Error{constructor(t,n,r){super(t),this.__isAuthError=!0,this.name="AuthError",this.status=n,this.code=r}}function he(e){return typeof e=="object"&&e!==null&&"__isAuthError"in e}class sK extends Ap{constructor(t,n,r){super(t,n,r),this.name="AuthApiError",this.status=n,this.code=r}}function rK(e){return he(e)&&e.name==="AuthApiError"}class wl extends Ap{constructor(t,n){super(t),this.name="AuthUnknownError",this.originalError=n}}class Oi extends Ap{constructor(t,n,r,o){super(t,r,o),this.name=n,this.status=r}}class Ls extends Oi{constructor(){super("Auth session missing!","AuthSessionMissingError",400,void 0)}}function f0(e){return he(e)&&e.name==="AuthSessionMissingError"}class mc extends Oi{constructor(){super("Auth session or user missing","AuthInvalidTokenResponseError",500,void 0)}}class Qf extends Oi{constructor(t){super(t,"AuthInvalidCredentialsError",400,void 0)}}class Jf extends Oi{constructor(t,n=null){super(t,"AuthImplicitGrantRedirectError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}function oK(e){return he(e)&&e.name==="AuthImplicitGrantRedirectError"}class T5 extends Oi{constructor(t,n=null){super(t,"AuthPKCEGrantCodeExchangeError",500,void 0),this.details=null,this.details=n}toJSON(){return{name:this.name,message:this.message,status:this.status,details:this.details}}}class iK extends Oi{constructor(){super("PKCE code verifier not found in storage. This can happen if the auth flow was initiated in a different browser or device, or if the storage was cleared. For SSR frameworks (Next.js, SvelteKit, etc.), use @supabase/ssr on both the server and client to store the code verifier in cookies.","AuthPKCECodeVerifierMissingError",400,"pkce_code_verifier_not_found")}}class r1 extends Oi{constructor(t,n){super(t,"AuthRetryableFetchError",n,void 0)}}function m0(e){return he(e)&&e.name==="AuthRetryableFetchError"}class N5 extends Oi{constructor(t,n,r){super(t,"AuthWeakPasswordError",n,"weak_password"),this.reasons=r}}class o1 extends Oi{constructor(t){super(t,"AuthInvalidJwtError",400,"invalid_jwt")}}const Vg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".split(""),E5=` 	
393\r=`.split(""),aK=(()=>{const e=new Array(128);for(let t=0;t<e.length;t+=1)e[t]=-1;for(let t=0;t<E5.length;t+=1)e[E5[t].charCodeAt(0)]=-2;for(let t=0;t<Vg.length;t+=1)e[Vg[t].charCodeAt(0)]=t;return e})();function C5(e,t,n){if(e!==null)for(t.queue=t.queue<<8|e,t.queuedBits+=8;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(Vg[r]),t.queuedBits-=6}else if(t.queuedBits>0)for(t.queue=t.queue<<6-t.queuedBits,t.queuedBits=6;t.queuedBits>=6;){const r=t.queue>>t.queuedBits-6&63;n(Vg[r]),t.queuedBits-=6}}function k7(e,t,n){const r=aK[e];if(r>-1)for(t.queue=t.queue<<6|r,t.queuedBits+=6;t.queuedBits>=8;)n(t.queue>>t.queuedBits-8&255),t.queuedBits-=8;else{if(r===-2)return;throw new Error(`Invalid Base64-URL character "${String.fromCharCode(e)}"`)}}function _5(e){const t=[],n=a=>{t.push(String.fromCodePoint(a))},r={utf8seq:0,codepoint:0},o={queue:0,queuedBits:0},i=a=>{dK(a,r,n)};for(let a=0;a<e.length;a+=1)k7(e.charCodeAt(a),o,i);return t.join("")}function lK(e,t){if(e<=127){t(e);return}else if(e<=2047){t(192|e>>6),t(128|e&63);return}else if(e<=65535){t(224|e>>12),t(128|e>>6&63),t(128|e&63);return}else if(e<=1114111){t(240|e>>18),t(128|e>>12&63),t(128|e>>6&63),t(128|e&63);return}throw new Error(`Unrecognized Unicode codepoint: ${e.toString(16)}`)}function cK(e,t){for(let n=0;n<e.length;n+=1){let r=e.charCodeAt(n);if(r>55295&&r<=56319){const o=(r-55296)*1024&65535;r=(e.charCodeAt(n+1)-56320&65535|o)+65536,n+=1}lK(r,t)}}function dK(e,t,n){if(t.utf8seq===0){if(e<=127){n(e);return}for(let r=1;r<6;r+=1)if(!(e>>7-r&1)){t.utf8seq=r;break}if(t.utf8seq===2)t.codepoint=e&31;else if(t.utf8seq===3)t.codepoint=e&15;else if(t.utf8seq===4)t.codepoint=e&7;else throw new Error("Invalid UTF-8 sequence");t.utf8seq-=1}else if(t.utf8seq>0){if(e<=127)throw new Error("Invalid UTF-8 sequence");t.codepoint=t.codepoint<<6|e&63,t.utf8seq-=1,t.utf8seq===0&&n(t.codepoint)}}function Ed(e){const t=[],n={queue:0,queuedBits:0},r=o=>{t.push(o)};for(let o=0;o<e.length;o+=1)k7(e.charCodeAt(o),n,r);return new Uint8Array(t)}function uK(e){const t=[];return cK(e,n=>t.push(n)),new Uint8Array(t)}function Cl(e){const t=[],n={queue:0,queuedBits:0},r=o=>{t.push(o)};return e.forEach(o=>C5(o,n,r)),C5(null,n,r),t.join("")}function hK(e){return Math.round(Date.now()/1e3)+e}function pK(){return Symbol("auth-callback")}const zn=()=>typeof window<"u"&&typeof document<"u",rl={tested:!1,writable:!1},T7=()=>
393{if(!zn())return!1;try{if(typeof globalThis.localStorage!="object")return!1}catch{return!1}if(rl.tested)return rl.writable;const e=`lswt-${Math.random()}${Math.random()}`;try{globalThis.localStorage.setItem(e,e),globalThis.localStorage.removeItem(e),rl.tested=!0,rl.writable=!0}catch{rl.tested=!0,rl.writable=!1}return rl.writable};function fK(e){const t={},n=new URL(e);if(n.hash&&n.hash[0]==="#")try{new URLSearchParams(n.hash.substring(1)).forEach((o,i)=>{t[i]=o})}catch{}return n.searchParams.forEach((r,o)=>{t[o]=r}),t}const N7=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),mK=e=>typeof e=="object"&&e!==null&&"status"in e&&"ok"in e&&"json"in e&&typeof e.json=="function",Hc=async(e,t,n)=>{await e.setItem(t,JSON.stringify(n))},ol=async(e,t)=>{const n=await e.getItem(t);if(!n)return null;try{return JSON.parse(n)}catch{return n}},An=async(e,t)=>{await e.removeItem(t)};class Vy{constructor(){this.promise=new Vy.promiseConstructor((t,n)=>{this.resolve=t,this.reject=n})}}Vy.promiseConstructor=Promise;function Xf(e){const t=e.split(".");if(t.length!==3)throw new o1("Invalid JWT structure");for(let r=0;r<t.length;r++)if(!tK.test(t[r]))throw new o1("JWT not in base64url format");return{header:JSON.parse(_5(t[0])),payload:JSON.parse(_5(t[1])),signature:Ed(t[2]),raw:{header:t[0],payload:t[1]}}}async function gK(e){return await new Promise(t=>{setTimeout(()=>t(null),e)})}function yK(e,t){return new Promise((r,o)=>{(async()=>{for(let i=0;i<1/0;i++)try{const a=await e(i);if(!t(i,null,a)){r(a);return}}catch(a){if(!t(i,a)){o(a);return}}})()})}function xK(e){return("0"+e.toString(16)).substr(-2)}function vK(){const t=new Uint32Array(56);if(typeof crypto>"u"){const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~",r=n.length;let o="";for(let i=0;i<56;i++)o+=n.charAt(Math.floor(Math.random()*r));return o}return crypto.getRandomValues(t),Array.from(t,xK).join("")}async function bK(e){const n=new TextEncoder().encode(e),r=await crypto.subtle.digest("SHA-256",n),o=new Uint8Array(r);return Array.from(o).map(i=>String.fromCharCode(i)).join("")}async function wK(e){if(!(typeof crypto<"u"&&typeof crypto.subtle<"u"&&typeof TextEncoder<"u"))return console.warn("WebCrypto API is not supported. Code challenge method will default to use plain instead of sha256."),e;const n=await bK(e);return btoa(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}async function gc(e,t,n=!1){const r=vK();let o=r;n&&(o+="/PASSWORD_RECOVERY"),await Hc(e,`${t}-code-verifier`,o);const i=await wK(r);return[i,r===i?"plain":"s256"]}const jK=/^2[0-9]{3}-(0[1-9]|1[0-2])-(0[1-9]|1[0-9]|2[0-9]|3[0-1])$/i;function SK(e){const t=e.headers.get(s1);if(!t||!t.match(jK))return null;try{return new Date(`${t}T00:00:00.0Z`)}catch{return null}}function kK(e){if(!e)throw new Error("Missing exp claim");const t=Math.floor(Date.now()/1e3);if(e<=t)throw new Error("JWT has expired")}function TK(e){switch(e){case"RS256":return{name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};case"ES256":return{name:"ECDSA",namedCurve:"P-256",hash:{name:"SHA-256"}};default:throw new Error("Invalid alg claim")}}const NK=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;function yc(e){if(!NK.test(e))throw new Error("@supabase/auth-js: Expected parameter to be UUID but is not")}function g0(){const e={};return new Proxy(e,{get:(t,n)=>{if(n==="__isUserNotAvailableProxy")return!0;if(typeof n=="symbol"){const r=n.toString();if(r==="Symbol(Symbol.toPrimitive)"||r==="Symbol(Symbol.toStringTag)"||r==="Symbol(util.inspect.custom)")return}throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Accessing the "${n}" property of the session object is not supported. Please use getUser() instead.`)},set:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Setting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)},deleteProperty:(t,n)=>{throw new Error(`@supabase/auth-js: client was created with userStorage option and there was no user stored in the user storage. Deleting the "${n}" property of the session object is not supported. Please use getUser() to fetch a user object you can manipulate.`)}})}function EK(e,t){return new Proxy(e,{get:(n,r,o)=>{if(r==="__isInsecureUserWarningProxy")return!0;
393if(typeof r=="symbol"){const i=r.toString();if(i==="Symbol(Symbol.toPrimitive)"||i==="Symbol(Symbol.toStringTag)"||i==="Symbol(util.inspect.custom)"||i==="Symbol(nodejs.util.inspect.custom)")return Reflect.get(n,r,o)}return!t.value&&typeof r=="string"&&(console.warn("Using the user object as returned from supabase.auth.getSession() or from some supabase.auth.onAuthStateChange() events could be insecure! This value comes directly from the storage medium (usually cookies on the server) and may not be authentic. Use supabase.auth.getUser() instead which authenticates the data by contacting the Supabase Auth server."),t.value=!0),Reflect.get(n,r,o)}})}function A5(e){return JSON.parse(JSON.stringify(e))}const gl=e=>e.msg||e.message||e.error_description||e.error||JSON.stringify(e),CK=[502,503,504];async function R5(e){var t;if(!mK(e))throw new r1(gl(e),0);if(CK.includes(e.status))throw new r1(gl(e),e.status);let n;try{n=await e.json()}catch(i){throw new wl(gl(i),i)}let r;const o=SK(e);if(o&&o.getTime()>=S7["2024-01-01"].timestamp&&typeof n=="object"&&n&&typeof n.code=="string"?r=n.code:typeof n=="object"&&n&&typeof n.error_code=="string"&&(r=n.error_code),r){if(r==="weak_password")throw new N5(gl(n),e.status,((t=n.weak_password)===null||t===void 0?void 0:t.reasons)||[]);if(r==="session_not_found")throw new Ls}else if(typeof n=="object"&&n&&typeof n.weak_password=="object"&&n.weak_password&&Array.isArray(n.weak_password.reasons)&&n.weak_password.reasons.length&&n.weak_password.reasons.reduce((i,a)=>i&&typeof a=="string",!0))throw new N5(gl(n),e.status,n.weak_password.reasons);throw new sK(gl(n),e.status||500,r)}const _K=(e,t,n,r)=>{const o={method:e,headers:(t==null?void 0:t.headers)||{}};return e==="GET"?o:(o.headers=Object.assign({"Content-Type":"application/json;charset=UTF-8"},t==null?void 0:t.headers),o.body=JSON.stringify(r),Object.assign(Object.assign({},o),n))};async function ve(e,t,n,r){var o;const i=Object.assign({},r==null?void 0:r.headers);i[s1]||(i[s1]=S7["2024-01-01"].name),r!=null&&r.jwt&&(i.Authorization=`Bearer ${r.jwt}`);const a=(o=r==null?void 0:r.query)!==null&&o!==void 0?o:{};r!=null&&r.redirectTo&&(a.redirect_to=r.redirectTo);const l=Object.keys(a).length?"?"+new URLSearchParams(a).toString():"",c=await AK(e,t,n+l,{headers:i,noResolveJson:r==null?void 0:r.noResolveJson},{},r==null?void 0:r.body);return r!=null&&r.xform?r==null?void 0:r.xform(c):{data:Object.assign({},c),error:null}}async function AK(e,t,n,r,o,i){const a=_K(t,r,o,i);let l;try{l=await e(n,Object.assign({},a))}catch(c){throw console.error(c),new r1(gl(c),0)}if(l.ok||await R5(l),r!=null&&r.noResolveJson)return l;try{return await l.json()}catch(c){await R5(c)}}function $r(e){var t;let n=null;zK(e)&&(n=Object.assign({},e),e.expires_at||(n.expires_at=hK(e.expires_in)));const r=(t=e.user)!==null&&t!==void 0?t:e;return{data:{session:n,user:r},error:null}}function P5(e){const t=$r(e);return!t.error&&e.weak_password&&typeof e.weak_password=="object"&&Array.isArray(e.weak_password.reasons)&&e.weak_password.reasons.length&&e.weak_password.message&&typeof e.weak_password.message=="string"&&e.weak_password.reasons.reduce((n,r)=>n&&typeof r=="string",!0)&&(t.data.weak_password=e.weak_password),t}function aa(e){var t;return{data:{user:(t=e.user)!==null&&t!==void 0?t:e},error:null}}function RK(e){return{data:e,error:null}}function PK(e){const{action_link:t,email_otp:n,hashed_token:r,redirect_to:o,verification_type:i}=e,a=Su(e,["action_link","email_otp","hashed_token","redirect_to","verification_type"]),l={action_link:t,email_otp:n,hashed_token:r,redirect_to:o,verification_type:i},c=Object.assign({},a);return{data:{properties:l,user:c},error:null}}function z5(e){return e}function zK(e){return e.access_token&&e.refresh_token&&e.expires_in}const y0=["global","local","others"];class IK{constructor({url:t="",headers:n={},fetch:r}){this.url=t,this.headers=n,this.fetch=N7(r),this.mfa={listFactors:this._listFactors.bind(this),deleteFactor:this._deleteFactor.bind(this)},this.oauth={listClients:this._listOAuthClients.bind(this),createClient:this._createOAuthClient.bind(this),getClient:this._getOAuthClient.bind(this),updateClient:this._updateOAuthClient.bind(this),deleteClient:this._deleteOAuthClient.bind(this),regenerateClientSecret:this._regenerateOAuthClientSecret.bind(this)}}async signOut(t,n=y0[0]){if(y0.indexOf(n)<0)throw new Error(`@supabase/auth-js: Parameter scope must be one of ${y0.join(", ")}`);try{return await ve(this.fetch,"POST",`${this.url}/logout?scope=${n}`,{headers:this.headers,jwt:t,noResolveJson:!0}),{data:null,error:null}}catch(r){if(he(r))return{data:null,error:r};throw r}}async inviteUserByEmail(t,n={}){try{return await ve(this.fetch,"POST",`${this.url}/invite`,{body:{email:t,data:n.data},headers:this.headers,redirectTo:n.redirectTo,xform:aa})}catch(r){if(he(r))return{data:{user:null},error:r};throw r}}async generateLink(t){try{const{options:n}=t,r=Su(t,["options"]),o=Object.assign(Object.assign({},r),n);return"newEmail"in r&&(o.new_email=r==null?void 0:r.newEmail,delete o.newEmail),await ve(this.fetch,"POST",`${this.url}/admin/generate_link`,{body:o,headers:this.headers,xform:PK,redirectTo:n==null?void 0:n.redirectTo})}catch(n){if(he(n))return{data:{properties:null,user:null},error:n};throw n}}async createUser(t){try{return await ve(this.fetch,"POST",`${this.url}/admin/users`,{body:t,headers:this.headers,xform:aa})}catch(n){if(he(n))return{data:{user:null},error:n};throw n}}async listUsers(t){var n,r,o,i,a,l,c;try{const d={nextPage:null,lastPage:0,total:0},u=await ve(this.fetch,"GET",`${this.url}/admin/users`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(i=(o=t==null?void 0:t.perPage)===null||o===void 0?void 0:o.toString())!==null&&i!==void 0?i:""},xform:z5});if(u.error)throw u.error;const p=await u.json(),f=(a=u.headers.get("x-total-count"))!==null&&a!==void 0?a:0,h=(c=(l=u.headers.get("link"))===null||l===void 0?void 0:l.split(","))!==null&&c!==void 0?c:[];return h.length>
3930&&(h.forEach(g=>{const m=parseInt(g.split(";")[0].split("=")[1].substring(0,1)),b=JSON.parse(g.split(";")[1].split("=")[1]);d[`${b}Page`]=m}),d.total=parseInt(f)),{data:Object.assign(Object.assign({},p),d),error:null}}catch(d){if(he(d))return{data:{users:[]},error:d};throw d}}async getUserById(t){yc(t);try{return await ve(this.fetch,"GET",`${this.url}/admin/users/${t}`,{headers:this.headers,xform:aa})}catch(n){if(he(n))return{data:{user:null},error:n};throw n}}async updateUserById(t,n){yc(t);try{return await ve(this.fetch,"PUT",`${this.url}/admin/users/${t}`,{body:n,headers:this.headers,xform:aa})}catch(r){if(he(r))return{data:{user:null},error:r};throw r}}async deleteUser(t,n=!1){yc(t);try{return await ve(this.fetch,"DELETE",`${this.url}/admin/users/${t}`,{headers:this.headers,body:{should_soft_delete:n},xform:aa})}catch(r){if(he(r))return{data:{user:null},error:r};throw r}}async _listFactors(t){yc(t.userId);try{const{data:n,error:r}=await ve(this.fetch,"GET",`${this.url}/admin/users/${t.userId}/factors`,{headers:this.headers,xform:o=>({data:{factors:o},error:null})});return{data:n,error:r}}catch(n){if(he(n))return{data:null,error:n};throw n}}async _deleteFactor(t){yc(t.userId),yc(t.id);try{return{data:await ve(this.fetch,"DELETE",`${this.url}/admin/users/${t.userId}/factors/${t.id}`,{headers:this.headers}),error:null}}catch(n){if(he(n))return{data:null,error:n};throw n}}async _listOAuthClients(t){var n,r,o,i,a,l,c;try{const d={nextPage:null,lastPage:0,total:0},u=await ve(this.fetch,"GET",`${this.url}/admin/oauth/clients`,{headers:this.headers,noResolveJson:!0,query:{page:(r=(n=t==null?void 0:t.page)===null||n===void 0?void 0:n.toString())!==null&&r!==void 0?r:"",per_page:(i=(o=t==null?void 0:t.perPage)===null||o===void 0?void 0:o.toString())!==null&&i!==void 0?i:""},xform:z5});if(u.error)throw u.error;const p=await u.json(),f=(a=u.headers.get("x-total-count"))!==null&&a!==void 0?a:0,h=(c=(l=u.headers.get("link"))===null||l===void 0?void 0:l.split(","))!==null&&c!==void 0?c:[];return h.length>0&&(h.forEach(g=>{const m=parseInt(g.split(";")[0].split("=")[1].substring(0,1)),b=JSON.parse(g.split(";")[1].split("=")[1]);d[`${b}Page`]=m}),d.total=parseInt(f)),{data:Object.assign(Object.assign({},p),d),error:null}}catch(d){if(he(d))return{data:{clients:[]},error:d};throw d}}async _createOAuthClient(t){try{return await ve(this.fetch,"POST",`${this.url}/admin/oauth/clients`,{body:t,headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(he(n))return{data:null,error:n};throw n}}async _getOAuthClient(t){try{return await ve(this.fetch,"GET",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(he(n))return{data:null,error:n};throw n}}async _updateOAuthClient(t,n){try{return await ve(this.fetch,"PUT",`${this.url}/admin/oauth/clients/${t}`,{body:n,headers:this.headers,xform:r=>({data:r,error:null})})}catch(r){if(he(r))return{data:null,error:r};throw r}}async _deleteOAuthClient(t){try{return await ve(this.fetch,"DELETE",`${this.url}/admin/oauth/clients/${t}`,{headers:this.headers,noResolveJson:!0}),{data:null,error:null}}catch(n){if(he(n))return{data:null,error:n};throw n}}async _regenerateOAuthClientSecret(t){try{return await ve(this.fetch,"POST",`${this.url}/admin/oauth/clients/${t}/regenerate_secret`,{headers:this.headers,xform:n=>({data:n,error:null})})}catch(n){if(he(n))return{data:null,error:n};throw n}}}function I5(e={}){return{getItem:t=>e[t]||null,setItem:(t,n)=>{e[t]=n},removeItem:t=>{delete e[t]}}}const xc={debug:!!(globalThis&&T7()&&globalThis.localStorage&&globalThis.localStorage.getItem("supabase.gotrue-js.locks.debug")==="true")};class E7 extends Error{constructor(t){super(t),this.isAcquireTimeout=!0}}class OK extends E7{}async function DK(e,t,n){xc.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquire lock",e,t);const r=new globalThis.AbortController;return t>0&&setTimeout(()=>{r.abort(),xc.debug&&console.log("@supabase/gotrue-js: navigatorLock acquire timed out",e)},t),await Promise.resolve().then(()=>globalThis.navigator.locks.request(e,t===0?{mode:"exclusive",ifAvailable:!0}:{mode:"exclusive",signal:r.signal},async o=>{if(o){xc.debug&&console.log("@supabase/gotrue-js: navigatorLock: acquired",e,o.name);try{return await n()}finally{xc.debug&&console.log("@supabase/gotrue-js: navigatorLock: released",e,o.name)}}else{if(t===0)throw xc.debug&&console.log("@supabase/gotrue-js: navigatorLock: not immediately available",e),new OK(`Acquiring an exclusive Navigator LockManager lock "${e}" immediately failed`);if(xc.debug)try{const i=await globalThis.navigator.locks.query();console.log("@supabase/gotrue-js: Navigator LockManager state",JSON.stringify(i,null,"  "))}catch(i){console.warn("@supabase/gotrue-js: Error when querying Navigator LockManager state",i)}return console.warn("@supabase/gotrue-js: Navigator LockManager returned a null lock when using #request without ifAvailable set to true, it appears this browser is not following the LockManager spec https://developer.mozilla.org/en-US/docs/Web/API/LockManager/request"),await n()}}))}function WK(){if(typeof globalThis!="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{typeof self<"u"&&(self.globalThis=self)}}function C7(e){if(!/^0x[a-fA-F0-9]{40}$/.test(e))throw new Error(`@supabase/auth-js: Address "${e}
393" is invalid.`);return e.toLowerCase()}function $K(e){return parseInt(e,16)}function LK(e){const t=new TextEncoder().encode(e);return"0x"+Array.from(t,r=>r.toString(16).padStart(2,"0")).join("")}function MK(e){var t;const{chainId:n,domain:r,expirationTime:o,issuedAt:i=new Date,nonce:a,notBefore:l,requestId:c,resources:d,scheme:u,uri:p,version:f}=e;{if(!Number.isInteger(n))throw new Error(`@supabase/auth-js: Invalid SIWE message field "chainId". Chain ID must be a EIP-155 chain ID. Provided value: ${n}`);if(!r)throw new Error('@supabase/auth-js: Invalid SIWE message field "domain". Domain must be provided.');if(a&&a.length<8)throw new Error(`@supabase/auth-js: Invalid SIWE message field "nonce". Nonce must be at least 8 characters. Provided value: ${a}`);if(!p)throw new Error('@supabase/auth-js: Invalid SIWE message field "uri". URI must be provided.');if(f!=="1")throw new Error(`@supabase/auth-js: Invalid SIWE message field "version". Version must be '1'. Provided value: ${f}`);if(!((t=e.statement)===null||t===void 0)&&t.includes(`
394`))throw new Error(`@supabase/auth-js: Invalid SIWE message field "statement". Statement must not include '\\n'. Provided value: ${e.statement}`)}const h=C7(e.address),g=u?`${u}://${r}`:r,m=e.statement?`${e.statement}
395`:"",b=`${g} wants you to sign in with your Ethereum account:
396${h}
397
398${m}`;let v=`URI: ${p}
399Version: ${f}
400Chain ID: ${n}${a?`
401Nonce: ${a}`:""}
402Issued At: ${i.toISOString()}`;if(o&&(v+=`
403Expiration Time: ${o.toISOString()}`),l&&(v+=`
404Not Before: ${l.toISOString()}`),c&&(v+=`
405Request ID: ${c}`),d){let y=`
406Resources:`;for(const w of d){if(!w||typeof w!="string")throw new Error(`@supabase/auth-js: Invalid SIWE message field "resources". Every resource must be a valid string. Provided value: ${w}`);y+=`
407- ${w}`}v+=y}return`${b}
408${v}`}class Qt extends Error{constructor({message:t,code:n,cause:r,name:o}){var i;super(t,{cause:r}),this.__isWebAuthnError=!0,this.name=(i=o??(r instanceof Error?r.name:void 0))!==null&&i!==void 0?i:"Unknown Error",this.code=n}}class Ug extends Qt{constructor(t,n){super({code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:n,message:t}),this.name="WebAuthnUnknownError",this.originalError=n}}function BK({error:e,options:t}){var n,r,o;const{publicKey:i}=t;if(!i)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Qt({message:"Registration ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else if(e.name==="ConstraintError"){if(((n=i.authenticatorSelection)===null||n===void 0?void 0:n.requireResidentKey)===!0)return new Qt({message:"Discoverable credentials were required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_DISCOVERABLE_CREDENTIAL_SUPPORT",cause:e});if(t.mediation==="conditional"&&((r=i.authenticatorSelection)===null||r===void 0?void 0:r.userVerification)==="required")return new Qt({message:"User verification was required during automatic registration but it could not be performed",code:"ERROR_AUTO_REGISTER_USER_VERIFICATION_FAILURE",cause:e});if(((o=i.authenticatorSelection)===null||o===void 0?void 0:o.userVerification)==="required")return new Qt({message:"User verification was required but no available authenticator supported it",code:"ERROR_AUTHENTICATOR_MISSING_USER_VERIFICATION_SUPPORT",cause:e})}else{if(e.name==="InvalidStateError")return new Qt({message:"The authenticator was previously registered",code:"ERROR_AUTHENTICATOR_PREVIOUSLY_REGISTERED",cause:e});if(e.name==="NotAllowedError")return new Qt({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="NotSupportedError")return i.pubKeyCredParams.filter(l=>l.type==="public-key").length===0?new Qt({message:'No entry in pubKeyCredParams was of type "public-key"',code:"ERROR_MALFORMED_PUBKEYCREDPARAMS",cause:e}):new Qt({message:"No available authenticator supported any of the specified pubKeyCredParams algorithms",code:"ERROR_AUTHENTICATOR_NO_SUPPORTED_PUBKEYCREDPARAMS_ALG",cause:e});if(e.name==="SecurityError"){const a=window.location.hostname;if(_7(a)){if(i.rp.id!==a)return new Qt({message:`The RP ID "${i.rp.id}
408" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Qt({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="TypeError"){if(i.user.id.byteLength<1||i.user.id.byteLength>64)return new Qt({message:"User ID was not between 1 and 64 characters",code:"ERROR_INVALID_USER_ID_LENGTH",cause:e})}else if(e.name==="UnknownError")return new Qt({message:"The authenticator was unable to process the specified options, or could not create a new credential",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new Qt({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}function FK({error:e,options:t}){const{publicKey:n}=t;if(!n)throw Error("options was missing required publicKey property");if(e.name==="AbortError"){if(t.signal instanceof AbortSignal)return new Qt({message:"Authentication ceremony was sent an abort signal",code:"ERROR_CEREMONY_ABORTED",cause:e})}else{if(e.name==="NotAllowedError")return new Qt({message:e.message,code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e});if(e.name==="SecurityError"){const r=window.location.hostname;if(_7(r)){if(n.rpId!==r)return new Qt({message:`The RP ID "${n.rpId}" is invalid for this domain`,code:"ERROR_INVALID_RP_ID",cause:e})}else return new Qt({message:`${window.location.hostname} is an invalid domain`,code:"ERROR_INVALID_DOMAIN",cause:e})}else if(e.name==="UnknownError")return new Qt({message:"The authenticator was unable to process the specified options, or could not create a new assertion signature",code:"ERROR_AUTHENTICATOR_GENERAL_ERROR",cause:e})}return new Qt({message:"a Non-Webauthn related error has occurred",code:"ERROR_PASSTHROUGH_SEE_CAUSE_PROPERTY",cause:e})}class HK{createNewAbortSignal(){if(this.controller){const n=new Error("Cancelling existing WebAuthn API call for new one");n.name="AbortError",this.controller.abort(n)}const t=new AbortController;return this.controller=t,t.signal}cancelCeremony(){if(this.controller){const t=new Error("Manually cancelling existing WebAuthn API call");t.name="AbortError",this.controller.abort(t),this.controller=void 0}}}const VK=new HK;function UK(e){if(!e)throw new Error("Credential creation options are required");if(typeof PublicKeyCredential<"u"&&"parseCreationOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseCreationOptionsFromJSON=="function")return PublicKeyCredential.parseCreationOptionsFromJSON(e);const{challenge:t,user:n,excludeCredentials:r}=e,o=Su(e,["challenge","user","excludeCredentials"]),i=Ed(t).buffer,a=Object.assign(Object.assign({},n),{id:Ed(n.id).buffer}),l=Object.assign(Object.assign({},o),{challenge:i,user:a});if(r&&r.length>0){l.excludeCredentials=new Array(r.length);for(let c=0;c<r.length;c++){const d=r[c];l.excludeCredentials[c]=Object.assign(Object.assign({},d),{id:Ed(d.id).buffer,type:d.type||"public-key",transports:d.transports})}}return l}function GK(e){if(!e)throw new Error("Credential request options are required");if(typeof PublicKeyCredential<"u"&&"parseRequestOptionsFromJSON"in PublicKeyCredential&&typeof PublicKeyCredential.parseRequestOptionsFromJSON=="function")return PublicKeyCredential.parseRequestOptionsFromJSON(e);const{challenge:t,allowCredentials:n}=e,r=Su(e,["challenge","allowCredentials"]),o=Ed(t).buffer,i=Object.assign(Object.assign({},r),{challenge:o});if(n&&n.length>0){i.allowCredentials=new Array(n.length);for(let a=0;a<n.length;a++){const l=n[a];i.allowCredentials[a]=Object.assign(Object.assign({},l),{id:Ed(l.id).buffer,type:l.type||"public-key",transports:l.transports})}}return i}function YK(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e;return{id:e.id,rawId:e.id,response:{attestationObject:Cl(new Uint8Array(e.response.attestationObject)),clientDataJSON:Cl(new Uint8Array(e.response.clientDataJSON))},type:"public-key",clientExtensionResults:e.getClientExtensionResults(),authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function qK(e){var t;if("toJSON"in e&&typeof e.toJSON=="function")return e.toJSON();const n=e,r=e.getClientExtensionResults(),o=e.response;return{id:e.id,rawId:e.id,response:{authenticatorData:Cl(new Uint8Array(o.authenticatorData)),clientDataJSON:Cl(new Uint8Array(o.clientDataJSON)),signature:Cl(new Uint8Array(o.signature)),userHandle:o.userHandle?Cl(new Uint8Array(o.userHandle)):void 0},type:"public-key",clientExtensionResults:r,authenticatorAttachment:(t=n.authenticatorAttachment)!==null&&t!==void 0?t:void 0}}function _7(e){return e==="localhost"||/^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$/i.test(e)}function O5(){var e,t;return!!(zn()&&"PublicKeyCredential"in window&&window.PublicKeyCredential&&"credentials"in navigator&&typeof((e=navigator==null?void 0:navigator.credentials)===null||e===void 0?void 0:e.create)=="function"&&typeof((t=navigator==null?void 0:navigator.credentials)===null||t===void 0?void 0:t.get)=="function")}async function KK(e){try{const t=await navigator.credentials.create(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Ug("Browser returned unexpected credential type",t)}:{data:null,error:new Ug("Empty credential response",t)}}
408catch(t){return{data:null,error:BK({error:t,options:e})}}}async function ZK(e){try{const t=await navigator.credentials.get(e);return t?t instanceof PublicKeyCredential?{data:t,error:null}:{data:null,error:new Ug("Browser returned unexpected credential type",t)}:{data:null,error:new Ug("Empty credential response",t)}}catch(t){return{data:null,error:FK({error:t,options:e})}}}const QK={hints:["security-key"],authenticatorSelection:{authenticatorAttachment:"cross-platform",requireResidentKey:!1,userVerification:"preferred",residentKey:"discouraged"},attestation:"direct"},JK={userVerification:"preferred",hints:["security-key"],attestation:"direct"};function Gg(...e){const t=o=>o!==null&&typeof o=="object"&&!Array.isArray(o),n=o=>o instanceof ArrayBuffer||ArrayBuffer.isView(o),r={};for(const o of e)if(o)for(const i in o){const a=o[i];if(a!==void 0)if(Array.isArray(a))r[i]=a;else if(n(a))r[i]=a;else if(t(a)){const l=r[i];t(l)?r[i]=Gg(l,a):r[i]=Gg(a)}else r[i]=a}return r}function XK(e,t){return Gg(QK,e,t||{})}function eZ(e,t){return Gg(JK,e,t||{})}class tZ{constructor(t){this.client=t,this.enroll=this._enroll.bind(this),this.challenge=this._challenge.bind(this),this.verify=this._verify.bind(this),this.authenticate=this._authenticate.bind(this),this.register=this._register.bind(this)}async _enroll(t){return this.client.mfa.enroll(Object.assign(Object.assign({},t),{factorType:"webauthn"}))}async _challenge({factorId:t,webauthn:n,friendlyName:r,signal:o},i){var a;try{const{data:l,error:c}=await this.client.mfa.challenge({factorId:t,webauthn:n});if(!l)return{data:null,error:c};const d=o??VK.createNewAbortSignal();if(l.webauthn.type==="create"){const{user:u}=l.webauthn.credential_options.publicKey;if(!u.name){const p=r;if(p)u.name=`${u.id}:${p}`;else{const h=(await this.client.getUser()).data.user,g=((a=h==null?void 0:h.user_metadata)===null||a===void 0?void 0:a.name)||(h==null?void 0:h.email)||(h==null?void 0:h.id)||"User";u.name=`${u.id}:${g}`}}u.displayName||(u.displayName=u.name)}switch(l.webauthn.type){case"create":{const u=XK(l.webauthn.credential_options.publicKey,i==null?void 0:i.create),{data:p,error:f}=await KK({publicKey:u,signal:d});return p?{data:{factorId:t,challengeId:l.id,webauthn:{type:l.webauthn.type,credential_response:p}},error:null}:{data:null,error:f}}case"request":{const u=eZ(l.webauthn.credential_options.publicKey,i==null?void 0:i.request),{data:p,error:f}=await ZK(Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:u,signal:d}));return p?{data:{factorId:t,challengeId:l.id,webauthn:{type:l.webauthn.type,credential_response:p}},error:null}:{data:null,error:f}}}}catch(l){return he(l)?{data:null,error:l}:{data:null,error:new wl("Unexpected error in challenge",l)}}}async _verify({challengeId:t,factorId:n,webauthn:r}){return this.client.mfa.verify({factorId:n,challengeId:t,webauthn:r})}async _authenticate({factorId:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:o}={}},i){if(!n)return{data:null,error:new Ap("rpId is required for WebAuthn authentication")};try{if(!O5())return{data:null,error:new wl("Browser does not support WebAuthn",null)};const{data:a,error:l}=await this.challenge({factorId:t,webauthn:{rpId:n,rpOrigins:r},signal:o},{request:i});if(!a)return{data:null,error:l};const{webauthn:c}=a;return this._verify({factorId:t,challengeId:a.challengeId,webauthn:{type:c.type,rpId:n,rpOrigins:r,credential_response:c.credential_response}})}catch(a){return he(a)?{data:null,error:a}:{data:null,error:new wl("Unexpected error in authenticate",a)}}}async _register({friendlyName:t,webauthn:{rpId:n=typeof window<"u"?window.location.hostname:void 0,rpOrigins:r=typeof window<"u"?[window.location.origin]:void 0,signal:o}={}},i){if(!n)return{data:null,error:new Ap("rpId is required for WebAuthn registration")};try{if(!O5())return{data:null,error:new wl("Browser does not support WebAuthn",null)};const{data:a,error:l}=await this._enroll({friendlyName:t});if(!a)return await this.client.mfa.listFactors().then(u=>{var p;return(p=u.data)===null||p===void 0?void 0:p.all.find(f=>f.factor_type==="webauthn"&&f.friendly_name===t&&f.status!=="unverified")}).then(u=>u?this.client.mfa.unenroll({factorId:u==null?void 0:u.id}):void 0),{data:null,error:l};const{data:c,error:d}=await this._challenge({factorId:a.id,friendlyName:a.friendly_name,webauthn:{rpId:n,rpOrigins:r},signal:o},{create:i});return c?this._verify({factorId:a.id,challengeId:c.challengeId,webauthn:{rpId:n,rpOrigins:r,type:c.webauthn.type,credential_response:c.webauthn.credential_response}}):{data:null,error:d}}catch(a){return he(a)?{data:null,error:a}:{data:null,error:new wl("Unexpected error in register",a)}}}}WK();const nZ={url:Jq,storageKey:Xq,autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,headers:eK,flowType:"implicit",debug:!1,hasCustomAuthorizationHeader:!1,throwOnError:!1,lockAcquireTimeout:1e4};async function D5(e,t,n){return await n()}const vc={};class Rp{get jwks(){var t,n;return(n=(t=vc[this.storageKey])===null||t===void 0?void 0:t.jwks)!==null&&n!==void 0?n:{keys:[]}}set jwks(t){vc[this.storageKey]=Object.assign(Object.assign({},vc[this.storageKey]),{jwks:t})}get jwks_cached_at(){var t,n;return(n=(t=vc[this.storageKey])===null||t===void 0?void 0:t.cachedAt)!==null&&n!==void 0?n:Number.MIN_SAFE_INTEGER}set jwks_cached_at(t){vc[this.storageKey]=Object.assign(Object.assign({},vc[this.storageKey]),{cachedAt:t})}constructor(t){var n,r,o;this.userStorage=null,this.memoryStorage=null,this.stateChangeEmitters=new Map,this.autoRefreshTicker=null,this.autoRefreshTickTimeout=null,this.visibilityChangedCallback=null,this.refreshingDeferred=null,this.initializePromise=null,this.detectSessionInUrl=!0,this.hasCustomAuthorizationHeader=!1,this.suppressGetSessionWarning=!1,this.lockAcquired=!1,this.pendingInLock=[],this.broadcastChannel=null,this.logger=console.log;const i=Object.assign(Object.assign({},nZ),t);if(this.storageKey=i.storageKey,this.instanceID=(n=Rp.nextInstanceID[this.storageKey])!==null&&n!==void 0?n:0,Rp.nextInstanceID[this.storageKey]=this.instanceID+1,this.logDebugMessages=!!i.debug,typeof i.debug=="function"&&(this.logger=i.debug),this.instanceID>0&&zn()){const a=`${this._logPrefix()} Multiple GoTrueClient instances detected in the same browser context. It is not an error, but this should be avoided as it may produce undefined behavior when used concurrently under the same storage key.`;console.warn(a),this.logDebugMessages&&console.trace(a)}if(this.persistSession=i.persistSession,this.autoRefreshToken=i.autoRefreshToken,this.admin=new IK({url:i.url,headers:i.headers,fetch:i.fetch}),this.url=i.url,this.headers=i.headers,this.fetch=N7(i.fetch),this.lock=i.lock||D5,this.detectSessionInUrl=i.detectSessionInUrl,this.flowType=i.flowType,this.hasCustomAuthorizationHeader=i.hasCustomAuthorizationHeader,this.throwOnError=i.throwOnError,this.lockAcquireTimeout=i.lockAcquireTimeout,i.lock?this.lock=i.lock:this.persistSession&&zn()&&(!((r=globalThis==null?void 0:globalThis.navigator)===null||r===void 0)&&r.locks)?this.lock=DK:this.lock=D5,this.jwks||(this.jwks={keys:[]},this.jwks_cached_at=Number.MIN_SAFE_INTEGER),this.mfa={verify:this._verify.bind(this),enroll:this._enroll.bind(this),unenroll:this._unenroll.bind(this),challenge:this._challenge.bind(this),listFactors:this._listFactors.bind(this),challengeAndVerify:this._challengeAndVerify.bind(this),getAuthenticatorAssuranceLevel:this._getAuthenticatorAssuranceLevel.bind(this),webauthn:new tZ(this)}
408,this.oauth={getAuthorizationDetails:this._getAuthorizationDetails.bind(this),approveAuthorization:this._approveAuthorization.bind(this),denyAuthorization:this._denyAuthorization.bind(this),listGrants:this._listOAuthGrants.bind(this),revokeGrant:this._revokeOAuthGrant.bind(this)},this.persistSession?(i.storage?this.storage=i.storage:T7()?this.storage=globalThis.localStorage:(this.memoryStorage={},this.storage=I5(this.memoryStorage)),i.userStorage&&(this.userStorage=i.userStorage)):(this.memoryStorage={},this.storage=I5(this.memoryStorage)),zn()&&globalThis.BroadcastChannel&&this.persistSession&&this.storageKey){try{this.broadcastChannel=new globalThis.BroadcastChannel(this.storageKey)}catch(a){console.error("Failed to create a new BroadcastChannel, multi-tab state changes will not be available",a)}(o=this.broadcastChannel)===null||o===void 0||o.addEventListener("message",async a=>{this._debug("received broadcast notification from other tab or client",a);try{await this._notifyAllSubscribers(a.data.event,a.data.session,!1)}catch(l){this._debug("#broadcastChannel","error",l)}})}this.initialize().catch(a=>{this._debug("#initialize()","error",a)})}isThrowOnErrorEnabled(){return this.throwOnError}_returnResult(t){if(this.throwOnError&&t&&t.error)throw t.error;return t}_logPrefix(){return`GoTrueClient@${this.storageKey}:${this.instanceID} (${j7}) ${new Date().toISOString()}`}_debug(...t){return this.logDebugMessages&&this.logger(this._logPrefix(),...t),this}async initialize(){return this.initializePromise?await this.initializePromise:(this.initializePromise=(async()=>await this._acquireLock(this.lockAcquireTimeout,async()=>await this._initialize()))(),await this.initializePromise)}async _initialize(){var t;try{let n={},r="none";if(zn()&&(n=fK(window.location.href),this._isImplicitGrantCallback(n)?r="implicit":await this._isPKCECallback(n)&&(r="pkce")),zn()&&this.detectSessionInUrl&&r!=="none"){const{data:o,error:i}=await this._getSessionFromURL(n,r);if(i){if(this._debug("#_initialize()","error detecting session from URL",i),oK(i)){const c=(t=i.details)===null||t===void 0?void 0:t.code;if(c==="identity_already_exists"||c==="identity_not_found"||c==="single_identity_not_deletable")return{error:i}}return{error:i}}const{session:a,redirectType:l}=o;return this._debug("#_initialize()","detected session in URL",a,"redirect type",l),await this._saveSession(a),setTimeout(async()=>{l==="recovery"?await this._notifyAllSubscribers("PASSWORD_RECOVERY",a):await this._notifyAllSubscribers("SIGNED_IN",a)},0),{error:null}}return await this._recoverAndRefresh(),{error:null}}catch(n){return he(n)?this._returnResult({error:n}):this._returnResult({error:new wl("Unexpected error during initialization",n)})}finally{await this._handleVisibilityChange(),this._debug("#_initialize()","end")}}async signInAnonymously(t){var n,r,o;try{const i=await ve(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{data:(r=(n=t==null?void 0:t.options)===null||n===void 0?void 0:n.data)!==null&&r!==void 0?r:{},gotrue_meta_security:{captcha_token:(o=t==null?void 0:t.options)===null||o===void 0?void 0:o.captchaToken}},xform:$r}),{data:a,error:l}=i;if(l||!a)return this._returnResult({data:{user:null,session:null},error:l});const c=a.session,d=a.user;return a.session&&(await this._saveSession(a.session),await this._notifyAllSubscribers("SIGNED_IN",c)),this._returnResult({data:{user:d,session:c},error:null})}catch(i){if(he(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signUp(t){var n,r,o;try{let i;if("email"in t){const{email:u,password:p,options:f}=t;let h=null,g=null;this.flowType==="pkce"&&([h,g]=await gc(this.storage,this.storageKey)),i=await ve(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,redirectTo:f==null?void 0:f.emailRedirectTo,body:{email:u,password:p,data:(n=f==null?void 0:f.data)!==null&&n!==void 0?n:{},gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken},code_challenge:h,code_challenge_method:g},xform:$r})}else if("phone"in t){const{phone:u,password:p,options:f}=t;i=await ve(this.fetch,"POST",`${this.url}/signup`,{headers:this.headers,body:{phone:u,password:p,data:(r=f==null?void 0:f.data)!==null&&r!==void 0?r:{},channel:(o=f==null?void 0:f.channel)!==null&&o!==void 0?o:"sms",gotrue_meta_security:{captcha_token:f==null?void 0:f.captchaToken}},xform:$r})}else throw new Qf("You must provide either an email or phone number and a password");const{data:a,error:l}=i;if(l||!a)return await An(this.storage,`${this.storageKey}-code-verifier`),this._returnResult({data:{user:null,session:null},error:l});const c=a.session,d=a.user;return a.session&&(await this._saveSession(a.session),await this._notifyAllSubscribers("SIGNED_IN",c)),this._returnResult({data:{user:d,session:c},error:null})}catch(i){if(await An(this.storage,`${this.storageKey}-code-verifier`),he(i))return this._returnResult({data:{user:null,session:null},error:i});throw i}}async signInWithPassword(t){try{let n;if("email"in t){const{email:i,password:a,options:l}=t;n=await ve(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{email:i,password:a,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken}},xform:P5})}else if("phone"in t){const{phone:i,password:a,options:l}=t;n=await ve(this.fetch,"POST",`${this.url}/token?grant_type=password`,{headers:this.headers,body:{phone:i,password:a,gotrue_meta_security:{captcha_token:l==null?void 0:l.captchaToken}},xform:P5})}else throw new Qf("You must provide either an email or phone number and a password");const{data:r,error:o}=n;
408if(o)return this._returnResult({data:{user:null,session:null},error:o});if(!r||!r.session||!r.user){const i=new mc;return this._returnResult({data:{user:null,session:null},error:i})}return r.session&&(await this._saveSession(r.session),await this._notifyAllSubscribers("SIGNED_IN",r.session)),this._returnResult({data:Object.assign({user:r.user,session:r.session},r.weak_password?{weakPassword:r.weak_password}:null),error:o})}catch(n){if(he(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOAuth(t){var n,r,o,i;return await this._handleProviderSignIn(t.provider,{redirectTo:(n=t.options)===null||n===void 0?void 0:n.redirectTo,scopes:(r=t.options)===null||r===void 0?void 0:r.scopes,queryParams:(o=t.options)===null||o===void 0?void 0:o.queryParams,skipBrowserRedirect:(i=t.options)===null||i===void 0?void 0:i.skipBrowserRedirect})}async exchangeCodeForSession(t){return await this.initializePromise,this._acquireLock(this.lockAcquireTimeout,async()=>this._exchangeCodeForSession(t))}async signInWithWeb3(t){const{chain:n}=t;switch(n){case"ethereum":return await this.signInWithEthereum(t);case"solana":return await this.signInWithSolana(t);default:throw new Error(`@supabase/auth-js: Unsupported chain "${n}"`)}}async signInWithEthereum(t){var n,r,o,i,a,l,c,d,u,p,f;let h,g;if("message"in t)h=t.message,g=t.signature;else{const{chain:m,wallet:b,statement:v,options:y}=t;let w;if(zn())if(typeof b=="object")w=b;else{const C=window;if("ethereum"in C&&typeof C.ethereum=="object"&&"request"in C.ethereum&&typeof C.ethereum.request=="function")w=C.ethereum;else throw new Error("@supabase/auth-js: No compatible Ethereum wallet interface on the window object (window.ethereum) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'ethereum', wallet: resolvedUserWallet }) instead.")}else{if(typeof b!="object"||!(y!=null&&y.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");w=b}const j=new URL((n=y==null?void 0:y.url)!==null&&n!==void 0?n:window.location.href),S=await w.request({method:"eth_requestAccounts"}).then(C=>C).catch(()=>{throw new Error("@supabase/auth-js: Wallet method eth_requestAccounts is missing or invalid")});if(!S||S.length===0)throw new Error("@supabase/auth-js: No accounts available. Please ensure the wallet is connected.");const N=C7(S[0]);let k=(r=y==null?void 0:y.signInWithEthereum)===null||r===void 0?void 0:r.chainId;if(!k){const C=await w.request({method:"eth_chainId"});k=$K(C)}const T={domain:j.host,address:N,statement:v,uri:j.href,version:"1",chainId:k,nonce:(o=y==null?void 0:y.signInWithEthereum)===null||o===void 0?void 0:o.nonce,issuedAt:(a=(i=y==null?void 0:y.signInWithEthereum)===null||i===void 0?void 0:i.issuedAt)!==null&&a!==void 0?a:new Date,expirationTime:(l=y==null?void 0:y.signInWithEthereum)===null||l===void 0?void 0:l.expirationTime,notBefore:(c=y==null?void 0:y.signInWithEthereum)===null||c===void 0?void 0:c.notBefore,requestId:(d=y==null?void 0:y.signInWithEthereum)===null||d===void 0?void 0:d.requestId,resources:(u=y==null?void 0:y.signInWithEthereum)===null||u===void 0?void 0:u.resources};h=MK(T),g=await w.request({method:"personal_sign",params:[LK(h),N]})}try{const{data:m,error:b}=await ve(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"ethereum",message:h,signature:g},!((p=t.options)===null||p===void 0)&&p.captchaToken?{gotrue_meta_security:{captcha_token:(f=t.options)===null||f===void 0?void 0:f.captchaToken}}:null),xform:$r});if(b)throw b;if(!m||!m.session||!m.user){const v=new mc;return this._returnResult({data:{user:null,session:null},error:v})}return m.session&&(await this._saveSession(m.session),await this._notifyAllSubscribers("SIGNED_IN",m.session)),this._returnResult({data:Object.assign({},m),error:b})}catch(m){if(he(m))return this._returnResult({data:{user:null,session:null},error:m});throw m}}async signInWithSolana(t){var n,r,o,i,a,l,c,d,u,p,f,h;let g,m;if("message"in t)g=t.message,m=t.signature;else{const{chain:b,wallet:v,statement:y,options:w}=t;let j;if(zn())if(typeof v=="object")j=v;else{const N=window;if("solana"in N&&typeof N.solana=="object"&&("signIn"in N.solana&&typeof N.solana.signIn=="function"||"signMessage"in N.solana&&typeof N.solana.signMessage=="function"))j=N.solana;else throw new Error("@supabase/auth-js: No compatible Solana wallet interface on the window object (window.solana) detected. Make sure the user already has a wallet installed and connected for this app. Prefer passing the wallet interface object directly to signInWithWeb3({ chain: 'solana', wallet: resolvedUserWallet }) instead.")}else{if(typeof v!="object"||!(w!=null&&w.url))throw new Error("@supabase/auth-js: Both wallet and url must be specified in non-browser environments.");j=v}const S=new URL((n=w==null?void 0:w.url)!==null&&n!==void 0?n:window.location.href);if("signIn"in j&&j.signIn){const N=await j.signIn(Object.assign(Object.assign(Object.assign({issuedAt:new Date().toISOString()},w==null?void 0:w.signInWithSolana),{version:"1",domain:S.host,uri:S.href}),y?{statement:y}:null));let k;if(Array.isArray(N)&&N[0]&&typeof N[0]=="object")k=N[0];else if(N&&typeof N=="object"&&"signedMessage"in N&&"signature"in N)k=N;else throw new Error("@supabase/auth-js: Wallet method signIn() returned unrecognized value");if("signedMessage"in k&&"signature"in k&&(typeof k.signedMessage=="string"||k.signedMessage instanceof Uint8Array)&&k.signature instanceof Uint8Array)g=typeof k.signedMessage=="string"?k.signedMessage:new TextDecoder().decode(k.signedMessage),m=k.signature;else throw new Error("@supabase/auth-js: Wallet method signIn() API returned object without signedMessage and signature fields")}else{if(!("signMessage"in j)||typeof j.signMessage!="function"||!("publicKey"in j)||typeof j!="object"||!j.publicKey||!("toBase58"in j.publicKey)||typeof j.publicKey.toBase58!="function")throw new Error("@supabase/auth-js: Wallet does not have a compatible signMessage() and publicKey.toBase58() API");g=[`${S.host} wants you to sign in with your Solana account:`,j.publicKey.toBase58(),...y?["",y,""]:[""],"Version: 1",`URI: ${S.href}`,`Issued At: ${(o=(r=w==null?void 0:w.signInWithSolana)===null||r===void 0?void 0:r.issuedAt)!==null&&o!==void 0?o:new Date().toISOString()}`,...!((i=w==null?void 0:w.signInWithSolana)===null||i===void 0)&&i.notBefore?[`Not Before: ${w.signInWithSolana.notBefore}`]:[],...!((a=w==null?void 0:w.signInWithSolana)===null||a===void 0)&&a.expirationTime?[`Expiration Time: ${w.signInWithSolana.expirationTime}`]:[],...!((l=w==null?void 0:w.signInWithSolana)===null||l===void 0)&&l.chainId?[`Chain ID: ${w.signInWithSolana.chainId}`]:[],...!((c=w==null?void 0:w.signInWithSolana)===null||c===void 0)&&c.nonce?[`Nonce: ${w.signInWithSolana.nonce}`]:[],...!((d=w==null?void 0:w.signInWithSolana)===null||d===void 0)&&d.requestId?[`Request ID: ${w.signInWithSolana.requestId}`]:[],...!((p=(u=w==null?void 0:w.signInWithSolana)===null||u===void 0?void 0:u.resources)===null||p===void 0)&&p.length?["Resources",...w.sign
408InWithSolana.resources.map(k=>`- ${k}`)]:[]].join(`
409`);const N=await j.signMessage(new TextEncoder().encode(g),"utf8");if(!N||!(N instanceof Uint8Array))throw new Error("@supabase/auth-js: Wallet signMessage() API returned an recognized value");m=N}}try{const{data:b,error:v}=await ve(this.fetch,"POST",`${this.url}/token?grant_type=web3`,{headers:this.headers,body:Object.assign({chain:"solana",message:g,signature:Cl(m)},!((f=t.options)===null||f===void 0)&&f.captchaToken?{gotrue_meta_security:{captcha_token:(h=t.options)===null||h===void 0?void 0:h.captchaToken}}:null),xform:$r});if(v)throw v;if(!b||!b.session||!b.user){const y=new mc;return this._returnResult({data:{user:null,session:null},error:y})}return b.session&&(await this._saveSession(b.session),await this._notifyAllSubscribers("SIGNED_IN",b.session)),this._returnResult({data:Object.assign({},b),error:v})}catch(b){if(he(b))return this._returnResult({data:{user:null,session:null},error:b});throw b}}async _exchangeCodeForSession(t){const n=await ol(this.storage,`${this.storageKey}-code-verifier`),[r,o]=(n??"").split("/");try{if(!r&&this.flowType==="pkce")throw new iK;const{data:i,error:a}=await ve(this.fetch,"POST",`${this.url}/token?grant_type=pkce`,{headers:this.headers,body:{auth_code:t,code_verifier:r},xform:$r});if(await An(this.storage,`${this.storageKey}-code-verifier`),a)throw a;if(!i||!i.session||!i.user){const l=new mc;return this._returnResult({data:{user:null,session:null,redirectType:null},error:l})}return i.session&&(await this._saveSession(i.session),await this._notifyAllSubscribers("SIGNED_IN",i.session)),this._returnResult({data:Object.assign(Object.assign({},i),{redirectType:o??null}),error:a})}catch(i){if(await An(this.storage,`${this.storageKey}-code-verifier`),he(i))return this._returnResult({data:{user:null,session:null,redirectType:null},error:i});throw i}}async signInWithIdToken(t){try{const{options:n,provider:r,token:o,access_token:i,nonce:a}=t,l=await ve(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,body:{provider:r,id_token:o,access_token:i,nonce:a,gotrue_meta_security:{captcha_token:n==null?void 0:n.captchaToken}},xform:$r}),{data:c,error:d}=l;if(d)return this._returnResult({data:{user:null,session:null},error:d});if(!c||!c.session||!c.user){const u=new mc;return this._returnResult({data:{user:null,session:null},error:u})}return c.session&&(await this._saveSession(c.session),await this._notifyAllSubscribers("SIGNED_IN",c.session)),this._returnResult({data:c,error:d})}catch(n){if(he(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async signInWithOtp(t){var n,r,o,i,a;try{if("email"in t){const{email:l,options:c}=t;let d=null,u=null;this.flowType==="pkce"&&([d,u]=await gc(this.storage,this.storageKey));const{error:p}=await ve(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{email:l,data:(n=c==null?void 0:c.data)!==null&&n!==void 0?n:{},create_user:(r=c==null?void 0:c.shouldCreateUser)!==null&&r!==void 0?r:!0,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken},code_challenge:d,code_challenge_method:u},redirectTo:c==null?void 0:c.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:p})}if("phone"in t){const{phone:l,options:c}=t,{data:d,error:u}=await ve(this.fetch,"POST",`${this.url}/otp`,{headers:this.headers,body:{phone:l,data:(o=c==null?void 0:c.data)!==null&&o!==void 0?o:{},create_user:(i=c==null?void 0:c.shouldCreateUser)!==null&&i!==void 0?i:!0,gotrue_meta_security:{captcha_token:c==null?void 0:c.captchaToken},channel:(a=c==null?void 0:c.channel)!==null&&a!==void 0?a:"sms"}});return this._returnResult({data:{user:null,session:null,messageId:d==null?void 0:d.message_id},error:u})}throw new Qf("You must provide either an email or phone number.")}catch(l){if(await An(this.storage,`${this.storageKey}-code-verifier`),he(l))return this._returnResult({data:{user:null,session:null},error:l});throw l}}async verifyOtp(t){var n,r;try{let o,i;"options"in t&&(o=(n=t.options)===null||n===void 0?void 0:n.redirectTo,i=(r=t.options)===null||r===void 0?void 0:r.captchaToken);const{data:a,error:l}=await ve(this.fetch,"POST",`${this.url}/verify`,{headers:this.headers,body:Object.assign(Object.assign({},t),{gotrue_meta_security:{captcha_token:i}}),redirectTo:o,xform:$r});if(l)throw l;if(!a)throw new Error("An error occurred on token verification.");const c=a.session,d=a.user;return c!=null&&c.access_token&&(await this._saveSession(c),await this._notifyAllSubscribers(t.type=="recovery"?"PASSWORD_RECOVERY":"SIGNED_IN",c)),this._returnResult({data:{user:d,session:c},error:null})}catch(o){if(he(o))return this._returnResult({data:{user:null,session:null},error:o});throw o}}async signInWithSSO(t){var n,r,o,i,a;try{let l=null,c=null;this.flowType==="pkce"&&([l,c]=await gc(this.storage,this.storageKey));const d=await ve(this.fetch,"POST",`${this.url}/sso`,{body:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},"providerId"in t?{provider_id:t.providerId}:null),"domain"in t?{domain:t.domain}:null),{redirect_to:(r=(n=t.options)===null||n===void 0?void 0:n.redirectTo)!==null&&r!==void 0?r:void 0}),!((o=t==null?void 0:t.options)===null||o===void 0)&&o.captchaToken?{gotrue_meta_security:{captcha_token:t.options.captchaToken}}:null),{skip_http_redirect:!0,code_challenge:l,code_challenge_method:c}),headers:this.headers,xform:RK});return!((i=d.data)===null||i===void 0)&&i.url&&zn()&&!(!((a=t.options)===null||a===void 0)&&a.skipBrowserRedirect)&&window.location.assign(d.data.url),this._returnResult(d)}catch(l){if(await An(this.storage,`${this.storageKey}-code-verifier`),he(l))return this._returnResult({data:null,error:l});throw l}}async reauthenticate(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._reauthenticate())}async _reauthenticate(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;if(r)throw r;if(!n)throw new Ls;const{error:o}=await ve(this.fetch,"GET",`${this.url}/reauthenticate`,{headers:this.headers,jwt:n.access_token});return this._returnResult({data:{user:null,session:null},error:o})})}catch(t){if(he(t))return this._returnResult({data:{user:null,session:null},error:t});throw t}}async resend(t){try{const n=`${this.url}/resend`;if("email"in t){const{email:r,type:o,options:i}=t,{error:a}=await ve(this.fetch,"POST",n,{headers:this.headers,body:{email:r,type:o,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}},redirectTo:i==null?void 0:i.emailRedirectTo});return this._returnResult({data:{user:null,session:null},error:a})}else if("phone"in t){const{phone:r,type:o,options:i}=t,{data:a,error:l}=await ve(this.fetch,"POST",n,{headers:this.headers,body:{phone:r,type:o,gotrue_meta_security:{captcha_token:i==null?void 0:i.captchaToken}}});return this._returnResult({data:{user:null,session:null,messageId:a==null?void 0:a.message_id},error:l})}throw new Qf("You must provide either an email or phone number and a type")}catch(n){if(he(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async getSession(){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>this._useSession(async n=>n))}async _acquireLock(t,n){this._debug("#_acquireLock","begin",t);try{if(this.lockAcquired){const r=this.pendingInLock.length?this.pendingInLock[this.pendingInLock.length-1]:Promise.resolve(),o=(async()=>(await r,await n()))();return this.pendingInLock.push((async()=>{try{await o}catch{}})()),o}return await this.lock(`lock:${this.storageKey}`,t,async()=>{this._debug("#_acquireLock","lock acquired for storage key",this.storageKey);try{this.lockAcquired=!0;const r=n();for(this.pendingInLock.push((async()=>{try{await r}catch{}})()),await r;this.pendingInLock.length;){const o=[...this.pendingInLock];await Promise.all(o),this.pendingInLock.splice(0,o.length)}return await r}finally{this._debug("#_acquireLock","lock released for storage key",this.storageKey),this.lockAcquired=!1}})}finally{this._debug("#_acquireLock","end")}}async _useSession(t){this._debug("#_useSession","begin");try{const n=await this.__loadSession();return await t(n)}finally{this._debug("#_useSession","end")}}async __loadSession(){this._debug("#__loadSession()","begin"),this.lockAcquired||this._debug("#__loadSession()","used outside of an acquired lock!",new Error().stack);try{let t=null;const n=await ol(this.storage,this.storageKey);if(this._debug("#getSession()","session from storage",n),n!==null&&(this._isValidSession(n)?t=n:(this._debug("#getSession()","session from storage is not val
409id"),await this._removeSession())),!t)return{data:{session:null},error:null};const r=t.expires_at?t.expires_at*1e3-Date.now()<p0:!1;if(this._debug("#__loadSession()",`session has${r?"":" not"} expired`,"expires_at",t.expires_at),!r){if(this.userStorage){const a=await ol(this.userStorage,this.storageKey+"-user");a!=null&&a.user?t.user=a.user:t.user=g0()}if(this.storage.isServer&&t.user&&!t.user.__isUserNotAvailableProxy){const a={value:this.suppressGetSessionWarning};t.user=EK(t.user,a),a.value&&(this.suppressGetSessionWarning=!0)}return{data:{session:t},error:null}}const{data:o,error:i}=await this._callRefreshToken(t.refresh_token);return i?this._returnResult({data:{session:null},error:i}):this._returnResult({data:{session:o},error:null})}finally{this._debug("#__loadSession()","end")}}async getUser(t){if(t)return await this._getUser(t);await this.initializePromise;const n=await this._acquireLock(this.lockAcquireTimeout,async()=>await this._getUser());return n.data.user&&(this.suppressGetSessionWarning=!0),n}async _getUser(t){try{return t?await ve(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:t,xform:aa}):await this._useSession(async n=>{var r,o,i;const{data:a,error:l}=n;if(l)throw l;return!(!((r=a.session)===null||r===void 0)&&r.access_token)&&!this.hasCustomAuthorizationHeader?{data:{user:null},error:new Ls}:await ve(this.fetch,"GET",`${this.url}/user`,{headers:this.headers,jwt:(i=(o=a.session)===null||o===void 0?void 0:o.access_token)!==null&&i!==void 0?i:void 0,xform:aa})})}catch(n){if(he(n))return f0(n)&&(await this._removeSession(),await An(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({data:{user:null},error:n});throw n}}async updateUser(t,n={}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._updateUser(t,n))}async _updateUser(t,n={}){try{return await this._useSession(async r=>{const{data:o,error:i}=r;if(i)throw i;if(!o.session)throw new Ls;const a=o.session;let l=null,c=null;this.flowType==="pkce"&&t.email!=null&&([l,c]=await gc(this.storage,this.storageKey));const{data:d,error:u}=await ve(this.fetch,"PUT",`${this.url}/user`,{headers:this.headers,redirectTo:n==null?void 0:n.emailRedirectTo,body:Object.assign(Object.assign({},t),{code_challenge:l,code_challenge_method:c}),jwt:a.access_token,xform:aa});if(u)throw u;return a.user=d.user,await this._saveSession(a),await this._notifyAllSubscribers("USER_UPDATED",a),this._returnResult({data:{user:a.user},error:null})})}catch(r){if(await An(this.storage,`${this.storageKey}-code-verifier`),he(r))return this._returnResult({data:{user:null},error:r});throw r}}async setSession(t){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._setSession(t))}async _setSession(t){try{if(!t.access_token||!t.refresh_token)throw new Ls;const n=Date.now()/1e3;let r=n,o=!0,i=null;const{payload:a}=Xf(t.access_token);if(a.exp&&(r=a.exp,o=r<=n),o){const{data:l,error:c}=await this._callRefreshToken(t.refresh_token);if(c)return this._returnResult({data:{user:null,session:null},error:c});if(!l)return{data:{user:null,session:null},error:null};i=l}else{const{data:l,error:c}=await this._getUser(t.access_token);if(c)return this._returnResult({data:{user:null,session:null},error:c});i={access_token:t.access_token,refresh_token:t.refresh_token,user:l.user,token_type:"bearer",expires_in:r-n,expires_at:r},await this._saveSession(i),await this._notifyAllSubscribers("SIGNED_IN",i)}return this._returnResult({data:{user:i.user,session:i},error:null})}catch(n){if(he(n))return this._returnResult({data:{session:null,user:null},error:n});throw n}}async refreshSession(t){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._refreshSession(t))}async _refreshSession(t){try{return await this._useSession(async n=>{var r;if(!t){const{data:a,error:l}=n;if(l)throw l;t=(r=a.session)!==null&&r!==void 0?r:void 0}if(!(t!=null&&t.refresh_token))throw new Ls;const{data:o,error:i}=await this._callRefreshToken(t.refresh_token);return i?this._returnResult({data:{user:null,session:null},error:i}):o?this._returnResult({data:{user:o.user,session:o},error:null}):this._returnResult({data:{user:null,session:null},error:null})})}catch(n){if(he(n))return this._returnResult({data:{user:null,session:null},error:n});throw n}}async _getSessionFromURL(t,n){try{if(!zn())throw new Jf("No browser detected.");
409if(t.error||t.error_description||t.error_code)throw new Jf(t.error_description||"Error in URL with unspecified error_description",{error:t.error||"unspecified_error",code:t.error_code||"unspecified_code"});switch(n){case"implicit":if(this.flowType==="pkce")throw new T5("Not a valid PKCE flow url.");break;case"pkce":if(this.flowType==="implicit")throw new Jf("Not a valid implicit grant flow url.");break;default:}if(n==="pkce"){if(this._debug("#_initialize()","begin","is PKCE flow",!0),!t.code)throw new T5("No code detected.");const{data:y,error:w}=await this._exchangeCodeForSession(t.code);if(w)throw w;const j=new URL(window.location.href);return j.searchParams.delete("code"),window.history.replaceState(window.history.state,"",j.toString()),{data:{session:y.session,redirectType:null},error:null}}const{provider_token:r,provider_refresh_token:o,access_token:i,refresh_token:a,expires_in:l,expires_at:c,token_type:d}=t;if(!i||!l||!a||!d)throw new Jf("No session defined in URL");const u=Math.round(Date.now()/1e3),p=parseInt(l);let f=u+p;c&&(f=parseInt(c));const h=f-u;h*1e3<=Fc&&console.warn(`@supabase/gotrue-js: Session as retrieved from URL expires in ${h}s, should have been closer to ${p}s`);const g=f-p;u-g>=120?console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued over 120s ago, URL could be stale",g,f,u):u-g<0&&console.warn("@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew",g,f,u);const{data:m,error:b}=await this._getUser(i);if(b)throw b;const v={provider_token:r,provider_refresh_token:o,access_token:i,expires_in:p,expires_at:f,refresh_token:a,token_type:d,user:m.user};return window.location.hash="",this._debug("#_getSessionFromURL()","clearing window.location.hash"),this._returnResult({data:{session:v,redirectType:t.type},error:null})}catch(r){if(he(r))return this._returnResult({data:{session:null,redirectType:null},error:r});throw r}}_isImplicitGrantCallback(t){return typeof this.detectSessionInUrl=="function"?this.detectSessionInUrl(new URL(window.location.href),t):!!(t.access_token||t.error_description)}async _isPKCECallback(t){const n=await ol(this.storage,`${this.storageKey}-code-verifier`);return!!(t.code&&n)}async signOut(t={scope:"global"}){return await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>await this._signOut(t))}async _signOut({scope:t}={scope:"global"}){return await this._useSession(async n=>{var r;const{data:o,error:i}=n;if(i&&!f0(i))return this._returnResult({error:i});const a=(r=o.session)===null||r===void 0?void 0:r.access_token;if(a){const{error:l}=await this.admin.signOut(a,t);if(l&&!(rK(l)&&(l.status===404||l.status===401||l.status===403)||f0(l)))return this._returnResult({error:l})}return t!=="others"&&(await this._removeSession(),await An(this.storage,`${this.storageKey}-code-verifier`)),this._returnResult({error:null})})}onAuthStateChange(t){const n=pK(),r={id:n,callback:t,unsubscribe:()=>{this._debug("#unsubscribe()","state change callback with id removed",n),this.stateChangeEmitters.delete(n)}};return this._debug("#onAuthStateChange()","registered callback with id",n),this.stateChangeEmitters.set(n,r),(async()=>(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{this._emitInitialSession(n)})))(),{data:{subscription:r}}}async _emitInitialSession(t){return await this._useSession(async n=>{var r,o;try{const{data:{session:i},error:a}=n;if(a)throw a;await((r=this.stateChangeEmitters.get(t))===null||r===void 0?void 0:r.callback("INITIAL_SESSION",i)),this._debug("INITIAL_SESSION","callback id",t,"session",i)}catch(i){await((o=this.stateChangeEmitters.get(t))===null||o===void 0?void 0:o.callback("INITIAL_SESSION",null)),this._debug("INITIAL_SESSION","callback id",t,"error",i),console.error(i)}})}async resetPasswordForEmail(t,n={}){let r=null,o=null;this.flowType==="pkce"&&([r,o]=await gc(this.storage,this.storageKey,!0));try{return await ve(this.fetch,"POST",`${this.url}/recover`,{body:{email:t,code_challenge:r,code_challenge_method:o,gotrue_meta_security:{captcha_token:n.captchaToken}},headers:this.headers,redirectTo:n.redirectTo})}catch(i){if(await An(this.storage,`${this.storageKey}-code-verifier`),he(i))return this._returnResult({data:null,error:i});throw i}}async getUserIdentities(){var t;try{const{data:n,error:r}=await this.getUser();if(r)throw r;return this._returnResult({data:{identities:(t=n.user.identities)!==null&&t!==void 0?t:[]},error:null})}catch(n){if(he(n))return this._returnResult({data:null,error:n});throw n}}async linkIdentity(t){return"token"in t?this.linkIdentityIdToken(t):this.linkIdentityOAuth(t)}async linkIdentityOAuth(t){var n;try{const{data:r,error:o}=await this._useSession(async i=>{var a,l,c,d,u;const{data:p,error:f}=i;if(f)throw f;const h=await this._getUrlForProvider(`${this.url}/user/identities/authorize`,t.provider,{redirectTo:(a=t.options)===null||a===void 0?void 0:a.redirectTo,scopes:(l=t.options)===null||l===void 0?void 0:l.scopes,queryParams:(c=t.options)===null||c===void 0?void 0:c.queryParams,skipBrowserRedirect:!0});return await ve(this.fetch,"GET",h,{headers:this.headers,jwt:(u=(d=p.session)===null||d===void 0?void 0:d.access_token)!==null&&u!==void 0?u:void 0})});if(o)throw o;return zn()&&!(!((n=t.options)===null||n===void 0)&&n.skipBrowserRedirect)&&window.location.assign(r==null?void 0:r.url),this._returnResult({data:{provider:t.provider,url:r==null?void 0:r.url},error:null})}catch(r){if(he(r))return this._returnResult({data:{provider:t.provider,url:null},error:r});throw r}}async linkIdentityIdToken(t){return await this._useSession(async n=>{var r;try{const{error:o,data:{session:i}}=n;
409if(o)throw o;const{options:a,provider:l,token:c,access_token:d,nonce:u}=t,p=await ve(this.fetch,"POST",`${this.url}/token?grant_type=id_token`,{headers:this.headers,jwt:(r=i==null?void 0:i.access_token)!==null&&r!==void 0?r:void 0,body:{provider:l,id_token:c,access_token:d,nonce:u,link_identity:!0,gotrue_meta_security:{captcha_token:a==null?void 0:a.captchaToken}},xform:$r}),{data:f,error:h}=p;return h?this._returnResult({data:{user:null,session:null},error:h}):!f||!f.session||!f.user?this._returnResult({data:{user:null,session:null},error:new mc}):(f.session&&(await this._saveSession(f.session),await this._notifyAllSubscribers("USER_UPDATED",f.session)),this._returnResult({data:f,error:h}))}catch(o){if(await An(this.storage,`${this.storageKey}-code-verifier`),he(o))return this._returnResult({data:{user:null,session:null},error:o});throw o}})}async unlinkIdentity(t){try{return await this._useSession(async n=>{var r,o;const{data:i,error:a}=n;if(a)throw a;return await ve(this.fetch,"DELETE",`${this.url}/user/identities/${t.identity_id}`,{headers:this.headers,jwt:(o=(r=i.session)===null||r===void 0?void 0:r.access_token)!==null&&o!==void 0?o:void 0})})}catch(n){if(he(n))return this._returnResult({data:null,error:n});throw n}}async _refreshAccessToken(t){const n=`#_refreshAccessToken(${t.substring(0,5)}...)`;this._debug(n,"begin");try{const r=Date.now();return await yK(async o=>(o>0&&await gK(200*Math.pow(2,o-1)),this._debug(n,"refreshing attempt",o),await ve(this.fetch,"POST",`${this.url}/token?grant_type=refresh_token`,{body:{refresh_token:t},headers:this.headers,xform:$r})),(o,i)=>{const a=200*Math.pow(2,o);return i&&m0(i)&&Date.now()+a-r<Fc})}catch(r){if(this._debug(n,"error",r),he(r))return this._returnResult({data:{session:null,user:null},error:r});throw r}finally{this._debug(n,"end")}}_isValidSession(t){return typeof t=="object"&&t!==null&&"access_token"in t&&"refresh_token"in t&&"expires_at"in t}async _handleProviderSignIn(t,n){const r=await this._getUrlForProvider(`${this.url}/authorize`,t,{redirectTo:n.redirectTo,scopes:n.scopes,queryParams:n.queryParams});return this._debug("#_handleProviderSignIn()","provider",t,"options",n,"url",r),zn()&&!n.skipBrowserRedirect&&window.location.assign(r),{data:{provider:t,url:r},error:null}}async _recoverAndRefresh(){var t,n;const r="#_recoverAndRefresh()";this._debug(r,"begin");try{const o=await ol(this.storage,this.storageKey);if(o&&this.userStorage){let a=await ol(this.userStorage,this.storageKey+"-user");!this.storage.isServer&&Object.is(this.storage,this.userStorage)&&!a&&(a={user:o.user},await Hc(this.userStorage,this.storageKey+"-user",a)),o.user=(t=a==null?void 0:a.user)!==null&&t!==void 0?t:g0()}else if(o&&!o.user&&!o.user){const a=await ol(this.storage,this.storageKey+"-user");a&&(a!=null&&a.user)?(o.user=a.user,await An(this.storage,this.storageKey+"-user"),await Hc(this.storage,this.storageKey,o)):o.user=g0()}if(this._debug(r,"session from storage",o),!this._isValidSession(o)){this._debug(r,"session is not valid"),o!==null&&await this._removeSession();return}const i=((n=o.expires_at)!==null&&n!==void 0?n:1/0)*1e3-Date.now()<p0;if(this._debug(r,`session has${i?"":" not"} expired with margin of ${p0}s`),i){if(this.autoRefreshToken&&o.refresh_token){const{error:a}=await this._callRefreshToken(o.refresh_token);a&&(console.error(a),m0(a)||(this._debug(r,"refresh failed with a non-retryable error, removing the session",a),await this._removeSession()))}}else if(o.user&&o.user.__isUserNotAvailableProxy===!0)try{const{data:a,error:l}=await this._getUser(o.access_token);!l&&(a!=null&&a.user)?(o.user=a.user,await this._saveSession(o),await this._notifyAllSubscribers("SIGNED_IN",o)):this._debug(r,"could not get user data, skipping SIGNED_IN notification")}catch(a){console.error("Error getting user data:",a),this._debug(r,"error getting user data, skipping SIGNED_IN notification",a)}else await this._notifyAllSubscribers("SIGNED_IN",o)}catch(o){this._debug(r,"error",o),console.error(o);return}finally{this._debug(r,"end")}}async _callRefreshToken(t){var n,r;if(!t)throw new Ls;if(this.refreshingDeferred)return this.refreshingDeferred.promise;const o=`#_callRefreshToken(${t.substring(0,5)}...)`;this._debug(o,"begin");try{this.refreshingDeferred=new Vy;const{data:i,error:a}=await this._refreshAccessToken(t);if(a)throw a;if(!i.session)throw new Ls;await this._saveSession(i.session),await this._notifyAllSubscribers("TOKEN_REFRESHED",i.session);const l={data:i.session,error:null};return this.refreshingDeferred.resolve(l),l}catch(i){if(this._debug(o,"error",i),he(i)){const a={data:null,error:i};return m0(i)||await this._removeSession(),(n=this.refreshingDeferred)===null||n===void 0||n.resolve(a),a}throw(r=this.refreshingDeferred)===null||r===void 0||r.reject(i),i}finally{this.refreshingDeferred=null,this._debug(o,"end")}}async _notifyAllSubscribers(t,n,r=!0){const o=`#_notifyAllSubscribers(${t})`;this._debug(o,"begin",n,`broadcast = ${r}`);try{this.broadcastChannel&&r&&this.broadcastChannel.postMessage({event:t,session:n});const i=[],a=Array.from(this.stateChangeEmitters.values()).map(async l=>{try{await l.callback(t,n)}catch(c){i.push(c)}});if(await Promise.all(a),i.length>0){for(let l=0;l<i.length;l+=1)console.error(i[l]);throw i[0]}}finally{this._debug(o,"end")}}async _saveSession(t){this._debug("#_saveSession()",t),this.suppressGetSessionWarning=!0,await An(this.storage,`${this.storageKey}-code-verifier`);const n=Object.assign({},t),r=n.user&&n.user.__isUserNotAvailableProxy===!0;if(this.userStorage){!r&&n.user&&await Hc(this.userStorage,this.storageKey+"-user",{user:n.user});const o=Object.assign({},n);delete o.user;const i=A5(o);await Hc(this.storage,this.storageKey,i)}else{const o=A5(n);await Hc(this.storage,this.storageKey,o)}}async _removeSession(){this._debug("#_removeSession()"),this.suppressGetSessionWarning=!1,await An(this.storage,this.storageKey),await An(this.storage,this.storageKey+"-code-verifier"),await An(this.storage,this.storageKey+"-user"),this.userStorage&&await An(this.userStorage,this.storageKey+"-user"),await this._notifyAllSubscribers("SIGNED_OUT",null)}_removeVisibilityChangedCallback(){this._debug("#_removeVisibilityChangedCallback()");const t=this.visibilityChangedCallback;this.visibilityChangedCallback=null;try{t&&zn()&&(window!=null&&window.removeEventListener)&&window.removeEventListener("visibilitychange",t)}
409catch(n){console.error("removing visibilitychange callback failed",n)}}async _startAutoRefresh(){await this._stopAutoRefresh(),this._debug("#_startAutoRefresh()");const t=setInterval(()=>this._autoRefreshTokenTick(),Fc);this.autoRefreshTicker=t,t&&typeof t=="object"&&typeof t.unref=="function"?t.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(t);const n=setTimeout(async()=>{await this.initializePromise,await this._autoRefreshTokenTick()},0);this.autoRefreshTickTimeout=n,n&&typeof n=="object"&&typeof n.unref=="function"?n.unref():typeof Deno<"u"&&typeof Deno.unrefTimer=="function"&&Deno.unrefTimer(n)}async _stopAutoRefresh(){this._debug("#_stopAutoRefresh()");const t=this.autoRefreshTicker;this.autoRefreshTicker=null,t&&clearInterval(t);const n=this.autoRefreshTickTimeout;this.autoRefreshTickTimeout=null,n&&clearTimeout(n)}async startAutoRefresh(){this._removeVisibilityChangedCallback(),await this._startAutoRefresh()}async stopAutoRefresh(){this._removeVisibilityChangedCallback(),await this._stopAutoRefresh()}async _autoRefreshTokenTick(){this._debug("#_autoRefreshTokenTick()","begin");try{await this._acquireLock(0,async()=>{try{const t=Date.now();try{return await this._useSession(async n=>{const{data:{session:r}}=n;if(!r||!r.refresh_token||!r.expires_at){this._debug("#_autoRefreshTokenTick()","no session");return}const o=Math.floor((r.expires_at*1e3-t)/Fc);this._debug("#_autoRefreshTokenTick()",`access token expires in ${o} ticks, a tick lasts ${Fc}ms, refresh threshold is ${n1} ticks`),o<=n1&&await this._callRefreshToken(r.refresh_token)})}catch(n){console.error("Auto refresh tick failed with error. This is likely a transient error.",n)}}finally{this._debug("#_autoRefreshTokenTick()","end")}})}catch(t){if(t.isAcquireTimeout||t instanceof E7)this._debug("auto refresh token tick lock not available");else throw t}}async _handleVisibilityChange(){if(this._debug("#_handleVisibilityChange()"),!zn()||!(window!=null&&window.addEventListener))return this.autoRefreshToken&&this.startAutoRefresh(),!1;try{this.visibilityChangedCallback=async()=>{try{await this._onVisibilityChanged(!1)}catch(t){this._debug("#visibilityChangedCallback","error",t)}},window==null||window.addEventListener("visibilitychange",this.visibilityChangedCallback),await this._onVisibilityChanged(!0)}catch(t){console.error("_handleVisibilityChange",t)}}async _onVisibilityChanged(t){const n=`#_onVisibilityChanged(${t})`;this._debug(n,"visibilityState",document.visibilityState),document.visibilityState==="visible"?(this.autoRefreshToken&&this._startAutoRefresh(),t||(await this.initializePromise,await this._acquireLock(this.lockAcquireTimeout,async()=>{if(document.visibilityState!=="visible"){this._debug(n,"acquired the lock to recover the session, but the browser visibilityState is no longer visible, aborting");return}await this._recoverAndRefresh()}))):document.visibilityState==="hidden"&&this.autoRefreshToken&&this._stopAutoRefresh()}async _getUrlForProvider(t,n,r){const o=[`provider=${encodeURIComponent(n)}`];if(r!=null&&r.redirectTo&&o.push(`redirect_to=${encodeURIComponent(r.redirectTo)}`),r!=null&&r.scopes&&o.push(`scopes=${encodeURIComponent(r.scopes)}`),this.flowType==="pkce"){const[i,a]=await gc(this.storage,this.storageKey),l=new URLSearchParams({code_challenge:`${encodeURIComponent(i)}`,code_challenge_method:`${encodeURIComponent(a)}`});o.push(l.toString())}if(r!=null&&r.queryParams){const i=new URLSearchParams(r.queryParams);o.push(i.toString())}return r!=null&&r.skipBrowserRedirect&&o.push(`skip_http_redirect=${r.skipBrowserRedirect}`),`${t}?${o.join("&")}`}async _unenroll(t){try{return await this._useSession(async n=>{var r;const{data:o,error:i}=n;return i?this._returnResult({data:null,error:i}):await ve(this.fetch,"DELETE",`${this.url}/factors/${t.factorId}`,{headers:this.headers,jwt:(r=o==null?void 0:o.session)===null||r===void 0?void 0:r.access_token})})}catch(n){if(he(n))return this._returnResult({data:null,error:n});throw n}}async _enroll(t){try{return await this._useSession(async n=>{var r,o;const{data:i,error:a}=n;
409if(a)return this._returnResult({data:null,error:a});const l=Object.assign({friendly_name:t.friendlyName,factor_type:t.factorType},t.factorType==="phone"?{phone:t.phone}:t.factorType==="totp"?{issuer:t.issuer}:{}),{data:c,error:d}=await ve(this.fetch,"POST",`${this.url}/factors`,{body:l,headers:this.headers,jwt:(r=i==null?void 0:i.session)===null||r===void 0?void 0:r.access_token});return d?this._returnResult({data:null,error:d}):(t.factorType==="totp"&&c.type==="totp"&&(!((o=c==null?void 0:c.totp)===null||o===void 0)&&o.qr_code)&&(c.totp.qr_code=`data:image/svg+xml;utf-8,${c.totp.qr_code}`),this._returnResult({data:c,error:null}))})}catch(n){if(he(n))return this._returnResult({data:null,error:n});throw n}}async _verify(t){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var r;const{data:o,error:i}=n;if(i)return this._returnResult({data:null,error:i});const a=Object.assign({challenge_id:t.challengeId},"webauthn"in t?{webauthn:Object.assign(Object.assign({},t.webauthn),{credential_response:t.webauthn.type==="create"?YK(t.webauthn.credential_response):qK(t.webauthn.credential_response)})}:{code:t.code}),{data:l,error:c}=await ve(this.fetch,"POST",`${this.url}/factors/${t.factorId}/verify`,{body:a,headers:this.headers,jwt:(r=o==null?void 0:o.session)===null||r===void 0?void 0:r.access_token});return c?this._returnResult({data:null,error:c}):(await this._saveSession(Object.assign({expires_at:Math.round(Date.now()/1e3)+l.expires_in},l)),await this._notifyAllSubscribers("MFA_CHALLENGE_VERIFIED",l),this._returnResult({data:l,error:c}))})}catch(n){if(he(n))return this._returnResult({data:null,error:n});throw n}})}async _challenge(t){return this._acquireLock(this.lockAcquireTimeout,async()=>{try{return await this._useSession(async n=>{var r;const{data:o,error:i}=n;if(i)return this._returnResult({data:null,error:i});const a=await ve(this.fetch,"POST",`${this.url}/factors/${t.factorId}/challenge`,{body:t,headers:this.headers,jwt:(r=o==null?void 0:o.session)===null||r===void 0?void 0:r.access_token});if(a.error)return a;const{data:l}=a;if(l.type!=="webauthn")return{data:l,error:null};switch(l.webauthn.type){case"create":return{data:Object.assign(Object.assign({},l),{webauthn:Object.assign(Object.assign({},l.webauthn),{credential_options:Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:UK(l.webauthn.credential_options.publicKey)})})}),error:null};case"request":return{data:Object.assign(Object.assign({},l),{webauthn:Object.assign(Object.assign({},l.webauthn),{credential_options:Object.assign(Object.assign({},l.webauthn.credential_options),{publicKey:GK(l.webauthn.credential_options.publicKey)})})}),error:null}}})}catch(n){if(he(n))return this._returnResult({data:null,error:n});throw n}})}async _challengeAndVerify(t){const{data:n,error:r}=await this._challenge({factorId:t.factorId});return r?this._returnResult({data:null,error:r}):await this._verify({factorId:t.factorId,challengeId:n.id,code:t.code})}async _listFactors(){var t;const{data:{user:n},error:r}=await this.getUser();if(r)return{data:null,error:r};const o={all:[],phone:[],totp:[],webauthn:[]};for(const i of(t=n==null?void 0:n.factors)!==null&&t!==void 0?t:[])o.all.push(i),i.status==="verified"&&o[i.factor_type].push(i);return{data:o,error:null}}async _getAuthenticatorAssuranceLevel(t){var n,r,o,i;if(t)try{const{payload:h}=Xf(t);let g=null;h.aal&&(g=h.aal);let m=g;const{data:{user:b},error:v}=await this.getUser(t);if(v)return this._returnResult({data:null,error:v});((r=(n=b==null?void 0:b.factors)===null||n===void 0?void 0:n.filter(j=>j.status==="verified"))!==null&&r!==void 0?r:[]).length>0&&(m="aal2");const w=h.amr||[];return{data:{currentLevel:g,nextLevel:m,currentAuthenticationMethods:w},error:null}}catch(h){if(he(h))return this._returnResult({data:null,error:h});throw h}const{data:{session:a},error:l}
409=await this.getSession();if(l)return this._returnResult({data:null,error:l});if(!a)return{data:{currentLevel:null,nextLevel:null,currentAuthenticationMethods:[]},error:null};const{payload:c}=Xf(a.access_token);let d=null;c.aal&&(d=c.aal);let u=d;((i=(o=a.user.factors)===null||o===void 0?void 0:o.filter(h=>h.status==="verified"))!==null&&i!==void 0?i:[]).length>0&&(u="aal2");const f=c.amr||[];return{data:{currentLevel:d,nextLevel:u,currentAuthenticationMethods:f},error:null}}async _getAuthorizationDetails(t){try{return await this._useSession(async n=>{const{data:{session:r},error:o}=n;return o?this._returnResult({data:null,error:o}):r?await ve(this.fetch,"GET",`${this.url}/oauth/authorizations/${t}`,{headers:this.headers,jwt:r.access_token,xform:i=>({data:i,error:null})}):this._returnResult({data:null,error:new Ls})})}catch(n){if(he(n))return this._returnResult({data:null,error:n});throw n}}async _approveAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:o},error:i}=r;if(i)return this._returnResult({data:null,error:i});if(!o)return this._returnResult({data:null,error:new Ls});const a=await ve(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:o.access_token,body:{action:"approve"},xform:l=>({data:l,error:null})});return a.data&&a.data.redirect_url&&zn()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(a.data.redirect_url),a})}catch(r){if(he(r))return this._returnResult({data:null,error:r});throw r}}async _denyAuthorization(t,n){try{return await this._useSession(async r=>{const{data:{session:o},error:i}=r;if(i)return this._returnResult({data:null,error:i});if(!o)return this._returnResult({data:null,error:new Ls});const a=await ve(this.fetch,"POST",`${this.url}/oauth/authorizations/${t}/consent`,{headers:this.headers,jwt:o.access_token,body:{action:"deny"},xform:l=>({data:l,error:null})});return a.data&&a.data.redirect_url&&zn()&&!(n!=null&&n.skipBrowserRedirect)&&window.location.assign(a.data.redirect_url),a})}catch(r){if(he(r))return this._returnResult({data:null,error:r});throw r}}async _listOAuthGrants(){try{return await this._useSession(async t=>{const{data:{session:n},error:r}=t;return r?this._returnResult({data:null,error:r}):n?await ve(this.fetch,"GET",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:n.access_token,xform:o=>({data:o,error:null})}):this._returnResult({data:null,error:new Ls})})}catch(t){if(he(t))return this._returnResult({data:null,error:t});throw t}}async _revokeOAuthGrant(t){try{return await this._useSession(async n=>{const{data:{session:r},error:o}=n;return o?this._returnResult({data:null,error:o}):r?(await ve(this.fetch,"DELETE",`${this.url}/user/oauth/grants`,{headers:this.headers,jwt:r.access_token,query:{client_id:t.clientId},noResolveJson:!0}),{data:{},error:null}):this._returnResult({data:null,error:new Ls})})}catch(n){if(he(n))return this._returnResult({data:null,error:n});throw n}}async fetchJwk(t,n={keys:[]}){let r=n.keys.find(l=>l.kid===t);if(r)return r;const o=Date.now();if(r=this.jwks.keys.find(l=>l.kid===t),r&&this.jwks_cached_at+nK>o)return r;const{data:i,error:a}=await ve(this.fetch,"GET",`${this.url}/.well-known/jwks.json`,{headers:this.headers});if(a)throw a;return!i.keys||i.keys.length===0||(this.jwks=i,this.jwks_cached_at=o,r=i.keys.find(l=>l.kid===t),!r)?null:r}async getClaims(t,n={}){try{let r=t;if(!r){const{data:h,error:g}
409=await this.getSession();if(g||!h.session)return this._returnResult({data:null,error:g});r=h.session.access_token}const{header:o,payload:i,signature:a,raw:{header:l,payload:c}}=Xf(r);n!=null&&n.allowExpired||kK(i.exp);const d=!o.alg||o.alg.startsWith("HS")||!o.kid||!("crypto"in globalThis&&"subtle"in globalThis.crypto)?null:await this.fetchJwk(o.kid,n!=null&&n.keys?{keys:n.keys}:n==null?void 0:n.jwks);if(!d){const{error:h}=await this.getUser(r);if(h)throw h;return{data:{claims:i,header:o,signature:a},error:null}}const u=TK(o.alg),p=await crypto.subtle.importKey("jwk",d,u,!0,["verify"]);if(!await crypto.subtle.verify(u,p,a,uK(`${l}.${c}`)))throw new o1("Invalid JWT signature");return{data:{claims:i,header:o,signature:a},error:null}}catch(r){if(he(r))return this._returnResult({data:null,error:r});throw r}}}Rp.nextInstanceID={};const sZ=Rp,rZ="2.93.3";let Sh="";typeof Deno<"u"?Sh="deno":typeof document<"u"?Sh="web":typeof navigator<"u"&&navigator.product==="ReactNative"?Sh="react-native":Sh="node";const oZ={"X-Client-Info":`supabase-js-${Sh}/${rZ}`},iZ={headers:oZ},aZ={schema:"public"},lZ={autoRefreshToken:!0,persistSession:!0,detectSessionInUrl:!0,flowType:"implicit"},cZ={};function Pp(e){"@babel/helpers - typeof";return Pp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pp(e)}function dZ(e,t){if(Pp(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Pp(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uZ(e){var t=dZ(e,"string");return Pp(t)=="symbol"?t:t+""}function hZ(e,t,n){return(t=uZ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Lt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?W5(Object(n),!0).forEach(function(r){hZ(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W5(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}const pZ=e=>e?(...t)=>e(...t):(...t)=>fetch(...t),fZ=()=>Headers,mZ=(e,t,n)=>{const r=pZ(n),o=fZ();return async(i,a)=>{var l;const c=(l=await t())!==null&&l!==void 0?l:e;let d=new o(a==null?void 0:a.headers);return d.has("apikey")||d.set("apikey",e),d.has("Authorization")||d.set("Authorization",`Bearer ${c}`),r(i,Lt(Lt({},a),{},{headers:d}))}};function gZ(e){return e.endsWith("/")?e:e+"/"}function yZ(e,t){var n,r;const{db:o,auth:i,realtime:a,global:l}=e,{db:c,auth:d,realtime:u,global:p}=t,f={db:Lt(Lt({},c),o),auth:Lt(Lt({},d),i),realtime:Lt(Lt({},u),a),storage:{},global:Lt(Lt(Lt({},p),l),{},{headers:Lt(Lt({},(n=p==null?void 0:p.headers)!==null&&n!==void 0?n:{}),(r=l==null?void 0:l.headers)!==null&&r!==void 0?r:{})}),accessToken:async()=>""};return e.accessToken?f.accessToken=e.accessToken:delete f.accessToken,f}function xZ(e){const t=e==null?void 0:e.trim();if(!t)throw new Error("supabaseUrl is required.");if(!t.match(/^https?:\/\//i))throw new Error("Invalid supabaseUrl: Must be a valid HTTP or HTTPS URL.");try{return new URL(gZ(t))}catch{throw Error("Invalid supabaseUrl: Provided URL is malformed.")}}var vZ=class extends sZ{constructor(e){super(e)}},bZ=class{constructor(e,t,n){var r,o;this.supabaseUrl=e,this.supabaseKey=t;const i=xZ(e);if(!t)throw new Error("supabaseKey is required.");this.realtimeUrl=new URL("realtime/v1",i),this.realtimeUrl.protocol=this.realtimeUrl.protocol.replace("http","ws"),this.authUrl=new URL("auth/v1",i),this.storageUrl=new URL("storage/v1",i),this.functionsUrl=new URL("functions/v1",i);const a=`sb-${i.hostname.split(".")[0]}-auth-token`,l={db:aZ,realtime:cZ,auth:Lt(Lt({},lZ),{},{storageKey:a}),global:iZ},c=yZ(n??{},l);if(this.storageKey=(r=c.auth.storageKey)!==null&&r!==void 0?r:"",this.headers=(o=c.global.headers)!==null&&o!==void 0?o:{},c.accessToken)this.accessToken=c.accessToken,this.auth=new Proxy({},{get:(u,p)=>{throw new Error(`@supabase/supabase-js: Supabase Client is configured with the accessToken option, accessing supabase.auth.${String(p)} is not possible`)}});else{var d;this.auth=this._initSupabaseAuthClient((d=c.auth)!==null&&d!==void 0?d:{},this.headers,c.global.fetch)}this.fetch=mZ(t,this._getAccessToken.bind(this),c.global.fetch),this.realtime=this._initRealtimeClient(Lt({headers:this.headers,accessToken:this._getAccessToken.bind(this)},c.realtime)),this.accessToken&&Promise.resolve(this.accessToken()).then(u=>this.realtime.setAuth(u)).catch(u=>console.warn("Failed to set initial Realtime auth token:",u)),this.rest=new rq(new URL("rest/v1",i).href,{headers:this.headers,schema:c.db.schema,fetch:this.fetch}),this.storage=new Qq(this.storageUrl.href,this.headers,this.fetch,n==null?void 0:n.storage),c.accessToken||this._listenForAuthEvents()}get functions(){return new XY(this.functionsUrl.href,{headers:this.headers,customFetch:this.fetch})}from(e){return this.rest.from(e)}schema(e){return this.rest.schema(e)}rpc(e,t={},n={head:!1,get:!1,count:void 0}){return this.rest.rpc(e,t,n)}
409channel(e,t={config:{}}){return this.realtime.channel(e,t)}getChannels(){return this.realtime.getChannels()}removeChannel(e){return this.realtime.removeChannel(e)}removeAllChannels(){return this.realtime.removeAllChannels()}async _getAccessToken(){var e=this,t,n;if(e.accessToken)return await e.accessToken();const{data:r}=await e.auth.getSession();return(t=(n=r.session)===null||n===void 0?void 0:n.access_token)!==null&&t!==void 0?t:e.supabaseKey}_initSupabaseAuthClient({autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:o,storageKey:i,flowType:a,lock:l,debug:c,throwOnError:d},u,p){const f={Authorization:`Bearer ${this.supabaseKey}`,apikey:`${this.supabaseKey}`};return new vZ({url:this.authUrl.href,headers:Lt(Lt({},f),u),storageKey:i,autoRefreshToken:e,persistSession:t,detectSessionInUrl:n,storage:r,userStorage:o,flowType:a,lock:l,debug:c,throwOnError:d,fetch:p,hasCustomAuthorizationHeader:Object.keys(this.headers).some(h=>h.toLowerCase()==="authorization")})}_initRealtimeClient(e){return new wq(this.realtimeUrl.href,Lt(Lt({},e),{},{params:Lt(Lt({},{apikey:this.supabaseKey}),e==null?void 0:e.params)}))}_listenForAuthEvents(){return this.auth.onAuthStateChange((e,t)=>{this._handleTokenChanged(e,"CLIENT",t==null?void 0:t.access_token)})}_handleTokenChanged(e,t,n){(e==="TOKEN_REFRESHED"||e==="SIGNED_IN")&&this.changedAccessToken!==n?(this.changedAccessToken=n,this.realtime.setAuth(n)):e==="SIGNED_OUT"&&(this.realtime.setAuth(),t=="STORAGE"&&this.auth.signOut(),this.changedAccessToken=void 0)}};const wZ=(e,t,n)=>new bZ(e,t,n);function jZ(){if(typeof window<"u")return!1;const e=globalThis.process;if(!e)return!1;const t=e.version;if(t==null)return!1;const n=t.match(/^v(\d+)\./);return n?parseInt(n[1],10)<=18:!1}jZ()&&console.warn("⚠️  Node.js 18 and below are deprecated and will no longer be supported in future versions of @supabase/supabase-js. Please upgrade to Node.js 20 or later. For more information, visit: https://github.com/orgs/supabase/discussions/37217");function SZ(){var b,v;if(typeof window>"u")return;const e=location.hostname,n=["lovableproject.com","lovableproject-dev.com","lovable.app","gpt-eng.com","gptengineer.run"].some(y=>e===y||e.endsWith("."+y)),r="[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}",o=n?((b=e.match(new RegExp("^(?:id-preview(?:-[a-z0-9]+)?|project)--("+r+")(?:-dev)?(?=\\.|$)","i")))==null?void 0:b[1])??((v=e.match(new RegExp("^("+r+")(?=[.-])","i")))==null?void 0:v[1]):void 0,i=window.parent&&window.parent!==window;if(!o||!i)return localStorage;const a=e.endsWith(".lovableproject-dev.com")||e.endsWith(".gpt-eng.com"),l=a?/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$|^http:\/\/localhost:3000$/:/^https:\/\/([a-z0-9-]+\.)*(lovable\.dev|gptengineer\.app)$/,c=location.ancestorOrigins&&location.ancestorOrigins[0]||(document.referrer?new URL(document.referrer).origin:""),d=c&&l.test(c)?[c]:a?["https://lovable.dev","http://localhost:3000"]:["https://lovable.dev"],u="lovable-preview-auth:result",p=2e3,f=()=>Math.random().toString(36).slice(2)+Date.now().toString(36),h=(y,w,j)=>new Promise(S=>{const N=f();let k=!1,T;const C=I=>{k||(k=!0,clearTimeout(T),window.removeEventListener("message",R),S(I))},R=I=>
409{if(d.indexOf(I.origin)<0)return;const F=I.data;F&&F.type===u&&F.requestId===N&&C(F)};window.addEventListener("message",R);const L={type:y,requestId:N,projectId:o,key:w};j!==void 0&&(L.value=j);for(const I of d)window.parent.postMessage(L,I);T=setTimeout(()=>C(null),p)});let g=!0;const m=250;return{getItem:async y=>{let w=await h("lovable-preview-auth:get",y);return!w&&g&&(await new Promise(j=>setTimeout(j,m)),w=await h("lovable-preview-auth:get",y)),g=!1,w&&w.ok&&typeof w.value=="string"?w.value===""?(localStorage.removeItem(y),null):w.value:localStorage.getItem(y)},setItem:(y,w)=>(localStorage.setItem(y,w),h("lovable-preview-auth:set",y,w).then(()=>{})),removeItem:y=>(localStorage.removeItem(y),h("lovable-preview-auth:remove",y).then(()=>{}))}}const kZ="https://mymnkgutgjdznpsapxek.supabase.co",TZ="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im15bW5rZ3V0Z2pkem5wc2FweGVrIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzQ0MzAwOTksImV4cCI6MjA5MDAwNjA5OX0.ZjgVt8Jx7IWXwadbI5gsv7vWK5aPsOUE2F2KBlgtcn4",tn=wZ(kZ,TZ,{auth:{storage:SZ(),persistSession:!0,autoRefreshToken:!0}}),Uy=["events"],Uj=()=>xp({queryKey:Uy,queryFn:async()=>{const{data:e,error:t}=await tn.from("events").select("*").order("start_date",{ascending:!0});if(t)throw t;return e??[]},staleTime:3e4,refetchOnWindowFocus:!1}),NZ=()=>{const e=sf();return nj({mutationFn:async t=>{const{data:n,error:r}=await tn.from("events").insert(t).select().single();if(r)throw r;return n},onSuccess:()=>e.invalidateQueries({queryKey:Uy})})},EZ=()=>{const e=sf();return nj({mutationFn:async({id:t,patch:n})=>{const{data:r,error:o}=await tn.from("events").update(n).eq("id",t).select().single();if(o)throw o;return r},onSuccess:()=>e.invalidateQueries({queryKey:Uy})})},CZ=()=>{const e=sf();return nj({mutationFn:async t=>{const{error:n}=await tn.from("events").delete().eq("id",t);if(n)throw n},onSuccess:()=>e.invalidateQueries({queryKey:Uy})})},$5=["January","February","March","April","May","June","July","August","September","October","November","December"],L5=e=>{const[t,n,r]=e.split("-").map(Number);return new Date(t,n-1,r)},A7=(e,t)=>{const n=L5(e),r=t?L5(t):n,o=$5[n.getMonth()],i=$5[r.getMonth()],a=n.getDate(),l=r.getDate(),c=n.getFullYear(),d=r.getFullYear();return c===d&&o===i&&a===l?`${o} ${a}, ${c}`:c!==d?`${o} ${a}, ${c}–${i} ${l}, ${d}`:o===i?`${o} ${a}–${l}, ${c}`:`${o} ${a}–${i} ${l}, ${c}`},qm=(e,t)=>t??e,R7=()=>{const e=new Date,t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return`${t}-${n}-${r}`},_Z="/assets/bridging-innovation-BYA539Eb.webp",AZ="/assets/cityscapes-summit-BxyLg-pM.png",RZ="/assets/edge-summit-BguzJzj3.png",PZ="/assets/national-academies-q2j9elN5.png",zZ="/assets/drop-the-mic-XUIlC09s.jpeg",IZ="/assets/nordp-logo-CzyguHnV.png",OZ="/assets/fbia-fall-2026-CCUphCXf.png",DZ="/assets/3686-tennessee-Ca_uS9Db.png",WZ="/assets/iedc-2026-new-orleans-DTNI1Iot.webp",$Z=1,LZ="d338d58e-abbb-44fd-98d7-941d8d25c9fe",MZ="ad65106b-3a35-40ca-85a5-313ebfbdb26e",BZ="/__l5e/assets-v1/d338d58e-abbb-44fd-98d7-941d8d25c9fe/sbir-sttr-fall-2026.png",FZ="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/d338d58e-abbb-44fd-98d7-941d8d25c9fe/sbir-sttr-fall-2026.png",HZ="sbir-sttr-fall-2026.png",VZ=18047,UZ="image/png",GZ="2026-08-06T18:52:52Z",YZ={version:$Z,asset_id:LZ,project_id:MZ,url:BZ,r2_key:FZ,original_filename:HZ,size:VZ,content_type:UZ,created_at:GZ},qZ=1,KZ="c390d108-d6c3-4886-bc2d-34bd6923fe18",ZZ="ad65106b-3a35-40ca-85a5-313ebfbdb26e",QZ="/__l5e/assets-v1/c390d108-d6c3-4886-bc2d-34bd6923fe18/sxsw-2027.png",JZ="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/c390d108-d6c3-4886-bc2d-34bd6923fe18/sxsw-2027.png",XZ="sxsw-2027.png",eQ=652579,tQ="image/png",nQ="2026-09-10T19:11:19Z",sQ={version:qZ,asset_id:KZ,project_id:ZZ,url:QZ,r2_key:JZ,original_filename:XZ,size:eQ,content_type:tQ,created_at:nQ},rQ=1,oQ="afb993b9-60cd-46a2-81b6-f9938a56489f",iQ="ad65106b-3a35-40ca-85a5-313ebfbdb26e",aQ="/__l5e/assets-v1/afb993b9-60cd-46a2-81b6-f9938a56489f/jff-fair-chance-2026.png",lQ="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/afb993b9-60cd-46a2-81b6-f9938a56489f/jff-fair-chance-2026.png",cQ="jff-fair-chance-2026.png",dQ=913794,uQ="image/png",hQ="2026-09-10T19:16:30Z",pQ={version:rQ,asset_id:oQ,project_id:iQ,url:aQ,r2_key:lQ,original_filename:cQ,size:dQ,content_type:uQ,created_at:hQ},fQ=1,mQ="b4a796c6-e7cd-4a02-9888-23fc21a10175",gQ="ad65106b-3a35-40ca-85a5-313ebfbdb26e",yQ="/__l5e/assets-v1/b4a796c6-e7cd-4a02-9888-23fc21a10175/jff-horizons-2027.png",xQ="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/b4a796c6-e7cd-4a02-9888-23fc21a10175/jff-horizons-2027.png",vQ="jff-horizons-2027.png",bQ=404024,wQ="image/png",jQ="2026-09-10T19:16:33Z",SQ={version:fQ,asset_id:mQ,project_id:gQ,url:yQ,r2_key:xQ,original_filename:vQ,size:bQ,content_type:wQ,created_at:jQ},kQ=1,TQ="97a13d83-e814-4958-844b-bbcadf5a7504",NQ="ad65106b-3a35-40ca-85a5-313ebfbdb26e",EQ="/__l5e/assets-v1/97a13d83-e814-4958-844b-bbcadf5a7504/shift-2
409026-albuquerque.png",CQ="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/97a13d83-e814-4958-844b-bbcadf5a7504/shift-2026-albuquerque.png",_Q="shift-2026-albuquerque.png",AQ=224129,RQ="image/png",PQ="2026-09-10T19:16:36Z",zQ={version:kQ,asset_id:TQ,project_id:NQ,url:EQ,r2_key:CQ,original_filename:_Q,size:AQ,content_type:RQ,created_at:PQ},IQ=1,OQ="077f05f4-9043-4c6c-b37d-b5225d4a2338",DQ="ad65106b-3a35-40ca-85a5-313ebfbdb26e",WQ="/__l5e/assets-v1/077f05f4-9043-4c6c-b37d-b5225d4a2338/nc-idea-ecosystem-summit-2026.png",$Q="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/077f05f4-9043-4c6c-b37d-b5225d4a2338/nc-idea-ecosystem-summit-2026.png",LQ="nc-idea-ecosystem-summit-2026.png",MQ=685180,BQ="image/png",FQ="2026-09-10T19:16:40Z",HQ={version:IQ,asset_id:OQ,project_id:DQ,url:WQ,r2_key:$Q,original_filename:LQ,size:MQ,content_type:BQ,created_at:FQ},VQ={"Bridging Innovation Week":_Z,"Cityscapes Summit":AZ,"NORDP Consultants Program Annual Meeting":IZ,3686:DZ,"IEDC 2026 Annual Conference":WZ,"Arkansas EDGE Summit":RZ,"FBIA Fall Conference":OZ,"The Monthly Innovation Circle (#TheMIC)":zZ,"National Academies of Sciences, Engineering, and Medicine"
vendor: 4,233 bytes, line 409
409:PZ,"SBIR/STTR Fall Innovation Conference":YZ.url,"South by Southwest 2027":sQ.url,"JFF's Fair Chance to Advance National Summit":pQ.url,"JFF Horizons Summit 2027":SQ.url,"SHIFT Conference 2026":zQ.url,"NC IDEA Ecosystem Summit 2026":HQ.url};var Gy="Collapsible",[UQ,kie]=Pi(Gy),[GQ,Gj]=UQ(Gy),P7=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:a,...l}=e,[c,d]=ql({prop:r,defaultProp:o??!1,onChange:a,caller:Gy});return s.jsx(GQ,{scope:n,disabled:i,contentId:za(),open:c,onOpenToggle:x.useCallback(()=>d(u=>!u),[d]),children:s.jsx(We.div,{"data-state":qj(c),"data-disabled":i?"":void 0,...l,ref:t})})});P7.displayName=Gy;var z7="CollapsibleTrigger",I7=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Gj(z7,n);return s.jsx(We.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":qj(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:Te(e.onClick,o.onOpenToggle)})});I7.displayName=z7;var Yj="CollapsibleContent",O7=x.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Gj(Yj,e.__scopeCollapsible);return s.jsx(zi,{present:n||o.open,children:({present:i})=>s.jsx(YQ,{...r,ref:t,present:i})})});O7.displayName=Yj;var YQ=x.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,a=Gj(Yj,n),[l,c]=x.useState(r),d=x.useRef(null),u=it(t,d),p=x.useRef(0),f=p.current,h=x.useRef(0),g=h.current,m=a.open||l,b=x.useRef(m),v=x.useRef(void 0);return x.useEffect(()=>{const y=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(y)},[]),_n(()=>{const y=d.current;if(y){v.current=v.current||{transitionDuration:y.style.transitionDuration,animationName:y.style.animationName},y.style.transitionDuration="0s",y.style.animationName="none";const w=y.getBoundingClientRect();p.current=w.height,h.current=w.width,b.current||(y.style.transitionDuration=v.current.transitionDuration,y.style.animationName=v.current.animationName),c(r)}},[a.open,r]),s.jsx(We.div,{"data-state":qj(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!m,...i,ref:u,style:{"--radix-collapsible-content-height":f?`${f}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:m&&o})});function qj(e){return e?"open":"closed"}var qQ=P7;const KQ=qQ,ZQ=I7,QQ=O7,JQ=[{title:"Inside the Entrepreneurial Mind: What Successful Founders Do Differently",source:"Ready, Set, Startup!",speaker:"Dawn Haynes",date:"Nov 2025",sortDate:"2025-11-01",type:"podcast",url:"https://www.youtube.com/watch?v=CTzFN8I2iaw",description:"On startup leadership, founder resilience, scaling companies, and what successful founders do differently."},{title:"Signaling Scale: Tools and Frameworks for Ecosystem Architecture",source:"Ecosystem, Scale! with Aaron Taylor",speaker:"Amy Beaird",date:"2025",sortDate:"2025-06-01",type:"podcast",url:"https://rss.com/podcasts/ecosystem-scale-with-aaron-taylor/2588028/",description:"A deep dive into the tools, language, and systems thinking shaping ecosystem architecture, making the work measurable and defensible."},{title:"Season Finale: Hard-Won Lessons from America's Boldest Innovation Experiment",source:"Social Venturers Podcast",speaker:"Amy Beaird",date:"2025",sortDate:"2025-05-01",type:"podcast",url:"https://socialventurers.com/s07e11/",description:"Key takeaways from NSF-funded Regional Innovation Engines, what insights from this massive undertaking we can apply in day-to-day ecosystem building."},{title:"Speed and Scale: One Organization Leverages Its CRM for Web and Ecosystem Visibility",source:"SSTI Webinar",speaker:"Amy Beaird",date:"2024",sortDate:"2024-09-01",type:"webinar",url:"https://ssti.org/webinar-speed-and-scale-one-organization-leverages-its-crm-web-and-ecosystem-visibility",description:"How the Florida High Tech Corridor implemented AirTable as a flexible CRM platform to rapidly advance ecosystem visibility and project goals."},{title:"Here's What You Need To Do To Grow Your Startup",source:"Big Risk Energy with Roei Samuel",speaker:"Dawn Haynes",date:"Feb 2024",sortDate:"2024-02-01",type:"podcast",url:"https://www.youtube.com/watch?v=RYintRK4zKk",description:"On what investors look for, startup growth, common foun
409der mistakes, and scaling."},{title:"From Compliance to Connection: How Ecosystem Builders Can Protect What Matters and Demonstrate ROI",source:"YouTube",speaker:"Amy Beaird",date:"2024",sortDate:"2024-01-01",type:"video",url:"https://www.youtube.com/watch?v=YzpcyT-lEt0",description:"Practical strategies for ecosystem builders to move beyond compliance and demonstrate real return on investment."},{title:"NAI Keynote: Fund Your Invention, Unlocking $4 Billion in Federal Funding",source:"National Academy of Inventors",speaker:"Amy Beaird",date:"2023",sortDate:"2023-06-01",type:"video",url:"https://www.youtube.com/watch?v=_KLhGnsqlsc",description:"Keynote on navigating federal funding opportunities and unlocking billions in innovation capital."},{title:"The Ultimate Guide to Funding Your Ecosystem",source:"YouTube",speaker:"Amy Beaird",date:"2023",sortDate:"2023-05-01",type:"video",url:"https://www.youtube.com/watch?v=IRBxwPO1W28",description:"A comprehensive guide to securing funding for ecosystem-building initiatives."},{title:"Tips for Acquiring Federal Funding",source:"USPTO",speaker:"Amy Beaird",date:"2023",sortDate:"2023-04-01",type:"presentation",url:"https://uspto.cosocloud.com/p6ary5fac53o/",description:"Practical tips and strategies for acquiring federal funding through SBIR, STTR, and related programs."},{title:"Supporting Early-Stage Startup Success",source:"Tech's Potential",speaker:"Dawn Haynes",date:"Jan 2023",sortDate:"2023-01-01",type:"podcast",url:"https://www.youtube.com/watch?v=SICXBlgTS6I",description:"On startup acceleration, founder support, and the Central Florida tech ecosystem."},{title:"Engineering Resources for Deserving Businesses",source:"YouTube",speaker:"Amy Beaird",date:"2022",sortDate:"2022-06-01",type:"video",url:"https://www.youtube.com/watch?v=zGhxL7khB0g",description:"How Amy's engineering background shapes her approach to building systems that connect businesses with the resources they need."},{title:"Building Starter Studio",source:"InRoads Podcast",speaker:"Dawn Haynes & Keri Laine",date:"2022",sortDate:"2022-01-01",type:"podcast",url:"https://www.youtube.com/watch?v=KZPJwpDFM9U",description:"Dawn Haynes, CEO of Starter Studio, in conversation with Keri Laine on building the studio and supporting Central Florida founders."}],XQ=[...JQ].sort((e,t)=>t.sortDate.localeCompare(e.sortDate)),eJ=e=>{switch(e){case"podcast":return s.jsx(BD,{className:"w-4 h-4"});case"video":return s.jsx(HD,{className:"w-4 h-4"});case"webinar":return s.jsx(sk,{className:"w-4 h-4"});case"presentation":return s.jsx(sk,{className:"w-4 h-4"})}},tJ=e=>{switch(e){case"podcast":return"Podcast";case"video":return"Video";
409case"webinar":return"Webinar";case"presentation":return"Presentation"}},nJ=e=>{switch(e){case"podcast":return{bg:"#e8f7f9",color:"#2D4D83"};case"video":return{bg:"#fef3e2",color:"#2D4D83"};case"webinar":return{bg:"#eef0f6",color:"#2D4D83"};case"presentation":return{bg:"#f0f4fa",color:"#2D4D83"}}},M5=({event:e})=>{const t=e.past,n=e.isPresenting,r=t||!n,o=t&&e.recapImages&&e.recapImages.length>0;return s.jsxs("div",{className:"rounded-xl overflow-hidden transition-all flex flex-col sm:flex-row",style:{backgroundColor:"#fff",border:"1px solid #e4e7ec",borderLeft:n&&!t?"3px solid #59BEC9":"1px solid #e4e7ec",opacity:t&&!o?.55:1},children:[o?s.jsx("div",{className:"sm:w-56 md:w-64 flex-shrink-0 grid grid-cols-2 gap-0.5",style:{backgroundColor:"#f0f4fa"},children:e.recapImages.slice(0,4).map((i,a)=>s.jsx("img",{src:i,alt:`${e.name} recap photo ${a+1}`,loading:"lazy",className:"w-full h-full object-cover aspect-square"},a))}):e.image?s.jsx("div",{className:"sm:w-40 md:w-48 flex-shrink-0 flex items-center justify-center p-4",style:{backgroundColor:"#f0f4fa"},children:s.jsx("img",{src:e.image,alt:e.name,className:"w-full h-auto max-h-28 object-contain"})}
409):null,s.jsxs("div",{className:"p-6 flex-1",children:[s.jsx("p",{className:"font-body uppercase mb-2",style:{fontSize:"14px",fontWeight:700,letterSpacing:"0.1em",color:r?"#718096":"#59BEC9"},children:e.date}),s.jsxs("h3",{className:"font-display font-bold mb-2 flex items-start gap-2",style:{fontSize:"20px",color:"#2D4D83"},children:[n&&!t&&s.jsx(Xp,{className:"w-5 h-5 flex-shrink-0 mt-1",style:{color:"#59BEC9",fill:"#59BEC9"},"aria-label":"Presenting"}),s.jsx("span",{children:e.name})]}),s.jsxs("p",{className:"font-body mb-1",style:{fontSize:"14px",fontWeight:400,color:"#718096"},children:["📍 ",e.location]}),e.presenting&&s.jsx("p",{className:"font-body mb-2",style:{fontSize:"14px",fontWeight:300,lineHeight:1.65,color:"#4a5568"},children:e.presenting}),e.facilitators&&s.jsx("p",{className:"font-body mb-4",style:{fontSize:"13px",fontWeight:400,color:"#718096"},children:e.facilitators}),e.note&&s.jsx("p",{className:"font-body italic mb-4",style:{fontSize:"13px",fontWeight:400,lineHeight:1.6,color:r?"#718096":"#2D4D83"},children:e.note}),r&&e.registerUrl?s.jsx("a",{href:e.registerUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center font-body rounded-lg hover:opacity-80 transition-opacity min-h-[44px]",style:{fontSize:"14px",fontWeight:500,padding:"10px 20px",border:"1.5px solid #718096",color:"#718096"},children:"View event details"}):!r&&e.registerUrl?s.jsx("a",{href:e.registerUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center font-body rounded-lg hover:opacity-90 transition-opacity min-h-[44px]",style:{fontSize:"14px",fontWeight:500,padding:"10px 20px",backgroundColor:"#59BEC9",color:"#2D4D83"},children:"Register"}):s.jsx("p",{className:"font-body",style:{fontSize:"13px",fontWeight:400,color:"#718096"},children:"Details Coming Soon"})]})]})},sJ=({item:e,poster:t})=>{const n=nJ(e.type),r=e.type==="video"&&e.url.endsWith(".mp4"),o=s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-lg flex items-center justify-center mt-0.5",style:{backgroundColor:n.bg,color:n.color},children:eJ(e.type)}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsxs("div",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 mb-2",children:[s.jsx("span",{className:"font-body uppercase rounded-full px-2.5 py-0.5",style:{fontSize:"10px",fontWeight:600,letterSpacing:"0.1em",backgroundColor:n.bg,color:n.color},children:tJ(e.type)}),s.jsx("span",{className:"font-body uppercase",style:{fontSize:"11px",fontWeight:700,letterSpacing:"0.1em",color:"#59BEC9"},children:e.date}),s.jsx("span",{style:{color:"rgba(45,77,131,0.25)"},children:"·"}),s.jsx("span",{className:"font-body",style:{fontSize:"12px",fontWeight:500,color:"#2D4D83"},children:e.speaker})]}),s.jsx("h4",{className:"font-display font-bold mb-1 transition-colors",style:{fontSize:"16px",color:"#2D4D83",lineHeight:1.3},children:e.title}),s.jsxs("p",{className:"font-body italic mb-1.5",style:{fontSize:"12px",fontWeight:400,color:"#718096"},children:["on ",e.source]}),s.jsx("p",{className:"font-body",style:{fontSize:"13px",fontWeight:300,lineHeight:1.6,color:"#4a5568"},children:e.description})]})]});return r?s.jsxs("div",{className:"rounded-xl p-5 block",style:{backgroundColor:"#fff",border:"1px solid #e4e7ec"},children:[o,s.jsx("div",{className:"mt-4 rounded-lg overflow-hidden",style:{backgroundColor:"#0a0a0a"},children:s.jsx("video",{src:e.url,poster:t,controls:!0,preload:"metadata",playsInline:!0,className:"w-full h-auto block"})})]}):s.jsxs("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"group rounded-xl p-5 transition-all ee-card-hover block",style:{backgroundColor:"#fff",border:"1px solid #e4e7ec"},children:[o,s.jsxs("div",{className:"flex items-start gap-4",children:[s.jsx("div",{className:"w-10 flex-shrink-0"}),s.jsxs("span",{className:"inline-flex items-center gap-1 font-body mt-2 group-hover:gap-2 transition-all",style:{fontSize:"13px",fontWeight:500,color:"#59BEC9"},children:["Watch / Listen ",s.jsx(X4,{className:"w-3.5 h-3.5"})]})]})]})},rJ=()=>{const{data:e=[]}=Uj(),{upcomingEvents:t,pastEvents:n}=x.useMemo(()=>{const r=R7(),o=l=>({date:A7(l.start_date,l.end_date),endDate:qm(l.start_date,l.end_date),name:l.name,location:l.location??"",presenting:l.we_are_presenting?"Presenting / facilitating":"",facilitators:"",note:l.note??void 0,registerUrl:l.event_url??void 0,image:l.image_url??VQ[l.name],isPresenting:l.we_are_presenting}),i=e.filter(l=>qm(l.start_date,l.end_date)>=r).filter(l=>
409l.we_are_presenting||l.include_in_newsletter).sort((l,c)=>l.start_date.localeCompare(c.start_date)).map(o),a=e.filter(l=>qm(l.start_date,l.end_date)<r).sort((l,c)=>c.start_date.localeCompare(l.start_date)).map(l=>({...o(l),past:!0}));return{upcomingEvents:i,pastEvents:a}},[e]);return s.jsxs(Os,{children:[s.jsx(Ve,{title:"Ecosystem Events | Where Ecosystem Edge® Is Speaking",description:"Upcoming Ecosystem Edge® workshops, talks, and conferences where you can see the scorecard in action.",path:"/events"}),s.jsx("section",{className:"py-12 md:py-20",style:{backgroundColor:"#fafaf8"},children:s.jsx("div",{className:"max-w-6xl mx-auto px-6",children:s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-10 md:gap-12 items-center",children:[s.jsxs("div",{className:"text-center md:text-left",children:[s.jsx("p",{className:"font-body uppercase mb-3",style:{fontSize:"14px",fontWeight:700,letterSpacing:"0.14em",color:"#59BEC9"},children:"Where We'll Be"}),s.jsxs("h1",{className:"font-display font-bold mb-4",style:{color:"#2D4D83"},children:["Where we show up."," ",s.jsx("em",{className:"font-display italic",style:{color:"#59BEC9"},children:"Ecosystem building shenanigans."})]}),s.jsx("p",{className:"font-body",style:{fontSize:"16px",fontWeight:300,lineHeight:1.78,color:"#4a5568"},children:"The rooms where Ecosystem Edge® shows up, alongside the builders, funders, and partners doing the work. Plus the gatherings worth knowing about even when we can't be there."})]}),s.jsx("div",{className:"rounded-2xl overflow-hidden shadow-xl",style:{backgroundColor:"#0a0a0a",border:"1px solid #e4e7ec"},children:s.jsx("video",{src:"/media/whiteboard-video.mp4",poster:"/media/whiteboard-video-poster.jpg",controls:!0,preload:"metadata",playsInline:!0,className:"w-full h-auto block"})})]})})}),s.jsx("section",{className:"py-12 md:py-16 bg-white",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[s.jsx("h2",{className:"font-display font-bold mb-2",style:{fontSize:"28px",color:"#2D4D83"},children:"Upcoming"}),s.jsxs("p",{className:"font-body mb-8 inline-flex items-center gap-1.5 flex-wrap",style:{fontSize:"15px",fontWeight:300,lineHeight:1.7,color:"#4a5568"},children:["Events we're presenting at (",s.jsx(Xp,{className:"w-4 h-4 inline",style:{color:"#59BEC9",fill:"#59BEC9"},"aria-hidden":"true"}),") and others worth knowing about, all featured in the newsletter."]}),t.length>0?s.jsx("div",{className:"grid grid-cols-1 gap-5",children:t.map(r=>s.jsx(M5,{event:r},r.name))}):s.jsx("p",{className:"font-body italic",style:{fontSize:"14px",color:"#718096"},children:"Nothing on the calendar right now, check back soon."}),s.jsxs(KQ,{className:"group",children:[s.jsxs(ZQ,{className:"w-full flex items-center gap-4 mt-14 mb-8 hover:opacity-80 transition-opacity",children:[s.jsx("div",{className:"flex-1 h-[1px]",style:{backgroundColor:"rgba(45,77,131,0.12)"}}),s.jsxs("p",{className:"font-body uppercase flex-shrink-0 inline-flex items-center gap-2",style:{fontSize:"14px",fontWeight:700,letterSpacing:"0.12em",color:"#718096"},children:["Past Events (",n.length,")",s.jsx(Jp,{className:"w-4 h-4 transition-transform group-data-[state=open]:rotate-180"})]}),s.jsx("div",{className:"flex-1 h-[1px]",style:{backgroundColor:"rgba(45,77,131,0.12)"}})]}),s.jsx(QQ,{children:s.jsx("div",{className:"grid grid-cols-1 gap-5",children:n.map(r=>s.jsx(M5,{event:r},r.name))})})]})]})}),s.jsx("section",{className:"py-12 md:py-16",style:{backgroundColor:"#fafaf8"},children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[s.jsxs("div",{className:"flex items-center gap-4 mb-10",children:[s.jsx("div",{className:"flex-1 h-[1px]",style:{backgroundColor:"rgba(45,77,131,0.12)"}}),s.jsx("h2",{className:"font-display font-bold flex-shrink-0",style:{fontSize:"28px",color:"#2D4D83"},children:"Talks & Media"}),s.jsx("div",{className:"flex-1 h-[1px]",style:{backgroundColor:"rgba(45,77,131,0.12)"}})]}),s.jsx("p",{className:"font-body text-center mb-10 max-w-2xl mx-auto",style:{fontSize:"16px",fontWeight:300,lineHeight:1.78,color:"#4a5568"},children:"Podcasts, webinars, keynotes, and presentations from The Ecosystem Edge® team."}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-5",children:XQ.map(r=>s.jsx(sJ,{item:r},r.url))})]})}),s.jsx("section",{className:"py-12 md:py-20 bg-white",children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6 text-center",children:[s.jsxs("h2",{className:"font-display font-bold mb-4",style:{color:"#2D4D83"},children:["Want to bring Ecosystem Edge® ",s.jsx("br",{}),"to your event?"]}),s.jsx("p",{className:"font-body mb-8",style:{fontSize:"16px",fontWeight:300,lineHeight:1.78,color:"#4a5568"},children:"We facilitate scorecard workshops for conferences, convenings, and regional summits. If your audience includes ecosystem builders or the funders who support them, let's talk."}),s.jsx("a",{...ic("https://calendar.app.google/31Qa6HfhwAfhDvtk6"),className:"inline-flex items-center justify-center font-body rounded-lg hover:opacity-90 transition-opacity min-h-[44px]",style:{fontSize:"14px",fontWeight:500,padding:"12px 22px",backgroundColor:"#59BEC9",color:"#2D4D83"},children:"Book a Session with Amy and Dawn"})]})})]})},oJ=[{q:"Is this just a survey?",a:"No. A survey collects opinions. The Scorecard is a structured sensemaking tool built from more than 40 ecosystem engagements across nine partner groups and four development phases. It surfaces the specific combination of strengths, gaps, and relationship infrastru
409cture that explains why your ecosystem moves the way it does, a field-validated picture of your region, not a generic readout."},{q:"What do I get?",a:"The complete scorecard across all nine partner groups and four phases, your personalized gap analysis, and a funder-ready Partnership Health Snapshot, delivered the moment you finish. $149, one-time, no subscription."},{q:"What can I do with the results?",a:"Three things, right away. Bring the Partnership Health Snapshot into a funding conversation as evidence instead of anecdote. Put it in front of your board or coalition so everyone is looking at the same picture. And use the gap analysis to decide the two or three moves that would make the biggest difference in the next quarter."},{q:"How long does it take?",a:"Not long, and your insights are ready instantly. Most people say it surfaces in one sitting what took them months to articulate."},{q:"Who is it for?",a:"Anyone who holds the coalition together, regional conveners, ESO leaders, economic developers, innovation officers, university entrepreneurship directors, and workforce developers. And the funders behind them: foundation program officers, government administrators, and corporate innovation leads who need to know if their investment in ecosystem building is working."},{q:"How is this different from other assessment tools?",a:"Most tools measure programs and outputs, convenings held, grants deployed, events hosted. The ECOSYSTEM EDGE® Process measures what's beneath that work: the relationship infrastructure across nine partner groups and four development phases that determines whether your region's momentum is building or cycling. It's the only field-validated dataset of its kind in the US. Funders recognize it. Boards understand it. Teams align around it."},{q:"Can I run it with my team?",a:"Yes, and that's often where the real value surfaces. Individual scores tell you what you see. Team scores tell you where you agree, where you don't, and what your coalition has been quietly disagreeing about. Everyone scores independently, then you compare and work through the gaps together. Facilitated workshops for 30–40 participants are custom-scoped."},{q:"Is my data private?",a:"Yes. Your results are yours. Nothing is published, shared, or attributed to your region without your permission."}],iJ=[{q:"What’s the Scorecard and why do you use it?",a:"It’s an interactive tool built from work across more than 40 ecosystems and 15+ regions, including the NSF Regional Innovation Engines. Representatives from the nine stakeholder types rate their relationships on a red-yellow-green scale, emerging, developing, sustaining. The collective picture surfaces alignment, divergence, and gaps (like corporate R&D disconnection, which shows up in 4 out of 5 ecosystems). It’s both a reveal and an activation mechanism: by the time interviews start, stakeholders are already invested."},{q:"How do you measure success in an innovation ecosystem?",a:"We use the Spheres of Control, Influence, and Interest. Control: what you directly own, programs, convenings, partnerships. Influence: where you shape outcomes alongside others, startup formation, capital attracted. Interest: long-term regional outcomes you signal but don’t claim, jobs, economic indicators. Separating these prevents over-claiming credit you didn’t earn and under-counting impact you did."},{q:"How is this different from hiring a traditional strategy consultant?",a:"Traditional consultants come in with a framework and tell you what’s wrong. We come in with a measurement system and let the room discover it. You own the insight, so there’s no resistance to implementation. We’ve run this across more than 40 ecosystems, we know the patterns, but we don’t prescribe answers. We ask the right questions and bring the data back to the room."}],D7=[{q:"What’s the difference between a strategic plan and a strategic action plan?",a:"A strategic plan tells you where to go. A strategic action plan tells you how to get there, concrete initiatives, sequencing, ownership, and milestones, all working backward from measurable outcomes. We build action plans for regional innovation organizations because alignment without execution is aspiration."},{q:"How do you handle overlapping or conflicting stakeholder priorities?",a:"In mature ecosystems, a backbone organization sits alongside several initiatives, each with its own funding and priorities. You don’t ask partners to change their core mission, you help them see how their individual strengths serve a larger regional goal that also addresses their needs. The Scorecard surfaces these dynamics early, before they become barriers to implementation."},{q:"What does it mean to operate as a backbone organization?",a:"A backbone is infrastru
409cture, not a hub. You convene, facilitate, and remove friction so other organizations, each with their own mission, can work toward something bigger together. The mindset shifts from “our strategy and how others fit in” to “what does this ecosystem need, and how do our individual strengths serve it?” When backbone organizations aren’t explicit about this role, that’s usually where misalignment starts."},{q:"Why do you say you build plans that are “implementable”, isn’t that just strategy?",a:"Not always. A lot of strategic planning separates strategy from execution. We build with implementation in mind from day one: every priority has sequencing logic, every initiative has an owner, every goal has measurable milestones, and every assumption gets tested against reality through stakeholder engagement. The result is a plan your team can run, not a glossy vision document that needs another consulting engagement to translate."},{q:"How long does strategic planning take?",a:"For a regional innovation organization, a focused process typically takes 4–6 months: organizational assessment, stakeholder discovery, priority-setting, implementation roadmap, and board adoption. The interviews are where the real work happens, not because they take time, but because they create buy-in. When stakeholders help shape the strategy, implementation moves faster, not slower."},{q:"What if our organization is planning for multiple capacity scenarios?",a:"Your strategic priorities usually don’t change, what changes is the scale and speed at which you address them. We structure planning around that reality: what you need to address no matter what, what the roadmap looks like at current capacity, and what shifts if you grow. The backbone strategy stays the same; resourcing and sequencing adjust. That prevents the paralysis of planning for multiple scenarios at once."}],W7=[...oJ,...iJ],em=[...W7,...D7],aJ={"@context":"https://schema.org","@type":"FAQPage",mainEntity:[...W7,...D7].map(e=>({"@type":"Question",name:e.q,acceptedAnswer:{"@type":"Answer",text:e.a}}))},i1="#2D4D83",$7="#59BEC9",lJ="#E2B673",B5=({q:e,a:t})=>{const[n,r]=x.useState(!1);return s.jsxs("div",{className:"mb-3 rounded-xl bg-white transition-shadow duration-200",style:{border:`1px solid ${n?"rgba(89,190,201,0.5)":"rgba(45,77,131,0.1)"}`,boxShadow:n?"0 22px 40px -22px rgba(45,77,131,0.7)":"0 18px 34px -22px rgba(45,77,131,0.55)"},children:[s.jsxs("button",{onClick:()=>r(!n),"aria-expanded":n,className:"w-full flex items-start justify-between gap-4 px-5 py-4 text-left",children:[s.jsx("span",{className:"font-body text-sm md:text-[15px] font-semibold leading-snug",style:{color:i1},children:e}),s.jsx("span",{className:"flex-shrink-0 flex items-center justify-center rounded-full transition-transform duration-200",style:{width:26,height:26,backgroundColor:n?$7:"rgba(89,190,201,0.14)",transform:n?"rotate(180deg)":"rotate(0deg)"},children:s.jsx(Jp,{className:"w-4 h-4",style:{color:n?"#ffffff":i1}})})]}),n&&s.jsx("div",{className:"px-5 pb-5 -mt-1",children:s.jsx("p",{className:"font-body text-base leading-relaxed",style:{color:"#4a5568"},children:t})})]})},cJ=()=>s.jsx("section",{id:"faq",className:"py-14 md:py-20",style:{backgroundColor:"#fafaf8"},children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[s.jsxs("div",{className:"fade-up text-center mb-10",children:[s.jsx("p",{className:"font-body uppercase mb-2",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:lJ},children:"Questions"}),s.jsx("h2",{className:"font-display text-2xl md:text-3xl font-bold",style:{color:i1},children:"What people ask before they start"}),s.jsx("p",{className:"font-body mt-3",style:{fontSize:"15px",fontWeight:300,lineHeight:1.7,color:"#4a5568"},children:"The Scorecard, your insights, and what happens after."}),s.jsx("span",{className:"block mx-auto mt-5 rounded-full",style:{width:56,height:3,backgroundColor:$7}})]}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-x-5",children:[s.jsx("div",{children:em.slice(0,Math.ceil(em.length/2)).map(e=>s.jsx(B5,{q:e.q,a:e.a},e.q))}),s.jsx("div",{children:em.slice(Math.ceil(em.length/2)).map(e=>s.jsx(B5,{q:e.q,a:e.a},e.q))})]})]})}),dJ="https://calendar.app.google/31Qa6HfhwAfhDvtk6",F5={label:"Run your Scorecard",to:"/scorecard"},H5={label:"Book a call",href:dJ,external:!0}
409,Vc={funders:{tab:"Funders",tabSingular:"Funder",path:"/for-funders",accent:M.GREEN,eyebrow:"For Funders",headline:s.jsxs(s.Fragment,{children:["Fund the connections."," ",s.jsx("em",{className:"font-display italic",style:{color:M.TEAL},children:"Accelerate the whole region."})]}),intro:s.jsxs(s.Fragment,{children:[s.jsx("em",{className:"font-display italic",children:"“We funded three organizations in that region and we still can’t tell you if anything changed.”"})," ","Grants land in single organizations; growth happens between them. Funding the coordination between partners makes every other dollar you have already spent go further, and regions move faster when you bring support alongside the money. Ecosystem Edge® shows you where the connections are weak, which one to strengthen first, and what genuinely changed after you invested."]}),seoTitle:"For Funders | Fund the Connections, Accelerate the Whole Region",seoDescription:"For funders: fund the coordination between partners so every dollar in the region works harder, and see plainly what changed after you invested.",pillars:[{num:"01",accent:M.NAVY,title:"Money that compounds",body:"Fund the connections between partners and every dollar already in the region works harder, because the organizations you support stop working around each other."},{num:"02",accent:M.GREEN,title:"More than money",body:"Regions accelerate when funders bring convening, introductions, and follow-through alongside the check. The Scorecard shows you where that support lands best."},{num:"03",accent:M.TEAL,title:"Where the next dollar goes",body:"See which gap, relationship, or capacity to address next, so investment goes where it changes the system, not where it is easiest to spend."},{num:"04",accent:M.PURPLE,title:"Honest attribution",body:"What the coalition controls, what it influences, and what it is only organized around stay separate, so your reporting holds up in front of a skeptical board."},{num:"05",accent:M.GOLD,title:"Change you can see",body:"Re-run it each year to see what changed, how relationships shifted, and which gaps closed since your last investment."}],quote:"You can't fund what you can't see. Underresourced is often under-woven, and the partnership infrastructure no one has mapped is where the next dollar does its work.",bullets:["Make your funding compound: strengthen the connections between the organizations you already support.","Report without over-claiming: show your board what your money changed, and say plainly what it did not."],closing:{heading:"Fund what connects the region",body:"Run the Scorecard yourself first, so you know what the instrument asks. Then bring the ecosystem in for a session and decide together where your funding and your support go next."},usePanel:!0},builders:{tab:"Ecosystem Builders",tabSingular:"Ecosystem Builder",path:"/for-builders",accent:M.PURPLE,eyebrow:"For Ecosystem Builders",headline:s.jsxs(s.Fragment,{children:["You have the shared picture."," ",s.jsx("em",{className:"font-display italic",style:{color:M.TEAL},children:"Now you need the next few actions."})]}),intro:s.jsxs(s.Fragment,{children:[s.jsx("em",{className:"font-display italic",children:"“I held that coalition together for two years and there’s nothing on paper that shows it.”"})," ","Your ecosystem is more connected on paper than in practice, and you have had enough strategy that stops at a good picture. Ecosystem Edge® shows you where the weak connections are, which one to work on first, and who owns the next step, so you walk out with two or three things to do."]}),seoTitle:"For Ecosystem Builders | Make Invisible Work Visible",seoDescription:"For Ecosystem Builders: turn coalition work funders can't see into one clear view they can.",usePanel:!0,pillars:[{num:"01",accent:M.PURPLE,title:"Your work does not show up on paper",body:"Activity reports do not capture the relationship infrastructure you are building. Ecosystem Edge® makes that work legible before it breaks and someone finally notices it."},{num:"02",accent:M.TEAL,title:"A picture is not a plan",body:"You already have a picture of your ecosystem. What you do not have is agreement on what happens Monday, and who is responsible for it."},{num:"03",accent:M.GREEN,title:"What to work on first",body:"The Scorecard names the weak connections, ranks them against what you are trying to grow, and gives each one an owner and a first action."}],quote:"The relationship work nobody sees is the work that holds an ecosystem together. Name it, and it becomes something partners and funders can act on.",bullets:["Work from the same view: see the ecosystem alongside your funder, in one language.","Leave with commitments, not a list of partners: every priority has an owner and a first action you can track."],closing:{heading:"Start with your own view",body:"Run the Scorecard yourself and see where your partnerships genuinely stand. Then bring your partners into a session, so the actions that come out of it have owners other than you."}},"field-builders":{tab:"Field Builders",tabSingular:"Field Builder",path:"/for-field-builders",accent:M.TEAL,eyebrow:"For Field Builders + Communities of Practice",headline:s.jsxs(s.Fragment,{children:["One practice, many regions."," ",s.jsx("em",{className:"font-display italic",style:{color:M.TEAL},children:"What one region learns, the next one can build on."})]}),intro:s.jsxs(s.Fragment,{children:[s.jsx("em",{className:"font-display italic",children:"“Every region in our network does its ecosystem work its own way, so nothing rolls up.”"}
409)," ","You support many places at once, and none of their work is comparable. Ecosystem Edge® is one instrument every region runs the same way, so their results roll up into a view across the network, without forcing every place into the same strategy."]}),seoTitle:"For Field Builders | One Instrument Across Every Region",seoDescription:"For communities of practice and field builders: one instrument every region runs the same way, so results roll up into comparable baselines across the network.",usePanel:!0,pillars:[{num:"01",accent:M.TEAL,title:"One instrument, every region",body:"Nine partner groups and the same five questions everywhere, so a region in one state and a region in another are describing the same things."},{num:"02",accent:M.PURPLE,title:"Results that roll up",body:"Comparable baselines and a view across regions: what is working where, and which places share the same gap. Patterns to learn from, never a leaderboard."},{num:"03",accent:M.GREEN,title:"Underneath your approach, not instead of it",body:"Your network keeps its own playbook. This is the measurement layer it runs on, and a practice your regions operate themselves once they have learned it."}],quote:"Underresourced is often under-woven. Straight-line thinking stacks. Systems thinking braids.",bullets:["Same rigor, locally centered: every region runs the same instrument and still centers what matters where it is.","Cross-region intelligence: comparable baselines you can learn from and report on across the whole network."],closing:{heading:"Bring it to your network",body:"Run the Scorecard once yourself to see how it reads. Then roll it out across your regions, so the whole network is working from a baseline you can compare year over year."}}},uJ=["funders","builders","field-builders"],L7="ee_audience",hJ=()=>{if(typeof document>"u")return null;const e=document.cookie.match(new RegExp(`(?:^|; )${L7}=([^;]*)`)),t=e?decodeURIComponent(e[1]):null;return t&&t in Vc?t:null},pJ=e=>{typeof document>"u"||(document.cookie=`${L7}=${encodeURIComponent(e)}; max-age=31536000; path=/; SameSite=Lax`)},fJ=({audience:e="funders"})=>{const t=gu(),[n]=m3(),r=n.get("tab"),o=r&&r in Vc?r:hJ()??e,[i,a]=x.useState(o),l=xu();x.useEffect(()=>a(o),[o]);const c=Vc[i],d=u=>{a(u),pJ(u),t(`/who-its-for?tab=${u}`,{replace:!0})};return s.jsx(Os,{children:s.jsxs("div",{ref:l,children:[s.jsx(Ve,{title:c.seoTitle,description:c.seoDescription,path:"/who-its-for",jsonLd:aJ}),s.jsx("div",{className:"pt-24 pb-2",style:{background:"#F7F9FB"},children:s.jsxs("div",{className:"max-w-5xl mx-auto px-6",children:[s.jsx("p",{className:"font-body uppercase mb-3",style:{fontSize:"12px",letterSpacing:"0.16em",fontWeight:700,color:M.NAVY},children:"I’m a…"}),s.jsx("div",{role:"tablist","aria-label":"Who it's for",className:"flex flex-wrap gap-2",children:uJ.map(u=>{const p=u===i;return s.jsx("button",{role:"tab","aria-selected":p,onClick:()=>d(u),className:"font-body rounded-full px-5 min-h-[44px] transition-colors",style:{fontSize:"14px",fontWeight:600,color:p?"#ffffff":M.NAVY,backgroundColor:p?Vc[u].accent:"#ffffff",border:`1.5px solid ${p?Vc[u].accent:"#e4e7ec"}`},children:Vc[u].tabSingular},u)})}),s.jsx("p",{className:"font-body mt-4 max-w-2xl text-balance",style:{fontSize:"15px",fontWeight:300,lineHeight:1.7,color:M.INK},children:"One Scorecard, one grid of nine partner groups. What changes is what you do with it — pick your role to see the value it brings you."})]})}),s.jsx(cj,{eyebrow:c.eyebrow,accent:c.accent,headline:c.headline,intro:c.intro,primary:F5,secondary:H5,visual:c.usePanel?s.jsx("img",{src:vu,alt:"A full room of regional partners working through an Ecosystem Edge session together",className:"w-full max-w-[420px] rounded-2xl",style:{boxShadow:"0 24px 44px -26px rgba(45,77,131,0.6)"},loading:"lazy"}):s.jsx(w3,{size:300})}),s.jsx(Tb,{}),s.jsx("section",{className:"py-14 md:py-20 bg-white",children:s.jsx("div",{className:"max-w-5xl mx-auto px-6",children:s.jsx($9,{items:c.pillars,columns:c.pillars.length===4?2:3})})}),s.jsx(S3,{children:c.quote}),s.jsx(H9,{eyebrow:`For ${c.tab.toLowerCase()}`,accent:c.accent,items:c.bullets}),s.jsx(cJ,{}),s.jsx(dj,{heading:c.closing.heading,body:c.closing.body,primary:F5,secondary:H5,background:"bg-[#fafaf8]",flush:!0})]})})};function Cd({className:e,...t}){return s.jsx("div",{className:Ce("animate-pulse rounded-md bg-muted",e),...t})}const mJ=async e=>{const t=`https://mymnkgutgjdznpsapxek.supabase.co/functions/v1/fetch-newsletters?page=${e}`,n=await fetch(t,{headers:{Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im15bW5rZ3V0Z2pkem5wc2FweGVrIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzQ0MzAwOTksImV4cCI6MjA5MDAwNjA5OX0.ZjgVt8Jx7IWXwadbI5gsv7vWK5aPsOUE2F2KBlgtcn4"}});if(!n.ok)throw new Error("Failed to fetch newsletters");return n.json()},gJ=e=>new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),yJ=(e,t)=>{const n=t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"").slice(0,60);return`${e}-${n}`},xJ=()=>{const[e,t]=P.useState(""),[n,r]=P.useState("idle"),o=async i=>{if(i.preventDefault(),!!e.trim()){r("loading");try{const a=await fetch("https://app.kit.com/forms/9248472/subscriptions",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({email_address:e}).toString(),redirect:"manual"});a.ok||a.status===302||a.type==="opaqueredirect"?(r("success"),t("")):r("error")}catch{r("error")}}};return s.jsxs("div",{className:"rounded-2xl p-8 md:p-10 mb-14",style:{background:"linear-gradient(135deg, hsl(218 48% 35%) 0%, hsl(218 52% 25%) 100%)"},children:[s.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[s.jsx("div",{className:"flex-shrink-0 w-10 h-10 rounded-full flex items-center justify-center",style:{backgroundColor:"rgba(89,190,201,0.15)"},children:s.jsx(Dw,{size:18,style:{color:"#59BEC9"}})}),s.jsxs("div",{children:[s.jsx("h2",{className:"font-display text-xl md:text-2xl font-bold mb-1",style:{color:"#fff"},children:"Get the next edition in your inbox"}),s.jsx("p",{className:"font-body text-base",style:{color:"rgba(255,255,255,0.7)",lineHeight:1.6},children:"Ecosystem strategy, partner insights, and field notes, delivered weekly."})]})]}),n==="success"?s.jsx("div",{className:"font-body text-sm py-3 px-4 roun
409ded-lg",style:{backgroundColor:"rgba(89,190,201,0.15)",color:"#59BEC9"},children:"✓ You're subscribed! Check your inbox to confirm."}):s.jsxs("form",{onSubmit:o,className:"flex flex-col sm:flex-row gap-3 mt-6",children:[s.jsx("input",{type:"email",value:e,onChange:i=>t(i.target.value),placeholder:"[email protected]",required:!0,className:"flex-1 font-body text-sm rounded-lg px-4 py-3 outline-none",style:{backgroundColor:"rgba(255,255,255,0.1)",border:"1px solid rgba(255,255,255,0.2)",color:"#fff"}}),s.jsx("button",{type:"submit",disabled:n==="loading",className:"font-body text-sm font-medium rounded-lg px-6 py-3 transition-opacity hover:opacity-90 disabled:opacity-60 whitespace-nowrap",style:{backgroundColor:"#59BEC9",color:"#2D4D83"},children:n==="loading"?"Subscribing…":"Subscribe"})]}),n==="error"&&s.jsx("p",{className:"font-body text-sm mt-3",style:{color:"#E2B673"},children:"Something went wrong. Please try again."})]})},vJ=()=>{const[e,t]=P.useState(1),{data:n,isLoading:r,error:o}=xp({queryKey:["newsletters",e],queryFn:()=>mJ(e)});return s.jsxs(Os,{children:[s.jsx(Ve,{title:"Newsletter Archive — Ecosystem Edge®",description:"The Ecosystem Edge® newsletter: field notes from the practitioners making regional ecosystems investable.",path:"/newsletter"}),s.jsx("title",{children:"Newsletter Archive | Ecosystem Edge"}),s.jsx("meta",{name:"description",content:"Browse past editions of the Ecosystem Edge newsletter — insights on ecosystem building, partner relationships, and collective impact."}),s.jsx("section",{className:"py-16 md:py-24",style:{backgroundColor:"#fafaf8"},children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6",children:[s.jsx("p",{className:"font-body uppercase mb-3 text-center",style:{fontSize:"14px",fontWeight:700,letterSpacing:"0.14em",color:"#E2B673"},children:"From the Newsletter"}),s.jsxs("h1",{className:"font-display text-3xl md:text-4xl font-bold text-center mb-4",style:{color:"#2D4D83"},children:["Field notes, every week."," ",s.jsx("em",{className:"font-display italic",style:{color:"#59BEC9"},children:"The newsletter archive."})]}),s.jsxs("p",{className:"font-body text-center mb-12 max-w-xl mx-auto",style:{fontSize:"16px",color:"#4a5568",lineHeight:1.7},children:["Insights on ecosystem building, partner relationships,",s.jsx("br",{}),"and the infrastructure of collective impact."]}),s.jsx(xJ,{}),r&&s.jsx("div",{className:"space-y-4",children:[1,2,3,4,5].map(i=>s.jsxs("div",{className:"rounded-xl p-6 overflow-hidden",style:{backgroundColor:"#fff",border:"1px solid #e4e7ec"},children:[s.jsx(Cd,{className:"h-4 w-24 mb-3"}),s.jsx(Cd,{className:"h-6 w-3/4"})]},i))}),o&&s.jsx("div",{className:"text-center py-12",children:s.jsx("p",{className:"font-body",style:{color:"#718096"},children:"Unable to load newsletters right now. Please try again later."})}),(n==null?void 0:n.broadcasts)&&(()=>{const i=n.broadcasts.filter(u=>u.subject.toLowerCase().includes("capital braid")),a=n.broadcasts.filter(u=>!u.subject.toLowerCase().includes("capital braid")),l=[...i].sort((u,p)=>new Date(u.created_at).getTime()-new Date(p.created_at).getTime()),c=[{letter:"E",bg:"#EEF2FA",fg:"#2D4D83",label:"Translation"},{letter:"C",bg:"#E1F5EE",fg:"#0F6E56",label:"Market Validation"},{letter:"O",bg:"#E4ECF7",fg:"#2D4D83",label:"Infrastructure"},{letter:"S",bg:"#DCF1F3",fg:"#3A8A93",label:"Proof"},{letter:"Y",bg:"#EEEDFE",fg:"#534AB7",label:"Talent"},{letter:"S",bg:"#E1F5EE",fg:"#59BEC9",label:"Business Process"},{letter:"T",bg:"#FBEAF0",fg:"#993556",label:"Industry Alignment"},{letter:"E",bg:"#E6F1FB",fg:"#185FA5",label:"Storytelling"},{letter:"M",bg:"#FAEEDA",fg:"#633806",label:"Accelerant"}],d=(u,p,f)=>{const h=f==="gold"&&p===0,g=f==="gold"&&p>c.length,m=f==="gold"&&!h&&!g?c[p-1]:null;return s.jsx(et,{to:`/newsletter/${yJ(u.id,u.subject)}`,className:"group block rounded-xl overflow-hidden transition-all ee-card-hover",style:{backgroundColor:"#fff",border:"1px solid #e4e7ec"},children:s.jsxs("div",{className:"flex",children:[f==="teal"&&s.jsx("div",{className:"w-1.5 flex-shrink-0",style:{background:p%3===0?"linear-gradient(180deg, #59BEC9 0%, #2D4D83 100%)":p%3===1?"linear-gradient(180deg, #E2B673 0%, #59BEC9 100%)":"linear-gradient(180deg, #2D4D83 0%, #59BEC9 100%)"}}),s.jsxs("div",{className:"flex-1 px-5 py-5 flex items-center justify-between gap-4",children:[s.jsxs("div",{className:"flex items-center gap-4 min-w-0",children:[(h||g)&&s.jsx("div",{className:"flex-shrink-0 flex items-center justify-center rounded-full",style:{width:38,height:38,background:"linear-gradient(135deg, #2D4D83 0%, #59BEC9 100%)"}
409,"aria-hidden":!0,children:s.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[s.jsx("path",{d:"M4 4 Q7 10 4 16",stroke:"#fff",strokeWidth:"1.6",strokeLinecap:"round",fill:"none",opacity:"0.9"}),s.jsx("path",{d:"M10 4 Q7 10 10 16",stroke:"#fff",strokeWidth:"1.6",strokeLinecap:"round",fill:"none"}),s.jsx("path",{d:"M10 4 Q13 10 10 16",stroke:"#fff",strokeWidth:"1.6",strokeLinecap:"round",fill:"none",opacity:"0.9"}),s.jsx("path",{d:"M16 4 Q13 10 16 16",stroke:"#fff",strokeWidth:"1.6",strokeLinecap:"round",fill:"none",opacity:"0.7"})]})}),m&&s.jsx("div",{className:"flex-shrink-0 flex items-center justify-center rounded-full",style:{width:38,height:38,backgroundColor:m.bg},children:s.jsx("span",{className:"font-display",style:{fontSize:16,fontWeight:600,color:m.fg},children:m.letter})}),s.jsxs("div",{className:"min-w-0",children:[s.jsxs("p",{className:"font-body text-sm mb-1.5",style:{color:"#718096"},children:[gJ(u.created_at),(h||g)&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"mx-1.5",children:"·"}),s.jsx("span",{style:{color:"#59BEC9",fontSize:11,fontWeight:600,letterSpacing:"0.08em",textTransform:"uppercase"},children:h?"Series Opener":"Series Finale"})]}),m&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"mx-1.5",children:"·"}),s.jsx("span",{style:{color:m.fg,fontSize:11,fontWeight:600,letterSpacing:"0.08em",textTransform:"uppercase"},children:m.label})]})]}),s.jsx("h2",{className:"font-display text-base md:text-lg font-semibold leading-snug",style:{color:"#2D4D83"},children:u.subject})]})]}),s.jsx(xi,{size:18,className:"flex-shrink-0 transition-transform group-hover:translate-x-1",style:{color:"#59BEC9"}})]})]})},u.id)};return s.jsxs(s.Fragment,{children:[l.length>0&&s.jsxs("div",{id:"capital-braid",className:"mb-12 scroll-mt-24",children:[s.jsx("p",{className:"font-body uppercase mb-3",style:{fontSize:"12px",fontWeight:700,letterSpacing:"0.14em",color:"#E2B673"},children:"The Capital Braid™"}),s.jsx("h2",{className:"font-display text-2xl md:text-3xl font-bold mb-2",style:{color:"#2D4D83"},children:"Weaving the Partners That Make Regional Ecosystems Investable"}),s.jsx("div",{className:"space-y-3",children:l.map((u,p)=>d(u,p,"gold"))}),s.jsx("div",{className:"divider-gradient mt-12"})]}),a.length>0&&s.jsxs(s.Fragment,{children:[i.length>0&&s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"font-body uppercase mb-2",style:{fontSize:"12px",fontWeight:700,letterSpacing:"0.14em",color:"#59BEC9"},children:"Newsletter Archive"}),s.jsx("h2",{className:"font-display text-2xl md:text-3xl font-bold mb-6",style:{color:"#2D4D83"},children:"All Other Editions"})]}),s.jsx("div",{className:"space-y-3",children:a.map((u,p)=>d(u,p,"teal"))})]}),n.broadcasts.length>=50&&s.jsxs("div",{className:"flex justify-center gap-3 mt-10",children:[e>1&&s.jsxs("button",{onClick:()=>t(e-1),className:"font-body text-sm px-5 py-2.5 rounded-lg transition-opacity hover:opacity-80 flex items-center gap-2",style:{backgroundColor:"#2D4D83",color:"#fff"},children:[s.jsx(Q4,{size:16})," Previous"]}),s.jsxs("button",{onClick:()=>t(e+1),className:"font-body text-sm px-5 py-2.5 rounded-lg transition-opacity hover:opacity-80 flex items-center gap-2",style:{backgroundColor:"#2D4D83",color:"#fff"},children:["Next ",s.jsx(zw,{size:16})]})]}),n.broadcasts.length===0&&s.jsx("div",{className:"text-center py-12",children:s.jsx("p",{className:"font-body",style:{color:"#718096"},children:"No newsletters published yet. Check back soon!"})})]})})()]})})]})};/*! @license DOMPurify 3.4.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.7/LICENSE */function V5(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function bJ(e){if(Array.isArray(e))return e}function wJ(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,o,i,a,l=[],c=!0,d=!1;try{if(i=(n=n.call(e)).next,t!==0)for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(u){d=!0,o=u}
vendor: 6,671 bytes, lines 409-410
409finally{try{if(!c&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(d)throw o}}return l}}function jJ(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
410In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function SJ(e,t){return bJ(e)||wJ(e,t)||kJ(e,t)||jJ()}function kJ(e,t){if(e){if(typeof e=="string")return V5(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?V5(e,t):void 0}}const M7=Object.entries,U5=Object.setPrototypeOf,TJ=Object.isFrozen,NJ=Object.getPrototypeOf,EJ=Object.getOwnPropertyDescriptor;let ys=Object.freeze,Nr=Object.seal,Uc=Object.create,B7=typeof Reflect<"u"&&Reflect,a1=B7.apply,l1=B7.construct;ys||(ys=function(t){return t});Nr||(Nr=function(t){return t});a1||(a1=function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return t.apply(n,o)});l1||(l1=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return new t(...r)});const bc=nn(Array.prototype.forEach),CJ=nn(Array.prototype.lastIndexOf),G5=nn(Array.prototype.pop),wc=nn(Array.prototype.push),_J=nn(Array.prototype.splice),rs=Array.isArray,kh=nn(String.prototype.toLowerCase),x0=nn(String.prototype.toString),Y5=nn(String.prototype.match),jc=nn(String.prototype.replace),q5=nn(String.prototype.indexOf),AJ=nn(String.prototype.trim),RJ=nn(Number.prototype.toString),PJ=nn(Boolean.prototype.toString),K5=typeof BigInt>"u"?null:nn(BigInt.prototype.toString),Z5=typeof Symbol>"u"?null:nn(Symbol.prototype.toString),Wt=nn(Object.prototype.hasOwnProperty),Gu=nn(Object.prototype.toString),Rn=nn(RegExp.prototype.test),Yu=zJ(TypeError);function nn(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return a1(e,t,r)}}function zJ(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return l1(e,n)}}function Ae(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:kh;if(U5&&U5(e,null),!rs(t))return e;let r=t.length;for(;r--;){let o=t[r];if(typeof o=="string"){const i=n(o);i!==o&&(TJ(t)||(t[r]=i),o=i)}e[o]=!0}return e}function IJ(e){for(let t=0;t<e.length;t++)Wt(e,t)||(e[t]=null);return e}function Fn(e){const t=Uc(null);for(const r of M7(e)){var n=SJ(r,2);const o=n[0],i=n[1];Wt(e,o)&&(rs(i)?t[o]=IJ(i):i&&typeof i=="object"&&i.constructor===Object?t[o]=Fn(i):t[o]=i)}return t}function OJ(e){switch(typeof e){case"string":return e;case"number":return RJ(e);case"boolean":return PJ(e);case"bigint":return K5?K5(e):"0";case"symbol":return Z5?Z5(e):"Symbol()";case"undefined":return Gu(e);case"function":case"object":{if(e===null)return Gu(e);const t=e,n=jo(t,"toString");if(typeof n=="function"){const r=n(t);return typeof r=="string"?r:Gu(r)}return Gu(e)}default:return Gu(e)}}function jo(e,t){for(;e!==null;){const r=EJ(e,t);if(r){if(r.get)return nn(r.get);if(typeof r.value=="function")return nn(r.value)}e=NJ(e)}function n(){return null}return n}function DJ(e){try{return Rn(e,""),!0}catch{return!1}}const Q5=ys(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),v0=ys(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),b0=ys(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),WJ=ys(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),w0=ys(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),$J=ys(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),J5=ys(["#text"]),X5=ys(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
410spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),j0=ys(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),eN=ys(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),tm=ys(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),LJ=Nr(/{{[\w\W]*|^[\w\W]*}}/g),MJ=Nr(/<%[\w\W]*|^[\w\W]*%>/g),BJ=Nr(/\${[\w\W]*/g),FJ=Nr(/^data-[\-\w.\u00B7-\uFFFF]+$/),HJ=Nr(/^aria-[\-\w]+$/),tN=Nr(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),VJ=Nr(/^(?:\w+script|data):/i),UJ=Nr(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),GJ=Nr(/^html$/i),YJ=Nr(/^[a-z][.\w]*(-[.\w]+)+$/i),xo={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},qJ=function(){return typeof window>"u"?null:window},KJ=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";n&&n.hasAttribute(o)&&(r=n.getAttribute(o));const i="dompurify"+(r?"#"+r:"");try{return t.createPolicy(i,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},nN=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function F7(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qJ();const t=ue=>F7(ue);if(t.version="3.4.7",t.removed=[],!e||!e.document||e.document.nodeType!==xo.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const r=n,o=r.currentScript;e.DocumentFragment;const i=e.HTMLTemplateElement,a=e.Node,l=e.Element,c=e.NodeFilter,d=e.NamedNodeMap;d===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const u=e.DOMParser,p=e.trustedTypes,f=l.prototype,h=jo(f,"cloneNode"),g=jo(f,"remove"),m=jo(f,"nextSibling"),b=jo(f,"childNodes"),v=jo(f,"parentNode"),y=jo(f,"shadowRoot"),w=jo(f,"attributes"),j=a&&a.prototype?jo(a.prototype,"nodeType"):null,S=a&&a.prototype?jo(a.prototype,"nodeName"):null;if(typeof i=="function"){const ue=n.createElement("template");ue.content&&ue.content.ownerDocument&&(n=ue.content.ownerDocument)}let N,k="";const T=n,C=T.implementation,R=T.createNodeIterator,L=T.createDocumentFragment,I=T.getElementsByTagName,F=r.importNode;let D=nN();t.isSupported=typeof M7=="function"&&typeof v=="function"&&C&&C.createHTMLDocument!==void 0;const K=LJ,U=MJ,H=BJ,O=FJ,W=HJ,G=VJ,pe=UJ,ce=YJ;let we=tN,se=null;const Je=Ae({},[...Q5,...v0,...b0,...w0,...J5]);let je=null;const J=Ae({},[...X5,...j0,...eN,...tm]);let me=Object.seal(Uc(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Xe=null,ze=null;const Se=Object.seal(Uc(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let $e=!0,Ot=!0,gn=!1,Ds=!0,sn=!1,Zn=!0,bs=!1,Ws=!1,_=!1,z=!1,$=!1,Z=!1,Q=!0,Y=!1;const ee="user-content-";let Ie=!0,Ge=!1,Ft={},Yt=null;const ws=Ae({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ja=null;const fo=Ae({},["audio","video","img","source","image","track"]);let js=null;const Xa=Ae({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ss="http://www.w3.org/1998/Math/MathML",Wi="http://www.w3.org/2000/svg",Qn="http://www.w3.org/1999/xhtml";let qo=Qn,lc=!1,Eu=null;const Cu=Ae({},[Ss,Wi,Qn],x0);let tr=Ae({},["mi","mo","mn","ms","mtext"]),_u=Ae({},["annotation-xml"]);const ke=Ae({},["title","style","font","a","script"]);let Ye=null;const ht=["application/xhtml+xml","text/html"],$s="text/html";let qe=null,Jn=null;const Ko=n.createElement("form"),ks=function(E){return E instanceof RegExp||E instanceof Function},nr=function(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Jn&&Jn===E)return;(!E||typeof E!="object")&&(E={}
vendor: 8,939 bytes, line 410
410),E=Fn(E),Ye=ht.indexOf(E.PARSER_MEDIA_TYPE)===-1?$s:E.PARSER_MEDIA_TYPE,qe=Ye==="application/xhtml+xml"?x0:kh,se=Wt(E,"ALLOWED_TAGS")&&rs(E.ALLOWED_TAGS)?Ae({},E.ALLOWED_TAGS,qe):Je,je=Wt(E,"ALLOWED_ATTR")&&rs(E.ALLOWED_ATTR)?Ae({},E.ALLOWED_ATTR,qe):J,Eu=Wt(E,"ALLOWED_NAMESPACES")&&rs(E.ALLOWED_NAMESPACES)?Ae({},E.ALLOWED_NAMESPACES,x0):Cu,js=Wt(E,"ADD_URI_SAFE_ATTR")&&rs(E.ADD_URI_SAFE_ATTR)?Ae(Fn(Xa),E.ADD_URI_SAFE_ATTR,qe):Xa,Ja=Wt(E,"ADD_DATA_URI_TAGS")&&rs(E.ADD_DATA_URI_TAGS)?Ae(Fn(fo),E.ADD_DATA_URI_TAGS,qe):fo,Yt=Wt(E,"FORBID_CONTENTS")&&rs(E.FORBID_CONTENTS)?Ae({},E.FORBID_CONTENTS,qe):ws,Xe=Wt(E,"FORBID_TAGS")&&rs(E.FORBID_TAGS)?Ae({},E.FORBID_TAGS,qe):Fn({}),ze=Wt(E,"FORBID_ATTR")&&rs(E.FORBID_ATTR)?Ae({},E.FORBID_ATTR,qe):Fn({}),Ft=Wt(E,"USE_PROFILES")?E.USE_PROFILES&&typeof E.USE_PROFILES=="object"?Fn(E.USE_PROFILES):E.USE_PROFILES:!1,$e=E.ALLOW_ARIA_ATTR!==!1,Ot=E.ALLOW_DATA_ATTR!==!1,gn=E.ALLOW_UNKNOWN_PROTOCOLS||!1,Ds=E.ALLOW_SELF_CLOSE_IN_ATTR!==!1,sn=E.SAFE_FOR_TEMPLATES||!1,Zn=E.SAFE_FOR_XML!==!1,bs=E.WHOLE_DOCUMENT||!1,z=E.RETURN_DOM||!1,$=E.RETURN_DOM_FRAGMENT||!1,Z=E.RETURN_TRUSTED_TYPE||!1,_=E.FORCE_BODY||!1,Q=E.SANITIZE_DOM!==!1,Y=E.SANITIZE_NAMED_PROPS||!1,Ie=E.KEEP_CONTENT!==!1,Ge=E.IN_PLACE||!1,we=DJ(E.ALLOWED_URI_REGEXP)?E.ALLOWED_URI_REGEXP:tN,qo=typeof E.NAMESPACE=="string"?E.NAMESPACE:Qn,tr=Wt(E,"MATHML_TEXT_INTEGRATION_POINTS")&&E.MATHML_TEXT_INTEGRATION_POINTS&&typeof E.MATHML_TEXT_INTEGRATION_POINTS=="object"?Fn(E.MATHML_TEXT_INTEGRATION_POINTS):Ae({},["mi","mo","mn","ms","mtext"]),_u=Wt(E,"HTML_INTEGRATION_POINTS")&&E.HTML_INTEGRATION_POINTS&&typeof E.HTML_INTEGRATION_POINTS=="object"?Fn(E.HTML_INTEGRATION_POINTS):Ae({},["annotation-xml"]);const B=Wt(E,"CUSTOM_ELEMENT_HANDLING")&&E.CUSTOM_ELEMENT_HANDLING&&typeof E.CUSTOM_ELEMENT_HANDLING=="object"?Fn(E.CUSTOM_ELEMENT_HANDLING):Uc(null);if(me=Uc(null),Wt(B,"tagNameCheck")&&ks(B.tagNameCheck)&&(me.tagNameCheck=B.tagNameCheck),Wt(B,"attributeNameCheck")&&ks(B.attributeNameCheck)&&(me.attributeNameCheck=B.attributeNameCheck),Wt(B,"allowCustomizedBuiltInElements")&&typeof B.allowCustomizedBuiltInElements=="boolean"&&(me.allowCustomizedBuiltInElements=B.allowCustomizedBuiltInElements),sn&&(Ot=!1),$&&(z=!0),Ft&&(se=Ae({},J5),je=Uc(null),Ft.html===!0&&(Ae(se,Q5),Ae(je,X5)),Ft.svg===!0&&(Ae(se,v0),Ae(je,j0),Ae(je,tm)),Ft.svgFilters===!0&&(Ae(se,b0),Ae(je,j0),Ae(je,tm)),Ft.mathMl===!0&&(Ae(se,w0),Ae(je,eN),Ae(je,tm))),Se.tagCheck=null,Se.attributeCheck=null,Wt(E,"ADD_TAGS")&&(typeof E.ADD_TAGS=="function"?Se.tagCheck=E.ADD_TAGS:rs(E.ADD_TAGS)&&(se===Je&&(se=Fn(se)),Ae(se,E.ADD_TAGS,qe))),Wt(E,"ADD_ATTR")&&(typeof E.ADD_ATTR=="function"?Se.attributeCheck=E.ADD_ATTR:rs(E.ADD_ATTR)&&(je===J&&(je=Fn(je)),Ae(je,E.ADD_ATTR,qe))),Wt(E,"ADD_URI_SAFE_ATTR")&&rs(E.ADD_URI_SAFE_ATTR)&&Ae(js,E.ADD_URI_SAFE_ATTR,qe),Wt(E,"FORBID_CONTENTS")&&rs(E.FORBID_CONTENTS)&&(Yt===ws&&(Yt=Fn(Yt)),Ae(Yt,E.FORBID_CONTENTS,qe)),Wt(E,"ADD_FORBID_CONTENTS")&&rs(E.ADD_FORBID_CONTENTS)&&(Yt===ws&&(Yt=Fn(Yt)),Ae(Yt,E.ADD_FORBID_CONTENTS,qe)),Ie&&(se["#text"]=!0),bs&&Ae(se,["html","head","body"]),se.table&&(Ae(se,["tbody"]),delete Xe.tbody),E.TRUSTED_TYPES_POLICY){if(typeof E.TRUSTED_TYPES_POLICY.createHTML!="function")throw Yu('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof E.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Yu('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');N=E.TRUSTED_TYPES_POLICY,k=N.createHTML("")}else N===void 0&&(N=KJ(p,o)),N!==null&&typeof k=="string"&&(k=N.createHTML(""));(D.uponSanitizeElement.length>0||D.uponSanitizeAttribute.length>0)&&se===Je&&(se=Fn(se)),D.uponSanitizeAttribute.length>0&&je===J&&(je=Fn(je)),ys&&ys(E),Jn=E},vS=Ae({},[...v0,...b0,...WJ]),bS=Ae({},[...w0,...$J]),j8=function(E){let B=v(E);(!B||!B.tagName)&&(B={namespaceURI:qo,tagName:"template"});const X=kh(E.tagName),st=kh(B.tagName);return Eu[E.namespaceURI]?E.namespaceURI===Wi?B.namespaceURI===Qn?X==="svg":B.namespaceURI===Ss?X==="svg"&&(st==="annotation-xml"||tr[st]):!!vS[X]:E.namespaceURI===Ss?B.namespaceURI===Qn?X==="math":B.namespaceURI===Wi?X==="math"&&_u[st]:!!bS[X]:E.namespaceURI===Qn?B.namespaceURI===Wi&&!_u[st]||B.namespaceURI===Ss&&!tr[st]?!1:!bS[X]&&(ke[X]||!vS[X]):!!(Ye==="application/xhtml+xml"&&Eu[E.namespaceURI]):!1},_r=function(E){wc(t.removed,{element:E});try{v(E).removeChild(E)}catch{g(E)}},el=function(E,B){try{wc(t.removed,{attribute:B.getAttributeNode(E),from:B})}catch{wc(t.removed,{attribute:null,from:B})}if(B.removeAttribute(E),E==="is")if(z||$)try{_r(B)}catch{}else try{B.setAttribute(E,"")}catch{}},wS=function(E){let B=null,X=null;if(_)E="<remove></remove>"+E;else{const wt=Y5(E,/^[\r\n\t ]+/);X=wt&&wt[0]}Ye==="application/xhtml+xml"&&qo===Qn&&(E='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+E+"</body></html>");const st=N?N.createHTML(E):E;if(qo===Qn)try{B=new u().parseFromString(st,Ye)}catch{}if(!B||!B.documentElement){B=C.createDocument(qo,"template",null);try{B.documentElement.innerHTML=lc?k:st}catch{}}const Be=B.body||B.documentElement;return E&&X&&Be.insertBefore(n.createTextNode(X),Be.childNodes[0]||null),qo===Qn?I.call(B,bs?"html":"body")[0]:bs?B.documentElement:Be},jS=function(E){return R.call(E.ownerDocument||E,E,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},SS=function(E){E.normalize();const B=R.call(E.ownerDocument||E,E,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let X=B.nextNode();for(;X;){let st=X.data;bc([K,U,H],Be=>{st=jc(st,Be," ")}),X.data=st,X=B.nextNode()}},ff=function(E){const B=S?S(E):null;return typeof B!="string"||qe(B)!=="form"?!1:typeof E.nodeName!="string"||typeof E.textContent!="string"||typeof E.removeChild!="function"||E.attributes!==w(E)||typeof E.removeAttribute!="function"||typeof E.setAttribute!="function"||typeof E.namespaceURI!="string"||typeof E.insertBefore!="function"||typeof E.hasChildNodes!="function"||E.nodeType!==j(E)||E.childNodes!==b(E)},Au=function(E){if(!j||typeof E!="object"||E===null)return!1;try{return j(E)===xo.documentFragment}catch{return!1}},mf=function(E){if(!j||typeof E!="object"||E===null)return!1;try{return typeof j(E)=="number"}catch{return!1}};function Zo(ue,E,B){bc(ue,X=>{X.call(t,E,B,Jn)})}const kS=function(E){let B=null;if(Zo(D.beforeSanitizeElements,E,null),ff(E))return _r(E),!0;const X=qe(E.nodeName);if(Zo(D.uponSanitizeElement,E,{tagName:X,allowedTags:se}),Zn&&E.hasChildNodes()&&!mf(E.firstElementChild)&&Rn(/<[/\w!]/g,E.innerHTML)&&Rn(/<[/\w!]/g,E.textContent)||Zn&&E.namespaceURI===Qn&&X==="style"&&mf(E.firstElementChild)||E.nodeType===xo.progressingInstruction||Zn&&E.nodeType===xo.comment&&Rn(/<[/\w]/g,E.data))return _r(E),!0;if(Xe[X]||!(Se.tagCheck instanceof Function&&Se.tagCheck(X))&&!se[X]){if(!Xe[X]&&NS(X)&&(me.tagNameCheck instanceof RegExp&&Rn(me.tagNameCheck,X)||me.tagNameCheck instanceof Function&&me.tagNameCheck(X)))return!1;if(Ie&&!Yt[X]){const Be=v(E),wt=b(E);if(wt&&Be){const sr=wt.length;for(let mo=sr-1;mo>=0;--mo){const Ar=h(wt[mo],!0);Be.insertBefore(Ar,m(E))}}}return _r(E),!0}return(j?j(E):E.nodeType)===xo.element&&!j8(E)||(X==="noscript"||X==="noembed"||X==="noframes")&&Rn(/<\/no(script|embed|frames)/i,E.innerHTML)?(_r(E),!0):(sn&&E.nodeType===xo.text&&(B=E.textContent,bc([K,U,H],Be=>{B=jc(B,Be," ")}),E.textContent!==B&&(wc(t.removed,{element:E.cloneNode()}),E.textContent=B)),Zo(D.afterSanitizeElements,E,null),!1)},TS=function(E,B,X){if(ze[B]||Q&&(B==="id"||B==="name")&&(X in n||X in Ko))return!1;const st=je[B]||Se.attributeCheck instanceof Function&&Se.attributeCheck(B,E);if(!(Ot&&!ze[B]&&Rn(O,B))){if(!($e&&Rn(W,B))){if(!st||ze[B]){if(!(NS(E)&&(me.tagNameCheck instanceof RegExp&&Rn(me.tagNameCheck,E)||me.tagNameCheck instanceof Function&&me.tagNameCheck(E))&&(me.attributeNameCheck instanceof RegExp&&Rn(me.attributeNameCheck,B)||me.attributeNameCheck instanceof Function&&me.attributeNameCheck(B,E))||B==="is"&&me.allowCustomizedBuiltInElements&&(me.tagNameCheck instanceof RegExp&&Rn(me.tagNameCheck,X)||me.tagNameCheck instanceof Function&&me.tagNameCheck(X))))return!1}else if(!js[B]){if(!Rn(we,jc(X,pe,""))){if(!((B==="src"||B==="xlink:href"||B==="href")&&E!=="script"&&q5(X,"data:")===0&&Ja[E])){if(!(gn&&!Rn(G,jc(X,pe,"")))){if(X)return!1}}}}}}return!0},S8=Ae({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),NS=function(E){return!S8[kh(E)]&&Rn(ce,E)},ES=function(E){Zo(D.beforeSanitizeAttributes,E,null);const B=E.attributes;if(!B||ff(E))return;const X={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:je,forceKeepAttr:void 0};let st=B.length;for(;st--;){const Be=B[st],wt=Be.name,sr=Be.namespaceURI,mo=Be.value,Ar=qe(wt),tx=mo;let yn=wt==="value"?tx:AJ(tx);if(X.attrName=Ar,X.attrValue=yn,X.keepAttr=!0,X.forceKeepAttr=void 0,Zo(D.uponSanitizeAttribute,
410E,X),yn=X.attrValue,Y&&(Ar==="id"||Ar==="name")&&q5(yn,ee)!==0&&(el(wt,E),yn=ee+yn),Zn&&Rn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,yn)){el(wt,E);continue}if(Ar==="attributename"&&Y5(yn,"href")){el(wt,E);continue}if(X.forceKeepAttr)continue;if(!X.keepAttr){el(wt,E);continue}if(!Ds&&Rn(/\/>/i,yn)){el(wt,E);continue}sn&&bc([K,U,H],_S=>{yn=jc(yn,_S," ")});const CS=qe(E.nodeName);if(!TS(CS,Ar,yn)){el(wt,E);continue}if(N&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!sr)switch(p.getAttributeType(CS,Ar)){case"TrustedHTML":{yn=N.createHTML(yn);break}case"TrustedScriptURL":{yn=N.createScriptURL(yn);break}}if(yn!==tx)try{sr?E.setAttributeNS(sr,wt,yn):E.setAttribute(wt,yn),ff(E)?_r(E):G5(t.removed)}catch{el(wt,E)}}Zo(D.afterSanitizeAttributes,E,null)},gf=function(E){let B=null;const X=jS(E);for(Zo(D.beforeSanitizeShadowDOM,E,null);B=X.nextNode();)if(Zo(D.uponSanitizeShadowNode,B,null),kS(B),ES(B),Au(B.content)&&gf(B.content),(j?j(B):B.nodeType)===xo.element){const Be=y?y(B):B.shadowRoot;Au(Be)&&(cc(Be),gf(Be))}Zo(D.afterSanitizeShadowDOM,E,null)},cc=function(E){const B=j?j(E):E.nodeType;if(B===xo.element){const Be=y?y(E):E.shadowRoot;Au(Be)&&(cc(Be),gf(Be))}const X=b?b(E):E.childNodes;if(!X)return;const st=[];bc(X,Be=>{wc(st,Be)});for(const Be of st)cc(Be);if(B===xo.element){const Be=S?S(E):null;if(typeof Be=="string"&&qe(Be)==="template"){const wt=E.content;Au(wt)&&cc(wt)}}};return t.sanitize=function(ue){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},B=null,X=null,st=null,Be=null;if(lc=!ue,lc&&(ue="<!-->"),typeof ue!="string"&&!mf(ue)&&(ue=OJ(ue),typeof ue!="string"))throw Yu("dirty is not a string, aborting");if(!t.isSupported)return ue;if(Ws||nr(E),t.removed=[],typeof ue=="string"&&(Ge=!1),Ge){const mo=S?S(ue):ue.nodeName;if(typeof mo=="string"){const Ar=qe(mo);if(!se[Ar]||Xe[Ar])throw Yu("root node is forbidden and cannot be sanitized in-place")}if(ff(ue))throw Yu("root node is clobbered and cannot be sanitized in-place");cc(ue)}else if(mf(ue))B=wS("<!---->"),X=B.ownerDocument.importNode(ue,!0),X.nodeType===xo.element&&X.nodeName==="BODY"||X.nodeName==="HTML"?B=X:B.appendChild(X),cc(X);else{if(!z&&!sn&&!bs&&ue.indexOf("<")===-1)return N&&Z?N.createHTML(ue):ue;if(B=wS(ue),!B)return z?null:Z?k:""}B&&_&&_r(B.firstChild);const wt=jS(Ge?ue:B);for(;st=wt.nextNode();)kS(st),ES(st),Au(st.content)&&gf(st.content);if(Ge)return sn&&SS(ue),ue;if(z){if(sn&&SS(B),$)for(Be=L.call(B.ownerDocument);B.firstChild;)Be.appendChild(B.firstChild);else Be=B;return(je.shadowroot||je.shadowrootmode)&&(Be=F.call(r,Be,!0)),Be}let sr=bs?B.outerHTML:B.innerHTML;return bs&&se["!doctype"]&&B.ownerDocument&&B.ownerDocument.doctype&&B.ownerDocument.doctype.name&&Rn(GJ,B.ownerDocument.doctype.name)&&(sr="<!DOCTYPE "+B.ownerDocument.doctype.name+`>
411`+sr),sn&&bc([K,U,H],mo=>{sr=jc(sr,mo," ")}),N&&Z?N.createHTML(sr):sr},t.setConfig=function(){let ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};nr(ue),Ws=!0},t.clearConfig=function(){Jn=null,Ws=!1},t.isValidAttribute=function(ue,E,B){Jn||nr({});const X=qe(ue),st=qe(E);return TS(X,st,B)},t.addHook=function(ue,E){typeof E=="function"&&wc(D[ue],E)},t.removeHook=function(ue,E){if(E!==void 0){const B=CJ(D[ue],E);return B===-1?void 0:_J(D[ue],B,1)[0]}return G5(D[ue])},t.removeHooks=function(ue){D[ue]=[]},t.removeAllHooks=function(){D=nN()},t}var ZJ=F7();const sN=(e,t)=>{const n=t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"").slice(0,60);return`${e}-${n}`},H7=e=>e.toLowerCase().includes("capital braid"),QJ=11,JJ=e=>[...e.filter(t=>H7(t.subject))].sort((t,n)=>new Date(t.created_at).getTime()-new Date(n.created_at).getTime()),XJ=async(e=1)=>{const t=`https://mymnkgutgjdznpsapxek.supabase.co/functions/v1/fetch-newsletters?page=${e}`,n=await fetch(t,{headers:{Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im15bW5rZ3V0Z2pkem5wc2FweGVrIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzQ0MzAwOTksImV4cCI6MjA5MDAwNjA5OX0.ZjgVt8Jx7IWXwadbI5gsv7vWK5aPsOUE2F2KBlgtcn4"}});if(!n.ok)throw new Error("Failed to fetch newsletters");return n.json()},eX=async e=>{const t=`https://mymnkgutgjdznpsapxek.supabase.co/functions/v1/fetch-newsletters?id=${e}`,n=await fetch(t,{headers:{Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im15bW5rZ3V0Z2pkem5wc2FweGVrIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzQ0MzAwOTksImV4cCI6MjA5MDAwNjA5OX0.ZjgVt8Jx7IWXwadbI5gsv7vWK5aPsOUE2F2KBlgtcn4"}});if(n.status===404)throw new Error("not_found");if(!n.ok)throw new Error("Failed to fetch newsletter");return(await n.json()).broadcast},tX=e=>new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),nX=()=>{const{slug:e}=r9(),t=(e==null?void 0:e.split("-")[0])||"",{data:n,isLoading:r,error:o}=xp({queryKey:["newsletter",t],queryFn:()=>eX(t),enabled:!!t,retry:(d,u)=>u.message!=="not_found"&&d<2}),i=!!n&&H7(n.subject),{data:a}=xp({queryKey:["newsletters",1],queryFn:()=>XJ(1),enabled:i}),l=P.useMemo(()=>
411{if(!i||!(a!=null&&a.broadcasts)||!n)return null;const d=JJ(a.broadcasts),u=d.findIndex(p=>String(p.id)===String(n.id));return u===-1?null:{total:QJ,position:u+1,prev:u>0?d[u-1]:null,next:u<d.length-1?d[u+1]:null}},[i,a,n]),c=P.useMemo(()=>{var u,p;if(!(n!=null&&n.content))return"";const d=ZJ.sanitize(n.content,{USE_PROFILES:{html:!0}});if(typeof window>"u")return d;try{const f=new DOMParser().parseFromString(d,"text/html"),h="funding opportunities for ecosystem builders",g=Array.from(f.body.querySelectorAll("*")),m=N=>(N.textContent||"").trim().toLowerCase().startsWith(h);let b=g.find(N=>/^H[1-6]$/.test(N.tagName)&&m(N))||g.find(N=>(N.tagName==="STRONG"||N.tagName==="B")&&m(N))||g.find(N=>m(N))||null;if(!b)return d;const v=[];let y=b.parentElement;for(;y&&y!==f.body;)v.push(y),y=y.parentElement;const w=f.body.innerHTML;let j=b;for(;j;){const N=j.nextSibling;(u=j.parentNode)==null||u.removeChild(j),j=N}for(const N of v){let k=N.nextSibling;for(;k;){const T=k.nextSibling;(p=k.parentNode)==null||p.removeChild(k),k=T}}return(f.body.textContent||"").trim().length<200?(f.body.innerHTML=w,d):f.body.innerHTML}catch{return d}},[n==null?void 0:n.content]);return s.jsxs(Os,{children:[n&&s.jsx(Ve,{title:`${n.subject} — Ecosystem Edge®`,description:(n.description||n.subject).slice(0,158),path:`/newsletter/${e}`,type:"article",image:n.thumbnail_url||void 0,jsonLd:{"@context":"https://schema.org","@type":"BlogPosting",headline:n.subject,datePublished:n.published_at,description:n.description||n.subject,image:n.thumbnail_url||void 0,mainEntityOfPage:`https://ecosystem-edge.com/newsletter/${e}`,author:{"@type":"Organization",name:"Ecosystem Edge®"},publisher:{"@type":"Organization",name:"Ecosystem Edge®"}}}),s.jsx("section",{className:"py-16 md:py-24",style:{backgroundColor:"#fafaf8"},children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6",children:[s.jsx(et,{to:"/newsletter",className:"inline-flex items-center font-body text-sm mb-8 transition-opacity hover:opacity-70",style:{color:"#59BEC9"},children:"← Back to Archive"}),r&&s.jsxs("div",{children:[s.jsx(Cd,{className:"h-4 w-32 mb-4"}),s.jsx(Cd,{className:"h-10 w-3/4 mb-8"}),s.jsx(Cd,{className:"h-96 w-full"})]}),o&&s.jsxs("div",{className:"text-center py-12",children:[s.jsx("p",{className:"font-body",style:{color:"#718096"},children:o.message==="not_found"?"We couldn't find this newsletter. It may have moved or is no longer available.":"Unable to load this newsletter. Please try again later."}),s.jsx(et,{to:"/newsletter",className:"inline-flex items-center font-body text-sm mt-4 transition-opacity hover:opacity-70",style:{color:"#59BEC9"},children:"Browse the archive →"})]}),n&&s.jsxs("article",{children:[l&&s.jsxs("p",{className:"font-body uppercase mb-3",style:{fontSize:"12px",fontWeight:700,letterSpacing:"0.14em",color:"#E2B673"},children:["The Capital Braid™ · Edition ",l.position," of ",l.total]}),s.jsx("p",{className:"font-body text-sm mb-3",style:{color:"#718096"},children:tX(n.published_at)}),s.jsx("h1",{className:"font-display text-2xl md:text-4xl font-bold mb-8 leading-snug",style:{color:"#2D4D83"},children:n.subject}),s.jsx("div",{className:"newsletter-content font-body prose prose-lg max-w-none",style:{color:"#2d3748",lineHeight:1.8},dangerouslySetInnerHTML:{__html:c}}),l&&(l.prev||l.next)&&s.jsxs("div",{className:"mt-12 pt-8 grid grid-cols-1 sm:grid-cols-2 gap-4",style:{borderTop:"1px solid rgba(45,77,131,0.08)"},children:[l.prev?s.jsxs(et,{to:`/newsletter/${sN(l.prev.id,l.prev.subject)}`,className:"group block rounded-xl p-5 transition-all hover:shadow-md",style:{backgroundColor:"#fff",border:"1px solid rgba(45,77,131,0.08)"},children:[s.jsxs("p",{className:"font-body text-xs uppercase mb-2 flex items-center gap-2",style:{letterSpacing:"0.1em",color:"#59BEC9",fontWeight:600},children:[s.jsx(ND,{size:14})," Previous in the series"]}),s.jsx("p",{className:"font-display text-base font-semibold leading-snug",style:{color:"#2D4D83"},children:l.prev.subject})]}):s.jsx("div",{className:"hidden sm:block"}),l.next?s.jsxs(et,{to:`/newsletter/${sN(l.next.id,l.next.subject)}`,className:"group block rounded-xl p-5 transition-all hover:shadow-md sm:text-right",style:{backgroundColor:"#fff",border:"1px solid rgba(45,77,131,0.08)"},children:[s.jsxs("p",{className:"font-body text-xs uppercase mb-2 flex items-center gap-2 sm:justify-end",style:{letterSpacing:"0.1em",color:"#59BEC9",fontWeight:600},children:["Next in the series ",s.jsx(xi,{size:14})]}),s.jsx("p",{className:"font-display text-base font-semibold leading-snug",style:{color:"#2D4D83"},children:l.next.subject})]}):s.jsx("div",{className:"hidden sm:block"})]})]})]})})]})},sX=[{heading:"What we collect",body:"When you use Ecosystem Edge®, we collect your name and email address, your organization and region, your scorecard ratings, and your survey or conversation responses."},{heading:"How we use it",body:"We use your data to make your work visible by generating your individual report, support facilitated coalition sessions, improve our product and models using anonymized data, and share aggregate anonymized findings publicly. Your individual data is never shared with third parties and never sold."},{heading:"How we store it",body:"Your data is stored securely using industry-standard cloud infrastru
411cture. Scorecard ratings and responses are processed via guided sensemaking to generate your report."},{heading:"Your rights",body:"You can request deletion of your data at any time by emailing [email protected]. We will remove your personal data within 30 days."},{heading:"Contact",body:`[email protected]
412ecosystem-edge.com`}],rX=()=>s.jsxs(Os,{children:[s.jsx(Ve,{title:"Privacy Policy — Ecosystem Edge®",description:"How Ecosystem Edge® collects, uses, and protects your data.",path:"/privacy"}),s.jsx("section",{className:"py-20 md:py-28",style:{backgroundColor:"#fafaf8"},children:s.jsxs("div",{className:"max-w-3xl mx-auto px-6",children:[s.jsx("h1",{className:"font-display text-3xl md:text-4xl font-bold mb-2",style:{color:"#2D4D83"},children:"Privacy Policy"}),s.jsx("p",{className:"font-body text-sm mb-12",style:{color:"#718096"},children:"Ecosystem Edge LLC · Last updated: March 2026"}),s.jsx("div",{className:"space-y-10",children:sX.map(e=>s.jsxs("div",{children:[s.jsx("h2",{className:"font-display text-lg font-bold mb-2",style:{color:"#2D4D83"},children:e.heading}),s.jsx("p",{className:"font-body text-sm leading-relaxed whitespace-pre-line",style:{color:"#4a5568"},children:e.body})]},e.heading))})]})})]}),fn=x.forwardRef(({className:e,type:t,...n},r)=>s.jsx("input",{type:t,className:Ce("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:r,...n}));fn.displayName="Input";var oX="Label",V7=x.forwardRef((e,t)=>s.jsx(We.label,{...e,ref:t,onMouseDown:n=>{var o;n.target.closest("button, input, select, textarea")||((o=e.onMouseDown)==null||o.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));V7.displayName=oX;var U7=V7;const iX=Pw("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),dt=x.forwardRef(({className:e,...t},n)=>s.jsx(U7,{ref:n,className:Ce(iX(),e),...t}));dt.displayName=U7.displayName;const Yy=x.forwardRef(({className:e,...t},n)=>s.jsx("textarea",{className:Ce("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
412ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...t}));Yy.displayName="Textarea";const Kj=Pw("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),ms=x.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const a=r?OO:"button";return s.jsx(a,{className:Ce(Kj({variant:t,size:n,className:e})),ref:i,...o})});ms.displayName="Button";function rN(e,[t,n]){return Math.min(n,Math.max(t,e))}var aX=x.createContext(void 0);function lX(e){const t=x.useContext(aX);return e||t||"ltr"}var S0=0;function G7(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??oN()),document.body.insertAdjacentElement("beforeend",e[1]??oN()),S0++,()=>{S0===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),S0--}},[])}function oN(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var k0="focusScope.autoFocusOnMount",T0="focusScope.autoFocusOnUnmount",iN={bubbles:!1,cancelable:!0},cX="FocusScope",Zj=x.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,c]=x.useState(null),d=io(o),u=io(i),p=x.useRef(null),f=it(t,m=>c(m)),h=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(r){let m=function(w){if(h.paused||!l)return;const j=w.target;l.contains(j)?p.current=j:Ji(p.current,{select:!0})},b=function(w){if(h.paused||!l)return;const j=w.relatedTarget;j!==null&&(l.contains(j)||Ji(p.current,{select:!0}))},v=function(w){if(document.activeElement===document.body)for(const S of w)S.removedNodes.length>0&&Ji(l)};document.addEventListener("focusin",m),document.addEventListener("focusout",b);const y=new MutationObserver(v);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",b),y.disconnect()}}},[r,l,h.paused]),x.useEffect(()=>{if(l){lN.add(h);const m=document.activeElement;if(!l.contains(m)){const v=new CustomEvent(k0,iN);l.addEventListener(k0,d),l.dispatchEvent(v),v.defaultPrevented||(dX(mX(Y7(l)),{select:!0}),document.activeElement===m&&Ji(l))}return()=>{l.removeEventListener(k0,d),setTimeout(()=>{const v=new CustomEvent(T0,iN);l.addEventListener(T0,u),l.dispatchEvent(v),v.defaultPrevented||Ji(m??document.body,{select:!0}),l.removeEventListener(T0,u),lN.remove(h)},0)}}},[l,d,u,h]);const g=x.useCallback(m=>{if(!n&&!r||h.paused)return;const b=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,v=document.activeElement;if(b&&v){const y=m.currentTarget,[w,j]=uX(y);w&&j?!m.shiftKey&&v===j?(m.preventDefault(),n&&Ji(w,{select:!0})):m.shiftKey&&v===w&&(m.preventDefault(),n&&Ji(j,{select:!0})):v===y&&m.preventDefault()}},[n,r,h.paused]);return s.jsx(We.div,{tabIndex:-1,...a,ref:f,onKeyDown:g})});Zj.displayName=cX;function dX(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Ji(r,{select:t}),document.activeElement!==n)return}function uX(e){const t=Y7(e),n=aN(t,e),r=aN(t.reverse(),e);return[n,r]}function Y7(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function aN(e,t){for(const n of e)if(!hX(n,{upTo:t}))return n}function hX(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function pX(e){return e instanceof HTMLInputElement&&"select"in e}function Ji(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&pX(e)&&t&&e.select()}}var lN=fX();function fX(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=cN(e,t),e.unshift(t)},remove(t){var n;e=cN(e,t),(n=e[0])==null||n.resume()}}}function cN(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function mX(e){return e.filter(t=>t.tagName!=="A")}function q7(e){const t=x.useRef({value:e,previous:e});return x.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var gX=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Sc=new WeakMap,nm=new WeakMap,sm={},N0=0,K7=function(e){return e&&(e.host||K7(e.parentNode))},yX=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=K7(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},xX=function(e,t,n,r){var o=yX(t,Array.isArray(e)?e:[e]);sm[n]||(sm[n]=new WeakMap);var i=sm[n],a=[],l=new Set,c=new Set(o),d=function(p){!p||l.has(p)||(l.add(p),d(p.parentNode))};o.forEach(d);var u=function(p){!p||c.has(p)||Array.prototype.forEach.call(p.children,function(f){if(l.has(f))u(f);else try{var h=f.getAttribute(r),g=h!==null&&h!=="false",m=(Sc.get(f)||0)+1,b=(i.get(f)||0)+1;Sc.set(f,m),i.set(f,b),a.push(f),m===1&&g&&nm.set(f,!0),b===1&&f.setAttribute(n,"true"),g||f.setAttribute(r,"true")}catch(v){console.error("aria-hidden: cannot operate on ",f,v)}})};return u(t),l.clear(),N0++,function(){a.forEach(function(p){var f=Sc.get(p)-1,h=i.get(p)-1;Sc.set(p,f),i.set(p,h),f||(nm.has(p)||p.removeAttribute(r),nm.delete(p)),h||p.removeAttribute(n)}),N0--,N0||(Sc=new WeakMap,Sc=new WeakMap,nm=new WeakMap,sm={})}},Z7=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=gX(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),xX(r,o,n,"aria-hidden")):function(){return null}},Km="right-scroll-bar-position",Zm="width-before-scroll-bar",vX="with-scroll-bars-hidden",bX="--removed-body-scroll-bar-size";function E0(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function wX(e,t){var n=x.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var jX=typeof window<"u"?x.useLayoutEffect:x.useEffect,dN=new WeakMap;function SX(e,t){var n=wX(null,function(r){return e.forEach(function(o){return E0(o,r)})});return jX(function(){var r=dN.get(n);if(r){var o=new Set(r),i=new Set(e),a=n.current;o.forEach(function(l){i.has(l)||E0(l,null)}
vendor: 4,153 bytes, lines 412-427
412),i.forEach(function(l){o.has(l)||E0(l,a)})}dN.set(n,e)},[e]),n}function kX(e){return e}function TX(e,t){t===void 0&&(t=kX);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var a=t(i,r);return n.push(a),function(){n=n.filter(function(l){return l!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(l){return i(l)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var l=n;n=[],l.forEach(i),a=n}var c=function(){var u=a;a=[],u.forEach(i)},d=function(){return Promise.resolve().then(c)};d(),n={push:function(u){a.push(u),d()},filter:function(u){return a=a.filter(u),n}}}};return o}function NX(e){e===void 0&&(e={});var t=TX(null);return t.options=Oo({async:!0,ssr:!1},e),t}var Q7=function(e){var t=e.sideCar,n=Su(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return x.createElement(r,Oo({},n))};Q7.isSideCarExport=!0;function EX(e,t){return e.useMedium(t),Q7}var J7=NX(),C0=function(){},qy=x.forwardRef(function(e,t){var n=x.useRef(null),r=x.useState({onScrollCapture:C0,onWheelCapture:C0,onTouchMoveCapture:C0}),o=r[0],i=r[1],a=e.forwardProps,l=e.children,c=e.className,d=e.removeScrollBar,u=e.enabled,p=e.shards,f=e.sideCar,h=e.noRelative,g=e.noIsolation,m=e.inert,b=e.allowPinchZoom,v=e.as,y=v===void 0?"div":v,w=e.gapMode,j=Su(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=f,N=SX([n,t]),k=Oo(Oo({},j),o);return x.createElement(x.Fragment,null,u&&x.createElement(S,{sideCar:J7,removeScrollBar:d,shards:p,noRelative:h,noIsolation:g,inert:m,setCallbacks:i,allowPinchZoom:!!b,lockRef:n,gapMode:w}),a?x.cloneElement(x.Children.only(l),Oo(Oo({},k),{ref:N})):x.createElement(y,Oo({},k,{className:c,ref:N}),l))});qy.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};qy.classNames={fullWidth:Zm,zeroRight:Km};var CX=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function _X(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=CX();return t&&e.setAttribute("nonce",t),e}function AX(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function RX(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var PX=function(){var e=0,t=null;return{add:function(n){e==0&&(t=_X())&&(AX(t,n),RX(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},zX=function(){var e=PX();return function(t,n){x.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},X7=function(){var e=zX(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},IX={left:0,top:0,right:0,gap:0},_0=function(e){return parseInt(e||"",10)||0},OX=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[_0(n),_0(r),_0(o)]},DX=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return IX;var t=OX(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},WX=X7(),_d="data-scroll-locked",$X=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,l=e.gap;return n===void 0&&(n="margin"),`
413  .`.concat(vX,` {
414   overflow: hidden `).concat(r,`;
415   padding-right: `).concat(l,"px ").concat(r,`;
416  }
417  body[`).concat(_d,`] {
418    overflow: hidden `).concat(r,`;
419    overscroll-behavior: contain;
420    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
421    padding-left: `.concat(o,`px;
422    padding-top: `).concat(i,`px;
423    padding-right: `).concat(a,`px;
424    margin-left:0;
425    margin-top:0;
426    margin-right: `).concat(l,"px ").concat(r,`;
427    `),n==="padding"&&"padding-right: ".concat(l,"px ").concat(r,";
427")].filter(Boolean).join(""),`
428  }
429  
430  .`).concat(Km,` {
431    right: `).concat(l,"px ").concat(r,`;
432  }
433  
434  .`).concat(Zm,` {
435    margin-right: `).concat(l,"px ").concat(r,`;
436  }
437  
438  .`).concat(Km," .").concat(Km,` {
439    right: 0 `).concat(r,`;
440  }
441  
442  .`).concat(Zm," .").concat(Zm,` {
443    margin-right: 0 `).concat(r,`;
444  }
445  
446  body[`).concat(_d,`] {
447    `).concat(bX,": ").concat(l,`px;
448  }
449`)},uN=function(){var e=parseInt(document.body.getAttribute(_d)||"0",10);return isFinite(e)?e:0},LX=function(){x.useEffect(function(){return document.body.setAttribute(_d,(uN()+1).toString()),function(){var e=uN()-1;e<=0?document.body.removeAttribute(_d):document.body.setAttribute(_d,e.toString())}},[])},MX=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;LX();var i=x.useMemo(function(){return DX(o)},[o]);return x.createElement(WX,{styles:$X(i,!t,o,n?"":"!important")})},c1=!1;if(typeof window<"u")try{var rm=Object.defineProperty({},"passive",{get:function(){return c1=!0,!0}});window.addEventListener("test",rm,rm),window.removeEventListener("test",rm,rm)}catch{c1=!1}var kc=c1?{passive:!1}:!1,BX=function(e){return e.tagName==="TEXTAREA"},eR=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!BX(e)&&n[t]==="visible")},FX=function(e){return eR(e,"overflowY")},HX=function(e){return eR(e,"overflowX")},hN=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=tR(e,r);if(o){var i=nR(e,r),a=i[1],l=i[2];if(a>l)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},VX=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},UX=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},tR=function(e,t){return e==="v"?FX(t):HX(t)},nR=function(e,t){return e==="v"?VX(t):UX(t)},GX=function(e,t){return e==="h"&&t==="rtl"?-1:1},YX=function(e,t,n,r,o){var i=GX(e,window.getComputedStyle(t).direction),a=i*r,l=n.target,c=t.contains(l),d=!1,u=a>0,p=0,f=0;do{if(!l)break;var h=nR(e,l),g=h[0],m=h[1],b=h[2],v=m-b-i*g;(g||v)&&tR(e,l)&&(p+=v,f+=g);var y=l.parentNode;l=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&l!==document.body||c&&(t.contains(l)||t===l));return(u&&(Math.abs(p)<1||!o)||!u&&(Math.abs(f)<1||!o))&&(d=!0),d},om=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},pN=function(e){return[e.deltaX,e.deltaY]},fN=function(e){return e&&"current"in e?e.current:e},qX=function(e,t){return e[0]===t[0]&&e[1]===t[1]},KX=function(e){return`
450  .block-interactivity-`.concat(e,` {pointer-events: none;}
451  .allow-interactivity-`).concat(e,` {pointer-events: all;}
452`)},ZX=0,Tc=[];function QX(e){var t=x.useRef([]),n=x.useRef([0,0]),r=x.useRef(),o=x.useState(ZX++)[0],i=x.useState(X7)[0],a=x.useRef(e);x.useEffect(function(){a.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=ZY([e.lockRef.current],(e.shards||[]).map(fN),!0).filter(Boolean);return m.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=x.useCallback(function(m,b){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!a.current.allowPinchZoom;var v=om(m),y=n.current,w="deltaX"in m?m.deltaX:y[0]-v[0],j="deltaY"in m?m.deltaY:y[1]-v[1],S,N=m.target,k=Math.abs(w)>Math.abs(j)?"h":"v";if("touches"in m&&k==="h"&&N.type==="range")return!1;var T=hN(k,N);if(!T)return!0;if(T?S=k:(S=k==="v"?"h":"v",T=hN(k,N)),!T)return!1;if(!r.current&&"changedTouches"in m&&(w||j)&&(r.current=S),!S)return!0;var C=r.current||S;return YX(C,b,m,C==="h"?w:j,!0)},[]),c=x.useCallback(function(m){var b=m;if(!(!Tc.length||Tc[Tc.length-1]!==i)){var v="deltaY"in b?pN(b):om(b),y=t.current.filter(function(S){return S.name===b.type&&(S.target===b.target||b.target===S.shadowParent)&&qX(S.delta,v)}
vendor: 4,197 bytes, line 452
452)[0];if(y&&y.should){b.cancelable&&b.preventDefault();return}if(!y){var w=(a.current.shards||[]).map(fN).filter(Boolean).filter(function(S){return S.contains(b.target)}),j=w.length>0?l(b,w[0]):!a.current.noIsolation;j&&b.cancelable&&b.preventDefault()}}},[]),d=x.useCallback(function(m,b,v,y){var w={name:m,delta:b,target:v,should:y,shadowParent:JX(v)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(j){return j!==w})},1)},[]),u=x.useCallback(function(m){n.current=om(m),r.current=void 0},[]),p=x.useCallback(function(m){d(m.type,pN(m),m.target,l(m,e.lockRef.current))},[]),f=x.useCallback(function(m){d(m.type,om(m),m.target,l(m,e.lockRef.current))},[]);x.useEffect(function(){return Tc.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",c,kc),document.addEventListener("touchmove",c,kc),document.addEventListener("touchstart",u,kc),function(){Tc=Tc.filter(function(m){return m!==i}),document.removeEventListener("wheel",c,kc),document.removeEventListener("touchmove",c,kc),document.removeEventListener("touchstart",u,kc)}},[]);var h=e.removeScrollBar,g=e.inert;return x.createElement(x.Fragment,null,g?x.createElement(i,{styles:KX(o)}):null,h?x.createElement(MX,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function JX(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const XX=EX(J7,QX);var Qj=x.forwardRef(function(e,t){return x.createElement(qy,Oo({},e,{ref:t,sideCar:XX}))});Qj.classNames=qy.classNames;var eee=[" ","Enter","ArrowUp","ArrowDown"],tee=[" ","Enter"],Jl="Select",[Ky,Zy,nee]=S4(Jl),[Tu,Tie]=Pi(Jl,[nee,Ry]),Qy=Ry(),[see,Za]=Tu(Jl),[ree,oee]=Tu(Jl),sR=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:o,onOpenChange:i,value:a,defaultValue:l,onValueChange:c,dir:d,name:u,autoComplete:p,disabled:f,required:h,form:g}=e,m=Qy(t),[b,v]=x.useState(null),[y,w]=x.useState(null),[j,S]=x.useState(!1),N=lX(d),[k,T]=ql({prop:r,defaultProp:o??!1,onChange:i,caller:Jl}),[C,R]=ql({prop:a,defaultProp:l,onChange:c,caller:Jl}),L=x.useRef(null),I=b?g||!!b.closest("form"):!0,[F,D]=x.useState(new Set),K=Array.from(F).map(U=>U.props.value).join(";");return s.jsx(IA,{...m,children:s.jsxs(see,{required:h,scope:t,trigger:b,onTriggerChange:v,valueNode:y,onValueNodeChange:w,valueNodeHasChildren:j,onValueNodeHasChildrenChange:S,contentId:za(),value:C,onValueChange:R,open:k,onOpenChange:T,dir:N,triggerPointerDownPosRef:L,disabled:f,children:[s.jsx(Ky.Provider,{scope:t,children:s.jsx(ree,{scope:e.__scopeSelect,onNativeOptionAdd:x.useCallback(U=>{D(H=>new Set(H).add(U))},[]),onNativeOptionRemove:x.useCallback(U=>{D(H=>{const O=new Set(H);return O.delete(U),O})},[]),children:n})}),I?s.jsxs(ER,{"aria-hidden":!0,required:h,tabIndex:-1,name:u,autoComplete:p,value:C,onChange:U=>R(U.target.value),disabled:f,form:g,children:[C===void 0?s.jsx("option",{value:""}):null,Array.from(F)]},K):null]})})};sR.displayName=Jl;var rR="SelectTrigger",oR=x.forwardRef((e,t)=>{const{__scopeSelect:n,disabled:r=!1,...o}=e,i=Qy(n),a=Za(rR,n),l=a.disabled||r,c=it(t,a.onTriggerChange),d=Zy(n),u=x.useRef("touch"),[p,f,h]=_R(m=>{const b=d().filter(w=>!w.disabled),v=b.find(w=>w.value===a.value),y=AR(b,m,v);y!==void 0&&a.onValueChange(y.value)}),g=m=>{l||(a.onOpenChange(!0),h()),m&&(a.triggerPointerDownPosRef.current={x:Math.round(m.pageX),y:Math.round(m.pageY)})};return s.jsx(OA,{asChild:!0,...i,children:s.jsx(We.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:l,"data-disabled":l?"":void 0,"data-placeholder":CR(a.value)?"":void 0,...o,ref:c,onClick:Te(o.onClick,m=>{m.currentTarget.focus(),u.current!=="mouse"&&g(m)}),onPointerDown:Te(o.onPointerDown,m=>{u.current=m.pointerType;const b=m.target;b.hasPointerCapture(m.pointerId)&&b.releasePointerCapture(m.pointerId),m.button===0&&m.ctrlKey===!1&&m.pointerType==="mouse"&&(g(m),m.preventDefault())}),onKeyDown:Te(o.onKeyDown,m=>{const b=p.current!=="";!(m.ctrlKey||m.altKey||m.metaKey)&&m.key.length===1&&f(m.key),!(b&&m.key===" ")&&eee.includes(m.key)&&
vendor: 15,694 bytes, line 452
452(g(),m.preventDefault())})})})});oR.displayName=rR;var iR="SelectValue",aR=x.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,children:i,placeholder:a="",...l}=e,c=Za(iR,n),{onValueNodeHasChildrenChange:d}=c,u=i!==void 0,p=it(t,c.onValueNodeChange);return _n(()=>{d(u)},[d,u]),s.jsx(We.span,{...l,ref:p,style:{pointerEvents:"none"},children:CR(c.value)?s.jsx(s.Fragment,{children:a}):i})});aR.displayName=iR;var iee="SelectIcon",lR=x.forwardRef((e,t)=>{const{__scopeSelect:n,children:r,...o}=e;return s.jsx(We.span,{"aria-hidden":!0,...o,ref:t,children:r||"▼"})});lR.displayName=iee;var aee="SelectPortal",cR=e=>s.jsx(Zp,{asChild:!0,...e});cR.displayName=aee;var Xl="SelectContent",dR=x.forwardRef((e,t)=>{const n=Za(Xl,e.__scopeSelect),[r,o]=x.useState();if(_n(()=>{o(new DocumentFragment)},[]),!n.open){const i=r;return i?rc.createPortal(s.jsx(uR,{scope:e.__scopeSelect,children:s.jsx(Ky.Slot,{scope:e.__scopeSelect,children:s.jsx("div",{children:e.children})})}),i):null}return s.jsx(hR,{...e,ref:t})});dR.displayName=Xl;var Fr=10,[uR,Qa]=Tu(Xl),lee="SelectContentImpl",cee=Zd("SelectContent.RemoveScroll"),hR=x.forwardRef((e,t)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:a,side:l,sideOffset:c,align:d,alignOffset:u,arrowPadding:p,collisionBoundary:f,collisionPadding:h,sticky:g,hideWhenDetached:m,avoidCollisions:b,...v}=e,y=Za(Xl,n),[w,j]=x.useState(null),[S,N]=x.useState(null),k=it(t,J=>j(J)),[T,C]=x.useState(null),[R,L]=x.useState(null),I=Zy(n),[F,D]=x.useState(!1),K=x.useRef(!1);x.useEffect(()=>{if(w)return Z7(w)},[w]),G7();const U=x.useCallback(J=>{const[me,...Xe]=I().map($e=>$e.ref.current),[ze]=Xe.slice(-1),Se=document.activeElement;for(const $e of J)if($e===Se||($e==null||$e.scrollIntoView({block:"nearest"}),$e===me&&S&&(S.scrollTop=0),$e===ze&&S&&(S.scrollTop=S.scrollHeight),$e==null||$e.focus(),document.activeElement!==Se))return},[I,S]),H=x.useCallback(()=>U([T,w]),[U,T,w]);x.useEffect(()=>{F&&H()},[F,H]);const{onOpenChange:O,triggerPointerDownPosRef:W}=y;x.useEffect(()=>{if(w){let J={x:0,y:0};const me=ze=>{var Se,$e;J={x:Math.abs(Math.round(ze.pageX)-(((Se=W.current)==null?void 0:Se.x)??0)),y:Math.abs(Math.round(ze.pageY)-((($e=W.current)==null?void 0:$e.y)??0))}},Xe=ze=>{J.x<=10&&J.y<=10?ze.preventDefault():w.contains(ze.target)||O(!1),document.removeEventListener("pointermove",me),W.current=null};return W.current!==null&&(document.addEventListener("pointermove",me),document.addEventListener("pointerup",Xe,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",me),document.removeEventListener("pointerup",Xe,{capture:!0})}}},[w,O,W]),x.useEffect(()=>{const J=()=>O(!1);return window.addEventListener("blur",J),window.addEventListener("resize",J),()=>{window.removeEventListener("blur",J),window.removeEventListener("resize",J)}},[O]);const[G,pe]=_R(J=>{const me=I().filter(Se=>!Se.disabled),Xe=me.find(Se=>Se.ref.current===document.activeElement),ze=AR(me,J,Xe);ze&&setTimeout(()=>ze.ref.current.focus())}),ce=x.useCallback((J,me,Xe)=>{const ze=!K.current&&!Xe;(y.value!==void 0&&y.value===me||ze)&&(C(J),ze&&(K.current=!0))},[y.value]),we=x.useCallback(()=>w==null?void 0:w.focus(),[w]),se=x.useCallback((J,me,Xe)=>{const ze=!K.current&&!Xe;(y.value!==void 0&&y.value===me||ze)&&L(J)},[y.value]),Je=r==="popper"?d1:pR,je=Je===d1?{side:l,sideOffset:c,align:d,alignOffset:u,arrowPadding:p,collisionBoundary:f,collisionPadding:h,sticky:g,hideWhenDetached:m,avoidCollisions:b}:{};return s.jsx(uR,{scope:n,content:w,viewport:S,onViewportChange:N,itemRefCallback:ce,selectedItem:T,onItemLeave:we,itemTextRefCallback:se,focusSelectedItem:H,selectedItemText:R,position:r,isPositioned:F,searchRef:G,children:s.jsx(Qj,{as:cee,allowPinchZoom:!0,children:s.jsx(Zj,{asChild:!0,trapped:y.open,onMountAutoFocus:J=>{J.preventDefault()},onUnmountAutoFocus:Te(o,J=>{var me;(me=y.trigger)==null||me.focus({preventScroll:!0}),J.preventDefault()}),children:s.jsx(Kp,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:J=>J.preventDefault(),onDismiss:()=>y.onOpenChange(!1),children:s.jsx(Je,{role:"listbox",id:y.contentId,"data-state":y.open?"open":"closed",dir:y.dir,onContextMenu:J=>J.preventDefault(),...v,...je,onPlaced:()=>D(!0),ref:k,style:{display:"flex",flexDirection:"column",outline:"none",...v.style},onKeyDown:Te(v.onKeyDown,J=>{const me=J.ctrlKey||J.altKey||J.metaKey;if(J.key==="Tab"&&J.preventDefault(),!me&&J.key.length===1&&pe(J.key),["ArrowUp","ArrowDown","Home","End"].includes(J.key)){let ze=I().filter(Se=>!Se.disabled).map(Se=>Se.ref.current);if(["ArrowUp","End"].includes(J.key)&&(ze=ze.slice().reverse()),["ArrowUp","ArrowDown"].includes(J.key)){const Se=J.target,$e=ze.indexOf(Se);ze=ze.slice($e+1)}setTimeout(()=>U(ze)),J.preventDefault()}})})})})})})});hR.displayName=lee;var dee="SelectItemAlignedPosition",pR=x.forwardRef((e,t)=>{const{__scopeSelect:n,onPlaced:r,...o}=e,i=Za(Xl,n),a=Qa(Xl,n),[l,c]=x.useState(null),[d,u]=x.useState(null),p=it(t,k=>u(k)),f=Zy(n),h=x.useRef(!1),g=x.useRef(!0),{viewport:m,selectedItem:b,selectedItemText:v,focusSelectedItem:y}=a,w=x.useCallback(()=>{if(i.trigger&&i.valueNode&&l&&d&&m&&b&&v){const k=i.trigger.getBoundingClientRect(),T=d.getBoundingClientRect(),C=i.valueNode.getBoundingClientRect(),R=v.getBoundingClientRect();if(i.dir!=="rtl"){const Se=R.left-T.left,$e=C.left-Se,Ot=k.left-$e,gn=k.width+Ot,Ds=Math.max(gn,T.width),sn=window.innerWidth-Fr,Zn=rN($e,[Fr,Math.max(Fr,sn-Ds)]);l.style.minWidth=gn+"px",l.style.left=Zn+"px"}else{const Se=T.right-R.right,$e=window.innerWidth-C.right-Se,Ot=window.innerWidth-k.right-$e,gn=k.width+Ot,Ds=Math.max(gn,T.width),sn=window.innerWidth-Fr,Zn=rN($e,[Fr,Math.max(Fr,sn-Ds)]);l.style.minWidth=gn+"px",l.style.right=Zn+"px"}const L=f(),I=window.innerHeight-Fr*2,F=m.scrollHeight,D=window.getComputedStyle(d),K=parseInt(D.borderTopWidth,10),U=parseInt(D.paddingTop,10),H=parseInt(D.borderBottomWidth,10),O=parseInt(D.paddingBottom,10),W=K+U+F+O+H,G=Math.min(b.offsetHeight*5,W),pe=window.getComputedStyle(m),ce=parseInt(pe.paddingTop,10),we=parseInt(pe.paddingBottom,10),se=k.top+k.height/2-Fr,Je=I-se,je=b.offsetHeight/2,J=b.offsetTop+je,me=K+U+J,Xe=W-me;if(me<=se){const Se=L.length>0&&b===L[L.length-1].ref.current;l.style.bottom="0px";const $e=d.clientHeight-m.offsetTop-m.offsetHeight,Ot=Math.max(Je,je+(Se?we:0)+$e+H),gn=me+Ot;l.style.height=gn+"px"}else{const Se=L.length>0&&b===L[0].ref.current;l.style.top="0px";const Ot=Math.max(se,K+m.offsetTop+(Se?ce:0)+je)+Xe;l.style.height=Ot+"px",m.scrollTop=me-se+m.offsetTop}l.style.margin=`${Fr}px 0`,l.style.minHeight=G+"px",l.style.maxHeight=I+"px",r==null||r(),requestAnimationFrame(()=>h.current=!0)}},[f,i.trigger,i.valueNode,l,d,m,b,v,i.dir,r]);_n(()=>w(),[w]);const[j,S]=x.useState();_n(()=>{d&&S(window.getComputedStyle(d).zIndex)},[d]);const N=x.useCallback(k=>{k&&g.current===!0&&(w(),y==null||y(),g.current=!1)},[w,y]);return s.jsx(hee,{scope:n,contentWrapper:l,shouldExpandOnScrollRef:h,onScrollButtonChange:N,children:s.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:s.jsx(We.div,{...o,ref:p,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});pR.displayName=dee;var uee="SelectPopperPosition",d1=x.forwardRef((e,t)=>{const{__scopeSelect:n,align:r="start",collisionPadding:o=Fr,...i}=e,a=Qy(n);return s.jsx(DA,{...a,...i,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});d1.displayName=uee;var[hee,Jj]=Tu(Xl,{}),u1="SelectViewport",fR=x.forwardRef((e,t)=>{const{__scopeSelect:n,nonce:r,...o}=e,i=Qa(u1,n),a=Jj(u1,n),l=it(t,i.onViewportChange),c=x.useRef(0);return s.jsxs(s.Fragment,{children:[s.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),s.jsx(Ky.Slot,{scope:n,children:s.jsx(We.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:l,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:Te(o.onScroll,d=>{const u=d.currentTarget,{contentWrapper:p,shouldExpandOnScrollRef:f}=a;if(f!=null&&f.current&&p){const h=Math.abs(c.current-u.scrollTop);if(h>0){const g=window.innerHeight-Fr*2,m=parseFloat(p.style.minHeight),b=parseFloat(p.style.height),v=Math.max(m,b);if(v<g){const y=v+h,w=Math.min(g,y),j=y-w;p.style.height=w+"px",p.style.bottom==="0px"&&(u.scrollTop=j>0?j:0,p.style.justifyContent="flex-end")}}}c.current=u.scrollTop})})})]})});fR.displayName=u1;var mR="SelectGroup",[pee,fee]=Tu(mR),mee=x.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=za();return s.jsx(pee,{scope:n,id:o,children:s.jsx(We.div,{role:"group","aria-labelledby":o,...r,ref:t})})});mee.displayName=mR;var gR="SelectLabel",yR=x.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=fee(gR,n);return s.jsx(We.div,{id:o.id,...r,ref:t})});yR.displayName=gR;var Yg="SelectItem",[gee,xR]=Tu(Yg),vR=x.forwardRef((e,t)=>{const{__scopeSelect:n,value:r,disabled:o=!1,textValue:i,...a}=e,l=Za(Yg,n),c=Qa(Yg,n),d=l.value===r,[u,p]=x.useState(i??""),[f,h]=x.useState(!1),g=it(t,y=>{var w;return(w=c.itemRefCallback)==null?void 0:w.call(c,y,r,o)}),m=za(),b=x.useRef("touch"),v=()=>{o||(l.onValueChange(r),l.onOpenChange(!1))};if(r==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return s.jsx(gee,{scope:n,value:r,disabled:o,textId:m,isSelected:d,onItemTextChange:x.useCallback(y=>{p(w=>w||((y==null?void 0:y.textContent)??"").trim())},[]),children:s.jsx(Ky.ItemSlot,{scope:n,value:r,disabled:o,textValue:u,children:s.jsx(We.div,{role:"option","aria-labelledby":m,"data-highlighted":f?"":void 0,"aria-selected":d&&f,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...a,ref:g,onFocus:Te(a.onFocus,()=>h(!0)),onBlur:Te(a.onBlur,()=>h(!1)),onClick:Te(a.onClick,()=>{b.current!=="mouse"&&v()}),onPointerUp:Te(a.onPointerUp,()=>{b.current==="mouse"&&v()}),onPointerDown:Te(a.onPointerDown,y=>{b.current=y.pointerType}),onPointerMove:Te(a.onPointerMove,y=>{var w;b.current=y.pointerType,o?(w=c.onItemLeave)==null||w.call(c):b.current==="mouse"&&y.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Te(a.onPointerLeave,y=>{var w;y.currentTarget===document.activeElement&&((w=c.onItemLeave)==null||w.call(c))}),onKeyDown:Te(a.onKeyDown,y=>{var j;((j=c.searchRef)==null?void 0:j.current)!==""&&y.key===" "||(tee.includes(y.key)&&v(),y.key===" "&&y.preventDefault())})})})})});vR.displayName=Yg;var Th="SelectItemText",bR=x.forwardRef((e,t)=>{const{__scopeSelect:n,className:r,style:o,...i}=e,a=Za(Th,n),l=Qa(Th,n),c=xR(Th,n),d=oee(Th,n),[u,p]=x.useState(null),f=it(t,v=>p(v),c.onItemTextChange,v=>{var y;return(y=l.itemTextRefCallback)==null?void 0:y.call(l,v,c.value,c.disabled)}),h=u==null?void 0:u.textContent,g=x.useMemo(()=>s.jsx("option",{value:c.value,disabled:c.disabled,children:h},c.value),[c.disabled,c.value,h]),{onNativeOptionAdd:m,onNativeOptionRemove:b}=d;return _n(()=>(m(g),()=>b(g)),[m,b,g]),s.jsxs(s.Fragment,{children:[s.jsx(We.span,{id:c.textId,...i,ref:f}),c.isSelected&&a.valueNode&&!a.valueNodeHasChildren?rc.createPortal(i.children,a.valueNode):null]})});bR.displayName=Th;var wR="SelectItemIndicator",jR=x.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return xR(wR,n).isSelected?s.jsx(We.span,{"aria-hidden":!0,...r,ref:t}):null});jR.displayName=wR;var h1="SelectScrollUpButton",SR=x.forwardRef((e,t)=>{const n=Qa(h1,e.__scopeSelect),r=Jj(h1,e.__scopeSelect),[o,i]=x.useState(!1),a=it(t,r.onScrollButtonChange);return _n(()=>{if(n.viewport&&n.isPositioned){let l=function(){const d=c.scrollTop>0;i(d)};const c=n.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),o?s.jsx(TR,{...e,ref:a,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop-c.offsetHeight)}}):null});SR.displayName=h1;var p1="SelectScrollDownButton",kR=x.forwardRef((e,t)=>{const n=Qa(p1,e.__scopeSelect),r=Jj(p1,e.__scopeSelect),[o,i]=x.useState(!1),a=it(t,r.onScrollButtonChange);return _n(()=>{if(n.viewport&&n.isPositioned){let l=function(){const d=c.scrollHeight-c.clientHeight,u=Math.ceil(c.scrollTop)<d;i(u)};const c=n.viewport;return l(),c.addEventListener("scroll",l),()=>c.removeEventListener("scroll",l)}},[n.viewport,n.isPositioned]),o?s.jsx(TR,{...e,ref:a,onAutoScroll:()=>{const{viewport:l,selectedItem:c}=n;l&&c&&(l.scrollTop=l.scrollTop+c.offsetHeight)}}):null});kR.displayName=p1;var TR=x.forwardRef((e,t)=>{const{__scopeSelect:n,onAutoScroll:r,...o}=e,i=Qa("SelectScrollButton",n),a=x.useRef(null),l=Zy(n),c=x.useCallback(()=>{a.current!==null&&(window.clearInterval(a.current),a.current=null)},[]);return x.useEffect(()=>()=>c(),[c]),_n(()=>{var u;const d=l().find(p=>p.ref.current===document.activeElement);(u=d==null?void 0:d.ref.current)==null||u.scrollIntoView({block:"nearest"})},[l]),s.jsx(We.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:Te(o.onPointerDown,()=>{a.current===null&&(a.current=window.setInterval(r,50))}),onPointerMove:Te(o.onPointerMove,()=>{var d;(d=i.onItemLeave)==null||d.call(i),a.current===null&&(a.current=window.setInterval(r,50))}),onPointerLeave:Te(o.onPointerLeave,()=>{c()})})}),yee="SelectSeparator",NR=x.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e;return s.jsx(We.div,{"aria-hidden":!0,...r,ref:t})});NR.displayName=yee;var f1="SelectArrow",xee=x.forwardRef((e,t)=>{const{__scopeSelect:n,...r}=e,o=Qy(n),i=Za(f1,n),a=Qa(f1,n);return i.open&&a.position==="popper"?s.jsx(WA,{...o,...r,ref:t}):null});xee.displayName=f1;var vee="SelectBubbleInput",ER=x.forwardRef(({__scopeSelect:e,value:t,...n},r)=>{const o=x.useRef(null),i=it(r,o),a=q7(t);return x.useEffect(()=>{const l=o.current;if(!l)return;const c=window.HTMLSelectElement.prototype,u=Object.getOwnPropertyDescriptor(c,"value").set;if(a!==t&&u){const p=new Event("change",{bubbles:!0});u.call(l,t),l.dispatchEvent(p)}},[a,t]),s.jsx(We.select,{...n,style:{...C4,...n.style},ref:i,defaultValue:t})});ER.displayName=vee;function CR(e){return e===""||e===void 0}function _R(e){const t=io(e),n=x.useRef(""),r=x.useRef(0),o=x.useCallback(a=>{const l=n.current+a;t(l),function c(d){n.current=d,window.clearTimeout(r.current),d!==""&&(r.current=window.setTimeout(()=>c(""),1e3))}(l)},[t]),i=x.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return x.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,o,i]}function AR(e,t,n){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,i=n?e.indexOf(n):-1;let a=bee(e,Math.max(i,0));o.length===1&&(a=a.filter(d=>d!==n));const c=a.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return c!==n?c:void 0}function bee(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var wee=sR,RR=oR,jee=aR,See=lR,kee=cR,PR=dR,Tee=fR,zR=yR,IR=vR,Nee=bR,Eee=jR,OR=SR,DR=kR,WR=NR;const m1=wee,g1=jee,qg=x.forwardRef(({className:e,children:t,...n},r)=>s.jsxs(RR,{ref:r,className:Ce("flex h-11 w-full items-center justify-between rounded-lg border border-border bg-background px-3 py-2 text-sm r
452ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 transition-colors",e),...n,children:[t,s.jsx(See,{asChild:!0,children:s.jsx(Jp,{className:"h-4 w-4 opacity-50"})})]}));qg.displayName=RR.displayName;const $R=x.forwardRef(({className:e,...t},n)=>s.jsx(OR,{ref:n,className:Ce("flex cursor-default items-center justify-center py-1",e),...t,children:s.jsx(AD,{className:"h-4 w-4"})}));$R.displayName=OR.displayName;const LR=x.forwardRef(({className:e,...t},n)=>s.jsx(DR,{ref:n,className:Ce("flex cursor-default items-center justify-center py-1",e),...t,children:s.jsx(Jp,{className:"h-4 w-4"})}));LR.displayName=DR.displayName;const Kg=x.forwardRef(({className:e,children:t,position:n="popper",...r},o)=>s.jsx(kee,{children:s.jsxs(PR,{ref:o,className:Ce("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-lg border border-border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...r,children:[s.jsx($R,{}),s.jsx(Tee,{className:Ce("p-1",n==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),s.jsx(LR,{})]})}));Kg.displayName=PR.displayName;const Cee=x.forwardRef(({className:e,...t},n)=>s.jsx(zR,{ref:n,className:Ce("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));Cee.displayName=zR.displayName;const Eo=x.forwardRef(({className:e,children:t,...n},r)=>s.jsxs(IR,{ref:r,className:Ce("relative flex w-full cursor-default select-none items-center rounded-md py-2 pl-8 pr-2 text-sm outline-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 focus:bg-primary/10 focus:text-foreground transition-colors",e),...n,children:[s.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:s.jsx(Eee,{children:s.jsx(vr,{className:"h-4 w-4 text-primary"})})}),s.jsx(Nee,{children:t})]}));Eo.displayName=IR.displayName;const _ee=x.forwardRef(({className:e,...t},n)=>s.jsx(WR,{ref:n,className:Ce("-mx-1 my-1 h-px bg-muted",e),...t}));_ee.displayName=WR.displayName;const Aee="https://calendar.app.google/31Qa6HfhwAfhDvtk6",Ree=()=>{const{toast:e}=cu(),[t,n]=x.useState(!1),[r,o]=x.useState(!1),[i,a]=x.useState({name:"",email:"",organization:"",team_size:"",preferred_dates:"",interest_reason:"",additional_notes:""}),l=(d,u)=>{a(p=>({...p,[d]:u}))},c=async d=>{if(d.preventDefault(),!i.name||!i.email||!i.team_size||!i.interest_reason){e({title:"Please fill in all required fields",variant:"destructive"});return}o(!0);try{const{error:u}=await tn.from("workshop_inquiries").insert({name:i.name,email:i.email,organization:i.organization||null,team_size:i.team_size,preferred_dates:i.preferred_dates||null,interest_reason:i.interest_reason,additional_notes:i.additional_notes||null});if(u)throw u;await tn.functions.invoke("workshop-inquiry-notification",{body:{name:i.name,email:i.email,organization:i.organization,team_size:i.team_size,preferred_dates:i.preferred_dates,interest_reason:i.interest_reason,additional_notes:i.additional_notes}}),n(!0)}catch(u){console.error(u),e({title:"Something went wrong. Please try again.",variant:"destructive"})}finally{o(!1)}};return t?s.jsxs(Os,{children:[s.jsx(Ve,{title:"Request a Facilitated Workshop — Ecosystem Edge®",description:"Bring an Ecosystem Edge® facilitated workshop to your region. Map your coalition, surface friction, and build a shared roadmap.",path:"/workshop"}),s.jsx("section",{className:"py-20 md:py-28",children:s.jsxs("div",{className:"max-w-2xl mx-auto px-6 text-center",children:[s.jsx("div",{className:"w-16 h-16 rounded-full mx-auto mb-6 flex items-center justify-center",style:{backgroundColor:"#e8f7f9"},children:s.jsx(vr,{className:"w-8 h-8",style:{color:"#59BEC9"}})}),s.jsx("h1",{className:"font-display text-3xl md:text-4xl font-bold mb-4",style:{color:"#2D4D83"},children:"We've got your inquiry!"}),s.jsx("p",{className:"font-body text-lg mb-8",style:{color:"#4a5568"},children:"We'll review your details and reach out within two business days to schedule your workshop conversation. Want to get started right away?"}),s.jsx("a",{...ic(Aee),className:"inline-block font-body font-medium text-base px-8 py-3 rounded-lg text-white hover:opacity-90 transition-opacity",style:{backgroundColor:"#59BEC9"},children:"Book a Call Now →"})]})})]}):s.jsxs(Os,{children:[s.jsx(Ve,{title:"Request a Facilitated Workshop — Ecosystem Edge®",description:"Bring an Ecosystem Edge® facilitated workshop to your region. Map your coalition, surface friction, and build a shared roadmap.",path:"/workshop"}),s.jsx("section",{className:"py-20 md:py-28",children:s.jsxs("div",{className:"max-w-4xl mx-auto px-6",children:[s.jsxs("div",{className:"text-center mb-12",children:[s.jsx("p",{className:"font-body uppercase text-sm tracking-[0.12em] font-bold mb-3",style:{color:"#E2B673"},children:"Facilitated Workshop"}),s.jsxs("h1",{className:"font-display text-3xl md:text-4xl font-bold mb-4",style:{color:"#2D4D83"},children:["Bring your whole coalition.",s.jsx("br",{}),s.jsx("em",{className:"font-display italic",style:{color:"#59BEC9"},children:"See the same picture."})]}),s.jsx("p",{className:"font-body text-lg max-w-2xl mx-auto",style:{color:"#4a5568"},children:"In a half-day facilitated session, 30–40 participants from across your ecosystem — at least three from each stakeholder group — score independently, then surface where you agree and where you've been quietly disagreeing. Walk out with alignment you'd otherwise spend months trying to reach."})]}),s.jsx("div",{className:"grid md:grid-cols-3 gap-4 mb-12",children:["30–40 participants (3+ per stakeholder group)","Half-day live facilitated session","Indiv
452idual scoring + team comparison","Team alignment report","Discussion guide + follow-up debrief","From $10,000 (custom-scoped)"].map(d=>s.jsxs("div",{className:"flex items-center gap-3 rounded-xl px-4 py-3",style:{backgroundColor:"#e8f7f9",border:"1px solid rgba(89,190,201,0.2)"},children:[s.jsx(vr,{className:"w-4 h-4 flex-shrink-0",style:{color:"#59BEC9"}}),s.jsx("span",{className:"font-body text-base",style:{color:"#2D4D83"},children:d})]},d))}),s.jsx("div",{className:"max-w-2xl mx-auto",children:s.jsxs("div",{className:"rounded-2xl p-8 md:p-10",style:{backgroundColor:"#fff",border:"1px solid rgba(45,77,131,0.08)",boxShadow:"0 4px 20px rgba(45,77,131,0.06)"},children:[s.jsx("h2",{className:"font-display text-xl font-bold mb-6",style:{color:"#2D4D83"},children:"Tell us about your team"}),s.jsxs("form",{onSubmit:c,className:"space-y-5",children:[s.jsxs("div",{className:"grid md:grid-cols-2 gap-5",children:[s.jsxs("div",{children:[s.jsx(dt,{htmlFor:"name",className:"font-body text-sm mb-1.5 block",style:{color:"#2D4D83"},children:"Name *"}),s.jsx(fn,{id:"name",required:!0,value:i.name,onChange:d=>l("name",d.target.value),placeholder:"Your name"})]}),s.jsxs("div",{children:[s.jsx(dt,{htmlFor:"email",className:"font-body text-sm mb-1.5 block",style:{color:"#2D4D83"},children:"Email *"}),s.jsx(fn,{id:"email",type:"email",required:!0,value:i.email,onChange:d=>l("email",d.target.value),placeholder:"[email protected]"})]})]}),s.jsxs("div",{children:[s.jsx(dt,{htmlFor:"organization",className:"font-body text-sm mb-1.5 block",style:{color:"#2D4D83"},children:"Organization / Ecosystem Name"}),s.jsx(fn,{id:"organization",value:i.organization,onChange:d=>l("organization",d.target.value),placeholder:"Your organization or ecosystem"})]}),s.jsxs("div",{className:"grid md:grid-cols-2 gap-5",children:[s.jsxs("div",{children:[s.jsx(dt,{className:"font-body text-sm mb-1.5 block",style:{color:"#2D4D83"},children:"Team Size *"}),s.jsxs(m1,{value:i.team_size,onValueChange:d=>l("team_size",d),children:[s.jsx(qg,{children:s.jsx(g1,{placeholder:"Select team size"})}),s.jsxs(Kg,{children:[s.jsx(Eo,{value:"10-20",children:"10–20 participants"}),s.jsx(Eo,{value:"20-30",children:"20–30 participants"}),s.jsx(Eo,{value:"30-40",children:"30–40 participants"}),s.jsx(Eo,{value:"40+",children:"40+ participants"})]})]})]}),s.jsxs("div",{children:[s.jsx(dt,{className:"font-body text-sm mb-1.5 block",style:{color:"#2D4D83"},children:"What's driving your interest? *"}),s.jsxs(m1,{value:i.interest_reason,onValueChange:d=>l("interest_reason",d),children:[s.jsx(qg,{children:s.jsx(g1,{placeholder:"Select a reason"})}),s.jsxs(Kg,{children:[s.jsx(Eo,{value:"Team alignment",children:"Team alignment"}),s.jsx(Eo,{value:"Funder reporting",children:"Funder reporting"}),s.jsx(Eo,{value:"Strategic planning",children:"Strategic planning"}),s.jsx(Eo,{value:"Other",children:"Other"})]})]})]})]}),s.jsxs("div",{children:[s.jsx(dt,{htmlFor:"dates",className:"font-body text-sm mb-1.5 block",style:{color:"#2D4D83"},children:"Preferred Date(s)"}),s.jsx(fn,{id:"dates",value:i.preferred_dates,onChange:d=>l("preferred_dates",d.target.value),placeholder:"e.g., Late August, first week of September"})]}),s.jsxs("div",{children:[s.jsx(dt,{htmlFor:"notes",className:"font-body text-sm mb-1.5 block",style:{color:"#2D4D83"},children:"Anything else we should know?"}),s.jsx(Yy,{id:"notes",value:i.additional_notes,onChange:d=>l("additional_notes",d.target.value),placeholder:"Context about your ecosystem, goals, or questions...",rows:4})]}),s.jsx(ms,{type:"submit",disabled:r,className:"w-full font-body font-medium text-base py-3 rounded-lg text-white",style:{backgroundColor:"#59BEC9",height:"48px"},children:r?"Submitting...":"Request a Workshop Conversation"}),s.jsx("p",{className:"font-body text-sm text-center",style:{color:"#718096"},children:"We'll follow up within two business days. No commitment required."})]})]})})]})})]})},Pee=["Entrepreneur Support Organizations (ESOs)","Corporations & Industry Partners","Capital & Funding Partners","Universities & Research Institutions","Government & Policy Enablers","Workforce & Talent Systems","Youth Entrepreneurship & Education","Media & Storytellers","Community & Cultural Organizations","My work spans multiple partner groups"],zee=["Run Ecosystem Edge® Scorecard sessions independently with regional partners","Access the full facilitation toolkit, not just the participant materials","Add a credentialed, data-backed tool to their consulting practice","Contribute to and draw from a growing national dataset across regions"],Iee=["Independent consultants and ecosystem strategists","Workforce and economic development practitioners","Youth entrepreneurship and education ecosystem leaders","University and ESO-based ecosystem builders","Foundation capacity builders working across grantee portfolios"],Oee=()=>
452{const[e,t]=x.useState(""),[n,r]=x.useState(""),[o,i]=x.useState(""),[a,l]=x.useState(""),[c,d]=x.useState(""),[u,p]=x.useState("idle"),f=e.trim()&&n.trim()&&o.trim()&&a,h=async g=>{if(g.preventDefault(),!!f){p("submitting");try{const{data:m,error:b}=await tn.functions.invoke("certification-waitlist",{body:{first_name:e.trim(),email:n.trim(),organization:o.trim(),partner_focus:a,certification_intent:c.trim()||void 0}});if(b||!(m!=null&&m.success))throw b??new Error("Signup failed");p("success")}catch(m){console.error("Certification waitlist signup failed:",m),p("error")}}};return s.jsx("section",{className:"py-20 md:py-28",style:{backgroundColor:"#2D4D83"},children:s.jsxs("div",{className:"container mx-auto px-4 max-w-6xl",children:[s.jsxs("div",{className:"text-center mb-12 md:mb-16",children:[s.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"#ffffff"},children:"Become a Certified Ecosystem Edge® Facilitator"}),s.jsx("p",{className:"text-lg md:text-xl max-w-2xl mx-auto",style:{color:"rgba(255,255,255,0.8)"},children:"You already know how ecosystems work. Now you can make that knowledge transferable."})]}),s.jsxs("div",{className:"grid lg:grid-cols-2 gap-12 lg:gap-16 items-start",children:[s.jsxs("div",{children:[s.jsxs("div",{className:"space-y-5 mb-10",style:{color:"rgba(255,255,255,0.95)"},children:[s.jsx("p",{className:"text-base md:text-lg leading-relaxed",children:"The Ecosystem Edge® Scorecard was built by practitioners, for practitioners. And the next chapter is the same."}),s.jsx("p",{className:"text-base md:text-lg leading-relaxed",children:"We're building a certification program for ecosystem builders, consultants, and capacity builders who want to facilitate Scorecard sessions with their own clients, regions, and networks, with the methodology, the data, and the credibility behind them."}),s.jsx("p",{className:"text-base md:text-lg leading-relaxed font-semibold",style:{color:"#E2B673"},children:"Founding cohort seats are limited. Waitlist opens now."})]}),s.jsx("h3",{className:"text-lg md:text-xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"#ffffff"},children:"What certified facilitators will be able to do:"}),s.jsx("ul",{className:"space-y-3 mb-10",children:zee.map(g=>s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(vr,{className:"w-5 h-5 mt-0.5 shrink-0",style:{color:"#59BEC9"}}),s.jsx("span",{className:"text-base md:text-lg",style:{color:"rgba(255,255,255,0.85)"},children:g})]},g))}),s.jsx("h3",{className:"text-lg md:text-xl font-bold mb-4",style:{fontFamily:"'Playfair Display', serif",color:"#ffffff"},children:"Who this is for:"}),s.jsx("ul",{className:"space-y-3",children:Iee.map(g=>s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(vr,{className:"w-5 h-5 mt-0.5 shrink-0",style:{color:"#59BEC9"}}),s.jsx("span",{className:"text-base md:text-lg",style:{color:"rgba(255,255,255,0.85)"},children:g})]},g))})]}),s.jsxs("div",{className:"bg-white rounded-xl shadow-xl p-6 md:p-8 lg:sticky lg:top-24",children:[s.jsx("h3",{className:"text-xl md:text-2xl font-bold mb-6",style:{fontFamily:"'Playfair Display', serif",color:"#2D4D83"},children:"Join the Founding Cohort Waitlist"}),u==="success"?s.jsxs("div",{className:"text-center py-8",children:[s.jsx("div",{className:"w-14 h-14 rounded-full flex items-center justify-center mx-auto mb-4",style:{backgroundColor:"rgba(89,190,201,0.15)"},children:s.jsx(vr,{className:"w-7 h-7",style:{color:"#59BEC9"}})}),s.jsx("p",{className:"text-lg font-semibold mb-2",style:{color:"#2D4D83"},children:"You're on the list."}),s.jsx("p",{className:"text-base",style:{color:"#4a5568"},children:"Watch your inbox, founding cohort members hear first."})]}):s.jsxs("form",{onSubmit:h,className:"space-y-5",children:[s.jsxs("div",{children:[s.jsxs(dt,{className:"text-base font-medium",style:{color:"#2D4D83"},children:["First Name ",s.jsx("span",{style:{color:"#E2B673"},children:"*"})]}),s.jsx(fn,{value:e,onChange:g=>t(g.target.value),placeholder:"Your first name",required:!0,className:"mt-1.5 border-gray-300 focus-visible:ring-[#59BEC9]"})]}),s.jsxs("div",{children:[s.jsxs(dt,{className:"text-base font-medium",style:{color:"#2D4D83"},children:["Email ",s.jsx("span",{style:{color:"#E2B673"},children:"*"})]}),s.jsx(fn,{type:"email",value:n,onChange:g=>r(g.target.value),placeholder:"[email protected]",required:!0,className:"mt-1.5 border-gray-300 focus-visible:ring-[#59BEC9]"})]}),s.jsxs("div",{children:[s.jsxs(dt,{className:"text-base font-medium",style:{color:"#2D4D83"},children:["Organization / Affiliation ",s.jsx("span",{style:{color:"#E2B673"},children:"*"})]}),s.jsx(fn,{value:o,onChange:g=>i(g.target.value),placeholder:"Your organization",required:!0,className:"mt-1.5 border-gray-300 focus-visible:ring-[#59BEC9]"})]}),s.jsxs("div",{children:[s.jsxs(dt,{className:"text-base font-medium",style:{color:"#2D4D83"},children:["Which partner group does your work focus on most? ",s.jsx("span",{style:{color:"#E2B673"},children:"*"})]}),s.jsxs(m1,{value:a,onValueChange:l,required:!0,children:[s.jsx(qg,{className:"mt-1.5 border-gray-300 focus:ring-[#59BEC9]",children:s.jsx(g1,{placeholder:"Select a partner group"})}),s.jsx(Kg,{children:Pee.map(g=>s.jsx(Eo,{value:g,children:g},g))})]})]}),s.jsxs("div",{children:[s.jsx(dt,{className:"text-base font-medium",style:{color:"#2D4D83"},children:"In one sentence, what would you do with Ecosystem Edge® certification?"}),s.jsx(Yy,{value:c,onChange:g=>d(g.target.value),placeholder:"Optional, but we'd love to know",rows:3,className:"mt-1.5 border-gray-300 focus-visible:ring-[#59BEC9]"})]}),u==="error"&&s.jsxs("p",{className:"text-sm",style:{color:"#e53e3e"},children:["Something went wrong. Email us directly at"," ",s.jsx("a",{href:"mailto:[email protected]",className:"underline",children:"[email protected]"})]}),s.jsx(ms,{type:"submit",disabled:!f||u==="submitting",className:"w-full text-base font-semibold py-6 transition-all hover:scale-[1.02] hover:shadow-lg",style:{backgroundColor:"#E2B673",color:"#2D4D83"},children:u==="submitting"?"Submitting…":"Reserve My Spot"}),s.jsx("p",{className:"text-sm text-center",style:{color:"#718096"},children:"No commitment. No timeline pressure. Founding cohort members help shape what we build."})]})]})]})]})})},Dee=()=>s.jsxs(Os,{children:[s.jsx(Ve,{title:"Certification Waitlist — Ecosystem Edge® Practitioner",description:"Join the waitlist for the Ecosystem Edge® practitioner certification program.",path:"/certification",noindex:!0}),s.jsx(Oee,{})]}),hf="/assets/scorecard-in-use-DfmEjd8l.png",So="#2D4D83",Xi="#59BEC9",mN="#E2B673",im="#3d4757",Wee=[{num:"01",Icon:Ww,kind:"Shared Picture + Scorecard",accent:"#8C6FA6",phase:"Reveal",title:"SEE WHAT'S REALLY THERE",promise:"Get everyone working from the same picture",body:"Your coalition rates its own partnerships across nine partner groups: strengths, opportunities, and key strategic questions, so everyone shares one picture you can revisit later.",best:"Starting a new effort or the region has changed."},{num:"02",Icon:Iw,kind:"Initiatives Deep Dive",accent:"#2D4D83",phase:"Reveal",title:"FIND THE STRENGTH YOU'RE NOT USING",promise:"Turn overlooked assets into action",body:"We trace why capacity stays stuck: the relationships, expertise, and resources sitting outside the work, and where the leverage genuinely sits.",best:"You need to leverage more capacity than you're using."},{num:"03",Icon:$w,kind:"Strategic Action Planning",accent:"#3F7CA8",phase:"Clarify",title:"FOCUS ON WHAT MOVES THE REGION",promise:"Stop trying to move everything at once",body:"We sequence and prioritize the few efforts most likely to move the region in 12–18 months, with clear owners, roles, and resources.",best:"The plan exists, but the work isn't moving forward."},{num:"04",Icon:Ow,kind:"Partner Group Roundtable",accent:"#4FA3A5",phase:"Clarify",title:"TURN CONTACTS INTO PARTNERSHIPS",promise:"Move from occasional contact to meaningful engagement",promiseSize:10.7,body:"We design the roundtables and the one-on-one approach partner by partner: what each one needs, what you need back, and the terms of a working relationship.",best:"Critical partners aren't at the table yet."}
452,{num:"05",Icon:Lw,kind:"Operationalizing",accent:"#7BA05B",phase:"Activate",title:"BUILD A SYSTEM THAT KEEPS WORK MOVING FORWARD",promise:"Make coordination bigger than one person",body:"We design the shared operating system your coordination runs on: roles and decision rights, meeting rhythm, shared data and information, and the communications that keep partners current.",best:"Too much depends on a few key people."},{num:"06",Icon:Ey,kind:"Funding + Sustainability",accent:"#B8892B",phase:"Activate",title:"BUILD A FUNDING STRATEGY THAT LASTS",promise:"Connect funding to the work you're building",body:"We turn your priorities, partnerships, and progress since your first review into a funding case and a strategy that can sustain the work.",best:"Your current funding has an end date."}],$ee=()=>s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"Ecosystem Building Coalition Sessions | Ecosystem Edge",description:"Six sessions that help regional coalitions see what they have, focus on what matters, and build the partnerships and funding that keep the work moving.",path:"/capabilities",noindex:!0}),s.jsx("style",{children:`
453        .pdf-page {
454          width: 8.5in;
455          min-height: 11in;
456          margin: 0 auto;
457          background: #ffffff;
458          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
459          position: relative;
460          overflow: hidden;
461        }
462        .pdf-body { font-size: 10.5px; line-height: 1.55; color: ${im}; }
463        @media print {
464          @page { size: letter; margin: 0; }
465          html, body { background: #ffffff !important; }
466          .no-print { display: none !important; }
467          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
468          .pdf-page {
469            box-shadow: none !important;
470            margin: 0 !important;
471            width: 100% !important;
472            min-height: 0 !important;
473            break-after: page;
474            page-break-after: always;
475          }
476          .pdf-page:last-child { break-after: auto; page-break-after: auto; }
477          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
478          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
479        }
480      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body",style:{fontSize:13,color:"#5a6779"},children:"Ecosystem Building Coalition Sessions · two-page handout"}),s.jsxs("button",{onClick:()=>window.print(),className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:14,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsxs("section",{className:"pdf-page pdf-body",children:[s.jsx("header",{style:{background:"var(--gradient-signature)",padding:"26px 0 0"},children:s.jsx("div",{style:{background:So,padding:"22px 0.62in 20px"},children:s.jsxs("div",{className:"flex items-start justify-between gap-6",children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.22em",color:mN,fontWeight:700},children:"Ecosystem Building Coalition Sessions"}),s.jsx("h1",{className:"font-display",style:{fontSize:29,lineHeight:1.14,color:"#ffffff",fontWeight:700,marginTop:8,maxWidth:"6in"},children:"Get your regional partners pulling in the same direction"}),s.jsx("p",{className:"font-body",style:{fontSize:10.8,lineHeight:1.45,color:"rgba(255,255,255,0.78)",marginTop:8,maxWidth:"6.1in"},children:"For the coalitions, economic and community development organizations, universities, funders, and partners doing the work of regional transformation."})]}),s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:42,background:"#fff",borderRadius:6,padding:"5px 8px"}})]})})}),s.jsxs("div",{style:{padding:"24px 0.62in 0.34in"},children:[s.jsxs("div",{className:"grid grid-cols-5 gap-6 avoid-break",children:[s.jsxs("div",{className:"col-span-3",children:[s.jsx("span",{"aria-hidden":"true",style:{display:"block",width:54,height:3,borderRadius:2,background:"var(--gradient-signature)"}}),s.jsx("p",{className:"font-display",style:{fontSize:19.5,lineHeight:1.32,color:So,fontWeight:700,marginTop:11,letterSpacing:"-0.005em"},children:"Your region already has strong programs, partners, relationships, and resources."}),s.jsx("p",{style:{fontSize:13,lineHeight:1.62,color:im,marginTop:12,maxWidth:"4.5in"},children:"The challenge is getting them to work together so the whole region gets more from what it already has."}),s.jsx("p",{style:{fontSize:12.2,lineHeight:1.62,color:"#5a6779",marginTop:10,maxWidth:"4.5in"},children:"Ecosystem Edge® helps coalitions see what they have, focus on what matters, strengthen the partnerships that drive results, and build the systems and funding to keep the work moving."})]}),s.jsx("div",{className:"col-span-2",children:s.jsx("img",{src:Dy,alt:"Sticky-note ecosystem map built by a regional coalition during a session",style:{width:"100%",height:182,objectFit:"cover",objectPosition:"center 45%",boxShadow:"0 6px 18px rgba(45,77,131,0.18)"}})})]}),s.jsxs("div",{className:"mt-5 grid grid-cols-2 gap-6 avoid-break",style:{borderTop:"1px solid rgba(45,77,131,0.12)",borderBottom:"1px solid rgba(45,77,131,0.12)",padding:"14px 0"},children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("span",{className:"font-display",style:{fontSize:44,fontWeight:700,lineHeight:1,color:Xi},children:"40+"}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.4,color:im,fontWeight:500},children:"sessions with regions nationwide."})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("span",{className:"font-display whitespace-nowrap",style:{fontSize:38,fontWeight:700,lineHeight:1,color:Xi},children:"4 in 5"}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.4,color:im,fontWeight:500},children:"regions show limited or inconsistent industry engagement."})]})]}),s.jsxs("div",{className:"mt-4 avoid-break flex gap-5 items-center",children:[s.jsx("div",{style:{width:4,alignSelf:"stretch",background:"var(--gradient-signature)",borderRadius:4}}),s.jsx("p",{className:"font-display",style:{fontSize:21,lineHeight:1.35,color:So,fontWeight:700},children:"The connections a region need most are usually the ones no one can see until they are mapped."})]}),s.jsx("div",{className:"mt-4 avoid-break",children:s.jsx("img",{src:vu,alt:"Coalition members working through a partner map around a table while Ecosystem Edge facilitators lead the session",style:{width:"100%",height:113,objectFit:"cover",objectPosition:"center 55%",boxShadow:"0 6px 18px rgba(45,77,131,0.14)"}})}),s.jsxs("div",{className:"avoid-break",style:{marginTop:16},children:[s.jsx("h3",{className:"font-display",style:{fontSize:21,color:So,fontWeight:700},children:"Why Ecosystem Edge®?"}),s.jsx("div",{className:"grid grid-cols-2",style:{marginTop:7,columnGap:26,rowGap:5},children:[["We measure what others only facilitate","Our Scorecard gives your coalition a consistent, repeatable review across all 9 partner groups: real data you can track over time and carry forward, not a workshop that ends."],["Support grounded in evidence and reality","We build on real data and years of doing this work, from a shared picture to a funding roadmap built on precedent, so what you take forward is proven and doable."],["Built from practice, not theory","The practice comes from 40+ engagements inside regional innovation and economic development, refined with the people doing the work, and still evolving as the field teaches us more."],["Built to compound","Each session builds on the last, so your coalition gets sharper over time, and the capabilities you gain continue to compound."]].map(([e,t])=>s.jsxs("div",{style:{borderTop:"1px solid rgba(45,77,131,0.16)",paddingTop:9},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10.4,letterSpacing:"0.1em",color:Xi,fontWeight:700},children:e}),s.jsx("p",{className:"mt-1.5",style:{fontSize:11,lineHeight:1.5},children:t})]},e))})]})]})]}),s.jsxs("section",{className:"pdf-page pdf-body flex flex-col",style:{marginTop:28},children:[s.jsx("div",{style:{height:6,background:"var(--gradient-signature)"}}),s.jsxs("div",{className:"flex flex-col flex-1",style:{padding:"20px 0.62in 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:11,letterSpacing:"0.17em",color:Xi,fontWeight:700},children:"Ecosystem Building Coalition Sessions"}),s.jsx("h2",{className:"font-display",style:{fontSize:25,color:So,fontWeight:700,marginTop:5,lineHeight:1.12},children:"Six ways to strengthen your regional ecosystem"}),s.jsx("div",{className:"mt-2 avoid-break flex justify-center",children:s.jsx(wi,{variant:"compact-bare"})}),s.jsx("p",{className:"mt-1 text-center avoid-break",style:{fontSize:11.6,lineHeight:1.5,color:"#5a6779",whiteSpace:"nowrap"},id:"compound-line",children:"You don't start over each time. Every session compounds the one before it, and your coalition keeps building its edge."}),s.jsx("p",{className:"mt-1 text-center avoid-break",style:{fontSize:11.2,lineHeight:1.5,color:So,fontWeight:600},children:"Every coalition starts with the virtual Ecosystem Edge® Scorecard ($10,000)."}),s.jsx("div",{className:"relative",style:{marginTop:12},children:s.jsx("div",{className:"relative grid grid-cols-2",style:{columnGap:18,rowGap:22,gridAutoRows:"1fr"},children:Wee.map(e=>s.jsx(Lee,{m:e},e.num))})}),s.jsxs("div",{className:"avoid-break grid grid-cols-5 items-center",style:{marginTop:30,background:`linear-gradient(115deg, ${So} 0%, #24406e 55%, #1d3660 100%)`,borderRadius:12,padding:"16px 20px",columnGap:20},children:[s.jsxs("div",{className:"col-span-3",children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:11,letterSpacing:"0.16em",color:Xi,fontWeight:700},children:"What changes for your coalition"}),s.jsx("div",{className:"mt-2.5 flex flex-wrap gap-1.5",children:["A shared picture of where you stand","Your untapped strengths","A focused roadmap","An engagement strategy","A coordination backbone","A funding roadmap"].map(e=>s.jsx("span",{className:"font-body",style:{fontSize:10.6,fontWeight:600,color:"#ffffff",background:"rgba(255,255,255,0.08)",border:"1px solid rgba(255,255,255,0.34)",borderRadius:99,padding:"3.5px 11px"},children:e},e))}),s.jsx("p",{className:"mt-2.5",style:{fontSize:11.2,lineHeight:1.5,color:"rgba(255,255,255,0.86)"},children:"Every session produces insights your coalition can use, and builds the capacity to keep moving forward."})]}),s.jsx("div",{className:"col-span-2",children:s.jsx("img",{src:hf,alt:"An Ecosystem Edge Scorecard filled in with red, yellow, and green dots during a working session",style:{width:"100%",height:150,objectFit:"cover",objectPosition:"center 62%",borderRadius:6,boxShadow:"0 8px 22px rgba(0,0,0,0.28)"}})})]})]}),s.jsx("div",{className:"avoid-break mt-auto",style:{padding:"0 0.62in 0.3in"},children:s.jsx("div",{style:{marginTop:4,paddingTop:8,backgroundImage:`linear-gradient(90deg, ${So}, ${Xi} 55%, ${mN}), linear-gradient(100deg, rgba(45,77,131,0.07), rgba(89,190,201,0.06) 45%, rgba(226,182,115,0) 85%)`,backgroundSize:"100% 3px, 100% 100%",backgroundRepeat:"no-repeat, no-repeat",backgroundPosition:"top left, top left",paddingLeft:14,paddingRight:14,paddingBottom:12,marginLeft:-14,marginRight:-14},children:s.jsxs("div",{className:"flex items-center justify-between gap-6",children:[s.jsx("div",{className:"flex",style:{gap:28},children:[{n:"Amy Beaird, PhD",e:"[email protected]"},{n:"Dawn Haynes, MBA",e:"[email protected]"}].map(e=>s.jsxs("div",{className:"shrink-0",style:{whiteSpace:"nowrap"},children:[s.jsx("p",{style:{fontSize:12,color:So,fontWeight:700,lineHeight:1.2},children:e.n}),s.jsx("p",{style:{fontSize:10.4,color:"#5a6779",marginTop:2},children:e.e})]},e.n))}),s.jsxs("div",{className:"flex items-center shrink-0",style:{gap:14},children:[s.jsx("p",{className:"font-display",style:{fontSize:15,color:Xi,fontWeight:700,letterSpacing:"0.03em",whiteSpace:"nowrap"},children:"ecosystem-edge.com"}),s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:46}})]})]})})})]})]})]}),Lee=({m:e})=>s.jsxs("div",{className:"avoid-break flex flex-col h-full relative overflow-hidden",style:{border:`1px solid ${e.accent}33`,borderRadius:10,background:"#ffffff",boxShadow:"0 4px 14px rgba(45,77,131,0.09)",padding:"13px 15px 11px"},children:[s.jsx("span",{"aria-hidden":"true",style:{position:"absolute",top:0,left:0,right:0,height:3,background:e.accent}}),s.jsx(e.Icon,{"aria-hidden":"true",size:28,strokeWidth:2,style:{position:"absolute",top:8,right:10,color:e.accent,opacity:.6}}),s.jsxs("p",{className:"font-body uppercase flex items-start gap-2",style:{fontSize:10,letterSpacing:"0.09em",fontWeight:700,whiteSpace:"nowrap"},children:[s.jsx("span",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:17,height:17,borderRadius:999,background:e.accent,color:"#ffffff",fontSize:10,letterSpacing:"0.02em",flexShrink:0},children:e.num}),s.jsx("span",{"aria-hidden":"true",style:{width:12,height:1.5,background:e.accent,opacity:.6,display:"inline-block",marginTop:8,flexShrink:0}}),s.jsx("span",{style:{color:e.accent},children:e.kind})]}),s.jsx("p",{className:"font-display",style:{fontSize:"promiseSize"in e?e.promiseSize:13.4,whiteSpace:"nowrap",color:So,fontWeight:700,marginTop:4,lineHeight:1.22},children:e.promise}),s.jsx("p",{style:{fontSize:11.2,lineHeight:1.5,marginTop:5,minHeight:16},children:e.body}),s.jsxs("p",{className:"mt-auto",style:{fontSize:10,lineHeight:1.4,marginTop:"auto",paddingTop:5,color:"#5a6779",borderTop:"1px solid rgba(45,77,131,0.1)",whiteSpace:"nowrap"},children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.09em",color:Xi,fontWeight:700},children:"Best when"})," ",e.best]})]}),Hr="#2D4D83",A0="#59BEC9",gN="#E2B673",am="#3d4757",MR=(e,t)=>{const n=e.replace("#",""),r=parseInt(n.slice(0,2),16),o=parseInt(n.slice(2,4),16),i=parseInt(n.slice(4,6),16);return`rgba(${r}, ${o}, ${i}, ${t})`},BR=[{letter:"E",name:"Entrepreneurs",color:"#C4566E",role:"Founders and companies building what comes next.",evidence:"Are pathways for founders to start, grow, stay, and contribute back becoming stronger?"},{letter:"C",name:"Corporates",color:"#59BEC9",role:"Customers, employers, and anchor firms that create demand.",evidence:"Are relationships between companies and the ecosystem becoming stronger and more durable?"},{letter:"O",name:"Government Organizations",color:"#3F7CA8",role:"Public partners with convening power, resources, and influence.",evidence:"Is coordination among public partners becoming stronger as leaders, budgets, and policies change?"},{letter:"S",name:"Storytellers",color:"#E2B673",role:"People who make the ecosystem's w
480ork visible and understood.",evidence:"Is the shared story becoming stronger and carried by people beyond those doing the work?"},{letter:"Y",name:"Youth + Talent",color:"#7BA05B",role:"People who supply the workforce and future leaders.",evidence:"Are pathways into the ecosystem, and reasons to stay or return, becoming stronger?"},{letter:"S",name:"Service Providers",color:"#8C6FA6",role:"Expertise and support that help organizations succeed.",evidence:"Is local expertise becoming stronger and easier for organizations to reach?"},{letter:"T",name:"Trade + Industry Associations",color:"#C97B5A",role:"Networks that help firms act together on shared interests.",evidence:"Is the ability of firms to act together becoming stronger without a single organizer?"},{letter:"E",name:"Ecosystem Support Organizations",color:"#4FA3A5",role:"Organizations that make the ecosystem easier to navigate.",evidence:"Is navigation becoming stronger, so support no longer depends on a few key people?"},{letter:"M",name:"Money",color:"#B8892B",role:"Funding that enables ideas, companies, and growth.",evidence:"Is funding becoming more accessible, connected, and catalytic?"}],Mee=["Entrepreneurs","Storytellers","Trade + Industry Associations","Corporates","Youth + Talent","Ecosystem Support Organizations","Money","Service Providers","Government Organizations"],FR=Mee.map(e=>BR.find(t=>t.name===e).color),Bee=[6,7,8].map(e=>FR[e]),Fee=({letter:e,color:t,size:n=28})=>s.jsx("span",{"aria-hidden":"true",className:"font-display flex items-center justify-center shrink-0",style:{width:n,height:n,borderRadius:"50%",background:t,color:"#fff",fontSize:n*.5,fontWeight:700,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:e}),HR=[{label:"Reveal",Icon:Uo,color:Hr,from:1,to:4,pair:["#8C6FA6","#2D4D83"]},{label:"Clarify",Icon:Er,color:"#2F8C97",from:5,to:8,pair:["#3F7CA8","#4FA3A5"]},{label:"Activate",Icon:Go,color:"#A9762B",from:9,to:12,pair:["#7BA05B","#B8892B"]}],R0=[{at:3,when:"BY MONTH 3",label:`Shared picture
481Ecosystem + initiatives mapped`,star:!0},{at:5.5,when:"BY MONTH 6",label:`Strategic direction
4822-3 year plan, goals + measures agreed`,star:!0},{at:9,when:"BY MONTH 9",label:`Operating system
483Model live, owners + responsibilities assigned`,star:!0},{at:12,when:"BY MONTH 12",label:`Sustainability plan 
484Funding strategy + business model designed
485`,star:!0}],yN=e=>1e3*(e-.5)/12,Hee=e=>`linear-gradient(90deg, ${He.map((t,n)=>`${MR(t.accent,e)} ${n*100/(He.length-1)}%`).join(", ")})`,P0=()=>s.jsx("div",{className:"flex",style:{height:8,flexShrink:0,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:HR.map(e=>s.jsx("span",{style:{flex:1,background:`linear-gradient(90deg, ${e.pair[0]}, ${e.pair[1]})`,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}},e.label))}),xN=({iconSize:e=20,fontSize:t=22})=>s.jsxs("div",{style:{position:"relative",overflow:"hidden",borderRadius:0,background:Hee(.2),WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("span",{"aria-hidden":"true",className:"flex",style:{position:"absolute",top:0,left:0,right:0,height:3,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:He.map(n=>s.jsx("span",{style:{flex:1,background:n.accent,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}},n.num))}),s.jsx("div",{className:"flex items-center",style:{padding:"6px 12px"},children:HR.map(n=>s.jsx("div",{style:{flex:1,textAlign:"center"},children:s.jsxs("span",{className:"inline-flex items-center justify-center",style:{gap:8},children:[s.jsx(n.Icon,{size:e,color:n.color,"aria-hidden":"true"}),s.jsx("span",{className:"font-display",style:{fontSize:t,letterSpacing:"0",fontWeight:700,color:n.color},children:n.label})]})},n.label))})]}),Vee=({width:e=1184})=>{const t=He,n=70,o=(e-n*2)/(t.length-1),i=92,a=i/2,l=64,c=26,d=l+a+68,u=t.map((f,h)=>n+h*o),p=u.map((f,h)=>h===0?`M ${f} ${l}`:`C ${u[h-1]+o*.42} ${l+(h%2===1?-c:c)}, ${f-o*.42} ${l+(h%2===1?-c:c)}, ${f} ${l}`).join(" ");return s.jsxs("div",{style:{width:e,margin:"0 auto"},children:[s.jsxs("div",{style:{position:"relative",width:e,height:d},children:[s.jsxs("svg",{width:e,height:d,viewBox:`0 0 ${e} ${d}`,"aria-hidden":"true",style:{position:"absolute",inset:0,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("defs",{children:s.jsx("linearGradient",{id:"linearJourneyThread",x1:"0",y1:"0",x2:"1",y2:"0",children:t.map((f,h)=>s.jsx("stop",{offset:`${h/(t.length-1)*100}%`,stopColor:f.accent},f.num))})}
485),s.jsx("path",{d:p,fill:"none",stroke:"url(#linearJourneyThread)",strokeWidth:5,strokeLinecap:"round",opacity:"0.9"})]}),t.map((f,h)=>s.jsxs(P.Fragment,{children:[s.jsx("div",{className:"inline-flex items-center justify-center",style:{position:"absolute",left:u[h]-a,top:l-a,width:i,height:i,borderRadius:999,background:"#fff",border:`4px solid ${f.accent}`,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:s.jsx(f.Icon,{size:40,strokeWidth:1.7,color:f.accent})}),s.jsxs("div",{style:{position:"absolute",left:u[h]-o/2+8,top:l+a+10,width:o-16,textAlign:"center"},children:[s.jsx("p",{className:"font-body",style:{fontSize:14,fontWeight:700,color:f.accent,letterSpacing:"0.04em"},children:f.num}),s.jsx("p",{className:"font-body",style:{fontSize:16.5,lineHeight:1.25,fontWeight:700,color:Hr,marginTop:3},children:f.kind})]})]},f.num))]}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"repeat(6, 1fr)",marginTop:34},children:t.map(f=>s.jsx("p",{className:"font-display",style:{fontSize:19,fontStyle:"italic",padding:"0 6px",fontWeight:700,color:f.accent,textAlign:"center",whiteSpace:"nowrap",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:f.shift},f.num))})]})},Uee=()=>s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"The Journey | Ecosystem Edge",description:"A three-slide view of the Ecosystem Edge process and the nine partner groups.",path:"/journey",noindex:!0}),s.jsx("style",{children:`
486        .slide {
487          width: 1280px;
488          height: 720px;
489          margin: 0 auto;
490          background: #ffffff;
491          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
492          position: relative;
493          overflow: hidden;
494          display: flex;
495          flex-direction: column;
496        }
497        @media print {
498          @page { size: 1280px 720px landscape; margin: 0; }
499          html, body { background: #ffffff !important; }
500          .no-print { display: none !important; }
501          .slide-shell { background: #ffffff !important; padding: 0 !important; }
502          .slide { box-shadow: none !important; margin: 0 !important; }
503          .slide + .slide { page-break-before: always; break-before: page; }
504          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
505        }
506      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body",style:{fontSize:13.5,color:am},children:"The Journey · three slides"}),s.jsxs("button",{onClick:()=>window.print(),className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:14,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]}),s.jsxs("div",{className:"slide-shell",style:{padding:"28px 16px 60px"},children:[s.jsxs("section",{className:"slide",children:[s.jsx(P0,{}),s.jsxs("div",{style:{padding:"16px 48px 0",display:"flex",flexDirection:"column",flex:1},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:A0,fontWeight:700},children:"WHAT WE LOOK AT TOGETHER"}),s.jsx("h2",{className:"font-display",style:{fontSize:30,lineHeight:1.1,color:Hr,fontWeight:700,marginTop:5},children:"Nine partner groups. One connected ecosystem."}),s.jsx("p",{className:"font-body",style:{fontSize:15,lineHeight:1.3,color:am,marginTop:4,marginBottom:12},children:"The Ecosystem Edge® Process looks across the relationships and capabilities that allow an ecosystem to function better and asks whether they are getting stronger."}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",columnGap:16,rowGap:8,alignItems:"stretch"},children:BR.map(e=>s.jsxs("div",{style:{border:"1px solid rgba(45,77,131,0.14)",borderRadius:2,background:"#fff",padding:"0 0 7px",overflow:"hidden",display:"flex",flexDirection:"column",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("span",{style:{display:"block",paddingTop:3},children:s.jsx(wr,{color:e.color,height:6})}),s.jsxs("span",{style:{display:"flex",alignItems:"center",gap:8,padding:"3px 10px 0",minHeight:38},children:[s.jsx(Fee,{letter:e.letter,color:e.color,size:28}),s.jsx("p",{className:"font-display",style:{fontSize:16,lineHeight:1.15,color:Hr,fontWeight:700},children:e.name})]}),s.jsx("p",{style:{fontSize:12.5,lineHeight:1.2,color:"#4b5565",marginTop:2,padding:"0 10px",minHeight:30},children:e.role}),s.jsxs("span",{style:{display:"block",marginTop:"auto",paddingTop:4,margin:"0 11px",borderTop:"1px solid rgba(45,77,131,0.1)"},children:[s.jsx("span",{className:"font-body uppercase",style:{display:"block",fontSize:11.5,letterSpacing:"0",fontWeight:700,color:e.color},children:"Success looks like"}),s.jsx("span",{style:{display:"block",fontSize:12,lineHeight:1.2,color:"#6b7686",marginTop:1},children:e.evidence})]})]},`${e.letter}-${e.name}`))}),s.jsx("div",{style:{padding:"0 5px",maxWidth:420,margin:"0 auto"},children:s.jsx(of,{strands:FR,cord:Bee,height:72,plaitWidth:18})}),s.jsxs("div",{style:{border:"1px solid rgba(110,119,132,0.22)",borderTop:`3px solid ${Pe}`,borderRadius:2,background:"rgba(110,119,132,0.07)",padding:"6px 14px 8px",marginBottom:14,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsxs("div",{className:"flex items-center",style:{gap:9},children:[s.jsx(oc,{size:30}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.18,color:Hr,fontWeight:700},children:"Governance"}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:12,letterSpacing:"0",color:Pe,fontWeight:700,marginLeft:"auto"},children:"Where the strands come together"})]}),s.jsx("p",{style:{fontSize:12.5,lineHeight:1.22,marginTop:2,color:"#4b5565"},children:"Shared governance is the backbone, not a tenth strand."}),s.jsxs("p",{style:{fontSize:12.5,lineHeight:1.22,marginTop:2,color:"#6b7686"},children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:12,letterSpacing:"0",fontWeight:700,color:Pe},children:"Success looks like"})," ","Are shared priorities, decisions, responsibilities, and feedback loops strengthening so capacity remains when people, funding, or priorities change."]})]})]})]}),s.jsxs("section",{className:"slide",style:{marginTop:28},children:[s.jsx(P0,{}),s.jsxs("div",{style:{padding:"12px 48px 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:A0,fontWeight:700},children:"How the process runs"}),s.jsx("h1",{className:"font-display",style:{fontSize:34,lineHeight:1.1,color:Hr,fontWeight:700,marginTop:5},children:"Six working sessions over twelve months."}),s.jsx("p",{className:"font-body",style:{fontSize:16,color:am,marginTop:4},children:"Establish a baseline, build capacity and momentum across six sessions, then see what changed."})]}),s.jsx("div",{style:{padding:"12px 48px 0"},children:s.jsx(xN,{})}),s.jsx("div",{style:{marginTop:22},children:s.jsx(Vee,{})}),s.jsxs("div",{style:{padding:"0 48px 8px",marginTop:"auto"},children:[s.jsxs("div",{className:"flex items-end",style:{gap:12},children:[s.jsx("div",{style:{flex:1},children:s.jsx("p",{className:"font-body uppercase",style:{fontSize:11.5,letterSpacing:"0",color:Hr,fontWeight:700,lineHeight:1.2},children:"Baseline Scorecard"})}),s.jsx("div",{style:{flex:1,textAlign:"center"},children:s.jsx("p",{className:"font-body uppercase",style:{fontSize:12,letterSpacing:"0",color:Hr,fontWeight:700},children:"ECOSYSTEM EDGE® PROCESS"})}),s.jsx("div",{style:{flex:1,textAlign:"right"},children:s.jsx("p",{className:"font-body uppercase",style:{fontSize:11.5,letterSpacing:"0",color:Hr,fontWeight:700,lineHeight:1.2},children:"12-MONTH SCORECARD"})})]}),s.jsxs("div",{style:{position:"relative",marginTop:6},children:[s.jsxs("svg",{viewBox:"0 0 1000 30",style:{width:"100%",height:16,display:"block",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},preserveAspectRatio:"none","aria-hidden":"true",children:[He.map((e,t)=>s.jsx("rect",{x:t*(1e3/6),y:9,width:1e3/6+(t<He.length-1?1:0),height:12,rx:0,fill:e.accent,opacity:.92},e.num)),Array.from({length:12},(e,t)=>t+1).map(e=>s.jsx("line",{x1:yN(e),y1:8,x2:yN(e),y2:22,stroke:"rgba(255,255,255,0.6)",strokeWidth:2},e))]}),R0.map(e=>s.jsx(Xp,{size:26,strokeWidth:1.4,color:"#ffffff",fill:gN,style:{position:"absolute",left:`${(e.at-.5)/12*100}%`,top:"50%",transform:"translate(-50%, -50%)",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}},e.at))]}),s.jsx("div",{style:{position:"relative",height:86,marginTop:8},children:R0.map((e,t)=>{const n=R0.map(l=>(l.at-.5)/12*100),r=n[t]+1.3,o=t===0?0:n[t-1]+1.3,i=r-o-1.5,[a]=e.label.split(`
507`);return s.jsxs("div",{style:{position:"absolute",right:`${100-r}%`,width:`${i}%`,top:0,textAlign:"right"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:11.5,letterSpacing:"0",color:"#8d97a6",fontWeight:700},children:e.when}),s.jsx("p",{className:"font-body",style:{fontSize:12.5,lineHeight:1.25,color:Hr,fontWeight:700,marginTop:2},children:a})]},e.at)})})]})]}),s.jsxs("section",{className:"slide",style:{marginTop:28},children:[s.jsx(P0,{}),s.jsxs("div",{style:{padding:"16px 48px 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:A0,fontWeight:700},children:"What the ecosystem gets"}),s.jsx("h2",{className:"font-display",style:{fontSize:30,lineHeight:1.1,color:Hr,fontWeight:700,marginTop:5},children:"Stronger with every session."}),s.jsx("p",{className:"font-body",style:{fontSize:15,lineHeight:1.3,color:am,marginTop:4,marginBottom:12},children:"Equip the region to see the whole system, align around what matters, act together, and sustain the work over time."}),s.jsx("div",{style:{marginBottom:14},children:s.jsx(xN,{iconSize:18,fontSize:19})}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:16},children:[0,2,4,1,3,5].map(e=>{const t=He[e];return s.jsxs("div",{style:{background:"#fff",border:"1px solid rgba(45,77,131,0.14)",borderTop:`3px solid ${t.accent}`,borderRadius:12,padding:"12px 14px 14px",display:"flex",flexDirection:"column",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsxs("div",{className:"flex items-center",style:{gap:8},children:[s.jsx("span",{className:"font-body inline-flex items-center justify-center",style:{width:26,height:26,borderRadius:999,background:t.accent,color:"#fff",fontSize:12,fontWeight:700,flexShrink:0,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:t.num}),s.jsx(t.Icon,{size:18,strokeWidth:1.8,color:t.accent,"aria-hidden":"true"}),s.jsx("p",{className:"font-display",style:{fontSize:19,fontWeight:700,color:t.accent,lineHeight:1.12},children:t.kind})]}),s.jsx("div",{style:{marginTop:9,background:MR(t.accent,.12),borderRadius:8,padding:"7px 10px",textAlign:"center",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:s.jsx("p",{className:"font-display",style:{fontSize:19,fontStyle:"italic",fontWeight:700,color:t.accent,whiteSpace:"nowrap"},children:t.shift})}),s.jsxs("div",{style:{marginTop:9,paddingTop:8,borderTop:"1px solid rgba(45,77,131,0.10)"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:11.5,letterSpacing:"0",color:"#8d97a6",fontWeight:700},children:"Your ecosystem gets"}),s.jsx("ul",{style:{marginTop:5,display:"grid",gap:4},children:Jr[e].map(n=>s.jsxs("li",{className:"font-body flex",style:{gap:6,fontSize:14,lineHeight:1.26,color:t.accent,fontWeight:600},children:[s.jsx("span",{"aria-hidden":"true",style:{display:"block",width:4,height:4,borderRadius:999,background:t.accent,marginTop:6,flexShrink:0}}),s.jsx("span",{children:n})]},n))})]})]},t.num)})})]}),s.jsxs(tt,{waveHeight:16,style:{marginTop:"auto",marginBottom:0,padding:"10px 48px 14px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:gN,fontWeight:700},children:"WHAT THE YEAR BUILDS"}),s.jsx("p",{className:"font-display",style:{fontSize:18,lineHeight:1.28,color:"#fff",fontWeight:700,marginTop:5},children:"A stronger ecosystem, equipped to work better together."}),s.jsx("p",{className:"font-body",style:{fontSize:14,lineHeight:1.3,color:"rgba(255,255,255,0.86)",marginTop:5},children:"Over 12 months, the ecosystem develops the shared picture, relationships, tools, and operating capacity to align efforts, act together, and sustain the work beyond any one grant."})]})]})]})]}
507),co="/assets/capital-braid-rope-transparent-DsfGgEPk.png",Gee=1,Yee="8fc59814-0029-416d-a039-d59bf5a2fb96",qee="ad65106b-3a35-40ca-85a5-313ebfbdb26e",Kee="/__l5e/assets-v1/8fc59814-0029-416d-a039-d59bf5a2fb96/stack-cut.png",Zee="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/8fc59814-0029-416d-a039-d59bf5a2fb96/stack-cut.png",Qee="stack-cut.png",Jee=328073,Xee="image/png",ete="2026-08-19T23:42:28Z",Nu={version:Gee,asset_id:Yee,project_id:qee,url:Kee,r2_key:Zee,original_filename:Qee,size:Jee,content_type:Xee,created_at:ete},tte=1,nte="0e164e4a-9889-4bc1-80fc-e4e49ea27183",ste="ad65106b-3a35-40ca-85a5-313ebfbdb26e",rte="/__l5e/assets-v1/0e164e4a-9889-4bc1-80fc-e4e49ea27183/braid-cut.png",ote="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/0e164e4a-9889-4bc1-80fc-e4e49ea27183/braid-cut.png",ite="braid-cut.png",ate=352053,lte="image/png",cte="2026-08-19T23:42:31Z",ac={version:tte,asset_id:nte,project_id:ste,url:rte,r2_key:ote,original_filename:ite,size:ate,content_type:lte,created_at:cte},Nc=ho.NAVY,vN=ho.TEAL,Xn="#5c7a49",es="#9a7526",Ec="#b2483c",Cc="#6E7784",z0="rgba(45,77,131,0.22)",lm=["#A9BAD6","#7D95BC","#54719F","#2D4D83"],Vi=Tn.map(e=>e.color),dte=Tn.map(e=>e.letter),tu=({index:e,accent:t,width:n=160,className:r})=>{const o={width:n,height:n*110/160,viewBox:"0 0 160 110",role:"img",className:r},i=s.jsx("rect",{x:1,y:1,width:158,height:108,rx:9,fill:"#ffffff",stroke:z0,strokeWidth:1.4});if(e===0){const p=[[Xn,Xn,es,Ec,Xn,es,Xn,Ec,es],[Xn,es,es,Ec,es,Xn,es,es,Xn],[es,Xn,Xn,es,Xn,Xn,Ec,es,Xn],[Xn,es,Ec,Ec,es,es,Xn,Xn,es]],f=[Cc,Cc,Cc,Cc],h=11,g=12;return s.jsxs("svg",{...o,"aria-label":"Scorecard grid with a separate governance column",children:[i,Vi.map((m,b)=>s.jsx("rect",{x:g+b*h,y:20,width:8,height:4,rx:2,fill:m},`h${b}`)),p.map((m,b)=>m.map((v,y)=>s.jsx("rect",{x:g+y*h,y:30+b*13,width:8,height:9,rx:2,fill:v,opacity:.85},`${b}-${y}`))),s.jsx("rect",{x:g+9*h+6,y:16,width:22,height:70,rx:4,fill:"none",stroke:Cc,strokeWidth:1.3,opacity:.6}),s.jsx("rect",{x:g+9*h+13,y:20,width:8,height:4,rx:2,fill:Cc}),f.map((m,b)=>s.jsx("rect",{x:g+9*h+13,y:30+b*13,width:8,height:9,rx:2,fill:m,opacity:.85},`g${b}`))]})}if(e===1){const p=[{y:30,x:20,w:74},{y:45,x:36,w:92,hi:!0},{y:60,x:20,w:52},{y:75,x:54,w:64}];return s.jsxs("svg",{...o,"aria-label":"Initiatives mapped across the four phases",children:[i,lm.map((f,h)=>s.jsx("rect",{x:16+h*32,y:20,width:30,height:5,rx:2.5,fill:f},h)),p.map((f,h)=>s.jsx("rect",{x:f.x,y:f.y,width:f.w,height:9,rx:4.5,fill:lm[Math.min(3,h)],opacity:f.hi?.95:.55},f.y)),s.jsx("circle",{cx:128,cy:49.5,r:4,fill:"#ffffff",stroke:Nc,strokeWidth:2}),s.jsx("line",{x1:16,y1:94,x2:144,y2:94,stroke:z0,strokeWidth:1.4})]})}if(e===2)return s.jsxs("svg",{...o,"aria-label":"Action plan sheet with owners and metrics",children:[i,s.jsx("circle",{cx:22,cy:24,r:7,fill:t}),s.jsx("rect",{x:34,y:20,width:72,height:7,rx:3.5,fill:Nc,opacity:.75}),[42,58,74].map((p,f)=>s.jsxs("g",{children:[s.jsx("circle",{cx:22,cy:p+3.5,r:4.5,fill:Vi[f*3],opacity:.9}),s.jsx("rect",{x:34,y:p,width:72-f*12,height:7,rx:3.5,fill:Nc,opacity:.2}),s.jsx("rect",{x:120,y:p,width:22,height:7,rx:3.5,fill:vN,opacity:.4})]},p)),s.jsx("path",{d:"M 116 96 L 124 96 L 130 88 L 142 88",fill:"none",stroke:t,strokeWidth:2,strokeLinecap:"round"})]});if(e===3){const p=Array.from({length:9},(f,h)=>{const g=Math.PI*2*h/9-Math.PI/2;return{x:80+Math.cos(g)*33,y:55+Math.sin(g)*33}});return s.jsxs("svg",{...o,"aria-label":"The nine partner groups connected to each other",children:[i,p.map((f,h)=>p.slice(h+1).map((g,m)=>s.jsx("line",{x1:f.x,y1:f.y,x2:g.x,y2:g.y,stroke:Nc,strokeOpacity:.16,strokeWidth:.8},`m${h}-${m}`))),p.map((f,h)=>s.jsxs("g",{children:[s.jsx("circle",{cx:f.x,cy:f.y,r:7,fill:Vi[h]}),s.jsx("text",{x:f.x,y:f.y+2.6,textAnchor:"middle",fontSize:7.4,fontWeight:700,fill:"#ffffff",fontFamily:"inherit",children:dte[h]})]},h))]})}if(e===4){const p=[3,2,2];return s.jsxs("svg",{...o,"aria-label":"Operating board with columns, cards and owners",children:[i,[0,1,2].map(f=>s.jsxs("g",{children:[s.jsx("rect",{x:14+f*45,y:20,width:38,height:5,rx:2.5,fill:lm[f+1]}),Array.from({length:p[f]},(h,g)=>s.jsxs("g",{children:[s.jsx("rect",{x:14+f*45,y:33+g*22,width:38,height:17,rx:4,fill:"#ffffff",stroke:z0,strokeWidth:1.2}),s.jsx("rect",{x:14+f*45,y:33+g*22,width:38,height:2.6,rx:1.3,fill:lm[f+1]}),s.jsx("rect",{x:18+f*45,y:40+g*22,width:20,height:4,rx:2,fill:Nc,opacity:.22}),s.jsx("circle",{cx:46+f*45,cy:45+g*22,r:3.2,fill:Vi[(f*3+g)%9],opacity:.9})]},g))]},f))]})}const a=[Vi[0],Vi[1],Nc,Vi[5],vN,Vi[7],ho.GOLD],l=88,c=56,d=146,u=(p,f)=>{const h=20+p*12,g=3.4,m=p%3===0?1:p%3===1?-1:0,b=l+(d-l)*.34,v=l+(d-l)*.68;return`M14 ${h} C 44 ${h}, 60 ${c+(h-c)*.16}, ${l} ${c} C ${l+6} ${c+g*m}, ${b-6} ${c+g*m}, ${b} ${c} C ${b+6} ${c-g*m}, ${v-6} ${c-g*m}, ${v} ${c} C ${v+5} ${c+g*m*.6}, ${d-5} ${c+g*m*.4}, ${d} ${c}`};return s.jsxs("svg",{...o,"aria-label":"Funding strands braided into one durable model",children:[i,a.map((p,f)=>s.jsx("path",{d:u(f),fill:"none",stroke:p,strokeWidth:2.4,strokeLinecap:"round",opacity:.92},`${p}-${f}`))]})},Ke="#2D4D83",Gr="#59BEC9",ci="#E2B673",bN="#4C9A5A",Dt="#5a6779",wN="#6E7784",VR=[{label:"Reveal",color:Ke,from:1,to:4},{label:"Clarify",color:"#2F8C97",from:5,to:8},{label:"Activate",color:"#A9762B",from:9,to:12}],I0=[{at:3,when:"Month 3",label:"Shared picture, ecosystem and initiatives map complete"},{at:5.5,when:"Month 5 to 6",label:"2 to 3 year plan set, goals and measures agreed"},{at:9,when:"Month 9",label:"Operating model live, owners and responsibilities assigned"},{at:12,when:"Month 12",label:"Funding and business model mapped, Scorecard re-run"}],Xj=72,ute=1208,Qm=ute-Xj,Ui=e=>Xj+Qm*(e-.5)/12,hte=[{center:"Startup growth and founder retention",node:0,read:"Investors, corporates, and support organizations are prioritized by how well they support founders."},{center:"Good jobs, hiring, and advancement",node:4,read:"Employers, talent organizations, and service providers are prioritized by how well they support workers."}
507,{center:"Industry and anchor-sector growth",node:1,read:"Associations, government, and money are prioritized by how well they support industry growth."}],jN=[{letter:"E",color:"#2D4D83",name:"Entrepreneurial Support Organizations"},{letter:"C",color:"#59BEC9",name:"Corporates"},{letter:"O",color:"#3F7CA8",name:"Government Organizations"},{letter:"S",color:"#E2B673",name:"Startups + Founders"},{letter:"Y",color:"#7BA05B",name:"Youth + Academia"},{letter:"S",color:"#8C6FA6",name:"Service Providers"},{letter:"T",color:"#C97B5A",name:"Trade + Industry Associations"},{letter:"E",color:"#4FA3A5",name:"Events + Media"},{letter:"M",color:"#B8892B",name:"Money (Capital + Funding)"}],pte=[{letter:"E",name:"Engage",note:"Connected and aware of each other"},{letter:"D",name:"Discover",note:"Know what each partner has and needs"},{letter:"G",name:"Galvanize",note:"Putting resources and effort in"},{letter:"E",name:"Emerge",note:"Producing better results together"}],SN=[{label:"Strong",fill:"#4E8C5B"},{label:"Developing",fill:"#D9A441"},{label:"Disconnected",fill:"#B9553F"}],fte=[{name:"Entrepreneurial Support Organizations",letter:"E",color:"#2D4D83",rows:[[70,30,0],[70,30,0],[30,70,0],[30,70,0]]},{name:"Corporates",letter:"C",color:"#59BEC9",rows:[[60,40,0],[60,40,0],[70,30,0],[30,70,0]]},{name:"Government Organizations",letter:"O",color:"#3F7CA8",rows:[[80,20,0],[60,40,0],[40,60,0],[30,70,0]]},{name:"Startups + Founders",letter:"S",color:"#E2B673",rows:[[60,30,10],[40,40,20],[30,40,30],[30,40,30]]},{name:"Youth + Academia",letter:"Y",color:"#7BA05B",rows:[[70,30,0],[40,40,20],[30,60,10],[30,60,10]]},{name:"Service Providers",letter:"S",color:"#8C6FA6",rows:[[40,60,0],[40,60,0],[30,60,10],[30,60,10]]},{name:"Trade + Industry Associations",letter:"T",color:"#C97B5A",rows:[[20,80,0],[20,80,0],[10,90,0],[10,90,0]]},{name:"Events + Media",letter:"E",color:"#4FA3A5",rows:[[50,50,0],[40,60,0],[30,70,0],[30,70,0]]},{name:"Money (Capital + Funding)",letter:"M",color:"#B8892B",rows:[[50,50,0],[60,40,0],[30,70,0],[30,70,0]]}],mte=[{k:"What we bring",h:"Facilitation and tools.",v:"All six sessions facilitated, the scorecard and its tools, and coaching between sessions so the work keeps moving.",c:Ke},{k:"What you commit",h:"A core group and the time.",v:"A core group of partners, six half-day sessions across twelve months, and one named owner for each priority.",c:Gr},{k:"What you have at twelve months",h:"A picture, priorities, and proof.",v:"A shared picture of the ecosystem, priorities with owners and next steps, and a re-run scorecard showing what moved.",c:ci}],Dr=({n:e,children:t,dark:n,chrome:r=!0,style:o})=>s.jsxs("section",{className:"slide","data-slide":e,style:{background:n?Ke:"#ffffff",...o},children:[s.jsx("div",{style:{height:7,background:`linear-gradient(90deg, ${Ke} 0%, ${Gr} 55%, ${ci} 100%)`,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}}),r?s.jsx("img",{src:ct,alt:"","aria-hidden":"true",style:{position:"absolute",top:20,right:48,height:34,background:n?"#fff":void 0,borderRadius:n?6:void 0,padding:n?"4px 8px":void 0,zIndex:4}}):null,t,r?s.jsxs("div",{className:"flex items-end justify-between",style:{position:"absolute",left:48,right:48,bottom:20,borderTop:`1px solid ${n?"rgba(255,255,255,0.22)":"rgba(45,77,131,0.14)"}`,paddingTop:7},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:9.6,letterSpacing:"0.16em",color:n?"rgba(255,255,255,0.6)":"#8d97a6"},children:"The Ecosystem Edge® Process · For funders"}),s.jsxs("p",{className:"font-body",style:{fontSize:9.6,letterSpacing:"0.1em",color:n?"rgba(255,255,255,0.6)":"#8d97a6"},children:["© 2026 Ecosystem Edge® · ",e]})]}):null]}),il=({eyebrow:e,title:t,kicker:n,maxWidth:r=980})=>s.jsxs("div",{style:{padding:"26px 48px 0"},children:[e?s.jsx("p",{className:"font-body uppercase",style:{fontSize:11.5,letterSpacing:"0.2em",color:Gr,fontWeight:700},children:e}):null,s.jsx("h2",{className:"font-display",style:{fontSize:34,lineHeight:1.12,color:Ke,fontWeight:700,marginTop:7,maxWidth:r},children:t}),n?s.jsx("p",{style:{fontSize:15,lineHeight:1.45,color:Dt,marginTop:9,maxWidth:r},children:n}):null]}),kN=({top:e,left:t=72,right:n=72})=>s.jsx("div",{style:{position:"absolute",top:e,left:t,right:n,display:"flex",alignItems:"center",gap:10},children:VR.map((r,o)=>s.jsxs(x.Fragment,{children:[o>0&&s.jsx("span",{"aria-hidden":"true",className:"font-display",style:{fontSize:17,fontWeight:700,color:"rgba(45,77,131,0.42)",lineHeight:1},children:">"}),s.jsx("div",{style:{flex:1,borderRadius:10,padding:"7px 10px",background:`${r.color}14`,borderTop:`3px solid ${r.color}`,textAlign:"center"},children:s.jsx("span",{className:"font-display uppercase",style:{fontSize:15,letterSpacing:"0.08em",fontWeight:700,color:r.color},children:r.label})})]},r.label))}),gte=()=>s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"The Ecosystem Edge® Process, funder deck | Ecosystem Edge",description:"A funder deck that runs alongside the Ecosystem Edge Process funder document.",path:"/deck-funder",noindex:!0}),s.jsx("style",{children:`
508        .slide {
509          width: 1280px;
510          height: 720px;
511          margin: 0 auto;
512          background: #ffffff;
513          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
514          position: relative;
515          overflow: hidden;
516          color: #3d4757;
517          font-size: 14px;
518        }
519        .slide + .slide { margin-top: 28px; }
520        @media print {
521          @page { size: 1280px 720px landscape; margin: 0; }
522          html, body { background: #ffffff !important; }
523          .no-print { display: none !important; }
524          .slide-shell { background: #ffffff !important; padding: 0 !important; }
525          .slide { box-shadow: none !important; margin: 0 !important; }
526          .slide + .slide { page-break-before: always; break-before: page; }
527          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
528        }
529      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body",style:{fontSize:13,color:Dt},children:"The Ecosystem Edge® Process · funder deck"}),s.jsxs("button",{onClick:()=>window.print(),className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:14,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]}),s.jsxs("div",{className:"slide-shell",style:{padding:"28px 16px 60px"},children:[s.jsxs(Dr,{n:1,chrome:!1,children:[s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{position:"absolute",top:34,right:56,height:46}}),s.jsxs("div",{style:{padding:"64px 72px 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:12,letterSpacing:"0.22em",color:"#B8892B",fontWeight:700},children:"Driving impact"}),s.jsx("div",{className:"font-body uppercase inline-block",style:{fontSize:10.5,letterSpacing:"0.14em",fontWeight:700,color:bN,border:"1px solid rgba(76,154,90,0.45)",background:"rgba(76,154,90,0.08)",borderRadius:999,padding:"4px 11px",marginTop:16},children:"For funders"}),s.jsx("h1",{className:"font-display",style:{fontSize:54,lineHeight:1.05,color:Ke,fontWeight:700,marginTop:12,maxWidth:860},children:"The Ecosystem Edge® Process"}),s.jsx("p",{style:{fontSize:18,lineHeight:1.45,color:Dt,marginTop:14,maxWidth:820,fontStyle:"italic"},children:"Seeing whether an ecosystem is getting stronger, and whether your investment is compounding."}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:18,marginTop:30,maxWidth:880},children:[{k:"Decades of practice",v:"Refined over five years of use in the field.",c:Gr},{k:"Evaluator-tested",v:"Stress-tested with independent evaluators.",c:ci},{k:"40+ ecosystems",v:"Across 15 states, from rural regions to major metros.",c:"#C4566E"}].map(e=>s.jsxs("div",{children:[s.jsx(wr,{color:e.c}),s.jsx("p",{className:"font-display",style:{fontSize:20,color:Ke,fontWeight:700,marginTop:8},children:e.k}),s.jsx("p",{style:{fontSize:12.5,lineHeight:1.5,color:"#6b7686",marginTop:4},children:e.v})]},e.k))}),s.jsx("p",{className:"font-body",style:{fontSize:14,color:Ke,fontWeight:600,marginTop:26},children:"Amy Beaird, PhD and Dawn Haynes, MBA"}),s.jsx("p",{className:"font-body",style:{fontSize:12.5,color:Dt,marginTop:3},children:"Ecosystem Edge® · Entrepreneurship Funders Network"})]}),s.jsx("div",{style:{position:"absolute",bottom:-6,left:0,width:1280},children:s.jsx("img",{src:co,alt:"","aria-hidden":"true",style:{display:"block",width:"100%",height:"auto"}})})]}),s.jsx(Dr,{n:2,children:s.jsxs("div",{style:{padding:"96px 72px 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:11.5,letterSpacing:"0.2em",color:Gr,fontWeight:700},children:"The problem underneath"}),s.jsx("h2",{className:"font-display",style:{fontSize:46,lineHeight:1.1,color:Ke,fontWeight:700,marginTop:10,maxWidth:980},children:"Human brains think in straight lines. Outcomes come from complex systems."}),s.jsxs("div",{className:"flex items-center",style:{gap:22,marginTop:40,border:"1px solid rgba(45,77,131,0.16)",borderRadius:10,padding:"20px 22px",maxWidth:1080},children:[s.jsxs("div",{className:"flex items-center shrink-0",style:{gap:14},children:[s.jsx("img",{src:Nu.url,alt:"A wobbly stack of wooden blocks",style:{height:168,width:"auto",objectFit:"contain"}}),s.jsx("svg",{width:"44",height:"20",viewBox:"0 0 86 40","aria-hidden":"true",style:{flexShrink:0},children:s.jsx("path",{d:"M0 13 H54 V0 L86 20 L54 40 V27 H0 Z",fill:Gr})}),s.jsx("img",{src:ac.url,alt:"Many colored ropes braided into one",style:{height:168,width:"auto",objectFit:"contain"}})]}),s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:11,letterSpacing:"0.14em",fontWeight:700,color:Gr},children:"Straight-line thinking stacks. Systems thinking braids."}),s.jsx("p",{className:"font-display",style:{fontSize:24,lineHeight:1.2,color:Ke,fontWeight:700,marginTop:6},children:"Healthy ecosystems don’t stack funding. They braid it."}),s.jsx("p",{style:{fontSize:15,lineHeight:1.5,marginTop:8,maxWidth:520},children:"Stack it and one wobble can bring it down. Braid it and no single strand carries the weight; each added strand strengthens the rest."})]})]})]})}),s.jsxs(Dr,{n:3,children:[s.jsx(il,{eyebrow:"What often gets counted",title:s.jsx(s.Fragment,{children:"What’s visible. Not what makes it work."}),kicker:"Counts of programs, dollars, and events are easy to see. The connections that make them add up are not."}),s.jsxs("div",{style:{position:"absolute",top:250,left:48,right:48},children:[s.jsx("div",{className:"flex items-center justify-center",style:{gap:34},children:[{t:"Investment",c:Ke,d:"Dollars in, programs launched, events held."},{t:"Innovation",c:ci,d:"Founders staying, jobs created, industries growing."}].map((e,t)=>s.jsxs(x.Fragment,{children:[t===1&&s.jsx("span",{className:"font-display",style:{fontSize:58,color:"#C4566E",fontWeight:700,lineHeight:1},children:"≠"}),s.jsxs("div",{style:{width:380,border:"1px solid rgba(45,77,131,0.16)",borderTop:`4px s
529olid ${e.c}`,borderRadius:10,overflow:"hidden",padding:"20px 22px 22px",textAlign:"center"},children:[s.jsx("p",{className:"font-display",style:{fontSize:30,color:Ke,fontWeight:700},children:e.t}),s.jsx("p",{style:{fontSize:15,lineHeight:1.5,color:Dt,marginTop:8},children:e.d})]})]},e.t))}),s.jsx(tt,{waveHeight:14,style:{marginTop:44,padding:"16px 26px 16px",borderRadius:10,overflow:"hidden"},children:s.jsxs("p",{className:"font-display",style:{fontSize:20,lineHeight:1.3,color:"#fff",fontWeight:700},children:["Your edge is in the ",s.jsx("span",{style:{color:ci},children:"connections"}),", and that is the part nobody else can show you."]})})]})]}),s.jsxs(Dr,{n:4,children:[s.jsx(il,{eyebrow:"What we do differently",title:s.jsx(s.Fragment,{children:"One shared picture, one process, repeated over time."}),kicker:"Funders and ecosystem builders decide together, from the same view, rather than trading reports back and forth.",maxWidth:760}),s.jsx("div",{style:{position:"absolute",top:96,right:48,width:400,height:236,borderRadius:10,overflow:"hidden",border:"1px solid rgba(45,77,131,0.18)"},children:s.jsx("img",{src:hf,alt:"Partners marking the Ecosystem Edge scorecard together during a working session",style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center 60%"}})}),s.jsxs("div",{style:{position:"absolute",top:368,left:48,right:48},children:[s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:16},children:[{t:"Built from what already exists",d:"We start from the reports and conversations already happening, not a new round of data collection.",c:Ke},{t:"Never a ranking",d:"A rural region three years in and a metro ten years in are not comparable. Each place moves against its own trajectory.",c:Gr},{t:"Re-run each year",d:"The same picture comes back at twelve months, so you can see what moved instead of guessing.",c:ci}].map(e=>s.jsxs("div",{style:{border:"1px solid rgba(45,77,131,0.14)",borderTop:`4px solid ${e.c}`,borderRadius:10,overflow:"hidden",padding:"14px 16px 16px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:19,lineHeight:1.2,color:Ke,fontWeight:700},children:e.t}),s.jsx("p",{style:{fontSize:14,lineHeight:1.5,color:Dt,marginTop:7},children:e.d})]},e.t))}),s.jsxs("p",{style:{fontSize:15,lineHeight:1.5,color:Dt,marginTop:26,paddingTop:14,borderTop:"1px solid rgba(45,77,131,0.14)",maxWidth:1e3},children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:11,letterSpacing:"0.14em",fontWeight:700,color:Ke},children:"Region or sector, or both"})," ","for a region, work all nine strands across the geography. For an industry, work the same nine within the sector."]})]})]}),s.jsxs(Dr,{n:5,children:[s.jsx(il,{eyebrow:"The paradigm shift",title:s.jsxs(s.Fragment,{children:["Is the investment ",s.jsx("span",{style:{color:"#B8892B"},children:"compounding or resetting?"})]}),kicker:"You funded an ecosystem for three years. It looked like it was working, until the money ended or key people left."}),s.jsxs("div",{style:{position:"absolute",top:290,left:48,right:48},children:[s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr",gap:22},children:[{t:"Resetting",c:"#C4566E",items:["Progress leaves with the grant or the person.","Each new investment starts the relationship work over.","Results show up only in counts of activity."]},{t:"Compounding",c:bN,items:["Relationships, roles, and infrastructure hold between grants.","Each dollar builds on the last one.","Movement is visible before outcomes land."]}].map(e=>s.jsxs("div",{style:{border:"1px solid rgba(45,77,131,0.14)",borderTop:`4px solid ${e.c}`,borderRadius:10,overflow:"hidden",padding:"16px 20px 18px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:24,color:Ke,fontWeight:700},children:e.t}),s.jsx("ul",{style:{marginTop:10,display:"grid",gap:8},children:e.items.map(t=>s.jsxs("li",{className:"flex",style:{gap:9,fontSize:15,lineHeight:1.45},children:[s.jsx("span",{"aria-hidden":"true",style:{color:e.c,fontWeight:700},children:"•"}),s.jsx("span",{children:t})]},t))})]},e.t))}),s.jsx("p",{className:"font-display",style:{fontSize:24,color:Ke,fontWeight:700,marginTop:30,textAlign:"center"},children:"Make each dollar more strategic."})]})]}),s.jsxs(Dr,{n:6,children:[s.jsx(il,{eyebrow:"Same ecosystem, different funding objectives",title:s.jsx(s.Fragment,{children:"One process. Centered on your objectives."}),kicker:"Your funding objectives change which group sits at the center. Everything else is prioritized by how well it supports that group."}),s.jsxs("div",{style:{position:"absolute",top:262,left:48,right:48},children:[s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:20},children:hte.map(e=>{const t=br[e.node];return s.jsxs("div",{className:"flex flex-col items-center",children:[s.jsx(yu,{size:176,centerIndex:e.node}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.25,color:Ke,fontWeight:700,textAlign:"center",marginTop:6},children:e.center}),s.jsxs("p",{className:"font-body uppercase",style:{fontSize:10.5,letterSpacing:"0.14em",fontWeight:700,color:t.color,marginTop:6,textAlign:"center"},children:["Centered on ",t.label]}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.45,color:Dt,marginTop:7,textAlign:"center"},children:e.read})]},e.center)})}),s.jsx("p",{style:{fontSize:14,lineHeight:1.5,color:Dt,marginTop:20,textAlign:"center"},children:"Shared governance is always prioritized first and never centered. It is what helps progress compound."})]})]}),s.jsxs(Dr,{n:7,children:[s.jsx(il,{eyebrow:"Ecosystem Edge® Scorecard",title:s.jsx(s.Fragment,{children:"See the whole picture clearly."}),kicker:"Nine partner groups, plus shared governance. One shared picture. Twenty minutes."}),s.jsx("p",{style:{position:"absolute",top:196,left:48,right:48,fontSize:13.5,color:Dt},children:"Every group rates its own relationships at each of the four phases, so the whole picture comes from the partners themselves."}),s.jsxs("div",{style:{position:"absolute",top:232,left:48,right:48},children:[s.jsxs("div",{style:{display:"grid",gridTemplateColumns:"228px repeat(9, 1fr) 16px 74px",gap:6,alignItems:"end"},children:[s.jsx("div",{}),jN.map((e,t)=>s.jsx("div",{className:"flex flex-col items-center",style:{gap:4},children:s.jsx("span",{className:"font-display flex items-center justify-center",style:{width:26,height:26,borderRadius:7,background:e.color,color:"#fff",fontSize:14,fontWeight:700},children:e.letter})},`${e.letter}-${t}`)),s.jsx("div",{}),s.jsx("div",{className:"flex flex-col items-center",style:{gap:4},children:s.jsx("span",{className:"flex items-center justify-center",style:{width:26,height:26,borderRadius:7,background:wN},children:s.jsx(lj,{size:18})})}),pte.map((e,t)=>s.jsxs(x.Fragment,{children:[s.jsxs("div",{style:{paddingRight:8},children:[s.jsxs("p",{className:"font-display",style:{fontSize:15,color:Ke,fontWeight:700},children:[s.jsx("span",{style:{color:Gr},children:e.letter})," ",e.name]}),s.jsx("p",{style:{fontSize:11.5,lineHeight:1.35,color:Dt},children:e.note})]}),jN.map((n,r)=>s.jsx("div",{style:{height:58,borderRadius:8,border:"1px solid rgba(45,77,131,0.16)",background:`${n.color}${["1A","26","33","40"][t]}`}},`${e.name}-${r}`)),s.jsx("div",{}),s.jsx("div",{style:{height:58,borderRadius:8,border:"1px solid rgba(110,119,132,0.5)",background:`rgba(110,119,132,${[.1,.16,.22,.3][t]})`}})]},e.name)),s.jsx("div",{}),s.jsx("div",{style:{gridColumn:"2 / 11"},children:s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.14em",color:Dt,fontWeight:700,marginTop:6},children:"Nine partner groups"})}),s.jsx("div",{}),s.jsx("div",{children:s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.1em",color:wN,fontWeight:700,marginTop:6,textAlign:"center"},children:"Governance"})})]}),s.jsx("p",{style:{fontSize:14,lineHeight:1.5,color:Ke,marginTop:22,fontWeight:600},children:"We reveal connectivity, the relationships between partners, not just the assets a region can list."})]})]}),s.jsxs(Dr,{n:8,children:[s.jsx(il,{eyebrow:"A shared pulse",title:s.jsx(s.Fragment,{children:"It starts with a shared reading from partners across the ecosystem."}),kicker:"Each group rates its own relationships at all four phases. Read together, the pattern shows where the ecosystem is strong and where it thins out."}),s.jsxs("div",{style:{position:"absolute",top:258,left:48,right:48},children:[s.jsxs("div",{className:"flex items-center",style:{gap:16,marginBottom:12},children:[SN.map(e=>s.jsxs("span",{className:"flex items-center",style:{gap:6},children:[s.jsx("span",{style:{width:12,height:12,borderRadius:3,background:e.fill,display:"block"}}),s.jsx("span",{style:{fontSize:12.5,color:Dt},children:e.label})]},e.label)),s.jsx("span",{style:{fontSize:12.5,color:Dt,marginLeft:"auto"},children:"Engage, Discover, Galvanize, Emerge, top to bottom"})]}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"repeat(9, 1fr)",gap:10},children:fte.map((e,t)=>s.jsxs("div",{style:{border:"1px solid rgba(45,77,131,0.14)",borderTop:`3px solid ${e.color}`,borderRadius:10,overflow:"hidden",padding:"8px 8px 10px"},children:[s.jsx("span",{className:"font-display flex items-center justify-center",style:{width:22,height:22,borderRadius:6,background:e.color,color:"#fff",fontSize:12.5,fontWeight:700},children:e.letter}),s.jsx("p",{className:"font-body",style:{fontSize:10.8,lineHeight:1.3,color:Ke,fontWeight:700,marginTop:6,height:42,overflow:"hidden"},children:e.name}),s.jsx("div",{style:{marginTop:6,display:"grid",gap:5},children:e.rows.map((n,r)=>s.jsx("div",{className:"flex",style:{height:14,borderRadius:4,overflow:"hidden",background:"#eef1f5"},children:n.map((o,i)=>o>0?s.jsx("span",{style:{width:`${o}%`,background:SN[i].fill,display:"block"}},i):null)},r))})]},`${e.letter}-${t}`))}),s.jsx("p",{style:{fontSize:14,lineHeight:1.5,color:Dt,marginTop:20},children:"The same reading is taken again at twelve months, so movement shows up as a change in the picture rather than a 
529new report."})]})]}),s.jsxs(Dr,{n:9,children:[s.jsxs("div",{style:{padding:"22px 72px 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:12.5,letterSpacing:"0.2em",color:Gr,fontWeight:700},children:"How the process runs"}),s.jsx("h1",{className:"font-display",style:{fontSize:34,lineHeight:1.1,color:Ke,fontWeight:700,marginTop:6},children:"The Journey"}),s.jsx("p",{className:"font-body",style:{fontSize:14.5,color:Dt,marginTop:4},children:"A facilitated twelve-month cycle that begins and ends with the Scorecard."})]}),s.jsx(kN,{top:140}),s.jsxs("svg",{width:1280,height:130,viewBox:"0 0 1280 130",style:{position:"absolute",top:206,left:0},"aria-hidden":"true",children:[s.jsx("defs",{children:s.jsx("marker",{id:"deckLoopArrow",viewBox:"0 0 10 10",refX:"8",refY:"5",markerWidth:"7",markerHeight:"7",orient:"auto-start-reverse",children:s.jsx("path",{d:"M 0 0 L 10 5 L 0 10 z",fill:Ke})})}),s.jsx("path",{d:"M 1135 108 C 1200 14, 220 14, 150 74",fill:"none",stroke:Ke,strokeWidth:2,strokeDasharray:"7 7",opacity:.5,markerEnd:"url(#deckLoopArrow)"})]}),s.jsxs("div",{className:"flex items-center",style:{position:"absolute",top:226,left:"50%",transform:"translateX(-50%)",gap:8,background:"#ffffff",padding:"0 12px",whiteSpace:"nowrap"},children:[s.jsx(tA,{size:14,color:Ke,"aria-hidden":"true"}),s.jsx("p",{className:"font-body",style:{fontSize:12.5,color:Ke,fontStyle:"italic"},children:"At 12 months, re-run the Scorecard to see what moved against the 2 to 3 year plan"})]}),s.jsx("span",{className:"font-body",style:{position:"absolute",top:270,left:118,transform:"translateX(-100%)",fontSize:11.5,fontStyle:"italic",color:Ke,whiteSpace:"nowrap"},children:"begin year 2"}),s.jsx(wi,{variant:"slide",responsive:!1,style:{position:"absolute",top:248,left:0}}),s.jsx("div",{style:{position:"absolute",top:572,left:72,right:72},children:s.jsx("p",{className:"font-body uppercase",style:{fontSize:10.5,letterSpacing:"0.16em",color:Dt,fontWeight:700},children:"12-month cycle"})}),s.jsxs("svg",{width:1280,height:30,viewBox:"0 0 1280 30",style:{position:"absolute",top:588,left:0},"aria-hidden":"true",children:[VR.map(e=>s.jsx("rect",{x:Ui(e.from)-Qm/24,y:9,width:Ui(e.to)-Ui(e.from)+Qm/12,height:12,rx:6,fill:e.color,opacity:.92},e.label)),Array.from({length:12},(e,t)=>t+1).map(e=>s.jsx("line",{x1:Ui(e),y1:8,x2:Ui(e),y2:22,stroke:"rgba(255,255,255,0.55)",strokeWidth:2},e)),I0.map(e=>s.jsx("circle",{cx:Ui(e.at),cy:15,r:7,fill:ci,stroke:"#ffffff",strokeWidth:2.5},e.at))]}),s.jsx("svg",{width:1280,height:18,viewBox:"0 0 1280 18",style:{position:"absolute",top:612,left:0},"aria-hidden":"true",children:I0.map((e,t)=>{const n=Xj+Qm*(t+.5)/4;return s.jsx("path",{d:`M ${Ui(e.at)} 0 L ${Ui(e.at)} 6 L ${n} 12 L ${n} 18`,fill:"none",stroke:"rgba(45,77,131,0.22)",strokeWidth:1.5},e.at)})}),s.jsx("div",{style:{position:"absolute",top:630,left:72,right:72,display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:14},children:I0.map(e=>s.jsxs("p",{className:"font-body",style:{textAlign:"center",fontSize:11,lineHeight:1.3,color:Dt,maxWidth:200,margin:"0 auto",textWrap:"balance"},children:[s.jsx("span",{style:{display:"block",fontWeight:700,color:Ke},children:e.when}),e.label]},e.at))})]}),s.jsxs(Dr,{n:10,children:[s.jsxs("div",{style:{padding:"22px 48px 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:12.5,letterSpacing:"0.2em",color:Gr,fontWeight:700},children:"Six sessions across twelve months"}),s.jsx("h1",{className:"font-display",style:{fontSize:32,lineHeight:1.1,color:Ke,fontWeight:700,marginTop:4},children:"What each session helps you accomplish"})]}),s.jsx(kN,{top:112,left:48,right:48}),s.jsx("div",{style:{position:"absolute",top:166,left:48,right:48,display:"grid",gridTemplateColumns:"repeat(6, 1fr)",gap:10},children:He.map((e,t)=>{const[n,r]=(e.shift??" → ").split("→").map(o=>o.trim());return s.jsxs("div",{style:{background:"#ffffff",border:"1px solid rgba(45,77,131,0.14)",borderTop:`3px solid ${e.accent}`,borderRadius:10,padding:"10px 8px 12px",height:468,minWidth:0,overflow:"hidden",display:"flex",flexDirection:"column"},children:[s.jsxs("div",{style:{height:44},children:[s.jsx("p",{className:"font-body",style:{fontSize:12,fontWeight:700,letterSpacing:"0.12em",color:e.accent},children:e.num}),s.jsx("p",{className:"font-display",style:{fontSize:13.5,fontWeight:700,color:Ke,lineHeight:1.2,marginTop:1,letterSpacing:"-0.015em",whiteSpace:"nowrap",overflow:"hidden"},children:e.kind})]}),s.jsx("div",{style:{height:12,display:"flex",alignItems:"center"},children:s.jsx("span",{style:{display:"block",width:28,height:2,background:e.accent,borderRadius:2}})}),s.jsxs("p",{className:"font-display",style:{height:70,fontSize:20,fontWeight:700,color:e.accent,lineHeight:1.15,letterSpacing:"-0.01em"},children:[n," ",s.jsx("span",{style:{opacity:.45},children:"→"})," ",r]}),s.jsx("div",{style:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",minHeight:0},children:s.jsx(tu,{index:t,accent:e.accent,width:168})}),s.jsxs("div",{style:{marginTop:"auto",paddingTop:9,borderTop:"1px solid rgba(45,77,131,0.10)",height:140},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10.5,letterSpacing:"0.14em",color:Dt,fontWeight:700},children:"Your ecosystem gets"}),s.jsx("ul",{style:{marginTop:5,display:"grid",gap:4},children:Jr[t].map(o=>s.jsxs("li",{className:"font-body",style:{display:"flex",alignItems:"flex-start",ga
529p:6,fontSize:13.5,color:e.accent,fontWeight:600,lineHeight:1.25},children:[s.jsx("span",{"aria-hidden":"true",style:{display:"block",width:4,height:4,borderRadius:999,background:e.accent,marginTop:5,flexShrink:0}}),s.jsx("span",{children:o})]},o))})]})]},e.num)})})]}),s.jsxs(Dr,{n:11,children:[s.jsx(il,{eyebrow:"Where to start",title:s.jsx(s.Fragment,{children:"See where your funding can change the system."}),maxWidth:900}),s.jsxs("div",{style:{position:"absolute",top:150,left:48,right:48},children:[s.jsxs("div",{style:{border:"1px solid rgba(45,77,131,0.18)",borderLeft:`5px solid ${ci}`,borderRadius:10,overflow:"hidden",background:"rgba(45,77,131,0.04)",padding:"14px 20px 15px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:24,lineHeight:1.15,color:Ke,fontWeight:700},children:"Run it with a cohort of ecosystems"}),s.jsx("p",{style:{fontSize:14.5,lineHeight:1.45,marginTop:6},children:"Pick a cohort of ecosystems in your portfolio and run the process together, as part of a community of practice. Over twelve months each place builds its own shared picture and names what would strengthen it next, while learning alongside the others. At twelve months, re-run the scorecard to see what moved across the portfolio."})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:10.5,letterSpacing:"0.2em",color:"#8d97a6",fontWeight:700,marginTop:22},children:"What the year asks, and what you get"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:16,marginTop:10},children:mte.map(e=>s.jsxs("div",{style:{borderTop:`3px solid ${e.c}`,paddingTop:8},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.14em",color:e.c,fontWeight:700},children:e.k}),s.jsx("p",{style:{fontSize:14.5,lineHeight:1.35,color:Ke,fontWeight:600,marginTop:4},children:e.h}),s.jsx("p",{style:{fontSize:13,lineHeight:1.45,color:Dt,marginTop:4},children:e.v})]},e.k))}),s.jsx("div",{className:"flex items-start justify-between",style:{gap:28,marginTop:24},children:s.jsxs("div",{children:[s.jsx("p",{className:"font-body",style:{fontSize:14,color:Ke,fontWeight:700},children:"Amy Beaird, PhD · Dawn Haynes, MBA"}),s.jsxs("div",{className:"flex items-center",style:{gap:20,marginTop:8,color:Dt,fontSize:13.5},children:[s.jsxs("span",{className:"flex items-center",style:{gap:6},children:[s.jsx(Dw,{size:14})," [email protected]"]}),s.jsxs("span",{className:"flex items-center",style:{gap:6},children:[s.jsx(ID,{size:14})," ecosystem-edge.com"]}),s.jsxs("span",{className:"flex items-center",style:{gap:6},children:[s.jsx(GD,{size:14})," ecosystem-edge.kit.com"]})]}),s.jsx("p",{style:{fontSize:13,color:Dt,fontStyle:"italic",marginTop:8},children:"Used across 40+ ecosystems, 15 states."})]})})]}),s.jsx("div",{style:{position:"absolute",left:0,right:0,bottom:52},children:s.jsx(tt,{waveHeight:15,style:{padding:"10px 48px 14px",overflow:"hidden"},children:s.jsxs("div",{className:"flex items-center justify-between relative",style:{gap:26,zIndex:1},children:[s.jsxs("div",{style:{maxWidth:780},children:[s.jsx("p",{className:"font-display",style:{fontSize:24,lineHeight:1.18,color:"#fff",fontWeight:700},children:"Pick the places. We’ll bring the process."}),s.jsx("p",{style:{fontSize:14,lineHeight:1.45,color:"rgba(255,255,255,0.84)",marginTop:6},children:"Each place leaves with partners aligned, priorities named, and owners in place, plus a shared picture you re-run each year to see what changed."})]}),s.jsx("a",{className:"font-body uppercase shrink-0",href:"https://ecosystem-edge.com",target:"_blank",rel:"noreferrer",style:{background:ci,color:"#2a1f06",fontWeight:700,fontSize:13,letterSpacing:"0.14em",padding:"14px 24px",borderRadius:8,whiteSpace:"nowrap",textDecoration:"none"},children:"Build with us →"})]})})})]})]})]}),rt="#2D4D83",Gc="#59BEC9",Co="#E2B673",TN="#3d4757",al=11,jl=10,O0=10.6,fd=9.9,yte=13,xte=10,NN=10,vte=[{letter:"E",color:"#2D4D83",name:"Entrepreneurial Support Organizations",strand:"Translation",lede:"Help founders move from an idea to something the market will pay for.",desc:"Founder readiness, customer discovery, and early validation. This strand connects where an idea begins to where the market has to prove it. It is often one of the most underfunded parts of the ecosystem."},{letter:"C",color:"#59BEC9",name:"Corporates",strand:"Market Validation",lede:"Provide the real-world signal that grants can't.",desc:"First customers, contracts, co-investment, and direct market feedback show whether a business is solving a problem someone will pay to solve. When this connection is missing, it often was never built."},{letter:"O",color:"#3F7CA8",name:"Government Organizations",strand:"Infrastru
529cture",lede:"Set the conditions everything else runs on.",desc:"Funding, policy, procurement, and permitting can help businesses move — or get in their way. Sometimes the biggest opportunity isn't a new grant. It's getting existing rules and resources to work better together."},{letter:"S",color:"#E2B673",name:"Startups + Founders",strand:"Proof",lede:"Show whether the system is working.",desc:"Startups need customers before capital. They provide real-world proof of what works, what doesn't, and where the system gets in the way.",desc2:"When they succeed, they shouldn't just be counted as outcomes. They can help the next company succeed."},{letter:"Y",color:"#7BA05B",name:"Youth + Academia",strand:"Talent",lede:"Bring research, talent, and institutional knowledge into the ecosystem.",desc:"This strand renews every year. The challenge is keeping that talent connected to the region. If people are trained here only to leave, the ecosystem is building talent for somewhere else."},{letter:"S",color:"#8C6FA6",name:"Service Providers",strand:"Business Process",lede:"Provide the practical expertise businesses need to survive and grow.",desc:"Legal, accounting, HR, technical support, and other services keep companies from being derailed by avoidable problems. The services usually exist. What's often missing is the connection to the right provider."},{letter:"T",color:"#C97B5A",name:"Trade + Industry Associations",strand:"Industry Alignment",lede:"Connect businesses around shared needs, opportunities, and priorities.",desc:"They bring sector-scale convening power and can advocate for policy changes that are difficult for one business to achieve alone."},{letter:"E",color:"#4FA3A5",name:"Events + Media",strand:"Storytelling",lede:"Build trust, visibility, and a shared story about what is happening.",desc:"This is more than marketing. It helps people see who is doing what, where opportunities are, and why the region matters. The strand can't only show up for the big moments."},{letter:"M",color:"#B8892B",name:"Money",strand:"Accelerant",lede:"Capital helps businesses move faster — but timing matters as much as amount.",desc:"Capital arriving before the ecosystem is ready can accelerate failure. When capital seems scarce, the problem may not be the amount of money available. The connections needed to move it effectively may not be strong enough."}],bte=[{num:"E",title:"Engage",lede:"Build trust.",body:"Get the right people connected. Talk to partners one-on-one. Understand what they need, what they bring, and why they belong. Trust gives people room to be candid, disagree, and stay in the work."},{num:"D",title:"Discover",lede:"Build a shared picture.",body:"See the system, not just the organizations. Map what is working, where people get stuck, where handoffs fail, and what no one can see alone. The goal isn't another map. It's one picture everyone can act from."},{num:"G",title:"Galvanize",lede:"Build shared work.",body:"Turn the picture into action. Design around the journey people experience, not organizational boundaries. Start with what each partner does best, then connect the work where working together creates more value than working in parallel."},{num:"E",title:"Emerge",lede:"Build results and learning.",body:"Make the work visible. Track progress. Measure results. Learn what works and adapt. The goal isn't just to launch good work. It's to get better at producing results over time."}],wte="Ecosystem Edge® — A Field Guide to Collaboration That Lasts",jte=()=>{const e=P.useCallback(()=>{const t=document.title,n=()=>{document.title=t,window.removeEventListener("afterprint",n)};window.addEventListener("afterprint",n),document.title=wte;try{window.print()}finally{window.setTimeout(n,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"How to Build a Collaboration That Lasts | Ecosystem Edge",description:"A field guide to multi-partner collaboration from Ecosystem Edge — what the coalitions that genuinely move a region get right.",path:"/collaboration",noindex:!0}),s.jsx("style",{children:`
530        .pdf-page {
531          width: 8.5in;
532          min-height: 11in;
533          margin: 0 auto;
534          background: #ffffff;
535          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
536          position: relative;
537          overflow: hidden;
538        }
539        .pdf-body { font-size: 10.5px; line-height: 1.55; color: ${TN}; text-wrap: pretty; }
540        .pdf-body h1, .pdf-body h2, .pdf-body h3 { text-wrap: balance; }
541        .strand-card, .callout, .step-row, .zoom-img, .num-chip {
542          transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease, background-color .22s ease;
543        }
544        .strand-card { outline: none; }
545        .strand-card:hover, .strand-card:focus-visible {
546          transform: translateY(-3px);
547          border-color: var(--strand) !important;
548          box-shadow: 0 10px 26px rgba(45,77,131,0.16);
549          background: #ffffff !important;
550        }
551        .strand-card .letter-badge { transition: transform .22s ease; }
552        .strand-card:hover .letter-badge, .strand-card:focus-visible .letter-badge { transform: scale(1.09); }
553        .callout:hover {
554          box-shadow: 0 10px 26px rgba(45,77,131,0.13);
555          border-color: rgba(45,77,131,0.34);
556        }
557        .step-row:hover { background: rgba(89,190,201,0.07); }
558        .step-row:hover .num-chip { transform: scale(1.07); box-shadow: 0 0 0 2px rgba(89,190,201,0.35); }
559        .img-frame { overflow: hidden; }
560        .img-frame:hover .zoom-img { transform: scale(1.05); }
561        @media (prefers-reduced-motion: reduce) {
562          .strand-card, .callout, .step-row, .zoom-img, .num-chip { transition: none !important; transform: none !important; }
563        }
564        @media print {
565          @page { size: letter; margin: 0; }
566          html, body { background: #ffffff !important; }
567          .no-print { display: none !important; }
568          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
569          .pdf-page {
570            box-shadow: none !important;
571            margin: 0 !important;
572            width: 100% !important;
573            min-height: 0 !important;
574          }
575          .page-2 { break-before: page; page-break-before: always; margin-top: 0 !important; }
576          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
577          .strand-card, .callout, .step-row, .zoom-img, .num-chip {
578            transition: none !important; transform: none !important; box-shadow: none !important;
579          }
580          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
581        }
582      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body",style:{fontSize:13,color:"#5a6779"},children:"Designed to print as a two-page PDF — use Print, then Save as PDF (letter, no scaling)."}),s.jsxs("button",{onClick:e,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:14,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsxs("section",{className:"pdf-page pdf-body",children:[s.jsx("header",{style:{background:"var(--gradient-signature)",padding:"10px 0 0"},children:s.jsx("div",{style:{background:rt,padding:"20px 0.62in 18px"},children:s.jsxs("div",{className:"flex items-center justify-between gap-6",children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.22em",color:Co,fontWeight:700},children:"An Ecosystem Edge® Field Guide"}),s.jsx("h1",{className:"font-display",style:{fontSize:28,lineHeight:1.068,color:"#ffffff",fontWeight:700,marginTop:7,maxWidth:"5.9in"},children:"How to Build a Collaboration That Lasts"}),s.jsx("p",{style:{fontSize:11,color:"rgba(255,255,255,0.8)",fontStyle:"italic",marginTop:5},children:"How different organizations become a working system — without duplicating each other's work."})]}),s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:64,background:"#fff",borderRadius:6,padding:"6px 10px"}})]})})}),s.jsxs("div",{style:{padding:`${al}px 0.62in 0.06in`}
582,children:[s.jsxs("div",{className:"grid grid-cols-5 gap-6 avoid-break items-center",children:[s.jsxs("div",{className:"col-span-3 grid grid-cols-2",style:{columnGap:18},children:[s.jsxs("div",{className:"flex items-start",style:{gap:10},children:[s.jsx("span",{className:"font-display whitespace-nowrap text-right shrink-0",style:{width:52,fontSize:30,fontWeight:700,lineHeight:.9,color:rt},children:"40+"}),s.jsx("p",{style:{fontSize:NN,lineHeight:1.35,paddingLeft:10,borderLeft:`2px solid ${Co}55`,alignSelf:"stretch"},children:"ecosystem-building sessions behind this guide."})]}),s.jsxs("div",{className:"flex items-start",style:{gap:10},children:[s.jsx("span",{className:"font-display whitespace-nowrap text-right shrink-0",style:{width:52,fontSize:30,fontWeight:700,lineHeight:.9,color:Gc},children:"9"}),s.jsx("p",{style:{fontSize:NN,lineHeight:1.35,paddingLeft:10,borderLeft:`2px solid ${Gc}55`,alignSelf:"stretch"},children:"types of partners, each with a distinct job to do."})]})]}),s.jsx("div",{className:"col-span-2 img-frame",style:{boxShadow:"0 6px 18px rgba(45,77,131,0.18)"},children:s.jsx("img",{src:Dy,className:"zoom-img",alt:"Sticky-note ecosystem map built by a regional coalition during a mapping session",style:{width:"100%",height:72,objectFit:"cover",objectPosition:"center 45%",display:"block"}})})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:al,borderTop:"1px solid rgba(45,77,131,0.14)",paddingTop:al-2},children:[s.jsx("p",{className:"font-display",style:{fontSize:16,lineHeight:1.26,color:rt,fontWeight:700,borderLeft:`4px solid ${Co}`,paddingLeft:12},children:"The partners usually aren't the problem. The connections between them are."}),s.jsx("p",{style:{fontSize:O0,lineHeight:1.5,marginTop:jl-1},children:"The organizations are there. The funding is there. People show up — and the region still doesn't move."}),s.jsx("p",{style:{fontSize:O0,lineHeight:1.5,marginTop:8},children:"Getting started is easy. Then the real work begins: roles overlap, decisions stall, important work falls between organizations, and people retreat to their own lanes."}),s.jsx("p",{className:"font-display",style:{fontSize:13,lineHeight:1.3,color:rt,fontWeight:700,marginTop:9},children:"Strong at kickoff. Stuck at delivery."}),s.jsx("p",{style:{fontSize:O0,lineHeight:1.5,marginTop:9},children:"After 40+ sessions, the pattern is clear: lasting collaboration isn't about who is at the table. It's about what they build between them — and in what order."})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:jl+2},children:[s.jsx("p",{className:"font-display",style:{fontSize:13.5,lineHeight:1.28,color:rt,fontWeight:700},children:"Give your region an edge."}),s.jsxs("p",{style:{fontSize:fd,lineHeight:1.48,marginTop:6},children:["The strongest ecosystems don't just have more partners. They make the connections between partners work better. The ",s.jsx("span",{style:{color:rt,fontWeight:700},children:"Ecosystem Edge®"})," approach shows how those connections develop — from ",s.jsx("span",{style:{color:rt,fontWeight:700},children:"Engage"}),", to"," ",s.jsx("span",{style:{color:rt,fontWeight:700},children:"Discover"}),", to"," ",s.jsx("span",{style:{color:rt,fontWeight:700},children:"Galvanize"}),", to"," ",s.jsx("span",{style:{color:rt,fontWeight:700},children:"Emerge"}),"."]})]}),s.jsx("div",{className:"avoid-break",style:{marginTop:al+4},children:s.jsx("p",{className:"font-display",style:{fontSize:15.5,lineHeight:1.25,color:rt,fontWeight:700},children:"The EDGE: Four Phases of Lasting Collaboration"})}),s.jsx("div",{style:{marginTop:jl-1,borderLeft:`2px solid ${Co}40`,paddingLeft:12},children:bte.map((t,n)=>s.jsx(Ste,{s:t,first:n===0},`${t.num}-${n}`))}),s.jsxs("div",{className:"avoid-break callout grid grid-cols-5 items-center",style:{marginTop:al,background:"rgba(89,190,201,0.09)",padding:"9px 16px",columnGap:16},children:[s.jsxs("div",{className:"col-span-3",children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:xte,letterSpacing:"0.16em",color:rt,fontWeight:700},children:"What it looks like when it works"}),s.jsxs("div",{className:"flex items-start gap-4",style:{marginTop:jl-1},children:[s.jsx("span",{className:"font-display whitespace-nowrap",style:{fontSize:32,fontWeight:700,lineHeight:.95,color:rt},children:"39X"}),s.jsxs("div",{children:[s.jsx("p",{style:{fontSize:fd,lineHeight:1.48},children:"In one of the country's least-resourced states, two universities that normally compete shared their grant-writing capacity. Together, they helped researchers, startups, nonprofits, and communities compete for funding across all 55 counties."}),s.jsx("p",{style:{fontSize:fd,lineHeight:1.48,marginTop:3},children:"They invested $1.5 million over three years and helped secure $52 million+ in funding — a 39:1 reported return including economic multipliers. The state and other partners now help sustain the infrastru
582cture."}),s.jsxs("p",{style:{fontSize:fd,lineHeight:1.4,marginTop:3,color:rt,fontWeight:700},children:["Trust made the partnership work.",s.jsx("br",{}),"Structure made it last."]})]})]})]}),s.jsx("div",{className:"col-span-2 img-frame",style:{boxShadow:"0 6px 18px rgba(45,77,131,0.16)"},children:s.jsx("img",{src:vu,className:"zoom-img",alt:"Coalition members working through a partner map around a table during an Ecosystem Edge session",style:{width:"100%",height:86,objectFit:"cover",objectPosition:"center 55%",display:"block"}})})]}),s.jsx("p",{className:"font-display text-center",style:{fontSize:14.5,lineHeight:1.3,color:rt,fontWeight:700,marginTop:al,marginBottom:al},children:"Build the support around the work, not the work around a grant."}),s.jsx("div",{style:{height:3,background:`linear-gradient(90deg, ${rt}, ${Gc} 55%, ${Co})`}}),s.jsx("p",{className:"text-center",style:{fontSize:10,color:"#9aa4a6",letterSpacing:"0.05em",marginTop:jl+2},children:"Ecosystem Edge® · Making Invisible Work Visible"})]})]}),s.jsxs("section",{className:"pdf-page pdf-body page-2",style:{marginTop:32},children:[s.jsx("img",{src:N3.url,alt:"","aria-hidden":"true",className:"pointer-events-none select-none",style:{position:"absolute",left:0,right:0,top:"44%",transform:"translateY(-50%)",width:"100%",height:"auto",opacity:.26,mixBlendMode:"multiply",zIndex:0,maskImage:"linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%)",WebkitMaskImage:"linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%)",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}}),s.jsx("header",{style:{background:"var(--gradient-signature)",padding:"10px 0 0",position:"relative",zIndex:1},children:s.jsx("div",{style:{background:rt,padding:"22px 0.62in 20px"},children:s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.22em",color:Co,fontWeight:700},children:"The Ecosystem Edge® Approach"}),s.jsx("h2",{className:"font-display",style:{fontSize:26,lineHeight:1.15,color:"#ffffff",fontWeight:700,marginTop:7},children:"The Capital Braid™ — Nine Strands"}),s.jsx("p",{style:{fontSize:11,lineHeight:1.45,color:"rgba(255,255,255,0.85)",marginTop:5,maxWidth:"6.6in"},children:"Every partner type holds a strand. Are yours weaving — or waiting?"})]})})}),s.jsxs("div",{style:{padding:"16px 0.62in 0",position:"relative",zIndex:1},children:[s.jsx("div",{className:"grid grid-cols-3 items-stretch",style:{gap:10},children:vte.map((t,n)=>s.jsxs("div",{className:"avoid-break strand-card flex flex-col h-full",tabIndex:0,style:{border:"1px solid rgba(0,0,0,0.12)",background:"rgba(255,255,255,0.86)",padding:"11px 14px","--strand":t.color},children:[s.jsx("span",{"aria-hidden":"true",className:"font-display letter-badge flex items-center justify-center",style:{width:30,height:30,minWidth:30,borderRadius:"50%",background:t.color,color:"#ffffff",fontSize:16,fontWeight:700,lineHeight:1},children:t.letter}),s.jsx("p",{className:"font-body",style:{fontSize:11,fontWeight:700,color:rt,lineHeight:1.22,marginTop:8},children:t.name}),s.jsxs("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.09em",fontWeight:700,color:t.color,marginTop:3},children:[t.strand," strand"]}),s.jsx("p",{className:"font-body",style:{fontSize:10,lineHeight:1.35,color:rt,fontWeight:600,marginTop:5},children:t.lede}),s.jsx("p",{style:{fontSize:10,lineHeight:1.4,color:"#6b7686",marginTop:4},children:t.desc}),"desc2"in t&&t.desc2?s.jsx("p",{style:{fontSize:10,lineHeight:1.4,color:"#6b7686",marginTop:4},children:t.desc2}):null]},`card-${t.letter}-${n}`))}),s.jsxs("div",{className:"avoid-break callout",style:{marginTop:13,background:"rgba(253,246,235,0.94)",border:`1px solid ${Co}`,padding:"12px 16px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.14em",color:"#B8892B",fontWeight:700},children:"The Governance Layer"}),s.jsx("p",{className:"font-display",style:{fontSize:13.5,color:rt,fontWeight:700,marginTop:4},children:"Not a strand — the function that reads the whole and weaves all nine together."}),s.jsx("p",{style:{fontSize:10,lineHeight:1.42,marginTop:4},children:"Nine partner types do not automatically make a working ecosystem. Someone has to connect the partners, understand where the ecosystem is in its development, who is playing which role, what is missing, and where work is falling through the gaps."}),s.jsxs("p",{style:{fontSize:10,lineHeight:1.42,marginTop:4},children:["That is the ",s.jsx("span",{style:{color:rt,fontWeight:700},children:"Governance Layer"}),": the function that holds the connections between the nine strands, helps the ecosystem move through its phases, and turns separate efforts into a system that works together. The closest model is a neutral backbone organization — no agenda of its own, but fluent in all nine logics and able to help them work together."," ",s.jsx("span",{style:{color:rt,fontWeight:700},children:"This capacity is often left unassigned and unfunded."})]}),s.jsxs("p",{className:"font-body",style:{fontSize:10,lineHeight:1.42,marginTop:5,color:TN},children:["One question every coalition should be able to answer in 
582its first month:"," ",s.jsx("span",{className:"font-display",style:{fontSize:11.5,color:rt,fontWeight:700},children:"Who holds the whole — and who resources them?"})]})]}),s.jsx("div",{className:"avoid-break",style:{marginTop:16,paddingTop:11,backgroundImage:`linear-gradient(90deg, ${rt}, ${Gc} 55%, ${Co})`,backgroundSize:"100% 3px",backgroundRepeat:"no-repeat",backgroundPosition:"top left",paddingBottom:12},children:s.jsxs("div",{className:"flex items-end justify-between gap-6",children:[s.jsxs("div",{className:"flex-1",children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:rt,fontWeight:700,letterSpacing:"0.02em"},children:"MAKING INVISIBLE WORK VISIBLE."}),s.jsxs("div",{className:"mt-2 grid grid-cols-2 gap-6",style:{maxWidth:"5.2in"},children:[s.jsxs("div",{children:[s.jsx("p",{style:{fontSize:10.5,color:rt,fontWeight:600},children:"Amy Beaird, PhD"}),s.jsx("p",{style:{fontSize:10,color:"#6b7686"},children:"Co-Founder & Managing Partner"}),s.jsx("p",{style:{fontSize:10,color:"#6b7686",marginTop:2},children:"[email protected]"})]}),s.jsxs("div",{children:[s.jsx("p",{style:{fontSize:10.5,color:rt,fontWeight:600},children:"Dawn Haynes, MBA"}),s.jsx("p",{style:{fontSize:10,color:"#6b7686"},children:"Co-Founder & Managing Partner"}),s.jsx("p",{style:{fontSize:10,color:"#6b7686",marginTop:2},children:"[email protected]"})]})]})]}),s.jsxs("div",{className:"flex flex-col items-end",children:[s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:54}}),s.jsx("a",{href:"https://ecosystem-edge.com",className:"no-underline hover:underline",style:{fontSize:10.5,color:Gc,fontWeight:700,marginTop:4},children:"ecosystem-edge.com"})]})]})})]})]})]})]})},Ste=({s:e,first:t})=>s.jsxs("div",{className:"avoid-break step-row grid grid-cols-12 items-start",style:{columnGap:18,paddingTop:t?0:jl-2,paddingBottom:jl-2,borderTop:t?"none":"1px solid rgba(45,77,131,0.10)"},children:[s.jsxs("div",{className:"col-span-3 flex items-start",style:{gap:10},children:[s.jsx("span",{className:"font-display num-chip flex items-center justify-center shrink-0","aria-hidden":"true",style:{width:30,height:30,borderRadius:5,background:`linear-gradient(135deg, ${rt}, ${Gc} 55%, ${Co})`,border:"none",color:"#ffffff",fontSize:16,fontWeight:700,lineHeight:1},children:e.num}),s.jsxs("span",{children:[s.jsx("p",{className:"font-display",style:{fontSize:yte,letterSpacing:"0.06em",color:rt,fontWeight:700,lineHeight:1.16},children:e.title}),s.jsx("span",{"aria-hidden":"true",style:{display:"block",width:26,height:2,background:Co,opacity:.7,marginTop:4}})]})]}),s.jsxs("div",{className:"col-span-9",children:[s.jsx("p",{className:"font-body",style:{fontSize:fd,lineHeight:1.4,color:rt,fontWeight:700},children:e.lede}),s.jsx("p",{style:{fontSize:fd,lineHeight:1.5,marginTop:3},children:e.body})]})]}),at="#2D4D83",di="#59BEC9",ar="#E2B673",EN="#3d4757",CN=16,Xo=1.62,kte=12.6,rr=11.9,eS=11.4,Tte=16,Nte=10.2,Yc=10.2,Ete="Build an Ecosystem That Can Leverage Funding Without Depending On It - Ecosystem Edge® Field Guide",Cte=[{letter:"E",color:"#2D4D83",name:"ESOs",role:"Translation",keeps:"Translation and connection across the region"},{letter:"C",color:"#59BEC9",name:"Corporates",role:"Market",keeps:"Markets and adoption"},{letter:"O",color:"#3F7CA8",name:"Government Organizations",role:"Infrastructure",keeps:"Infrastructure and alignment"},{letter:"S",color:"#E2B673",name:"Startups + Founders",role:"Demand",keeps:"Problems, ideas, and real demand"},{letter:"Y",color:"#7BA05B",name:"Youth + Academia",role:"Talent",keeps:"Knowledge and pipeline"},{letter:"S",color:"#8C6FA6",name:"Service Providers",role:"Business",keeps:"Business-building capacity"},{letter:"T",color:"#C97B5A",name:"Trade + Industry Associations",role:"Industry",keeps:"Sector coherence"},{letter:"E",color:"#4FA3A5",name:"Events + Media",role:"Story",keeps:"Narrative and visibility"},{letter:"M",color:"#B8892B",name:"Money",role:"Acceleration",keeps:"Speed and runway for work the ecosystem already owns"}],_te=["Administration","Compliance","Reporting","Delivery"],Ate=["Strategy","Relationships","Stewardship","Shared governance"],Rte=[{t:"C
582oordination",d:"Public + philanthropy + corporate + earned revenue"},{t:"Shared capability",d:"Government + universities + membership"},{t:"Workforce",d:"Employers + public + philanthropy"}],qu=({num:e,title:t,kicker:n})=>s.jsxs("div",{className:"flex items-start",style:{gap:14},children:[s.jsx("span",{className:"font-display num-chip flex items-center justify-center shrink-0","aria-hidden":"true",style:{width:40,height:40,borderRadius:7,background:`linear-gradient(135deg, ${at}, ${di} 55%, ${ar})`,color:"#ffffff",fontSize:21,fontWeight:700,lineHeight:1},children:e}),s.jsxs("div",{children:[s.jsx("p",{className:"font-display",style:{fontSize:Tte,color:at,fontWeight:700,lineHeight:1.18},children:t}),n?s.jsx("p",{className:"font-body",style:{fontSize:eS,lineHeight:1.5,color:"#7c8593",fontStyle:"italic",fontWeight:400,marginTop:4},children:n}):null]})]}),_N=({label:e,children:t,tone:n="teal"})=>s.jsxs("div",{className:"callout",style:{marginTop:10,background:n==="teal"?"rgba(89,190,201,0.07)":"rgba(226,182,115,0.10)",borderLeft:`3px solid ${n==="teal"?di:ar}`,padding:"11px 17px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:Yc,letterSpacing:"0.13em",fontWeight:700,color:n==="teal"?at:"#B8892B"},children:e}),s.jsx("p",{style:{fontSize:eS,lineHeight:1.6,marginTop:5},children:t})]}),Pte=()=>{const e=P.useCallback(()=>{const t=document.title,n=()=>{document.title=t,window.removeEventListener("afterprint",n)};window.addEventListener("afterprint",n),document.title=Ete;try{window.print()}finally{window.setTimeout(n,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"Leverage Funding Without Depending On It | Ecosystem Edge",description:"A field guide for backbone organizations: five moves to take on new investment without letting funding become the thing that holds your ecosystem together.",path:"/braid-dont-stack",noindex:!0}),s.jsx("style",{children:`
583        .pdf-page {
584          width: 8.5in;
585          min-height: 11in;
586          margin: 0 auto;
587          background: #ffffff;
588          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
589          position: relative;
590          overflow: hidden;
591        }
592        .pdf-body { font-size: ${rr}px; line-height: ${Xo}; color: ${EN}; text-wrap: pretty; }
593        .pdf-body h1, .pdf-body h2, .pdf-body h3 { text-wrap: balance; }
594        .callout, .lane-card, .num-chip, .strand-row {
595          transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease, background-color .22s ease;
596        }
597        .callout:hover { box-shadow: 0 10px 26px rgba(45,77,131,0.13); }
598        .lane-card:hover { box-shadow: 0 8px 20px rgba(45,77,131,0.12); }
599        .strand-row:hover { background-color: rgba(89,190,201,0.10); }
600        @media (prefers-reduced-motion: reduce) {
601          .callout, .lane-card, .num-chip, .strand-row { transition: none !important; transform: none !important; }
602        }
603        @media print {
604          @page { size: letter; margin: 0; }
605          html, body { background: #ffffff !important; }
606          .no-print { display: none !important; }
607          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
608          .pdf-page { box-shadow: none !important; margin: 0 !important; width: 100% !important; min-height: 0 !important; }
609          .page-2 { break-before: page; page-break-before: always; margin-top: 0 !important; }
610          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
611          .callout, .lane-card, .num-chip, .strand-row { transition: none !important; transform: none !important; box-shadow: none !important; }
612          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
613        }
614      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body",style:{fontSize:13,color:"#5a6779"},children:"Designed to print as a two-page PDF — use Print, then Save as PDF (letter, no scaling)."}),s.jsxs("button",{onClick:e,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:14,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsxs("section",{className:"pdf-page pdf-body",children:[s.jsx("header",{style:{background:"var(--gradient-signature)",padding:"10px 0 0"},children:s.jsx("div",{style:{background:at,padding:"16px 0.62in 15px"},children:s.jsxs("div",{className:"flex items-center justify-between gap-6",children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.22em",color:ar,fontWeight:700},children:"An Ecosystem Edge® Field Guide"}),s.jsx("h1",{className:"font-display",style:{fontSize:23.5,lineHeight:1.12,color:"#ffffff",fontWeight:700,marginTop:7,maxWidth:"6.1in"},children:"Build an Ecosystem That Can Leverage Funding Without Depending On It"}),s.jsx("p",{style:{fontSize:11.2,color:"rgba(255,255,255,0.82)",fontStyle:"italic",marginTop:6},children:"For backbone organizations ready to accelerate momentum by taking on new investment"})]}),s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:58,background:"#fff",borderRadius:6,padding:"6px 10px"}})]})})}),s.jsxs("div",{style:{padding:"22px 0.62in 0"},children:[s.jsxs("div",{className:"avoid-break",children:[s.jsxs("p",{className:"font-display",style:{fontSize:16.5,lineHeight:1.28,color:at,fontWeight:700,borderLeft:`4px solid ${ar}`,paddingLeft:14,maxWidth:"6.2in"},children:["You didn’t build your coalition to win a grant.",s.jsx("br",{}),"You built it to transform your ecosystem."]}),s.jsxs("p",{style:{fontSize:kte,lineHeight:1.62,marginTop:11,maxWidth:"6.15in"}
614,children:["Funding can accelerate that work. But if the money becomes the thing holding the ecosystem together,"," ",s.jsx("span",{style:{color:at,fontWeight:700},children:"it can weaken the trust and shared capacity that have to survive when the money is gone."})]})]}),s.jsx("div",{className:"avoid-break callout",style:{marginTop:17,background:"rgba(253,246,235,0.94)",border:`1px solid ${ar}`,padding:"14px 20px"},children:s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1fr auto",gap:24,alignItems:"center"},children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-display",style:{fontSize:15.5,lineHeight:1.26,color:at,fontWeight:700},children:"Build a funding mix that can hold without any one source"}),s.jsx("p",{style:{fontSize:rr,lineHeight:Xo,marginTop:8},children:"Don’t stack grants. Braid funding. Bring together public, philanthropic, corporate, membership, and earned revenue so no single source carries the whole system."}),s.jsx("div",{style:{height:2,marginTop:12,width:"3.1in",background:`linear-gradient(90deg, ${at}, ${di} 55%, ${ar})`}}),s.jsx("p",{className:"font-display",style:{fontSize:14,lineHeight:1.3,color:at,fontWeight:700,marginTop:9},children:"The funding mix will change. The shared goals stay the same."})]}),s.jsxs("div",{className:"flex items-center shrink-0",style:{gap:14},children:[s.jsx("img",{src:Nu.url,alt:"A wobbly stack of wooden blocks",style:{height:132,width:"auto"}}),s.jsx("span",{"aria-hidden":"true",style:{fontSize:24,color:di,fontWeight:700,lineHeight:1},children:"→"}),s.jsx("img",{src:ac.url,alt:"Many colored ropes braided into one",style:{height:132,width:"auto"}})]})]})}),s.jsxs("div",{className:"avoid-break",style:{marginTop:16},children:[s.jsx("h2",{className:"font-display",style:{fontSize:17.5,lineHeight:1.18,color:at,fontWeight:700},children:"Five moves before taking on a large funding opportunity"}),s.jsx("div",{style:{height:3,marginTop:7,width:"2.6in",background:`linear-gradient(90deg, ${at}, ${di} 55%, ${ar})`}})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:9,borderTop:"1px solid rgba(45,77,131,0.12)",paddingTop:12},children:[s.jsx(qu,{num:"01",title:"Protect the work that must survive",kicker:"The connective work is what makes every other investment compound. Fund it first."}),s.jsxs("p",{style:{fontSize:rr,lineHeight:Xo,marginTop:9,maxWidth:"6.3in"},children:["Prioritize the connective work:"," ",s.jsx("span",{style:{color:at,fontWeight:700},children:"coordination, shared strategy, data, trust, and the people who hold the pieces together that are essential to the ecosystem’s continued success after the money is gone."})]}),s.jsx(_N,{label:"Ask",children:"When the grant ends, who owns this work? What stops? Who could help carry it now?"})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:CN,borderTop:"1px solid rgba(45,77,131,0.12)",paddingTop:12},children:[s.jsx(qu,{num:"02",title:"Decide what you’re building before you chase funding",kicker:"Programs and funding rules change. Your ecosystem shouldn’t have to shape-shift with every grant."}),s.jsxs("p",{style:{fontSize:rr,lineHeight:Xo,marginTop:9},children:["Define what your region is building. Then map the right funding partnerships onto it —"," ",s.jsx("span",{style:{color:at,fontWeight:700},children:"not the other way around."})]})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:CN,borderTop:"1px solid rgba(45,77,131,0.12)",paddingTop:12},children:[s.jsx(qu,{num:"03",title:"Build the funding mix around the work",kicker:"Don’t ask, “What grant replaces the last grant?” Ask, “What mix of sources keeps the work going?”"}),s.jsx("p",{style:{fontSize:rr,lineHeight:Xo,marginTop:9,color:EN},children:"Examples of what a braid can look like:"}),s.jsx("div",{className:"grid grid-cols-3",style:{gap:20,marginTop:10},children:Rte.map((t,n)=>s.jsxs("div",{className:"lane-card",style:{borderLeft:`3px solid ${[at,di,"#B8892B"][n]}`,paddingLeft:14},children:[s.jsx("p",{style:{fontSize:rr,lineHeight:1.32,color:at,fontWeight:700},children:t.t}),s.jsx("p",{style:{fontSize:eS,lineHeight:1.55,marginTop:4},children:t.d})]},t.t))}),s.jsx("p",{style:{fontSize:rr,lineHeight:Xo,marginTop:16},children:s.jsx("span",{style:{color:at,fontWeight:700},children:"Five sources isn’t a braid if one provides 75%. That’s still a stack."})})]}),s.jsx("div",{style:{height:3,marginTop:10,background:`linear-gradient(90deg, ${at}, ${di} 55%, ${ar})`}}),s.jsxs("div",{className:"flex items-center justify-between",style:{fontSize:10,
614color:"#8d97a3",letterSpacing:"0.05em",marginTop:6},children:[s.jsx("span",{children:"Ecosystem Edge® · Making Invisible Work Visible"}),s.jsx("span",{children:"Page 1 of 2"})]})]})]}),s.jsxs("section",{className:"pdf-page pdf-body page-2",style:{marginTop:32},children:[s.jsx("header",{style:{background:"var(--gradient-signature)",padding:"10px 0 0"},children:s.jsx("div",{style:{background:at,padding:"16px 0.62in 15px"},children:s.jsxs("div",{className:"flex items-center justify-between gap-6",children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.22em",color:ar,fontWeight:700},children:"An Ecosystem Edge® Field Guide"}),s.jsx("h2",{className:"font-display",style:{fontSize:23.5,lineHeight:1.12,color:"#ffffff",fontWeight:700,marginTop:7,maxWidth:"6.1in"},children:"Build an Ecosystem That Can Leverage Funding Without Depending On It"}),s.jsx("p",{style:{fontSize:11.2,color:"rgba(255,255,255,0.82)",fontStyle:"italic",marginTop:6},children:"For backbone organizations ready to accelerate momentum by taking on new investment"})]}),s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:58,background:"#fff",borderRadius:6,padding:"6px 10px"}})]})})}),s.jsxs("div",{style:{padding:"13px 0.62in 0"},children:[s.jsxs("div",{className:"avoid-break",style:{marginTop:0},children:[s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"34px 1.5fr 0.9fr 2.2fr",gap:"0 12px",paddingBottom:5,borderBottom:`1.5px solid ${at}33`},children:[s.jsx("span",{}),s.jsx("span",{className:"font-body uppercase",style:{fontSize:Yc,letterSpacing:"0.13em",fontWeight:700,color:"#6b7686"},children:"Ecosystem strand"}),s.jsx("span",{className:"font-body uppercase",style:{fontSize:Yc,letterSpacing:"0.13em",fontWeight:700,color:"#6b7686"},children:"Role"}),s.jsx("span",{className:"font-body uppercase",style:{fontSize:Yc,letterSpacing:"0.13em",fontWeight:700,color:"#6b7686"},children:"What it contributes"})]}),Cte.map((t,n)=>s.jsxs("div",{className:"strand-row grid items-center",style:{gridTemplateColumns:"34px 1.5fr 0.9fr 2.2fr",gap:"0 12px",padding:"1px 0",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("span",{"aria-hidden":"true",className:"font-display flex items-center justify-center shrink-0",style:{width:23,height:23,borderRadius:"50%",background:t.color,color:"#fff",fontSize:12.5,fontWeight:700,lineHeight:1},children:t.letter}),s.jsx("span",{className:"font-body",style:{fontSize:11.4,fontWeight:700,color:at,lineHeight:1.28},children:t.name}),s.jsx("span",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.07em",fontWeight:700,color:t.color},children:t.role}),s.jsx("span",{style:{fontSize:11,lineHeight:1.32},children:t.keeps})]},`${t.letter}-${n}`)),s.jsx("p",{className:"font-display",style:{fontSize:13.5,lineHeight:1.35,color:at,fontWeight:700,marginTop:5},children:"Money is one strand. Not the center."})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:5,borderTop:"1px solid rgba(45,77,131,0.12)",paddingTop:7},children:[s.jsx(qu,{num:"04",title:"Manage the money without controlling the network",kicker:"The backbone manages the award. The ecosystem sets direction, priorities, and agenda."}),s.jsxs("div",{className:"grid grid-cols-2",style:{gap:20,marginTop:10},children:[s.jsxs("div",{className:"lane-card",style:{borderLeft:`3px solid ${ar}`,paddingLeft:14},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:Yc,letterSpacing:"0.13em",fontWeight:700,color:"#B8892B"},children:"The backbone holds"}),s.jsx("p",{style:{fontSize:rr,lineHeight:1.5,marginTop:4},children:_te.join(" · ")})]}),s.jsxs("div",{className:"lane-card",style:{borderLeft:`3px solid ${di}`,paddingLeft:14},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:Yc,letterSpacing:"0.13em",fontWeight:700,color:"#1F8E99"},children:"The ecosystem holds"}),s.jsx("p",{style:{fontSize:rr,lineHeight:1.5,marginTop:4},children:Ate.join(" · ")})]})]}),s.jsx("p",{style:{fontSize:rr,lineHeight:Xo,marginTop:7,maxWidth:"5.35in"},children:s.jsx("span",{style:{color:at,fontWeight:700},children:"Funding gives you responsibility for the work. It doesn’t give you authority over the network, its priorities, or its relationships."})})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:5,borderTop:"1px solid rgba(45,77,131,0.12)",paddingTop:7},children:[s.jsx(qu,{num:"05",title:"Start from what doesn’t change",kicker:"When priorities shift, start with what doesn’t: your region’s assets, ethos, and the work you know matters."}),s.jsxs("p",{style:{fontSize:rr,lineHeight:Xo,marginTop:9,maxWidth:"5.6in"},children:["Then ask what the new resource can help you advance and strengthen across your ecosystem — ",s.jsx("span",{style:{color:at,fontWeight:700},children:"not what it wants you to become."})]}),s.jsx(_N,{label:"Before accepting new money",tone:"gold",children:s.jsx("span",{style:{display:"block",maxWidth:"5.6in"},children:"What does it strengthen? What does it make you depend on? What becomes harder to sustain without it? What’s left when it’s gone?"})})]}),s.jsxs("div",{className:"avoid-break callout grid",style:{marginTop:7,background:"rgba(89,190,201,0.10)",padding:"11px 22px",gridTemplateColumns:"1fr 1.05fr",gap:20,alignItems:"center"},children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:Nte,letterSpacing:"0.16em",color:at,fontWeight:700},children:"The bottom line"}),s.jsx("p",{style:{fontSize:rr,lineHeight:Xo,marginTop:6},children:"Your ecosystem created the conditions the funding came looking for — the relationships, trust, assets, and shared capacity that made the investment possible in the first place."})]}),s.jsx("p",{className:"font-display",style:{fontSize:14.5,lineHeight:1.32,color:at,fontWeight:700,borderLeft:`3px solid ${ar}`,paddingLeft:14},children:"Use money to strengthen the ecosystem — never to become the thing holding it together."})]}),s.jsx("div",{className:"avoid-break",style:{marginTop:6,paddingTop:9,backgroundImage:`linear-gradient(90deg, ${at}, ${di} 55%, ${ar})`,backgroundSize:"100% 3px",backgroundRepeat:"no-repeat",backgroundPosition:"top left",paddingBottom:6},children:s.jsxs("div",{className:"flex items-end justify-between gap-6",children:[s.jsxs("div",{className:"flex-1",children:[s.jsx("p",{className:"font-display",style:{fontSize:15,color:at,fontWeight:700,letterSpacing:"0.02em"},children:"REVEAL → CLARIFY → ACTIVATE"}),s.jsxs("div",{className:"mt-2 grid grid-cols-2 gap-6",style:{maxWidth:"5.2in"},children:[s.jsxs("div",{children:[s.jsx("p",{style:{fontSize:11,color:at,fontWeight:600},children:"Amy Beaird, PhD"}),s.jsx("p",{style:{fontSize:10.2,color:"#6b7686"},children:"Co-Founder & Managing Partner"}),s.jsx("p",{style:{fontSize:10.4,color:"#6b7686",marginTop:2},children:"[email protected]"})]}),s.jsxs("div",{children:[s.jsx("p",{style:{fontSize:11,color:at,fontWeight:600},children:"Dawn Haynes, MBA"}),s.jsx("p",{style:{fontSize:10.2,color:"#6b7686"},children:"Co-Founder & Managing Partner"}),s.jsx("p",{style:{fontSize:10.4,color:"#6b7686",marginTop:2},children:"[email protected]"})]})]})]}),s.jsxs("div",{className:"flex flex-col items-end",children:[s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:52}}),s.jsx("a",{href:"https://ecosystem-edge.com",className:"no-underline hover:underline",style:{fontSize:11,color:"#1F8E99",fontWeight:700,marginTop:4},children:"ecosystem-edge.com"})]})]})}),s.jsxs("div",{className:"flex items-center justify-between",style:{fontSize:10,
614color:"#8d97a3",letterSpacing:"0.05em",marginTop:6},children:[s.jsx("span",{}),s.jsx("span",{children:"Page 2 of 2"})]})]})]})]})]})},Re="#2D4D83",Ct="#59BEC9",ln="#E2B673",UR="#3d4757",GR=11.6,un=11,ae=10.2,zte=1.6,Ite="The Capital Braid™ Funder Framework - Ecosystem Edge®",YR=[{letter:"G",color:Re,name:"Governance",role:"Read first: who holds the system together?",opening:"Governance is the structure that makes the rest of the ecosystem durable. It answers four basic questions: Who holds this? Who decides? Who is accountable? Who does the shared work no single partner owns? It is not an org chart. It is trusted relationships, clear roles, and enough structure to survive people leaving. Governance is always read first. It is never the center.",pullQuote:"A coalition held together by three people who happen to get along is one resignation away from starting over.",scope:{place:"The region’s coalition.",industry:"The sector’s coalition—often an association or consortium."},center:{label:"What it holds",text:"Governance holds the shared work: coordination, shared data, convening, a common story, and pursuing opportunities together rather than as disconnected partners."},doors:{caption:"Governance is doing its job when all four are held by someone other than a single person.",items:[{label:"Decisions",text:"Who decides, and how"},{label:"Shared work",text:"What no single partner owns"},{label:"Accountability",text:"Who answers for results"},{label:"Continuity",text:"What survives people leaving"}]},years:[{label:"Year 2",title:"Build the holding",text:"Name who owns the shared work. Look for: a backbone with a clear role, a cross-partner advisory group, named owners for shared responsibilities, and early shared systems.",measure:"How many shared responsibilities have a named owner?"},{label:"Year 5",title:"The coalition starts deciding",text:"The advisory group moves from advising to making decisions. Look for: major decisions being made by the coalition—not routed back through one organization, the backbone, or the funder.",measure:"Has the coalition pursued and won funding together?"},{label:"Year 10",title:"It holds without any one person",text:"The shared work is carried by multiple partners. The coalition can act without an indispensable individual, and coordination has more than one source of support.",measure:"Has the coalition continued operating after a central leader left?"}],signal:"How many shared responsibilities have a name next to them—and how many still say “no one yet”? Every unowned responsibility is a potential failure point when funding or a key person leaves.",reads:{journey:"From naming who owns the shared work, to the coalition deciding, to holding without any one person.",control:"Operator. Governance is the one strand the coalition builds and runs directly.",use:"A board can exist without governing. Six to twelve months after something is built, ask: is the coalition using it to make decisions and coordinate work? A structure that lives on paper is the most common year-2 mirage.",durability:"Shared responsibilities with names next to them—and a coalition that keeps meeting them when a key person leaves.",buildBuyPartner:"Build the core locally. If coordination depends entirely on a funder or outside provider, the system is likely to reset when that support ends."},highImpact:"Put a name next to every shared responsibility. Each “no one yet” is where the system breaks first.",funders:"Governance is often the easiest line to cut because it looks like overhead. But some coordination is not overhead. It is the infrastructure that allows every other investment to compound."},{letter:"E",color:"#C4566E",name:"Entrepreneurs",role:"Founders and the companies they build",opening:"Founders can be the point of an ecosystem and still be its least-connected participants. They are often busy building companies and experience the ecosystem as programs they apply to—not as a network they belong to. The goal is not more founder activity. It is stronger founder relationships, better access to opportunity, and ultimately more founders who stay and reinvest.",pullQuote:"The question isn’t how many foun
614der programs a region has. It’s whether founders stay, succeed, and reinvest.",scope:{place:"The region’s founders.",industry:"Founders in the target sector."},lens:{centerHeadline:"Founder retention and reinvestment.",centerAsk:"Do founders stay, scale here, and come back as mentors, investors, or ecosystem leaders?",supporting:["Center workers: founders are job creators.","Center employers: founders are part of the innovation and supplier pipeline."]},doors:{caption:"A region can be strong on one and absent on another.",items:[{label:"Capital access",text:"Money at the stage founders need it"},{label:"Customers / pilots",text:"Revenue and proof of demand"},{label:"Peer network",text:"Founder-to-founder relationships"},{label:"Expertise",text:"Advisors, talent, and specialized help"}]},years:[{label:"Year 2",title:"Founders are woven in",text:"Founders are identified, their needs are understood, and they have a voice in the ecosystem. Look for: founders who know where to turn and meaningful founder participation.",measure:"How many founders can name where they would go for help?"},{label:"Year 5",title:"Connections produce opportunity",text:"Relationships start creating real economic value. Look for: active founder–corporate pilots, customers, peer mentoring, and founder-led activity that happens without a funder pushing it.",measure:"Active founder–corporate pilots and the local revenue they generate."},{label:"Year 10",title:"Founders stay and reinvest",text:"Successful companies remain connected to the region. Founders who exit become mentors, investors, and new ecosystem builders.",measure:"Five-year founder retention, plus the share of exited founders who continue to mentor or invest locally."}],signal:"Do founders stay—and do those who leave companies stay connected and reinvest? Read it through business registrations, renewals, founder follow-up, and other information the region already has.",reads:{journey:"From founders knowing where to turn, to pilots and customers, to foun
614ders who stay and reinvest.",control:"Orchestrator. The region can connect founders to opportunity; it cannot control who scales.",use:"A founder advisory group can exist without doing anything. Six months later, ask: is it shaping decisions—or did founders meet once and get thanked?",durability:"The peer network. Founders need relationships with other founders that keep creating value after the program ends.",buildBuyPartner:"Build the local founder and peer network; partner for market access. An ecosystem that depends on importing companies has not yet built local capacity."},highImpact:"Create pathways from founders to customers and corporate partners. Connection matters when it produces pilots, revenue, and lasting relationships.",funders:"Early investment tends to build relationships and access. Over time, watch whether founders themselves carry the network forward."},{letter:"C",color:"#59BEC9",name:"Corporates",role:"Major employers and anchor firms",opening:"Most regions have employers with significant economic power—health systems, manufacturers, banks, universities, and other major companies. The opportunity is not simply to get them to participate. It is to connect what they already control—jobs, purchasing, expertise, capital, facilities, and innovation—to the ecosystem.",pullQuote:"A corporate that only writes a check is participating. One that hires, buys, pilots, or invests is strengthening the system.",scope:{place:"The region’s major employers.",industry:"The sector’s anchor firms."},lens:{centerHeadline:"How deeply rooted are they, and what are they anchoring locally?",centerAsk:"Look for jobs, purchasing, investment, and facilities that stay connected to the region or sector.",supporting:["Center founders: corporates are customers and pilot partners.","Center workers: corporates are employers—jobs, wages, and career pathways."]},doors:{caption:"A company can be deeply engaged in one and absent from another.",items:[{label:"Workforce / talent",text:"Hiring and career pathways"},{label:"Community / giving",text:"Community investment and philanthropy"},{label:"Supplier / buying",text:"Purchasing from local firms"},{label:"Innovation / R&D",text:"Pilots, technology, and commercialization"}]},years:[{label:"Year 2",title:"A relationship with a real next step",text:"Major employers are mapped and their needs understood, with at least one concrete opportunity underway.",measure:"How many anchor employers have a named relationship owner and documented next step?"},{label:"Year 5",title:"Something is flowing",text:"At least one channel is producing real activity—pilots, hires, purchases, or investment—and the relationship does not depend on one corporate champion.",measure:"How many active channels have something flowing through them?"},{label:"Year 10",title:"The region is anchored",text:"Relationships create durable economic value: buying, hiring, investing, or operating locally.",measure:"Did the relationship survive when a key champion left—and what value remains anchored locally?"}],signal:"Does the relationship survive when the champion leaves? One that lives inside the company is durable; one that leaves with an employee is not.",reads:{journey:"From a mapped relationship with a next step, to activity flowing, to value anchored locally.",control:"Signaler. Corporate decisions sit with the company; the region influences the relationship, not the outcome.",use:"A channel can be “launched” without producing anything. A year later, ask: are pilots running, are companies buying, hiring, or investing?",durability:"Depth over sponsorship. The strongest relationships involve people, time, and shared work—not a check or a logo.",buildBuyPartner:"Partner. Don’t recreate capabilities major employers already have. If a corporate shows up only when a funder pays, it isn’t durable yet."},highImpact:"Create a low-risk path from ecosystem needs to corporate demand—a challenge, pilot, or procurement on-ramp.",funders:"Corporate engagement is not an output to count. It connects the ecosystem to real economic demand—and the test is whether that keeps creating value without the original champion."},{letter:"O",color:"#3F7CA8",name:"Government Organizations",role:"Public agencies and policy partners",opening:"Most regions already have significant public resources—workforce funding, incentives, programs, infrastru
614cture, and policy authority. The problem is fragmentation: the opportunity is to connect those assets so they reinforce one another instead of running as separate programs.",pullQuote:"You rarely need more government assets. You need the assets you already have to reinforce one another.",scope:{place:"The city, county, and state entities.",industry:"The agencies and policy bodies specific to the sector."},lens:{centerHeadline:"Coherent public systems that last.",centerAsk:"Look for coordination across city, county, and state entities—and whether it survives changes in leadership and budgets.",supporting:["Center workers: workforce funding, training, and public services.","Center employers: incentives, infrastructure, and policy support.","Center founders: funding, legitimacy, and procurement."]},doors:{caption:"An agency can be strong in one area and disconnected in another.",items:[{label:"Funding / incentives",text:"Resources that enable action"},{label:"Mandate / policy",text:"Authority and rules"},{label:"Convening power",text:"Bringing partners together"},{label:"Infrastructure",text:"Physical and institutional assets"}]},years:[{label:"Year 2",title:"Mandates are clear and coordination starts",text:"Public entities are mapped, their mandates understood, and a structure exists to coordinate—city, county, and state partners with clear responsibilities.",measure:"How many public entities have a clear role and mandate in the work?"},{label:"Year 5",title:"Public support becomes coherent",text:"Coordination is routine rather than project-by-project: joint applications, aligned funding, and shared policy priorities.",measure:"How many joint applications, aligned funding streams, or shared policy actions in the past year?"},{label:"Year 10",title:"The system is institutionalized",text:"Coordination is part of how government works—not dependent on one administration or champion.",measure:"Has the coordination structure survived an election or major budget transition?"}],signal:"Does coordination survive changes in leadership, budgets, and policy? The strongest government partnership continues after the people who started it are gone.",reads:{journey:"From clear mandates, to routine coordination, to a structure that outlasts an administration.",control:"Orchestrator. The region aligns public assets; mandates and budgets stay with the agencies.",use:"A coordinating body can exist without coordinating anything. A year later, ask: is it shaping real decisions, funding, or policy?",durability:"The cross-jurisdiction table. City, county, and state partners need a working relationship, not another meeting.",buildBuyPartner:"Partner. Funders cannot build government. A partnership that exists only because a grant pays for it resets when the grant ends."},highImpact:"Align existing public assets around one shared objective—a joint application, pooled funding, or a shared policy ask—so coordination produces something visible.",funders:"Government engagement is not another grant program. It is about making the public assets already in the system work together—and making those connections durable."},{letter:"S",color:"#E2B673",name:"Storytellers",role:"Making progress visible",opening:"A region can be making real progress without anyone seeing it. Companies are growing. People are getting hired. Partnerships are forming. But without a shared story, that progress stays fragmented—and it is harder to attract the people, capital, and partners needed to keep it going.",pullQuote:"If progress can’t be seen, it can’t pull the next partner into the system.",scope:{place:"The region’s story and outlets.",industry:"The sector’s story and trade media—often national from the start."},lens:{centerHeadline:"A stronger, more visible reputation.",centerAsk:"Less common, but it matters for place-branding or visibility-focused investments in a region or sector.",supporting:["Center founders: make founder successes and local resources visible.","Center workers: make career pathways and employers visible.","Center employers: make the region’s talent and capabilities visible."]},doors:{caption:"Start with the north star—where are we going, and why does it matter?",items:[{label:"Local",text:"Closest to the work"},{label:"Regional",text:"Beyond the city"},{label:"National",text:"Sector and trade reach"},{label:"Owned media",text:"Channels you control"}]},years:[{label:"Year 2",title:"The story is shared",text:"A common story and north star are clear. Journalists, creators, and other messengers are mapped. Look for partners using the story in their own communications.",measure:"How many partners are actively repeating the shared story?"},{label:"Year 5",title:"The story has a life of its own",text:"A signature gathering or owned channel creates a consistent platform. Partners produce and share stories without being asked, and coverage expands beyond local.",measure:"O
614wned-channel reach, gathering participation, and outside coverage."},{label:"Year 10",title:"The story travels without being pushed",text:"The region or sector has a recognizable reputation. Outside audiences tell the story without the backbone creating or pitching every piece.",measure:"What share of coverage happens without the backbone initiating it?"}],signal:"Does the story spread beyond the organization that created it? Two things matter: who is carrying the story, and whether outside interest continues without constant promotion.",reads:{journey:"From a shared north star, to partners carrying it, to a story that travels on its own.",control:"Signaler. You can shape the story; whether others repeat it is observed, not controlled.",use:"A north star can be published without becoming part of the ecosystem. A year later: are partners using it, or does it live in one slide deck?",durability:"Shared storytelling is shared identity. When many partners tell the same story in their own voice, the coalition is behaving like one.",buildBuyPartner:"Build the shared story and owned channels; partner for reach. Paid placement is no substitute for a story people want to carry."},highImpact:"Give partners a story they can carry in their own voice—one north star, repeated, beats scattered coverage.",funders:"Storytelling is not promotion. It helps an ecosystem see its own progress—and makes it visible enough to attract the next wave of talent, capital, and partners."},{letter:"Y",color:"#7BA05B",name:"Youth + Talent",role:"Developing people → connecting them to opportunity → keeping them growing locally",opening:"Every region has organizations that develop people—K–12 schools and colleges, workforce programs, apprenticeships, reskilling providers. Together they are the region’s talent base. But development alone is not enough: a region can train people well and still lose the value when they leave. The goal is to connect learning to local opportunity.",pullQuote:"The region does the developing; the payoff lands somewhere else.",scope:{place:"The region’s full talent base, from K–12 through reskilling.",industry:"The sector’s programs, credentials, and the employers hiring from them."},lens:{centerHeadline:"Hiring, retention, and advancement.",centerAsk:"Are people trained here, hired here, staying here, and moving up? Other strands are read for how well they help people advance in good local jobs.",supporting:["Center founders: talent is the pipeline of people founders need to hire.","Center employers: talent is the workforce employers need to grow."]},doors:{caption:"The strongest systems connect these pathways to actual employer demand.",items:[{label:"K–12",text:"Early exposure and preparation"},{label:"Higher education",text:"Degrees and credentials"},{label:"Workforce / reskilling",text:"Career transitions and upskilling"},{label:"Apprenticeship",text:"Work-based, skills-first pathways"}]},years:[{label:"Year 2",title:"Pathways connect to employers",text:"Talent-development partners are mapped across the full journey. Employers help shape pathways and the region sets a baseline for local placement.",measure:"Local placement rate of completers—and whether pathways were designed with a named employer."},{label:"Year 5",title:"Employers are hiring through the system",text:"Employer-connected pathways are active, and employers are hiring through them. Look for collaboration without constant prompting.",measure:"Share of completers hired locally within six months—and still there a year later."},{label:"Year 10",title:"Talent is staying and advancing",text:"Talent is being developed and retained at scale. Pathways are institutionalized and continue beyond the original grant.",measure:"Local placement, retention, and wage advancement—and whether pathways have durable funding."}],signal:"Are the people this system develops getting good local jobs—and staying and advancing? Use existing placement, retention, and wage data wherever possible.",reads:{journey:"From employer-shaped pathways, to hiring through them, to talent staying and advancing.",control:"Orchestrator. Partners operate the programs;
614 placement and retention also depend on employers.",use:"A pathway can be built without being used. A year later: is it routing real people into real local jobs—or still sitting on paper?",durability:"The connection between who trains and who hires—a working relationship between talent and opportunity, not a set of programs.",buildBuyPartner:"Build the pathways and employer relationships; partner with the institutions that deliver them. Importing talent only fills today’s gap."},highImpact:"Build employer-connected pathways. Internships and apprenticeships create a direct path from learning to hiring—and on to advancement.",funders:"The goal is not more trained people. It is that the value stays in the community—in jobs, wages, advancement, and future talent."},{letter:"S",color:"#8C6FA6",name:"Service Providers",role:"The expertise that helps companies do business here",opening:"Companies need lawyers, accountants, bankers, consultants, and technical experts to grow. When that expertise is not available locally, they spend more time and money getting help—or take important business elsewhere. The goal is not to build every service locally, but to make sure the expertise companies need is accessible when they need it.",pullQuote:"A company that has to leave the region for advice usually takes part of the work with it.",scope:{place:"The expertise companies in the region can genuinely reach.",industry:"The specialized expertise the sector requires—regulatory, technical, intellectual property."},lens:{centerHeadline:"An enabling capability, not a beneficiary.",centerAsk:"Service providers reduce the friction of doing business locally. Read this strand for access to expertise—and whether it is becoming durable.",supporting:["Center founders: providers help founders finance deals, manage risk, and grow.","Center workers: professional-services firms are employers and careers.","Center corporates: providers supply specialized local expertise."]},doors:{caption:"A smaller region may not need every capability in-house. Shared or regional access can be the right answer.",items:[{label:"Business services",text:"Legal, accounting, finance"},{label:"Technical expertise",text:"Engineering, science, technology"},{label:"Specialized expertise",text:"Regulatory, IP, sector-specific"}]},years:[{label:"Year 2",title:"The gaps are clear",text:"The region knows what expertise is available, what companies need, and where the gaps are. Look for capable providers and unmet needs.",measure:"How many relevant providers are identified—and what gaps remain?"},{label:"Year 5",title:"Companies can get help locally",text:"Providers see enough demand to develop real specialization. Companies are using them and referrals are producing business.",measure:"What share of relevant deals or services are handled locally?"},{label:"Year 10",title:"Local expertise is durable",text:"The region has a sustainable service layer—or a durable regional arrangement giving reliable access to specialized expertise.",measure:"Local share of relevant services over time, plus providers with established specialization."}],signal:"How much of the expertise companies need is available locally or through a durable regional relationship? Use founder feedback, provider referrals, and existing business data.",reads:{journey:"From knowing the gaps, to companies getting help locally, to a service layer that sustains itself.",control:"Context. Market demand builds the service layer; the region’s job is to make that demand visible.",use:"A referral network can exist without helping anyone. A year later: are companies using it—or is it a directory nobody opens?",durability:"Not a listing in a directory—whether companies know who to call, trust the advice, and use it when decisions arise.",buildBuyPartner:"Build where demand can sustain it;
614 partner where it cannot. A shared regional provider is durable in a small market."},highImpact:"Make demand visible. When providers see enough real business to justify specializing, the market often builds the capability without subsidy.",funders:"This strand removes a practical barrier to growth: can companies get the expertise they need without leaving the region?"},{letter:"T",color:"#C97B5A",name:"Trade + Industry Associations",role:"Turning individual firms into collective action",opening:"Regions often have strong industry concentrations, but the firms within them may operate independently. The opportunity is to turn shared interests into shared action — on talent, policy, markets, and investment in ways no single company can manage alone.",pullQuote:"The question is not whether an association exists. It is whether firms are acting together on something that matters.",scope:{place:"The region’s clusters.",industry:"Often the central strand — the sector’s association may be the spine."},lens:{centerHeadline:"Collective action, not an organization.",centerAsk:"Read this strand for whether firms with shared interests are producing results together — and whether that capacity lasts.",supporting:["Center founders: associations open markets and create a collective voice.","Center workers: industry groups identify shared skills needs across employers.","Center corporates: associations create peer relationships around shared priorities."]},doors:{caption:"A cluster can be strong in one area and inactive in another.",items:[{label:"Talent",text:"Shared workforce needs and training"},{label:"Policy",text:"A collective voice on sector issues"},{label:"Market access",text:"Shared buyers and market development"}]},years:[{label:"Year 2",title:"The opportunity is clear",text:"The region knows where firms are concentrated, what they have in common, and who could convene them. Look for firms participating and a clear shared need.",measure:"How many relevant firms are engaged in the initial conversation?"},{label:"Year 5",title:"Firms have a shared win",text:"A coordinating group is working toward something concrete — a talent pathway, policy change, or market opportunity. Look for firms acting without constant prompting.",measure:"What concrete shared result has the group produced?"},{label:"Year 10",title:"The cluster has collective weight",text:"The industry acts together when it matters. Coordination survives its founders and is sustained by members.",measure:"Does the cluster act without the backbone organizing it — and are members helping sustain it?"}],signal:"Can firms act together without someone constantly organizing them? Durable collective action matters more than the existence of an association or the number of meetings.",reads:{journey:"From a clear shared need, to one concrete shared win, to a cluster that acts on its own.",control:"Orchestrator. Firms decide together; the backbone convenes and cannot compel.",use:"A group can meet regularly without producing anything. A year later: has it produced a real shared result, or is it still a group that meets?",durability:"Not association-to-member — whether competing firms are building enough trust to act together.",buildBuyPartner:"Build where no coordinating capacity exists; partner where a credible association does."},highImpact:"Start with one concrete shared win — it gives firms a reason to keep working together.",funders:"The test is not whether an association exists — it is whether firms turn shared interests into results no single company could create alone."},{letter:"E",color:"#4FA3A5",name:"Ecosystem Support Organizations",role:"The organizations that turn the ecosystem into help",opening:"This is the most flexible strand — who belongs here depends on who you are trying to benefit. For founders: incubators, accelerators, entrepreneur networks. For workers: workforce intermediaries and career navigators. For employers: sector partnerships. What they share is a job: getting the people at the center to the right help.",pullQuote:"Fund the function the ecosystem needs, not the label on the organization.",scope:{place:"The region’s supp
614ort organizations.",industry:"The sector’s support organizations — though a sector often leans on the region’s general ones."},lens:{centerHeadline:"The capacity, reach, and durability of the organizations delivering support.",centerAsk:"Less common. The question is whether they deliver useful support consistently — and whether that outlasts a grant or a leader.",supporting:["Center founders: they help founders find capital, expertise, customers, and peers.","Center workers: they help people navigate training, employers, and careers.","Center employers: they help companies find talent, partners, and expertise."]},doors:{caption:"The strongest support systems have all four.",items:[{label:"Clear entry points",text:"People know where to start"},{label:"Warm hand-offs",text:"Partners connect people onward"},{label:"Shared information",text:"Enough context for useful referrals"},{label:"Durable capacity",text:"Relationships survive turnover"}]},years:[{label:"Year 2",title:"No wrong door",text:"The support landscape is mapped and partners are clear. Someone entering through any major organization can be pointed to the right next step. Look for active referrals.",measure:"How many warm hand-offs are happening?"},{label:"Year 5",title:"Support works as a system",text:"Organizations refer to one another without prompting. People reach the help they need, and it does not depend on one person’s relationships.",measure:"What share of referrals result in the person receiving the help they needed?"},{label:"Year 10",title:"The capacity is durable",text:"The support system continues through staff, leadership, and funding changes. Look for institutional relationships and multiple funding sources.",measure:"Did referral activity hold through a major staff or leadership departure?"}],signal:"Does the support system work without depending on a few people? A relationship that lives only in someone’s contact list is fragile; a referral process that survives that person is durable.",reads:{journey:"From no wrong door, to referrals working as a system, to capacity that survives turnover.",control:"Operator. Support capacity and hand-offs are built and run directly by ecosystem partners.",use:"A “no wrong door” system can be celebrated without anyone using it. A year later: are referrals happening — and leading to help?",durability:"The hand-offs between organizations — do they know where to send people, trust the next organization, and follow through?",buildBuyPartner:"Fund the function, not the label. Build the capacity the objective requires; partner where trust, expertise, or reach already exists."},highImpact:"Make the hand-offs real. One shared referral practice partners use beats another map of who does what.",funders:"Project grants create activity. The question is whether funding builds durable capacity — or keeps paying for the same activity."},{letter:"M",color:"#B8892B",name:"Money",role:"Put capital where it can compound",opening:"Read this strand last. Funders often ask how much money an ecosystem needs. The better question: what capital is needed, from whom, at what stage — and how your dollars work alongside it. Often capital is present but misaligned.",pullQuote:"Your money is one strand, not the whole braid.",scope:{place:"Capital in and around the region.",industry:"The sector’s investors, often national."},lens:{centerHeadline:"The right capital reaching the right opportunities at the right time.",centerAsk:"Less common. For a capital-access funder, the added question is whether capital stays engaged long enough to matter.",supporting:["Center founders: capital to start, grow, and attract follow-on investment.","Center workers: funding for training, employment, and mobility.","Center corporates: capital for expansion, innovation, and infrastructure."]},doors:{caption:"The question is not which pool is best — it is how the pools work together.",items:[{label:"Public / grant",text:"Agencies and grant programs"},{label:"Philanthropic",text:"Foundations and mission capital"},{label:"Private / return",text:"Angel, venture, and equity"},{label:"Debt",text:"Banks, CDFIs, and lenders"}]},unlock:{question:"What does this dollar unlock?",lead:"Ask whether your dollar:",items:["Fills a gap no other capital will fill","Brings other funders or investors in","Reduces a risk holding other capital back"],chain:["Your dollar","fills a gap","unlocks another source","enables a capability","creates a result","attracts the next dollar"],note:"If your dollar keeps replacing the same dollar every year, the braid isn’t compounding."},years:[{label:"Year 2",title:"The capital picture is clear",text:"The region knows what capital exists, who provides it, and where the gaps are.",measure:"Where does available capital not match the actual need?"},{label:"Year 5",title:"Capital is aligned",text:"Capital reaches the opportunities it was designed to support, and funders fill different roles rather than duplicating each other.",measure:"What share of local opportunities gets the right capital?"}
614,{label:"Year 10",title:"Capital compounds",text:"The ecosystem attracts and keeps capital without relying on one funder. Earlier investments create later openings.",measure:"How much follow-on capital is attracted, and how much value stays local?"}],signal:"Is your money unlocking other money and durable capacity? Read both alignment and leverage.",reads:{journey:"From a clear capital picture, to aligned roles, to capital that compounds.",control:"Context. Capital conditions are largely external; the region controls alignment and its own ask.",use:"A year later: did the money reach the intended opportunities on useful terms — and unlock anything more?",durability:"A braid of capital with complementary roles — not one funder carrying the system.",buildBuyPartner:"Partner. Don’t substitute philanthropic dollars for market or public capital."},highImpact:"Map the capital stack before adding to it, then make your role explicit.",funders:"The goal is not to make your dollars look bigger — it is to make them work harder alongside everyone else’s."}],qR=e=>{const t=parseInt(e.slice(1),16);let n=t>>16&255,r=t>>8&255,o=t&255;return(.299*n+.587*r+.114*o)/255>.55&&(n=Math.round(n*.62),r=Math.round(r*.62),o=Math.round(o*.62)),`#${[n,r,o].map(a=>a.toString(16).padStart(2,"0")).join("")}`},Zg=({color:e=Ct})=>s.jsx("svg",{viewBox:"0 0 600 10",preserveAspectRatio:"none",style:{width:"100%",height:8},"aria-hidden":"true",children:s.jsx("path",{d:"M0 5 Q 37 -1 75 5 T 150 5 T 225 5 T 300 5 T 375 5 T 450 5 T 525 5 T 600 5",fill:"none",stroke:e,strokeWidth:"2"})}),y1=({color:e=Ct,height:t=8})=>s.jsx("svg",{width:"100%",height:t,viewBox:"0 0 120 10",preserveAspectRatio:"none","aria-hidden":"true",style:{display:"block"},children:s.jsx("path",{d:"M0 5 C 7.5 0.4, 15 9.6, 22.5 5 S 37.5 0.4, 45 5 S 60 9.6, 67.5 5 S 82.5 0.4, 90 5 S 105 9.6, 112.5 5 S 120 3, 120 5",fill:"none",stroke:e,strokeWidth:2.4,strokeLinecap:"round"})}),Qg=[{letter:"E",label:"Entrepreneurs",color:"#C4566E"},{letter:"C",label:"Corporates",color:"#59BEC9"},{letter:"O",label:"Government Organizations",color:"#3F7CA8"},{letter:"S",label:"Storytellers",color:"#E2B673"},{letter:"Y",label:"Youth + Talent",color:"#7BA05B"},{letter:"S",label:"Service Providers",color:"#8C6FA6"},{letter:"T",label:"Trade + Industry",color:"#C97B5A"},{letter:"E",label:"Ecosystem Support Organizations",color:"#4FA3A5"},{letter:"M",label:"Money",color:"#B8892B"}],Ote=({size:e=320,centerIndex:t=0,showLabel:n=!1})=>{const l=Qg.map((f,h)=>({n:f,i:h})).filter(f=>f.i!==t),c=l.map((f,h)=>{const g=-Math.PI/2+h/l.length*Math.PI*2;return{...f,x:170+124.1*Math.cos(g),y:170+124.1*Math.sin(g)}}),d=340*.072,u=340*.115,p=Qg[t];return s.jsxs("svg",{width:e,height:e,viewBox:"0 0 340 340","aria-hidden":"true",children:[c.map((f,h)=>c.slice(h+1).map((g,m)=>s.jsx("line",{x1:f.x,y1:f.y,x2:g.x,y2:g.y,stroke:"#2D4D83",strokeOpacity:.16,strokeWidth:.9},`m${h}-${m}`))),c.map((f,h)=>s.jsx("line",{x1:f.x,y1:f.y,x2:170,y2:170,stroke:p.color,strokeOpacity:.55,strokeWidth:1.9},`s${h}`)),c.map((f,h)=>s.jsxs("g",{children:[s.jsx("circle",{cx:f.x,cy:f.y,r:d,fill:f.n.color}),s.jsx("text",{x:f.x,y:f.y+d*.36,textAnchor:"middle",fill:"#fff",fontSize:d*1.05,fontWeight:700,fontFamily:"inherit",children:f.n.letter})]},`n${h}`)),s.jsx("circle",{cx:170,cy:170,r:u+7,fill:"none",stroke:p.color,strokeOpacity:.28,strokeWidth:1.4}),s.jsx("circle",{cx:170,cy:170,r:u,fill:p.color}),s.jsx("text",{x:170,y:170+u*.36,textAnchor:"middle",fill:"#fff",fontSize:u*1,fontWeight:700,fontFamily:"inherit",children:p.letter}),n?s.jsxs("text",{x:170,y:334,textAnchor:"middle",fill:"#2D4D83",fontSize:15,fontWeight:700,fontFamily:"inherit",children:[p.label," at the center"]}):null]})},Dte=[{center:"Founders",node:0,first:"Founder retention and growth",read:"Investors, corporates, and support organizations are read for how well they support founders.",goal:"If you want more founders to stay and grow"},{center:"Workers",node:4,first:"Hiring, retention, and advancement",read:"Employers, talent organizations, and service providers are read for how well they support workers.",goal:"If you want better jobs and mobility"},{center:"Employers",node:1,first:"Pilots, contracts, and anchor demand",read:"Corporates, associations, and government are read for how well they support industry growth.",goal:"If you want stronger industry demand"}],Wte=({height:e=30})=>s.jsx("svg",{viewBox:"0 0 900 40",preserveAspectRatio:"none",style:{width:"100%",height:e},"aria-hidden":"true",children:[150,450,750].map(t=>s.jsx("path",{d:`M450 0 C 450 20, ${t} 18, ${t} 40`,fill:"none",stroke:Re,strokeOpacity:.5,strokeWidth:2,strokeLinecap:"round"},t))}),$te=()=>s.jsxs("div",{className:"avoid-break",children:[s.jsx("div",{className:"flex justify-center",children:s.jsx("span",{className:"font-body uppercase",style:{background:Re,color:"#fff",fontSize:ae,letterSpacing:"0.18em",fontWeight:700,padding:"6px 18px",borderRadius:999},children:"Same ecosystem"})}),s.jsx("div",{className:"flex justify-center",style:{marginTop:2},children:s.jsx("span",{style:{width:2,height:14,background:"rgba(45,77,131,0.5)",display:"block"}})}),s.jsx("p",{className:"font-display",style:{fontSize:14.5,color:Re,fontWeight:700,textAlign:"center",marginTop:2},children:"Different funding objectives"}),s.jsx(Wte,{height:26}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:14,marginTop:2,alignItems:"stretch"},children:Dte.map(e=>{const t=Qg[e.node];return s.jsxs("div",{style:{border:"1px solid rgba(45,77,131,0.16)",borderTop:`3px solid ${t.color}`,borderRadius:8,padding:"9px 11px 10px",background:"#fff",display:"flex",flexDirection:"column",height:"100%"},children:[s.jsx("p",{style:{fontSize:ae,lineHeight:1.35,color:"#6b7686",fontStyle:"italic",minHeight:30},children:e.goal}),s.jsx("p",{className:"font-display",style:{fontSize:17,color:Re,fontWeight:700,marginTop:4},children:e.center}),s.jsx("p",{style:{fontSize:un,lineHeight:1.35,color:t.color,fontWeight:700,marginTop:2,minHeight:34},children:e.first}),s.jsx("p",{style:{fontSize:ae,lineHeight:1.5,color:"#5a6779",marginTop:5},children:e.read}),s.jsxs("span",{className:"flex items-center",style:{gap:5,marginTop:"auto",paddingTop:6,borderTop:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("span",{"aria-hidden":!0,style:{width:13,height:13,borderRadius:99,background:t.color,display:"inline-block"}}),s.jsxs("span",{style:{fontSize:ae,color:"#5a6779"},children:["Strand centered: ",s.jsx("strong",{style:{color:Re},children:t.label})]})]})]},e.center)})})]}),_c=({style:e,waveHeight:t=13,wave:n="top",children:r})=>{const{marginTop:o,...i}=e??{},a=s.jsx("svg",{width:"100%",height:t,viewBox:"0 0 1000 13",preserveAspectRatio:"none",style:{display:"block",transform:n==="bottom"?"scaleY(-1)":void 0}
614,"aria-hidden":!0,children:s.jsx("path",{d:"M0,13 L0,8 C 62,8 62,1 125,1 C 187,1 187,8 250,8 C 312,8 312,1 375,1 C 437,1 437,8 500,8 C 562,8 562,1 625,1 C 687,1 687,8 750,8 C 812,8 812,1 875,1 C 937,1 937,8 1000,8 L1000,13 Z",fill:Re})}),l=s.jsx("div",{style:{background:Re,marginTop:n==="top"?-1:void 0,marginBottom:n==="bottom"?-1:void 0,...i},children:r});return s.jsx("div",{className:"avoid-break",style:{marginTop:o},children:n==="top"?s.jsxs(s.Fragment,{children:[a,l]}):s.jsxs(s.Fragment,{children:[l,a]})})},yl=({children:e,page:t,label:n,dark:r})=>s.jsxs("section",{className:"pdf-page pdf-body",style:r?{background:Re,color:"#fff"}:void 0,children:[s.jsx("div",{style:{minHeight:"9.55in"},children:e}),t?s.jsxs("div",{className:"flex items-end justify-between",style:{position:"absolute",left:"0.68in",right:"0.68in",bottom:"0.42in",borderTop:`1px solid ${r?"rgba(255,255,255,0.22)":"rgba(45,77,131,0.14)"}`,paddingTop:7},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.16em",color:r?"rgba(255,255,255,0.6)":"#8d97a6"},children:n??"The Capital Braid™ Funder Framework"}),s.jsx("p",{className:"font-body",style:{fontSize:ae,letterSpacing:"0.1em",color:r?"rgba(255,255,255,0.6)":"#8d97a6"},children:t})]}):null]}),Ku=({eyebrow:e,title:t,kicker:n,titleMaxWidth:r,rule:o=!0})=>s.jsxs("div",{style:{padding:"0.6in 0.68in 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.2em",color:Ct,fontWeight:700},children:e}),s.jsx("h2",{className:"font-display",style:{fontSize:26,lineHeight:1.14,color:Re,fontWeight:700,marginTop:8,maxWidth:r??"6.3in"},children:t}),n?s.jsx("p",{style:{fontSize:12.4,lineHeight:1.55,color:"#6b7686",fontStyle:"italic",marginTop:8,maxWidth:"6.1in"},children:n}):null,o?s.jsx("div",{style:{marginTop:12},children:s.jsx(Zg,{})}):null]}),Zu=({children:e,style:t})=>s.jsx("div",{style:{padding:"16px 0.68in 0",...t},children:e}),Lte=({label:e,tone:t="teal",children:n,style:r})=>{const o=t==="gold"?ln:t==="navy"?Re:Ct,i=t==="gold"?"rgba(253,246,235,0.95)":t==="navy"?"rgba(45,77,131,0.06)":"rgba(89,190,201,0.09)";return s.jsxs("div",{className:"callout avoid-break",style:{background:i,borderLeft:`4px solid ${o}`,padding:"13px 18px",...r},children:[e?s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.14em",fontWeight:700,color:t==="gold"?"#B8892B":Re,marginBottom:6},children:e}):null,s.jsx("div",{style:{fontSize:un,lineHeight:1.6},children:n})]})},Mte=()=>{const e=[{role:"Control",d:"what they directly deliver",rule:Re,tint:`${Re}1F`},{role:"Influence",d:"what they move through others",rule:`${Re}BF`,tint:`${Re}16`},{role:"Interest",d:"what they watch but do not control",rule:`${Re}80`,tint:`${Re}0F`},{role:"Context",d:"external conditions that explain what is happening",rule:`${Re}4D`,tint:`${Re}09`}];return s.jsxs("span",{style:{display:"block"},children:[s.jsx("span",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr 1fr",gap:6},children:e.map(t=>s.jsxs("span",{style:{display:"block",borderTop:`3px solid ${t.rule}`,background:t.tint,padding:"6px 9px 7px"},children:[s.jsx("span",{className:"font-body uppercase",style:{display:"block",fontSize:ae,letterSpacing:"0.13em",fontWeight:700,color:Re},children:t.role}),s.jsx("span",{style:{display:"block",fontSize:ae,lineHeight:1.4,color:"#4b5565",marginTop:2},children:t.d})]},t.role))}),s.jsxs("span",{className:"font-body uppercase flex items-center justify-between",style:{fontSize:ae-.6,letterSpacing:"0.14em",color:"#8d97a6",marginTop:4},children:[s.jsx("span",{children:"Accountability"}),s.jsx("span",{children:"Context →"})]})]})},Qu=({n:e,title:t,children:n})=>s.jsxs("div",{className:"avoid-break flex items-start",style:{gap:14},children:[s.jsx("span",{className:"font-display num-chip flex items-center justify-center shrink-0","aria-hidden":"true",style:{width:34,height:34,borderRadius:999,background:`linear-gradient(135deg, ${Re}, ${Ct} 55%, ${ln})`,color:"#fff",fontSize:17,fontWeight:700,lineHeight:1},children:e}),s.jsxs("div",{children:[s.jsx("p",{className:"font-display",style:{fontSize:15,color:Re,fontWeight:700,lineHeight:1.22},children:t}),s.jsx("p",{style:{fontSize:un,lineHeight:1.62,marginTop:5},children:n})]})]}),Bte=[{n:"01",label:"Journey",key:"journey"},{n:"02",label:"Control",key:"control"},{n:"03",label:"Use",key:"use"},{n:"04",label:"Durability",key:"durability"},{n:"05",label:"Build / buy / partner",key:"buildBuyPartner"}],Fte=({s:e,page:t,index:n})=>{const r=e.letter==="G",o=c=>`${e.color}${c}`,i=qR(e.color),a=/s$/.test(e.name)||e.name==="Youth + Talent",l=4;return s.jsxs(yl,{page:t,children:[s.jsx("div",{style:{height:7,background:r?`linear-gradient(90deg, ${Re}, ${Ct} 55%, ${ln})`:e.color}}),s.jsxs("div",{style:{padding:"0.32in 0.68in 0.40in"},children:[s.jsxs("div",{className:"flex items-center",style:{gap:15},children:[r?s.jsx(oc,{size:46}):s.jsx("span",{className:"font-display flex items-center justify-center shrink-0","aria-hidden":"true",style:{width:46,height:46,borderRadius:999,background:e.color,color:"#fff",fontSize:25,fontWeight:700,lineHeight:1},children:e.letter}),s.jsxs("div",{style:{flex:1},children:[s.jsxs("div",{className:"flex items-baseline justify-between",style:{gap:16},children:[s.jsx("h2",{className:"font-display",style:{fontSize:24,lineHeight:1.12,color:i,fontWeight:700},children:e.name}),s.jsx("p",{className:"font-body uppercase shrink-0",style:{fontSize:ae,letterSpacing:"0.18em",color:"#9aa3b1",fontWeight:700},children:n})]}),s.jsx("p",{style:{fontSize:12,color:UR,fontStyle:"italic",marginTop:4,fontWeight:500},children:e.role})]})]}),s.jsx("div",{style:{marginTop:9},children:s.jsx(Zg,{color:r?Ct:e.color})}),s.jsx("p",{style:{fontSize:GR,lineHeight:1.52,marginTop:l},children:e.opening}),s.jsxs("p",{className:"font-display avoid-break",style:{marginTop:l,paddingLeft:14,borderLeft:`3px solid ${e.color}`,fontSize:13.2,lineHeight:1.3,color:i,fontWeight:700,fontStyle:"italic"},children:["“",e.pullQuote,"”"]}),s.jsxs("p",{className:"avoid-break",style:{marginTop:l,fontSize:ae+.6,lineHeight:1.45,background:o("0d"),borderRadius:4,padding:"5px 11px"},children:[s.jsx("span",{className:"font-body uppercase",style:{letterSpacing:"0.14em",fontWeight:700,color:i},children:"Place"})," ",e.scope.place,s.jsx("span",{"aria-hidden":"true",style:{color:e.color,padding:"0 7px"},children:"·"}),s.jsx("span",{className:"font-body uppercase",style:{letterSpacing:"0.14em",fontWeight:700,color:i},children:"Industry"})," ",e.scope.industry]}),e.lens?s.jsxs("div",{className:"avoid-break grid",style:{gridTemplateColumns:"1fr 1fr",gap:10,marginTop:l},children:[s.jsxs("div",{style:{background:o("14"),border:`1px solid ${o("55")}`,borderRadius:5,padding:"7px 11px 8px"},children:[s.jsxs("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.14em",fontWeight:700,color:i},children:["When ",e.name," ",a?"are":"is"," the center"]}),s.jsx("p",{className:"font-display",style:{fontSize:13,lineHeight:1.25,color:i,fontWeight:700,marginTop:5},children:e.lens.centerHeadline}),s.jsx("p",{style:{fontSize:un,lineHeight:1.46,marginTop:4},children:e.lens.centerAsk})]}),s.jsxs("div",{style:{background:"#f6f7f9",border:"1px solid #e2e6ec",borderRadius:5,padding:"7px 11px 8px"},children:[s.jsxs("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.14em",fontWeight:700,color:"#8d97a6"},children:["When ",e.name," ",a?"support":"supports"," another objective"]}),s.jsx("ul",{style:{marginTop:5},children:e.lens.supporting.map(c=>s.jsxs("li",{style:{fontSize:un,lineHeight:1.46,marginTop:3,paddingLeft:12,position:"relative"},children:[s.jsx("span",{"aria-hidden":"true",style:{position:"absolute",left:0,color:e.color,fontWeight:700},children:"·"}),c]},c))})]})]}):e.center?s.jsxs("div",{className:"avoid-break",style:{marginTop:l,background:o("12"),border:`1px solid ${o("55")}`,borderRadius:5,padding:"7px 11px 8px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.14em",fontWeight:700,color:i},children:"Always read first. Never the center."}),s.jsxs("p",{style:{fontSize:un,lineHeight:1.5,marginTop:4},children:[s.jsxs("span",{style:{color:i,fontWeight:700},children:[e.center.label,": "]}),e.center.text]})]}
614):null,s.jsxs("div",{className:"avoid-break",style:{marginTop:l},children:[s.jsxs("div",{className:"flex items-baseline",style:{gap:10},children:[s.jsx("p",{className:"font-body uppercase shrink-0",style:{fontSize:ae,letterSpacing:"0.14em",fontWeight:700,color:"#8d97a6"},children:"Ways to engage"}),s.jsx("p",{style:{fontSize:ae+.2,lineHeight:1.3,color:"#6b7686",fontStyle:"italic"},children:e.doors.caption})]}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:`repeat(${e.doors.items.length}, 1fr)`,gap:8,marginTop:6},children:e.doors.items.map(c=>s.jsxs("div",{style:{background:o("0d"),borderTop:`2px solid ${e.color}`,borderRadius:"0 0 4px 4px",padding:"5px 8px 6px"},children:[s.jsx("p",{className:"font-body",style:{fontSize:ae+.4,fontWeight:700,color:i,lineHeight:1.18},children:c.label}),s.jsx("p",{style:{fontSize:ae,lineHeight:1.34,marginTop:2},children:c.text})]},c.label))})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:l+2,position:"relative"},children:[s.jsx("div",{"aria-hidden":"true",style:{position:"absolute",left:"8%",right:"8%",top:5,height:1.5,background:`linear-gradient(90deg, ${o("33")}, ${e.color}, ${o("33")})`}}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:10,position:"relative"},children:e.years.map(c=>s.jsxs("div",{className:"lane-card flex flex-col",style:{alignItems:"stretch"},children:[s.jsx("div",{className:"flex justify-center",style:{height:11},children:s.jsx("span",{"aria-hidden":"true",style:{width:11,height:11,borderRadius:999,background:"#fff",border:`2.5px solid ${e.color}`}})}),s.jsxs("div",{style:{flex:1,marginTop:7,background:o("0a"),border:`1px solid ${o("33")}`,borderRadius:5,padding:"7px 10px 8px"},children:[s.jsx("span",{className:"font-body uppercase inline-block",style:{fontSize:ae,letterSpacing:"0.14em",fontWeight:700,color:"#fff",background:e.color,borderRadius:999,padding:"2.5px 9px"},children:c.label}),s.jsx("p",{className:"font-display",style:{fontSize:12.6,color:i,fontWeight:700,lineHeight:1.24,marginTop:6},children:c.title}),s.jsx("p",{style:{fontSize:10.1,lineHeight:1.45,marginTop:4},children:c.text}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.13em",fontWeight:700,color:i,marginTop:6,paddingTop:5,borderTop:`1px solid ${o("33")}`},children:"Signal"}),s.jsx("p",{style:{fontSize:10.1,lineHeight:1.48,marginTop:3,color:Re,fontWeight:500},children:c.measure})]})]},c.label))})]}),e.unlock?s.jsxs("div",{className:"avoid-break",style:{marginTop:l,background:o("12"),border:`1.5px solid ${o("55")}`,borderRadius:5,padding:"7px 13px 8px"},children:[s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1.55fr 1fr",gap:14,alignItems:"start"},children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:i,fontWeight:700,lineHeight:1.12},children:e.unlock.question}),s.jsx("p",{style:{fontSize:ae+.4,lineHeight:1.35,marginTop:3,fontStyle:"italic",color:"#5c6673"},children:e.unlock.lead})]}),s.jsx("ul",{style:{margin:0,padding:0,listStyle:"none"},children:e.unlock.items.map(c=>s.jsxs("li",{style:{fontSize:ae+.1,lineHeight:1.32,paddingLeft:10,position:"relative",marginTop:1.5},children:[s.jsx("span",{"aria-hidden":"true",style:{position:"absolute",left:0,color:e.color},children:"·"}),c]},c))})]}),s.jsx("div",{className:"flex items-center",style:{gap:5,marginTop:6,flexWrap:"nowrap"},children:e.unlock.chain.map((c,d)=>s.jsxs(P.Fragment,{children:[d>0?s.jsx("span",{"aria-hidden":"true",style:{color:e.color,fontSize:11,lineHeight:1},children:"→"}):null,s.jsx("span",{className:"font-body",style:{fontSize:ae-.4,lineHeight:1.15,padding:"4px 7px",borderRadius:3,textAlign:"center",background:d===0?e.color:"#ffffff",color:d===0?"#fff":"#3d4552",border:d===0?"none":`1px solid ${o("44")}`,fontWeight:d===0?700:500,textTransform:d===0?"uppercase":"none",letterSpacing:d===0?"0.08em":"normal",whiteSpace:"nowrap"},children:c})]},c))}),s.jsx("p",{style:{fontSize:ae+.2,lineHeight:1.34,marginTop:5,color:i,fontWeight:600},children:e.unlock.note})]}):null,s.jsxs("div",{className:"avoid-break callout",style:{marginTop:l,background:o("0f"),borderLeft:`4px solid ${e.color}`,padding:"7px 14px"},children:[s.jsxs("p",{className:"font-body uppercase flex items-center",style:{fontSize:ae,letterSpacing:"0.14em",fontWeight:700,color:i,gap:6},children:[s.jsx(Xp,{size:11,style:{color:i,fill:i}})," The signal that matters most"]}),s.jsx("p",{style:{fontSize:un,lineHeight:1.5,marginTop:4},children:e.signal})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:l},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.14em",fontWeight:700,color:"#8d97a6"},children:"The five reads"}),s.jsx("div",{style:{marginTop:1,opacity:.85},children:s.jsx(y1,{color:o("55"),height:5})}),s.jsx("div",{style:{marginTop:1},children:Bte.map(c=>s.jsxs("div",{className:"strand-row avoid-break",style:{display:"grid",gridTemplateColumns:"0.22in 1.1in 1fr",gap:9,padding:"2px 0",borderTop:`1px solid ${o("2b")}`,alignItems:"baseline"},children:[s.jsx("p",{className:"font-body",style:{fontSize:ae-.2,fontWeight:700,color:e.color,letterSpacing:"0.06em"},children:c.n}),s.jsx("p",{className:"font-body",style:{fontSize:ae+.4,lineHeight:1.3,fontWeight:700,color:i},children:c.label}),s.jsx("p",{style:{fontSize:un-.4,lineHeight:1.46},children:e.reads[c.key]})]},c.n))})]}),s.jsx("div",{style:{marginTop:l,opacity:.85},children:s.jsx(y1,{color:o("55"),height:5})}),s.jsxs("div",{className:"avoid-break grid",style:{gridTemplateColumns:"1fr 1fr",gap:12,marginTop:3},children:[s.jsxs("div",{style:{background:o("0d"),padding:"7px 11px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.13em",fontWeight:700,color:i},children:"High-impact move"}),s.jsx("p",{style:{fontSize:10.2,lineHeight:1.45,marginTop:3},children:e.highImpact})]}),s.jsxs("div",{style:{background:o("0d"),padding:"7px 11px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.13em",fontWeight:700,color:i},children:"What funders often ask"}),s.jsx("p",{style:{fontSize:10.2,lineHeight:1.45,marginTop:3},children:e.funders})]})]})]})]})},Hte={Entrepreneurs:"The founders and companies building the future.",Corporates:"The customers, employers, partners, and anchor firms that create demand.","Government Organizations":"The public-sector partners with convening power, resources, and policy influence.",Storytellers:"The people who make the ecosystem’s work visible and understood.","Youth + Talent":"The people who supply the workforce and future leaders.","Service Providers":"The expertise and support that help people and organizations succeed.","Trade + Industry Associations":"The networks that help firms with shared interests act together.","
614Ecosystem Support Organizations":"The organizations that turn the ecosystem into help people can use.",Money:"The capital that enables ideas, companies, and growth."},Vte=YR.slice(1).map(e=>({letter:e.letter,color:e.color,name:e.name,role:Hte[e.name]??e.role})),Ute=()=>{const e=P.useCallback(()=>{const t=document.title,n=()=>{document.title=t,window.removeEventListener("afterprint",n)};window.addEventListener("afterprint",n),document.title=Ite;try{window.print()}finally{window.setTimeout(n,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"The Capital Braid Funder Framework | Ecosystem Edge",description:"A funder brief on our measurement system: how to tell whether the ecosystem you're funding is truly getting stronger.",path:"/measurement",noindex:!0}),s.jsx("style",{children:`
615        .pdf-page {
616          width: 8.5in;
617          height: 11in;
618          margin: 0 auto 26px;
619          background: #ffffff;
620          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
621          position: relative;
622          overflow: hidden;
623        }
624        .pdf-body { font-size: ${GR}px; line-height: ${zte}; color: ${UR}; text-wrap: pretty; }
625        .pdf-body h1, .pdf-body h2, .pdf-body h3 { text-wrap: balance; }
626        .callout, .lane-card, .num-chip, .strand-row { transition: box-shadow .22s ease, background-color .22s ease; }
627        .callout:hover { box-shadow: 0 10px 26px rgba(45,77,131,0.13); }
628        .lane-card:hover { box-shadow: 0 8px 20px rgba(45,77,131,0.12); }
629        .strand-row:hover { background-color: rgba(89,190,201,0.08); }
630        @media (prefers-reduced-motion: reduce) {
631          .callout, .lane-card, .num-chip, .strand-row { transition: none !important; }
632        }
633        @media print {
634          @page { size: letter; margin: 0; }
635          html, body { background: #ffffff !important; }
636          .no-print { display: none !important; }
637          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
638          .pdf-page {
639            box-shadow: none !important;
640            margin: 0 !important;
641            width: 100% !important;
642            height: 11in !important;
643            break-after: page;
644            page-break-after: always;
645          }
646          .pdf-page:last-child { break-after: auto; page-break-after: auto; }
647          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
648          .callout, .lane-card, .num-chip, .strand-row { transition: none !important; box-shadow: none !important; }
649          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
650        }
651      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body",style:{fontSize:13,color:"#5a6779"},children:"Designed to print as a multi-page PDF — use Print, then Save as PDF (letter, no scaling)."}),s.jsxs("button",{onClick:e,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:14,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsx(yl,{dark:!0,children:s.jsxs("div",{style:{padding:"0.8in 0.85in 0"},children:[s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:58,background:"#fff",borderRadius:7,padding:"7px 12px"}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:11.2,letterSpacing:"0.16em",color:ln,fontWeight:700,marginTop:26,maxWidth:"7.0in",lineHeight:1.5,textWrap:"balance"},children:"A funder framework for seeing whether an ecosystem is getting stronger—and whether your investment is compounding."}),s.jsx("h1",{className:"font-display",style:{fontSize:44,lineHeight:1.05,color:"#fff",fontWeight:700,marginTop:12,maxWidth:"6.2in"},children:"The Capital Braid™ Funder Framework"}),s.jsx("div",{style:{marginTop:6,marginLeft:"-0.85in",marginRight:"-0.85in",width:"8.5in"},children:s.jsx("img",{src:co,alt:"","aria-hidden":"true",loading:"eager",style:{display:"block",width:"100%",height:"auto",filter:"brightness(1.1) saturate(1.
65106)"}})}),s.jsxs("p",{style:{fontSize:15.5,lineHeight:1.45,color:"rgba(255,255,255,0.88)",marginTop:8,maxWidth:"6.4in",fontStyle:"italic"},children:["A practical way for"," ",s.jsx("span",{style:{color:ln,fontStyle:"normal",fontWeight:600},children:"funders and the ecosystem builders they support"})," ","to see the same system clearly—and make better decisions about where to invest, adjust, and stay the course."]}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:14,marginTop:"0.26in",maxWidth:"6.3in"},children:[{k:"5 years",v:"Built in one real ecosystem, in one real place.",c:Ct},{k:"Evaluator-grade",v:"Stress-tested with NSF Engines evaluators.",c:ln},{k:"40+ ecosystems",v:"Used across 15 states, from rural regions to major metros.",c:"#C4566E"}].map(t=>s.jsxs("div",{children:[s.jsx(y1,{color:t.c}),s.jsx("p",{className:"font-display",style:{fontSize:20,color:"#fff",fontWeight:700,marginTop:9},children:t.k}),s.jsx("p",{style:{fontSize:11.6,lineHeight:1.5,color:"rgba(255,255,255,0.75)",marginTop:5},children:t.v})]},t.k))})]})}),s.jsxs(yl,{page:2,children:[s.jsx(Ku,{eyebrow:"Built on evidence",titleMaxWidth:"7.0in",title:s.jsx(s.Fragment,{children:"A practical way to see whether an ecosystem is getting stronger — and whether your investment is compounding."}),kicker:"Built through five years of ecosystem-building. Stress-tested by evaluators. Used across 40+ ecosystems in 15 states.",rule:!1}),s.jsxs(Zu,{children:[s.jsx(_c,{wave:"bottom",style:{padding:"17px 20px",borderTopLeftRadius:10,borderTopRightRadius:10},children:s.jsxs("p",{className:"font-display",style:{fontSize:16.5,lineHeight:1.34,color:"#fff",fontWeight:700},children:["This framework focuses on what makes an ecosystem last:"," ",s.jsx("span",{style:{color:ln},children:"relationships, roles, and the infrastructure"})," that let progress continue beyond a single grant."]})}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:13,marginTop:22},children:[{k:"Built",h:"Five years in one real regional innovation ecosystem.",v:"The strands came from seeing what held together — and what fell apart — in practice.",c:Ct},{k:"Tested",h:"Stress-tested with NSF Engines evaluators and other major regional initiatives.",v:"Tested against a real challenge: telling meaningful system change from activity.",c:Re},{k:"Used",h:"40+ ecosystems across 15 states.",v:"That experience shows which patterns hold across places and which depend on local context.",c:ln}].map(t=>s.jsxs("div",{className:"lane-card avoid-break",style:{borderTop:`3px solid ${t.c}`,background:"rgba(45,77,131,0.035)",padding:"12px 13px 14px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:15.5,color:Re,fontWeight:700},children:t.k}),s.jsx("p",{style:{fontSize:un,lineHeight:1.38,marginTop:3,color:Re,fontWeight:500},children:t.h}),s.jsx("p",{style:{fontSize:ae+.3,lineHeight:1.45,marginTop:4},children:t.v})]},t.k))}),s.jsxs("div",{className:"avoid-break flex items-center",style:{gap:18,marginTop:22,border:"1px solid rgba(45,77,131,0.16)",padding:"14px 14px"},children:[s.jsxs("div",{className:"flex items-center shrink-0",style:{gap:12},children:[s.jsx("img",{src:Nu.url,alt:"A wobbly stack of wooden blocks",style:{height:112,width:"auto",maxWidth:165,objectFit:"contain"}}),s.jsx("svg",{width:"42",height:"20",viewBox:"0 0 86 40","aria-hidden":"true",style:{flexShrink:0},children:s.jsx("path",{d:"M0 13 H54 V0 L86 20 L54 40 V27 H0 Z",fill:Ct})}),s.jsx("img",{src:ac.url,alt:"Many colored ropes braided into one",style:{height:112,width:"auto",maxWidth:165,objectFit:"contain"}})]}),s.jsxs("div",{children:[s.jsx("p",{className:"font-display",style:{fontSize:15.5,lineHeight:1.2,color:Re,fontWeight:700},children:"Healthy regional innovation coalitions don’t stack capital, they braid it."}),s.jsx("p",{style:{fontSize:ae+.3,lineHeight:1.45,marginTop:4},children:"Stacked commitments are held up by whoever is balancing them. Braided funding is woven together, so no single strand carries the structure."})]})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.16em",fontWeight:700,color:Ct,marginTop:22},children:"What this tool is for"}),s.jsx("h3",{className:"font-display",style:{fontSize:18.5,lineHeight:1.2,color:Re,fontWeight:700,marginTop:5,maxWidth:"6.4in"},children:"It helps funders make better decisions. It does not grade regions."}),s.jsx("p",{style:{fontSize:un,lineHeight:1.45,marginTop:4,maxWidth:"6.7in"},children:"It helps funders and builders decide what’s important together — whether the ecosystem is strengthening and whether an investment is on a positive trajectory."}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:13,marginTop:16},children:[{k:"Learn, don’t judge",v:"Use what you learn to shape what you fund next — not to decide whether a region deserves funding."},{k:"Don’t add paperwork",v:"Use information already in reports and conversations. Ask for more only when it changes a decision."},{k:"Act on what you learn",v:"If something isn’t working, change it or stop funding it. A failed approach is evidence."}].map((t,n)=>s.jsxs("div",{className:"avoid-break",style:{borderLeft:`2px solid ${Ct}`,paddingLeft:11},children:[s.jsx("p",{className:"font-body",style:{fontSize:ae,letterSpacing:"0.14em",color:Ct,fontWeight:700},children:`0${n+1}`}),s.jsx("p",{className:"font-display",style:{fontSize:14,lineHeight:1.25,color:Re,fontWeight:700,marginTop:3},children:t.k}),s.jsx("p",{style:{fontSize:ae+.3,lineHeight:1.45,marginTop:4},children:t.v})]},t.k))}),s.jsxs(_c,{waveHeight:16,style:{marginTop:20,padding:"16px 22px 17px",borderBottomLeftRadius:10,borderBottomRightRadius:10},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.18em",color:ln,fontWeight:700},children:"One important rule: don’t rank regions"}),s.jsx("p",{className:"font-display",style:{fontSize:15.5,lineHeight:1.25,color:"#fff",fontWeight:700,marginTop:4},children:"A rural region three years in and a metro ten years in are not comparable."}),s.jsxs("p",{style:{fontSize:un,lineHeight:1.45,color:"rgba(255,255,255,0.85)",marginTop:4},children:["Measure each place against its own trajectory. Across a portfolio, look for patterns —"," ",s.jsx("span",{style:{color:ln,fontWeight:700},children:"not rankings."})]})]})]})]}),s.jsxs(yl,{page:3,children:[s.jsx(Ku,{eyebrow:"Customized to your focus",title:"One ecosystem. Different objectives.",kicker:"What you’re trying to strengthen decides what you prioritize first."}),s.jsxs(Zu,{children:[s.jsx("p",{style:{fontSize:un,lineHeight:1.6,marginTop:4},children:"The framework stays the same, what changes is the outcomes you are working on. Founders, capital, employers, talent, and service providers are all connected to one another, so you can put the group that matters most to your objective at the center and read the rest of the ecosystem from there."}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.16em",fontWeight:700,color:Ct,marginTop:14},children:"An example"}),s.jsx("div",{style:{marginTop:6},children:s.jsx($te,{})}),s.jsxs("div",{className:"avoid-break",style:{marginTop:8,border:"1px solid rgba(45,77,131,0.16)",borderLeft:`3px solid ${Ct}`,borderRadius:6,padding:"8px 12px",background:"rgba(45,77,131,0.035)"},children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.14em",fontWeight:700,color:Re},children:"Region or industry?"}),s.jsx("p",{style:{fontSize:ae+.3,lineHeight:1.5,marginTop:3,color:"#5a6779"}
651,children:"For a region, read all ten strands across that geography. For an industry, read the same ten strands inside that sector — “Corporates” becomes the industry’s anchor firms, “Money” becomes the sector’s investors."})]}),s.jsxs("div",{className:"grid avoid-break",style:{gridTemplateColumns:"1fr 1.02fr",gap:20,alignItems:"center",marginTop:2},children:[s.jsx("div",{className:"flex justify-center",children:s.jsx(Ote,{size:168,centerIndex:0})}),s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.16em",fontWeight:700,color:Ct},children:"What stays the same"}),s.jsx("p",{style:{fontSize:un,lineHeight:1.55,marginTop:5},children:"The map does not get redrawn for each objective. The relationships are the system. Your objective just decides which relationships you look at first."}),s.jsx(Lte,{label:"Governance holds the weave",tone:"teal",style:{marginTop:9},children:"The core questions and decision tools work the same way no matter which group you center."})]})]}),s.jsx("div",{className:"flex flex-wrap",style:{gap:"4px 14px",marginTop:4},children:Qg.map(t=>s.jsxs("span",{className:"flex items-center",style:{gap:5},children:[s.jsx("span",{"aria-hidden":!0,style:{width:11,height:11,borderRadius:99,background:t.color,display:"inline-block",flexShrink:0}}),s.jsx("span",{style:{fontSize:ae,color:"#5a6779"},children:t.label})]},t.label))}),s.jsxs(_c,{style:{marginTop:9,padding:"11px 20px",borderBottomLeftRadius:10,borderBottomRightRadius:10},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.18em",color:ln,fontWeight:700},children:"The point for funders"}),s.jsx("p",{className:"font-display",style:{fontSize:16,lineHeight:1.32,color:"#fff",fontWeight:700,marginTop:5},children:"One framework can work across a portfolio — even when the places, sectors, and funding objectives are different."})]})]})]}),s.jsxs(yl,{page:4,children:[s.jsx(Ku,{eyebrow:"How to read",title:"Five questions, asked in the same order, for every strand.",rule:!0}),s.jsxs(Zu,{style:{padding:"13px 0.68in 0"},children:[s.jsxs("div",{className:"avoid-break",style:{background:"rgba(45,77,131,0.05)",borderLeft:`3px solid ${ln}`,padding:"10px 16px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.16em",fontWeight:700,color:Ct},children:"Together they answer the funder’s core question"}),s.jsx("p",{className:"font-display",style:{fontSize:16.5,lineHeight:1.28,color:Re,fontWeight:700,marginTop:4},children:"Is this ecosystem getting stronger—and is that progress becoming durable?"})]}),s.jsxs("div",{style:{display:"grid",gap:11,marginTop:13},children:[s.jsxs(Qu,{n:"1",title:"Where are they in the journey?",children:["Read progress against the stage the ecosystem is in today.",s.jsx("span",{style:{display:"grid",gridTemplateColumns:"1fr 1fr 1fr",gap:9,marginTop:6},children:[{y:"Year 2",t:"Are partners connecting and working together?"},{y:"Year 5",t:"Is that collaboration changing how people work?"},{y:"Year 10",t:"Is it holding without constant intervention?"}].map(t=>s.jsxs("span",{style:{display:"block",borderTop:`2px solid ${Ct}`,paddingTop:5},children:[s.jsx("span",{className:"font-body uppercase",style:{display:"block",fontSize:ae,letterSpacing:"0.14em",fontWeight:700,color:Re},children:t.y}),s.jsx("span",{style:{display:"block",fontSize:ae+.3,lineHeight:1.45,color:"#4b5565",marginTop:2},children:t.t})]},t.y))}),s.jsx("span",{style:{display:"block",fontSize:ae+.3,lineHeight:1.5,color:"#6b7686",fontStyle:"italic",marginTop:6},children:"Do not judge year-2 work by year-10 expectations. That is how good ecosystem work gets cut before it has time to take hold."})]}),s.jsxs(Qu,{n:"2",title:"How much can they control?",children:["Not every outcome belongs to the region. Read accountability according to four spheres.",s.jsx("span",{style:{display:"block",marginTop:7},children:s.jsx(Mte,{})}),s.jsx("span",{style:{display:"block",fontSize:ae+.3,lineHeight:1.5,color:"#6b7686",fontStyle:"italic",marginTop:6},children:"The further out you go, the more the read is about context—not attribution."})]}),s.jsx(Qu,{n:"3",title:"Is anyone using what they built?",children:"Built is not the same as used. Six to twelve months after a system, pathway, referral process, board, or other capability is created, ask: is anyone using it? If not, it is activity—not progress."}),s.jsx(Qu,{n:"4",title:"Is it sticking?",children:"The strongest sign of progress is what remains. Are the people you centered staying? Are relationships continuing? Does the capability survive when a key person leaves? Look for evidence that the system is becoming less dependent on individual champions or short-term funding."}),s.jsx(Qu,{n:"5",title:"Build, buy, or partner?",children:"Not every capability needs to be owned. Some are built locally. Some are better accessed through partners. Some may always be shared. The question is: is the region developing the right capabilities for the long term?"})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:12},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.16em",fontWeight:700,color:Ct},children:"The read is always the same"}),s.jsx("div",{className:"flex items-center",style:{gap:8,flexWrap:"wrap",marginTop:6}
651,children:["Journey","Control","Use","Durability","Build / Buy / Partner"].map((t,n,r)=>s.jsxs(P.Fragment,{children:[s.jsx("span",{className:"font-body",style:{fontSize:ae+.4,fontWeight:700,color:Re,border:"1px solid rgba(45,77,131,0.2)",borderRadius:999,padding:"4px 12px"},children:t}),n<r.length-1?s.jsx("span",{style:{color:Ct,fontSize:12},children:"→"}):null]},t))}),s.jsx("p",{style:{fontSize:ae+.3,lineHeight:1.5,color:"#6b7686",marginTop:6},children:"That consistency lets funders compare progress within a place over time without forcing different places into the same definition of success."})]}),s.jsxs(_c,{style:{marginTop:11,padding:"13px 20px",borderBottomLeftRadius:10,borderBottomRightRadius:10},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.18em",color:ln,fontWeight:700},children:"What you are ultimately looking for"}),s.jsx("p",{className:"font-display",style:{fontSize:16,lineHeight:1.32,color:"#fff",fontWeight:700,marginTop:5},children:"Is this ecosystem becoming more connected—and is that connection strong enough to survive the people, champions, and grants that helped create it?"})]})]})]}),s.jsxs(yl,{page:5,children:[s.jsx(Ku,{eyebrow:"The ten strands",title:"Ten parts of one system. Governance holds the braid together.",kicker:"The framework looks at nine partner groups plus governance. Governance is the structure that helps the whole system hold together — it is never the center. Then read the nine partner groups through the objective you chose.",rule:!1}),s.jsx(Zu,{children:(()=>{const t=({c:n,page:r})=>s.jsxs("div",{className:"strand-row",style:{position:"relative",display:"grid",gridTemplateColumns:"40px 1fr auto",gap:14,alignItems:"center",padding:"7px 6px"},children:[s.jsx("span",{className:"font-display flex items-center justify-center",style:{position:"relative",width:32,height:32,borderRadius:999,background:n.color,color:"#fff",fontSize:17,fontWeight:700,boxShadow:"0 0 0 3px #ffffff"},children:n.letter}),s.jsxs("div",{style:{position:"relative"},children:[s.jsx("p",{className:"font-display",style:{fontSize:14.5,color:qR(n.color),fontWeight:700,lineHeight:1.2},children:n.name}),s.jsx("p",{style:{fontSize:un,lineHeight:1.4,color:"#6b7686",marginTop:1},children:n.role})]}),s.jsx("span",{className:"font-body",style:{position:"relative",fontSize:ae+.6,color:"#8d97a6",letterSpacing:"0.08em"},children:r})]});return s.jsxs(s.Fragment,{children:[s.jsxs("div",{style:{border:"1px solid rgba(45,77,131,0.18)",background:"rgba(45,77,131,0.045)",padding:"10px 12px 12px",marginBottom:13,display:"grid",gridTemplateColumns:"40px 1fr auto",gap:14,alignItems:"start"},children:[s.jsx(oc,{size:32,style:{boxShadow:"0 0 0 3px #ffffff"}}),s.jsxs("div",{children:[s.jsx("p",{className:"font-display",style:{fontSize:15.5,color:Re,fontWeight:700,lineHeight:1.2},children:"Governance"}),s.jsx("p",{style:{fontSize:un+.4,lineHeight:1.4,color:"#3c4757",marginTop:2},children:"The structure that holds the system together. Who makes decisions, builds trust, aligns partners, and keeps the work moving?"}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.14em",color:Ct,fontWeight:700,marginTop:5},children:"Always read first. Never the center."}),s.jsx("div",{style:{marginTop:7},children:s.jsx(Zg,{})})]}),s.jsx("span",{className:"font-body",style:{fontSize:ae+.6,color:"#8d97a6",letterSpacing:"0.08em"},children:"6"})]}),Vte.map((n,r)=>s.jsxs("div",{children:[s.jsx(t,{c:n,page:r+7}),s.jsx("div",{style:{padding:"0 6px"},children:s.jsx(Zg,{color:n.color})})]},`${n.letter}-${n.name}`)),s.jsxs(_c,{style:{marginTop:13,padding:"13px 20px",borderBottomLeftRadius:10,borderBottomRightRadius:10},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.18em",color:ln,fontWeight:700},children:"One braid. Different priorities."}),s.jsx("p",{className:"font-display",style:{fontSize:15.5,lineHeight:1.3,color:"#fff",fontWeight:700,marginTop:4},children:"No strand works alone. The value is in the relationships between them."}),s.jsx("p",{style:{fontSize:un,lineHeight:1.45,color:"rgba(255,255,255,0.82)",marginTop:4},children:"The next pages show what each strand does—and how to read it against your funding objective."})]})]})})()})]}),YR.map((t,n)=>s.jsx(Fte,{s:t,page:n+6,index:n===0?"Read first":`Partner ${n} of 9 · ${t.letter}`},`${t.letter}-${t.name}`)),s.jsxs(yl,{page:16,children:[s.jsx(Ku,{eyebrow:"Putting the braid to work",titleMaxWidth:"7.0in",title:s.jsx(s.Fragment,{children:"See where your investment is 
651working — and where the next dollar can do more."}),kicker:"The Capital Braid™ Funder Framework gives funders and ecosystem builders one shared way to see progress, identify what is getting in the way, and decide what to do next."}),s.jsxs(Zu,{children:[s.jsxs("div",{className:"avoid-break",style:{border:"1px solid rgba(45,77,131,0.18)",borderLeft:`5px solid ${ln}`,background:"rgba(45,77,131,0.04)",padding:"13px 18px 14px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:22,lineHeight:1.15,color:Re,fontWeight:700},children:"Make each dollar more strategic."}),s.jsx("p",{style:{fontSize:13.4,lineHeight:1.5,marginTop:6,maxWidth:"6.4in"},children:"See where your funding fills a gap, unlocks other resources, or builds capacity that lasts."})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.2em",color:"#8d97a6",fontWeight:700,marginTop:15},children:"One read. Two audiences. Better decisions."}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr",gap:16,marginTop:9},children:[{t:"For funders",c:Ct,items:["See progress earlier — whether an ecosystem is getting stronger before it shows up in jobs, companies, or capital.","See your portfolio differently — compare patterns and progress, not regions against one another.","Make each dollar more strategic — fill a gap, unlock other resources, or build capacity that can last."]},{t:"For ecosystem builders",c:ln,items:["Work from the same picture as your funder — no translation.","Turn findings into action — each priority has a clear owner and next step.","Build what lasts — tools, coaching, and follow-up turn the framework into practice."]}].map(t=>s.jsxs("div",{style:{border:"1px solid #e4e7ec",borderTop:`4px solid ${t.c}`,padding:"10px 13px 11px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:14.5,color:Re,fontWeight:700,lineHeight:1.2},children:t.t}),s.jsx("ul",{style:{marginTop:8,display:"grid",gap:6},children:t.items.map(n=>s.jsxs("li",{className:"flex",style:{gap:8,fontSize:un,lineHeight:1.5},children:[s.jsx("span",{"aria-hidden":"true",style:{color:t.c,fontWeight:700},children:"•"}),s.jsx("span",{children:n})]},n))})]},t.t))}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.2em",color:"#8d97a6",fontWeight:700,marginTop:14},children:"How we work with your portfolio"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:14,marginTop:9},children:[{n:"01",k:"Reveal",h:"See the system together.",v:"A shared baseline across the ten strands, built with the region’s own partners.",c:Ct,ink:"#0d6b76"},{n:"02",k:"Clarify",h:"See what matters most.",v:"The gaps, relationships, and next moves that will make the biggest difference.",c:Re,ink:Re},{n:"03",k:"Activate",h:"Turn insight into action.",v:"Owners, tools, coaching — and a re-read over time to see what held.",c:ln,ink:"#8a6a20"}].map(t=>s.jsxs("div",{className:"avoid-break",style:{borderTop:`3px solid ${t.c}`,background:"rgba(45,77,131,0.035)",padding:"9px 13px 12px"},children:[s.jsx("p",{className:"font-body",style:{fontSize:ae,letterSpacing:"0.16em",color:t.ink,fontWeight:700},children:t.n}),s.jsx("p",{className:"font-display uppercase",style:{fontSize:16,color:t.ink,fontWeight:700,lineHeight:1.2,letterSpacing:"0.04em",marginTop:3},children:t.k}),s.jsx("p",{style:{fontSize:un,lineHeight:1.4,marginTop:4,color:Re,fontWeight:600},children:t.h}),s.jsx("p",{style:{fontSize:ae+.3,lineHeight:1.5,marginTop:4},children:t.v})]},t.k))}),s.jsxs(_c,{waveHeight:15,style:{marginTop:14,padding:"14px 26px 10px",borderBottomLeftRadius:12,borderBottomRightRadius:12},children:[s.jsxs("div",{className:"flex items-center justify-between",style:{gap:22},children:[s.jsxs("div",{style:{maxWidth:"4.6in"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:ae,letterSpacing:"0.2em",color:ln,fontWeight:700},children:"The invitation"}),s.jsx("p",{className:"font-display",style:{fontSize:21,lineHeight:1.18,color:"#fff",fontWeight:700,marginTop:6},children:"We’ve built the strategic layer. Now we’re building the operational one — with you."}),s.jsx("p",{style:{fontSize:un,lineHeight:1.5,color:"rgba(255,255,255,0.84)",marginTop:6},children:"Start with one region in your portfolio."})]}),s.jsxs("div",{className:"shrink-0 relative",style:{width:210,height:108,overflow:"hidden"},children:[s.jsx("img",{src:co,alt:"","aria-hidden":"true",loading:"eager",style:{position:"absolute",top:"50%",left:"50%",width:320,height:"auto",transform:"translate(-50%, -50%) rotate(90deg)",opacity:.45,filter:"brightness(1.15) saturate(1.
65105)",WebkitMaskImage:"linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%)",maskImage:"linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%)",pointerEvents:"none"}}),s.jsx("div",{className:"font-body uppercase absolute",style:{top:"50%",left:"50%",transform:"translate(-50%, -50%)",background:ln,color:"#2a1f06",fontWeight:700,fontSize:12.5,letterSpacing:"0.14em",padding:"12px 20px",borderRadius:8,whiteSpace:"nowrap",boxShadow:"0 6px 18px rgba(0,0,0,0.28)"},children:"Build with us →"})]})]}),s.jsxs("div",{className:"flex items-center justify-between",style:{marginTop:8,paddingTop:7,borderTop:"1px solid rgba(255,255,255,0.2)",gap:16},children:[s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:32,background:"#fff",borderRadius:7,padding:"4px 10px"}}),s.jsxs("div",{className:"flex",style:{gap:18},children:[[{n:"Amy Beaird, PhD",r:"Co-Founder",e:"[email protected]"},{n:"Dawn Haynes, MBA",r:"Co-Founder",e:"[email protected]"}].map(t=>s.jsxs("div",{className:"shrink-0",style:{whiteSpace:"nowrap"},children:[s.jsx("p",{className:"font-display",style:{fontSize:12,color:"#fff",fontWeight:700,lineHeight:1.2},children:t.n}),s.jsx("p",{style:{fontSize:ae,color:"rgba(255,255,255,0.82)",marginTop:2},children:t.e})]},t.n)),s.jsx("p",{className:"font-display shrink-0",style:{fontSize:12,color:"#fff",fontWeight:700,alignSelf:"center"},children:"ecosystem-edge.com"})]})]})]})]})]})]})]})},Gte=1,Yte="87d1c9b5-8b8a-4449-9191-cdad0d45cbd5",qte="ad65106b-3a35-40ca-85a5-313ebfbdb26e",Kte="/__l5e/assets-v1/87d1c9b5-8b8a-4449-9191-cdad0d45cbd5/circle-weavings.jpg",Zte="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/87d1c9b5-8b8a-4449-9191-cdad0d45cbd5/circle-weavings.jpg",Qte="circle-weavings.jpg",Jte=968681,Xte="image/jpeg",ene="2026-09-23T18:00:45Z",tne={version:Gte,asset_id:Yte,project_id:qte,url:Kte,r2_key:Zte,original_filename:Qte,size:Jte,content_type:Xte,created_at:ene},kt="#2D4D83",dr="#59BEC9",ir="#E2B673",Ac="#3d4757",nne=(e,t)=>{const n=e.replace("#",""),r=parseInt(n.slice(0,2),16),o=parseInt(n.slice(2,4),16),i=parseInt(n.slice(4,6),16);return`rgba(${r}, ${o}, ${i}, ${t})`},sne=15.5,Yh=13.5,rne=1.34,one="The Ecosystem Edge® Process, Funder Edition - Ecosystem Edge®",tS=[{label:"Reveal",Icon:Uo,color:kt,sessions:"sessions 01 and 02",months:"months 1 to 4",from:1,to:4,pair:["#8C6FA6","#2D4D83"]},{label:"Clarify",Icon:Er,color:"#2F8C97",sessions:"sessions 03 and 04",months:"months 5 to 8",from:5,to:8,pair:["#3F7CA8","#4FA3A5"]},{label:"Activate",Icon:Go,color:"#A9762B",sessions:"sessions 05 and 06",months:"months 9 to 12",from:9,to:12,pair:["#7BA05B","#B8892B"]}],D0=[{at:3,when:"BY MONTH 3",label:`Shared picture
652Ecosystem + initiatives mapped`,star:!0},{at:5.5,when:"BY MONTH 6",label:`Strategic direction
6532–3 year plan, goals + measures agreed`,star:!0},{at:9,when:"BY MONTH 9",label:`Operating system
654Model live, owners + responsibilities assigned`,star:!0},{at:12,when:"BY MONTH 12",label:`Sustainability plan
655Funding strategy + business model designed`,star:!0}],AN=e=>1e3*(e-.5)/12,RN=tS.flatMap(e=>e.pair),KR=e=>`linear-gradient(90deg, ${RN.map((t,n)=>`${e===void 0?t:nne(t,e)} ${n*100/(RN.length-1)}%`).join(", ")})`,ine=()=>s.jsxs("div",{style:{borderRadius:0,position:"relative",overflow:"hidden",background:KR(.2),WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("span",{"aria-hidden":"true",className:"flex",style:{position:"absolute",top:0,left:0,right:0,height:3,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:He.map(e=>s.jsx("span",{style:{flex:1,background:e.accent,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}},e.num))}),s.jsx("div",{className:"flex items-center",style:{padding:"4px 10px"},children:tS.map(e=>s.jsx("div",{style:{flex:1,textAlign:"center"},children:s.jsxs("span",{className:"inline-flex items-center justify-center",style:{gap:7},children:[s.jsx(e.Icon,{size:16,color:e.color,"aria-hidden":"true"}),s.jsx("span",{className:"font-display",style:{fontSize:19,letterSpacing:"0",fontWeight:700,color:e.color},children:e.label})]})},e.label))})]}),ane=({width:e=710})=>{const t=He,n=46,o=(e-n*2)/(t.length-1),i=58,a=i/2,l=40,c=16,d=l+a+10,u=t.map((f,h)=>n+h*o),p=u.map((f,h)=>h===0?`M ${f} ${l}`:`C ${u[h-1]+o*.42} ${l+(h%2===1?-c:c)}, ${f-o*.42} ${l+(h%2===1?-c:c)}, ${f} ${l}`).join(" ");return s.jsxs("div",{style:{width:e},children:[s.jsxs("div",{style:{position:"relative",width:e,height:d},children:[s.jsxs("svg",{width:e,height:d,viewBox:`0 0 ${e} ${d}`,"aria-hidden":"true",style:{position:"absolute",inset:0,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("defs",{children:s.jsx("linearGradient",{id:"ffcJourneyThread",x1:"0",y1:"0",x2:"1",y2:"0",children:t.map((f,h)=>s.jsx("stop",{offset:`${h/(t.length-1)*100}%`,stopColor:f.accent},f.num))})}
655),s.jsx("path",{d:p,fill:"none",stroke:"url(#ffcJourneyThread)",strokeWidth:4,strokeLinecap:"round",opacity:"0.9"})]}),t.map((f,h)=>s.jsx("div",{className:"inline-flex items-center justify-center",style:{position:"absolute",left:u[h]-a,top:l-a,width:i,height:i,borderRadius:999,background:"#fff",border:`3px solid ${f.accent}`,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:s.jsx(f.Icon,{size:26,strokeWidth:1.7,color:f.accent})},f.num))]}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"repeat(6, 1fr)",gap:4,marginTop:8},children:t.map(f=>s.jsxs("div",{style:{textAlign:"center",padding:"0 2px"},children:[s.jsx("p",{className:"font-body",style:{fontSize:13.5,fontWeight:700,color:f.accent,letterSpacing:"0.04em"},children:f.num}),s.jsx("p",{className:"font-body",style:{fontSize:14,lineHeight:1.2,fontWeight:700,color:kt,marginTop:2},children:f.kind})]},f.num))})]})},lne=({width:e=710})=>s.jsxs("div",{style:{width:e},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:dr,fontWeight:700,textAlign:"left"}
655,children:"WHAT CHANGES ACROSS EACH SESSION"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"repeat(6, 1fr)",gap:0,marginTop:8,background:KR(.1),WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:He.map(t=>s.jsx("div",{style:{textAlign:"center",padding:"7px 6px 8px",borderTop:`3px solid ${t.accent}`,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:s.jsx("p",{className:"font-display",style:{fontSize:15,fontStyle:"italic",fontWeight:700,color:t.accent,lineHeight:1.22,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:t.shift})},t.num))})]}),cne=["Everyone works from the same picture of the ecosystem.","Partners see where effort overlaps and where it's missing.","The coalition agrees on what matters most next.","Partners know what each one brings and needs.","An operating system they run, not a plan on a shelf.","Funding braided into a real business model."],dne=({width:e=710})=>s.jsxs("div",{style:{width:e},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:dr,fontWeight:700},children:"What the ecosystem gets"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"repeat(6, 1fr)",gap:10,marginTop:8},children:He.map((t,n)=>s.jsxs("div",{children:[s.jsx("p",{className:"font-body",style:{fontSize:13.5,fontWeight:700,color:t.accent,letterSpacing:"0.04em"},children:t.num}),s.jsx("p",{className:"font-body",style:{marginTop:4,fontSize:13.5,lineHeight:1.26,color:"#4b5565",fontWeight:500},children:cne[n]})]},t.num))})]}),une={marginTop:"auto",marginBottom:0,padding:"6px 14px 7px",borderBottomLeftRadius:10,borderBottomRightRadius:10},hne=14,cm=({children:e,page:t,label:n,dark:r})=>s.jsxs("section",{id:`ffc-page-${t??1}`,"data-page":t??1,className:"pdf-page pdf-body",style:r?{background:kt,color:"#fff"}:void 0,children:[s.jsx("div",{style:{height:6,background:`linear-gradient(90deg, ${kt} 0%, ${dr} 55%, ${ir} 100%)`,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}}),t?s.jsx("img",{src:ct,alt:"","aria-hidden":"true",style:{position:"absolute",top:"0.42in",right:"0.62in",height:46,opacity:1,zIndex:4,pointerEvents:"none"}}):null,s.jsx("div",{style:{height:t?"10.40in":"10.00in",display:"flex",flexDirection:"column",overflow:"hidden"},children:e}),t?s.jsxs("div",{className:"flex items-end justify-between",style:{margin:"0.05in 0.55in 0",borderTop:`1px solid ${r?"rgba(255,255,255,0.22)":"rgba(45,77,131,0.14)"}`,paddingTop:6},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:Yh,letterSpacing:"0",color:r?"rgba(255,255,255,0.6)":"#8d97a6"},children:n??"The Ecosystem Edge® Process · For funders"}),s.jsxs("p",{className:"font-body",style:{fontSize:Yh,letterSpacing:"0",color:r?"rgba(255,255,255,0.6)":"#8d97a6"},children:["© 2026 Ecosystem Edge® · ",t]})]}):null]}),W0=({eyebrow:e,title:t,kicker:n,kickerStrong:r,kickerSize:o,kickerMaxWidth:i,titleMaxWidth:a,titleSize:l,rule:c=!0})=>s.jsxs("div",{style:{padding:"0.58in 0.55in 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:dr,fontWeight:700},children:e}),s.jsx("h2",{className:"font-display",style:{fontSize:l??25,lineHeight:1.14,color:kt,fontWeight:700,marginTop:4,maxWidth:a??"6.3in"},children:t}),n?s.jsx("p",{className:r?"font-display":void 0,style:r?{fontSize:18.5,lineHeight:1.28,color:kt,fontWeight:700,fontStyle:"italic",marginTop:4,maxWidth:i??"7.4in"}:{fontSize:o??16,lineHeight:1.28,color:"#6b7686",fontStyle:"italic",marginTop:4,maxWidth:i??"7.2in"},children:n}):null,c?s.jsx("div",{style:{marginTop:5},children:s.jsx(Oy,{})}):null]}),$0=({children:e,style:t})=>s.jsx("div",{style:{padding:"5px 0.55in 0",flex:1,display:"flex",flexDirection:"column",...t},children:e}),pne=[{letter:"E",name:"Engage",note:"Connected and aware of each other",color:"#8FA2C7"},{letter:"D",name:"Discover",note:"Know what each partner has and needs",color:"#6078A2"},{letter:"G",name:"Galvanize",note:"Putting resources and effort in",color:"#3F5B8F"},{letter:"E",name:"Emerge",note:"Producing better results together",color:"#243F70"}],fne={Entrepreneurs:"Are pathways for founders to start, grow, stay, and give back getting stronger?",Corporates:"Are companies' ties to the ecosystem getting stronger and more durable?","Government Organizations":"Is coordination holding as leaders, budgets, and policies change?",Storytellers:"Is the shared story carried by more people than those doing the work?","Youth + Talent":"Are pathways in, and reasons to stay or return, getting stronger?","Service Providers":"Is local expertise getting stronger and easier to reach?","Trade + Industry Associations":"Can firms act together without relying on a single organizer?","Ecosystem Support Organizations":"Is the ecosystem easier to navigate, without depending on a few key peo
655ple?",Money:"Is funding becoming more accessible, connected, and catalytic?"},ZR=[{letter:"E",name:"Entrepreneurs",color:"#C4566E",role:`Founders and companies building what comes next.
656
657`,evidence:"Are pathways for founders to start, grow, stay, and contribute back becoming stronger?",arc:["Founders know where to turn","Connections produce pilots and revenue","Founders stay, mentor, and reinvest"]},{letter:"C",name:"Corporates",color:"#59BEC9",role:`Customers, employers, and anchor firms that create demand.
658
659`,evidence:"Are relationships between companies and the ecosystem becoming stronger and more durable?",arc:["A mapped relationship with a real next step","Resources are genuinely flowing","The region is anchored"]},{letter:"O",name:"Government Organizations",color:"#3F7CA8",role:"Public partners with convening power, resources, and influence.",evidence:`Is coordination among public partners becoming stronger as leaders, budgets, and policies change?
660
661`,arc:["Mandates clear and coordination starts","Public support becomes coherent","It survives an election or budget transition"]},{letter:"S",name:"Storytellers",color:"#E2B673",role:"People who make the ecosystem's work visible and understood.",evidence:`Is the shared story becoming stronger and carried by people beyond those doing the work?
662
663`,arc:["A shared story partners repeat","The story has a life of its own","It travels without being pushed"]},{letter:"Y",name:"Youth + Talent",color:"#7BA05B",role:`People who supply the workforce and future leaders.
664
665`,evidence:"Are pathways into the ecosystem, and reasons to stay or return, becoming stronger?",arc:["Pathways connect to employers","Employers are hiring through them","Talent stays and advances"]},{letter:"S",name:"Service Providers",color:"#8C6FA6",role:`Expertise and support that help organizations succeed.
666
667`,evidence:"Is local expertise becoming stronger and easier for organizations to reach?",arc:["The gaps are clear","Companies get help locally","Local expertise is durable"]},{letter:"T",name:"Trade + Industry Associations",color:"#C97B5A",role:"Networks that help firms act together on shared interests.",evidence:`Is the ability of firms to act together becoming stronger without a single organizer?
668
669`,arc:["The shared opportunity is clear","Firms produce a concrete shared win","The cluster carries collective weight on its own"]},{letter:"E",name:"Ecosystem Support Organizations",color:"#4FA3A5",role:"Organizations that make the ecosystem easier to navigate.",evidence:`Is navigation becoming stronger, so support no longer depends on a few key people?
670
671`,arc:["No wrong door","Support works as a system","The capacity survives turnover"]},{letter:"M",name:"Money",color:"#B8892B",role:"Funding that enables ideas, companies, and growth.",evidence:"Is funding becoming more accessible, connected, and catalytic?",arc:["The funding picture is clear","Funding is aligned to real stages","Funding compounds locally"]}],mne=["Entrepreneurs","Storytellers","Trade + Industry Associations","Corporates","Youth + Talent","Ecosystem Support Organizations","Money","Service Providers","Government Organizations"],gne=mne.map(e=>ZR.find(t=>t.name===e).color);[6,7,8].map(e=>gne[e]);const yne=({letter:e,color:t,size:n=24})=>s.jsx("span",{"aria-hidden":"true",className:"font-display flex items-center justify-center shrink-0",style:{width:n,height:n,borderRadius:"50%",background:t,color:"#fff",fontWeight:700,fontSize:n*.58,lineHeight:1},children:e}),xne=()=>{const[e,t]=P.useState(1);P.useState(null),P.useEffect(()=>{const o=Array.from(document.querySelectorAll(".pdf-page")),i=new IntersectionObserver(a=>{a.forEach(c=>{c.isIntersecting&&c.target.classList.add("is-visible")});const l=a.filter(c=>c.isIntersecting).sort((c,d)=>d.intersectionRatio-c.intersectionRatio)[0];l&&t(Number(l.target.dataset.page)||1)},{threshold:[.12,.4,.75]});return o.forEach(a=>i.observe(a)),()=>i.disconnect()},[]);const n=P.useCallback(o=>{var i;(i=document.getElementById(`ffc-page-${o}`))==null||i.scrollIntoView({behavior:"smooth",block:"start"})},[]),r=P.useCallback(()=>{const o=document.title,i=()=>{document.title=o,window.removeEventListener("afterprint",i)};window.addEventListener("afterprint",i),document.title=one;try{window.print()}finally{window.setTimeout(i,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"The Ecosystem Edge® Process, Funder Edition | Ecosystem Edge",description:"A six-page funder brief: how to see whether the ecosystem you're funding is truly getting stronger, and where the next investment compounds.",path:"/process-funder",noindex:!0}),s.jsx("style",{children:`
672        .pdf-page {
673          width: 8.5in;
674          height: 11in;
675          margin: 0 auto 26px;
676          background: #ffffff;
677          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
678          position: relative;
679          overflow: hidden;
680        }
681        .pdf-body { font-family: 'DM Sans', system-ui, sans-serif; font-size: ${sne}px; line-height: ${rne}; color: ${Ac}; text-wrap: pretty; }
682        .pdf-body h1, .pdf-body h2, .pdf-body h3 { text-wrap: balance; }
683        .callout, .lane-card, .num-chip { transition: box-shadow .22s ease, background-color .22s ease, transform .22s ease; }
684        .callout:hover { box-shadow: 0 10px 26px rgba(45,77,131,0.13); }
685        .lane-card:hover { box-shadow: 0 8px 20px rgba(45,77,131,0.12); transform: translateY(-2px); }
686
687        /* --- scroll reveal --- */
688        .pdf-page { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
689        .pdf-page.is-visible { opacity: 1; transform: none; }
690
691        /* --- page nav chips --- */
692        .pg-chip {
693          width: 28px; height: 28px; border-radius: 999px;
694          display: inline-flex; align-items: center; justify-content: center;
695          font-size: 12px; font-weight: 700; color: #5a6779;
696          background: rgba(45,77,131,0.07);
697          transition: background-color .18s ease, color .18s ease, transform .18s ease;
698        }
699        .pg-chip:hover { background: rgba(89,190,201,0.28); color: ${kt}; transform: translateY(-1px); }
700        .pg-chip[aria-current="true"] { background: ${kt}; color: #fff; }
701
702        /* --- strand cards (page 4) --- */
703        .strand-card {
704          text-align: left; width: 100%; cursor: pointer;
705          transition: box-shadow .22s ease, transform .22s ease, opacity .22s ease, border-color .22s ease;
706        }
707        .strand-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(45,77,131,0.16); }
708        .strand-card:focus-visible { outline: 2px solid ${dr}; outline-offset: 2px; }
709        .strand-grid.has-selection .strand-card { opacity: .38; }
710        .strand-grid.has-selection .strand-card.is-selected {
711          opacity: 1; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(45,77,131,0.22);
712        }
713        .strand-detail {
714          position: absolute; inset: 0; z-index: 5;
715          background: rgba(255,255,255,0.97);
716          border-radius: 10px;
717          box-shadow: 0 18px 44px rgba(45,77,131,0.22);
718          padding: 16px 20px 18px;
719          display: flex; flex-direction: column;
720          animation: strandIn .22s ease both;
721        }
722        @keyframes strandIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
723
724        /* --- objective cards (page 3) --- */
725        .obj-card { cursor: pointer; transition: box-shadow .22s ease, transform .22s ease, opacity .22s ease; }
726        .obj-card:focus-visible { outline: 2px solid ${dr}; outline-offset: 2px; }
727        .obj-grid:hover .obj-card:not(.is-selected),
728        .obj-grid:focus-within .obj-card:not(.is-selected) { opacity: .48; }
729        .obj-card.is-selected {
730          opacity: 1; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(45,77,131,0.18);
731        }
732        .print-only { display: none; }
733
734
735        /* --- five questions (page 5) --- */
736        .q-row { border-radius: 10px; padding: 6px 8px; margin: -6px -8px; transition: background-color .2s ease, transform .2s ease; }
737        .q-row:hover, .q-row:focus-visible { background: rgba(89,190,201,0.10); transform: translateX(3px); outline: none; }
738        .q-list:hover .q-row:not(:hover) { opacity: .62; transition: opacity .2s ease; }
739
740        /* --- cycle (page 6) --- */
741        .cycle-step { transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
742        .cycle-step:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(45,77,131,0.14); }
743        .cycle-arc path { transition: stroke-width .2s ease, opacity .2s ease; }
744        .cycle-wrap:hover .cycle-arc path { stroke-width: 4; opacity: 1; }
745
746        @media (prefers-reduced-motion: reduce) {
747          .callout, .lane-card, .num-chip, .pdf-page, .strand-card, .q-row, .cycle-step, .pg-chip { transition: none !important; animation: none !important; }
748          .pdf-page { opacity: 1 !important; transform: none !important; }
749          .lane-card:hover, .strand-card:hover, .cycle-step:hover, .q-row:hover { transform: none !important; }
750        }
751        @media print {
752          @page { size: letter; margin: 0; }
753          html, body { background: #ffffff !important; }
754          .no-print { display: none !important; }
755          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
756          .pdf-page {
757            box-shadow: none !important;
758            margin: 0 !important;
759            width: 100% !important;
760            height: 11in !important;
761            break-after: page;
762            page-break-after: always;
763            opacity: 1 !important;
764            transform: none !important;
765            transition: none !important;
766          }
767          .pdf-page:last-child { break-after: auto; page-break-after: auto; }
768          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
769          .callout, .lane-card, .num-chip, .strand-card, .cycle-step, .q-row {
770            transition: none !important; box-shadow: none !important; transform: none !important; opacity: 1 !important;
771          }
772          .strand-detail { display: none !important; }
773          .print-only { display: block !important; }
774          .obj-card { opacity: 1 !important; transform: none !important; box-shadow: none !important; }
775
776          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
777        }
778      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between gap-4 px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body hidden md:block",style:{fontSize:17.5,color:"#5a6779"},children:"Designed to print as a six-page PDF. Use Print, then Save as PDF (letter, no scaling)."}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("nav",{"aria-label":"Pages",className:"flex items-center gap-1.5",children:[1,2,3,4,5,6].map(o=>s.jsx("button",{type:"button",className:"pg-chip font-body","aria-current":e===o,"aria-label":`Go to page ${o}`,onClick:()=>n(o),children:o},o))}),s.jsxs("button",{onClick:r,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:18.5,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsx(cm,{page:1,children:s.jsxs("div",{className:"flex flex-col",style:{padding:"0.46in 0.62in 0",flex:1,minHeight:0},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:"#B8892B",fontWeight:700,marginTop:22,maxWidth:"6.6in",lineHeight:1.34,textWrap:"balance"},children:"FROM WOBBLY TO WOVEN"}),s.jsxs("h1",{className:"font-display",style:{fontSize:52,lineHeight:1.07,color:kt,fontWeight:700,marginTop:12,maxWidth:"7.2in"},children:["The Ecosystem Edge®",s.jsx("br",{}),"Process"]}),s.jsxs("p",{style:{fontSize:22,lineHeight:1.3,color:"#5a6779",marginTop:14,maxWidth:"7in",fontStyle:"italic"},children:["A shared way for"," ",s.jsx("span",{style:{color:"#2D4D83",fontStyle:"normal",fontWeight:600},children:"funders"}),","," ",s.jsx("span",{style:{color:"#A9762B",fontStyle:"normal",fontWeight:600},children:"communities of practice"}),", and ",s.jsx("span",{style:{color:"#7B5EA7",fontStyle:"normal",fontWeight:600},children:"ecosystem builders"})," to see what’s strengthening, decide what matters next, and invest where it counts."]}),s.jsx("div",{style:{marginTop:4,marginLeft:"-0.62in",marginRight:"-0.62in",width:"8.5in",flexShrink:0},children:s.jsx("img",{src:co,alt:"Many colored ropes braided into one",loading:"eager",style:{display:"block",width:"100%",maxWidth:"none",height:280,objectFit:"cover",objectPosition:"center"}})}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:20,marginTop:26,maxWidth:"7.26in"},children:tS.map((o,i)=>s.jsxs("div",{children:[s.jsx("div",{style:{height:4,background:o.color,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}}),s.jsxs("span",{className:"inline-flex items-center",style:{gap:8,marginTop:10},children:[s.jsx(o.Icon,{size:20,color:o.color,"aria-hidden":"true"}),s.jsx("span",{className:"font-display",style:{fontSize:26,fontWeight:700,color:o.color},children:o.label})]}),s.jsx("p",{style:{fontSize:16,lineHeight:1.3,color:"#3b4656",marginTop:4},children:["See the whole system.","Agree what matters.","Build what lasts."][i]})]},o.label))}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:20,marginTop:30,maxWidth:"7.26in"},children:[{n:"40+",v:"ecosystems, from rural regions to major metros",c:kt},{n:"15",v:"states, pressure-tested with evaluators of regional initiatives",c:dr},{n:"5",v:"years refining it in the field, on decades of practice",c:"#A9762B"}].map(o=>s.jsxs("div",{children:[s.jsx(wr,{color:o.c}),s.jsx("p",{className:"font-display",style:{fontSize:44,lineHeight:1,color:o.c,fontWeight:700,marginTop:8},children:o.n}),s.jsx("p",{style:{fontSize:14.5,lineHeight:1.34,color:"#6b7686",marginTop:6},children:o.v})]},o.n))}),s.jsxs(tt,{wave:"top",style:{padding:"14px 16px 16px",borderBottomLeftRadius:10,borderBottomRightRadius:10,marginTop:"auto",marginBottom:6},children:[s.jsxs("p",{className:"font-display",style:{fontSize:28,lineHeight:1.15,color:"#fff",fontWeight:700},children:["Wobbly ecosystems topple. ",s.jsx("span",{style:{color:ir},children:"Woven ones last."})]}),s.jsx("p",{className:"font-body",style:{fontSize:15.5,lineHeight:1.36,color:"#fff",marginTop:7},children:"Reports show the results: jobs created, wages grown, dollars raised. We help you see the relationships and roles that produce them, strengthen them over 12 months, and re-run the Scorecard to show what changed."})]})]})}),s.jsxs(cm,{page:2,children:[s.jsx(W0,{eyebrow:"WHAT WE LOOK AT TOGETHER",titleMaxWidth:"6.3in",title:s.jsx(s.Fragment,{children:"Nine partner groups. Four phases. One ecosystem."}),kicker:s.jsx(s.Fragment,{children:"Every partner group is read at every phase, from first connection to shared results."}),rule:!1}),s.jsxs($0,{style:{display:"flex",flexDirection:"column"},children:[s.jsxs("div",{className:"avoid-break",style:{marginTop:16},children:[s.jsxs("p",{className:"font-body",style:{fontSize:15,letterSpacing:"0",color:dr,lineHeight:1.25},children:[s.jsx("span",{style:{fontWeight:700,color:kt},children:"ECOSYSTEM"}),s.jsx("span",{style:{fontWeight:500,color:kt},children:" · The nine partner groups"}),s.jsx("span",{style:{display:"block",fontWeight:400,color:Ac,fontSize:13.5,marginTop:1},children:"Are the right partner groups engaged?"})]}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",columnGap:9,rowGap:6,marginTop:5},children:ZR.map(o=>s.jsxs("div",{className:"avoid-break",style:{borderRadius:10,background:"#F7F8FA",padding:"0 0 6px",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact",overflow:"hidden"},children:[s.jsx("span",{style:{display:"block"},children:s.jsx("span",{style:{display:"block",height:4,background:o.color,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}})}),s.jsxs("span",{style:{display:"flex",alignItems:"center",gap:6,padding:"3px 8px 0"},children:[s.jsx(yne,{letter:o.letter,color:o.color,size:22}),s.jsx("p",{className:"font-display",style:{fontSize:15,lineHeight:1.1,color:kt,fon
778tWeight:700},children:o.name})]}),s.jsx("p",{style:{fontSize:12.5,lineHeight:1.26,color:Ac,marginTop:3,padding:"0 9px"},children:fne[o.name]})]},o.name))}),s.jsxs("div",{className:"avoid-break flex items-center",style:{gap:10,marginTop:7,background:"#fff",border:"1px solid rgba(45,77,131,0.18)",borderRadius:10,padding:"5px 12px",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("img",{src:ac.url,alt:"Braided strands",style:{height:26,width:"auto",maxWidth:46,objectFit:"contain",flexShrink:0}}),s.jsxs("span",{children:[s.jsx("span",{className:"font-display",style:{display:"block",fontSize:15,lineHeight:1.18,color:kt,fontWeight:700},children:"Shared governance"}),s.jsx("span",{style:{display:"block",fontSize:12.5,lineHeight:1.24,color:"#6b7686",marginTop:2},children:"Do shared priorities, decisions, and feedback loops hold when people, funding, or priorities change?"})]})]})]}),s.jsxs("div",{className:"avoid-break",style:{display:"grid",gridTemplateColumns:"25% 75%",alignItems:"stretch",marginTop:20},children:[s.jsxs("div",{className:"flex flex-col",style:{minWidth:0,paddingRight:10},children:[s.jsxs("p",{className:"font-body",style:{fontSize:15,letterSpacing:"0",color:kt,lineHeight:1.22,marginBottom:10,width:250,position:"relative",zIndex:3},children:[s.jsx("span",{style:{fontWeight:700},children:"EDGE"}),s.jsx("span",{style:{fontWeight:500},children:" · The four phases"}),s.jsx("span",{style:{display:"block",fontWeight:400,color:Ac,fontSize:13.5,marginTop:1},children:"Are the relationships progressing through the phases?"})]}),pne.map((o,i)=>s.jsxs("div",{className:"flex items-start",style:{gap:6,marginBottom:14},children:[s.jsx("span",{className:"font-display",style:{display:"flex",alignItems:"center",justifyContent:"center",width:32,minWidth:32,height:32,borderRadius:"50%",background:o.color,color:"#fff",fontSize:19,fontWeight:800,lineHeight:1,flex:"0 0 32px",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:o.letter}),s.jsxs("span",{children:[s.jsx("span",{className:"font-body",style:{display:"block",fontSize:15,color:kt,fontWeight:700,lineHeight:1.18},children:o.name}),s.jsx("span",{style:{display:"block",fontSize:12.5,lineHeight:1.26,color:Ac,marginTop:2},children:o.note}),s.jsx("span",{className:"flex",style:{gap:3,marginTop:3},"aria-hidden":"true",children:[0,1,2,3].map(a=>s.jsx("span",{style:{width:11,height:4,borderRadius:2,background:a<=i?o.color:"rgba(90,103,121,0.15)",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}},a))})]})]},o.name)),s.jsxs("div",{style:{marginTop:"auto",marginBottom:6,width:250,position:"relative",zIndex:3},children:[s.jsx("span",{"aria-hidden":"true",style:{display:"block",width:40,height:3,background:ir,marginBottom:8,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}}),s.jsxs("p",{className:"font-display",style:{fontSize:18,lineHeight:1.22,color:kt,fontWeight:700},children:["Funding goes further when the ecosystem underneath it is"," ",s.jsx("span",{style:{fontStyle:"italic"},children:"woven, not wobbly."})]})]})]}),s.jsx("div",{className:"flex items-start justify-center",style:{minWidth:0,padding:"0 6px"},children:s.jsxs("div",{style:{width:"100%",maxWidth:430,margin:"-14px auto 0"},children:[s.jsx(uj,{}),s.jsx("p",{className:"font-display text-center",style:{fontSize:13,fontStyle:"italic",color:kt,marginTop:2},children:"Shared governance surrounds and weaves all nine"})]})})]})]})]}),s.jsxs(cm,{page:3,children:[s.jsx(W0,{eyebrow:"HOW THE PROCESS RUNS",titleMaxWidth:"6.9in",title:s.jsx(s.Fragment,{children:"Six sessions. Twelve months. One ecosystem acting together."}),kickerSize:17.5,kicker:s.jsx(s.Fragment,{children:"We start with a baseline Scorecard, build capacity through Reveal, Clarify, and Activate, then re-run the Scorecard to show what changed."}),rule:!1}),s.jsxs($0,{style:{paddingTop:18},children:[s.jsx(ine,{}),s.jsx("div",{style:{marginTop:26},children:s.jsx(ane,{})}),s.jsx("div",{style:{marginTop:26},children:s.jsx(lne,{})}),s.jsx("div",{style:{marginTop:22},children:s.jsx(dne,{})}),s.jsxs("div",{style:{marginTop:30},children:[s.jsxs("div",{className:"flex items-start",style:{gap:12},children:[s.jsxs("div",{style:{flex:1},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:kt,fontWeight:700,lineHeight:1.2},children:"Baseline Scorecard"}),s.jsxs("p",{className:"font-body",style:{fontSize:13.5,lineHeight:1.25,color:"#6b7583",marginTop:2},children:["Where the ecosystem",s.jsx("br",{}),"is today."]})]}),s.jsxs("div",{style:{flex:1.15,textAlign:"center"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:kt,fontWeight:700},children:"ECOSYSTEM EDGE® PROCESS"}),s.jsx("p",{className:"font-body",style:{fontSize:13.5,lineHeight:1.25,color:"#6b7583",marginTop:2},children:"Braiding partners, initiatives, and resources into shared momentum"})]}),s.jsxs("div",{style:{flex:1,textAlign:"right"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:kt,fontWeight:700,lineHeight:1.2},children:"12-MONTH SCORECARD"}),s.jsx("p",{className:"font-body",style:{fontSize:13.5,lineHeight:1.25,color:"#6b7583",marginTop:2},children:"What changed after twelve months."})]})]}),s.jsxs("div",{style:{position:"relative",marginTop:6},children:[s.jsxs("svg",{viewBox:"0 0 1000 30",style:{width:"100%",height:15,display:"block",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},preserveAspectRatio:"none","aria-hidden":"true",children:[He.map((o,i)=>s.jsx("rect",{x:i*(1e3/6),y:9,width:1e3/6+(i<He.length-1?1:0),height:12,rx:0,fill:o.accent,opacity:.92},o.num)),Array.from({length:12},(o,i)=>i+1).map(o=>s.jsx("line",{x1:AN(o),y1:8,x2:AN(o),y2:22,stroke:"rgba(255,255,255,0.6)",strokeWidth:2},o))]}),D0.map(o=>s.jsx(Xp,{size:22,strokeWidth:1.4,color:"#ffffff",fill:ir,style:{position:"absolute",left:`${(o.at-.5)/12*100}%`,top:"50%",transform:"translate(-50%, -50%)",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}},o.at))]}),s.jsx("div",{style:{position:"relative",height:74,marginTop:8},children:D0.map((o,i)=>{const a=D0.map(f=>(f.at-.5)/12*100),l=a[i]+1.4,c=i===0?0:a[i-1]+1.4,d=l-c-1.5,[u,...p]=o.label.split(`
779`);return s.jsxs("div",{style:{position:"absolute",right:`${100-l}%`,width:`${d}%`,top:0,textAlign:"right"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:"#8d97a6",fontWeight:700},children:o.when}),s.jsx("p",{className:"font-body",style:{fontSize:13.5,lineHeight:1.22,color:kt,fontWeight:700,marginTop:2},children:u}),s.jsx("p",{className:"font-body",style:{fontSize:13.5,lineHeight:1.25,color:"#4b5565",marginTop:1},children:p.join(" ").trim()})]},o.at)})})]}),s.jsxs(tt,{waveHeight:hne,style:une,children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:ir,fontWeight:700},children:"WHAT THE YEAR BUILDS"}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:"#fff",fontWeight:700,marginTop:5},children:"A more woven ecosystem, built to last."}),s.jsx("p",{className:"font-body",style:{fontSize:13.5,lineHeight:1.3,color:"rgba(255,255,255,0.86)",marginTop:4},children:"Over 12 months, partners build the shared picture, relationships, tools, and operating capacity to align efforts, act together, and sustain the work beyond any one grant. The re-run Scorecard shows what changed."})]})]})]}),s.jsxs(cm,{page:4,children:[s.jsx(W0,{eyebrow:"What funders get, and where to start",titleMaxWidth:"6.9in",kickerMaxWidth:"9.4in",title:s.jsx(s.Fragment,{children:"Fund where it changes the system."}),kicker:s.jsx("span",{style:{display:"block",lineHeight:1.3},children:"An ecosystem that looks underfunded is often under-woven. The question isn't how much to fund, but where. What is the gap that holds things back, the relationship that unlocks resources, and the investment that builds lasting capacity?"}),rule:!1}),s.jsxs($0,{children:[s.jsxs("div",{className:"grid avoid-break",style:{gridTemplateColumns:"1fr calc((100% - 22px) / 3)",gap:9,alignItems:"stretch"},children:[s.jsxs("div",{className:"flex flex-col justify-center",style:{position:"relative",overflow:"hidden",borderRadius:10,padding:"10px 14px 11px",backgroundImage:`linear-gradient(90deg, rgba(20,34,60,0.82), rgba(20,34,60,0.6)), url(${tne.url})`,backgroundSize:"cover",backgroundPosition:"center 55%",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("p",{className:"font-display",style:{fontSize:24,lineHeight:1.18,color:"#fff",fontWeight:700,whiteSpace:"nowrap"},children:"Run it across a portfolio"}),s.jsx("p",{style:{fontSize:14,lineHeight:1.3,marginTop:6,color:"#fff"},children:"Bring the process to a group of ecosystems. Each place builds its own picture while learning alongside the others, and you see patterns across your whole portfolio. We’ll scope it around portfolio size, sequencing, and what you want reported at the portfolio level."})]}),s.jsx("div",{style:{overflow:"hidden",borderRadius:10,border:"1px solid rgba(45,77,131,0.18)",minHeight:150},children:s.jsx("img",{src:vu,alt:"Partners around a table in a facilitated roundtable session",style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center 55%"}})})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:dr,fontWeight:700,marginTop:24},children:s.jsx("span",{style:{color:kt},children:"One process. Value for everyone at the table."})}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:11,marginTop:12},children:[{t:"Funders",c:"#2D4D83",emphasis:!0,items:["Know your investment builds on itself: not starting over when a grant ends or a champion leaves.","See your portfolio clearly: identify patterns, gaps, and trajectories without turning ecosystems into a leaderboard.","Make each dollar more strategic: fill gaps, unlock existing resources, and build lasting capacity."]},{t:"Communities of practice",c:ir,emphasis:!1,items:["Share one language: help learning travel from one ecosystem to another.","Build repeatable practice: use a common process that communities can adapt to their context.","Launch quickly: use a tested approach without building the process from scratch."]},{t:"Ecosystem builders",c:"#7B5EA7",emphasis:!1,items:["Work from the same picture: align with funders and partners around one shared view of the ecosystem.","Turn findings into action: connect every priority to a next step and owner.","Show momentum before outcomes land: bring evidence of ecosystem movement to funders, boards, and partners."]}].map(o=>s.jsxs("div",{style:{background:o.emphasis?"#EEF2F9":"#F7F8FA",borderTop:`6px solid ${o.c}`,boxShadow:o.emphasis?"0 6px 16px rgba(45,77,131,0.22)":void 0,transform:o.emphasis?"translateY(-3px)":void 0,borderRadius:10,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact",overflow:"hidden",padding:"11px 10px 11px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:o.c===ir?"#A9762B":o.c,fontWeight:700,lineHeight:1.16,whiteSpace:"nowrap"},children:o.t}),s.jsx("ul",{style:{marginTop:5,display:"grid",gap:4},children:o.items.map(i=>s.jsxs("li",{className:"flex",style:{gap:6,fontSize:Yh,lineHeight:1.22},children:[s.jsx("span",{"aria-hidden":"true",style:{color:o.c,fontWeight:700},children:"•"}),s.jsx("span",{children:i.includes(":")?s.jsxs(s.Fragment,{children:[s.jsx("strong",{style:{fontWeight:700},children:i.slice(0,i.indexOf(":")+1)}),i.slice(i.indexOf(":")+1)]}):i})]},i))})]},o.t))}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:dr,fontWeight:700,marginTop:24},children:s.jsx("span",{style:{color:kt},children:"What the year asks, and what you get"})}),s.jsx("div",{className:"grid avoid-break",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:11,marginTop:12},children:[{k:"What you have at 12 months",h:"A more woven ecosystem",v:"A clearer picture of the whole system, funding aimed at real gaps, and a re-run Scorecard showing what changed.",c:kt},{k:"What we bring",h:"A proven process",v:"Six facilitated sessions, the Scorecard and tools, and coaching so w
779ork keeps moving between sessions.",c:ir},{k:"What ecosystems commit",h:"The right people, 12 months",v:"A core group of partners, six sessions over 12 months, and a named owner for every priority.",c:"#7B5EA7"}].map(o=>s.jsxs("div",{style:{background:"#F7F8FA",borderTop:`4px solid ${o.c}`,borderRadius:10,padding:"11px 10px 11px",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:o.c===ir?"#A9762B":o.c,fontWeight:700},children:o.k}),s.jsx("p",{className:"font-display",style:{fontSize:16,lineHeight:1.16,color:o.c===ir?"#A9762B":o.c,fontWeight:700,marginTop:3},children:o.h}),s.jsx("p",{style:{fontSize:Yh,lineHeight:1.22,color:Ac,marginTop:5},children:o.v})]},o.k))}),s.jsxs(tt,{waveHeight:15,style:{marginTop:"auto",padding:"4px 21px 3px",borderBottomLeftRadius:12,borderBottomRightRadius:12,position:"relative",overflow:"hidden"},children:[s.jsxs("div",{className:"flex items-center justify-between relative",style:{gap:18,zIndex:1},children:[s.jsxs("div",{style:{maxWidth:"4.6in"},children:[s.jsx("p",{className:"font-display",style:{fontSize:22.5,lineHeight:1.18,color:"#fff",fontWeight:700},children:"Start with the places you already fund."}),s.jsxs("p",{style:{fontSize:13.5,lineHeight:1.26,color:"rgba(255,255,255,0.84)",marginTop:4},children:[s.jsx("span",{style:{display:"block"},children:"Pick the places, and we'll bring the process."}),s.jsxs("span",{style:{display:"block"},children:["Wobbly ecosystems topple. ",s.jsx("span",{style:{color:ir,fontWeight:700},children:"Woven ones last."})]})]})]}),s.jsx("div",{className:"shrink-0 flex flex-col items-center justify-center",style:{width:210,height:62},children:s.jsx("a",{className:"font-body uppercase",href:"https://ecosystem-edge.com",target:"_blank",rel:"noreferrer",style:{background:ir,color:"#2a1f06",fontWeight:700,fontSize:16.5,letterSpacing:"0",padding:"8px 13px",borderRadius:8,whiteSpace:"nowrap",boxShadow:"0 6px 18px rgba(0,0,0,0.28)",textDecoration:"none"},children:"Build with us →"})})]}),s.jsxs("div",{className:"flex items-center justify-between relative",style:{marginTop:6,paddingTop:6,borderTop:`1px solid ${dr}55`,gap:13,zIndex:1},children:[s.jsx("div",{className:"flex",style:{gap:21},children:[{n:"Amy Beaird, PhD",e:"[email protected]"},{n:"Dawn Haynes, MBA",e:"[email protected]"}].map(o=>s.jsxs("div",{className:"shrink-0",style:{whiteSpace:"nowrap"},children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:"#fff",fontWeight:700,lineHeight:1.2},children:o.n}),s.jsx("p",{style:{fontSize:Yh,color:"rgba(255,255,255,0.82)",marginTop:2},children:o.e})]},o.n))}),s.jsx("p",{className:"font-display shrink-0",style:{fontSize:17.5,color:dr,fontWeight:700,letterSpacing:"0",whiteSpace:"nowrap"},children:"ecosystem-edge.com"})]})]})]})]}),!1]})]})},vne="/assets/blocks-to-braid-BF2rCLqb.jpg",bne=1,wne="9b9704d5-98e9-4292-88f8-258139a724d7",jne="ad65106b-3a35-40ca-85a5-313ebfbdb26e",Sne="/__l5e/assets-v1/9b9704d5-98e9-4292-88f8-258139a724d7/tapestry-front-back.png",kne="a/v1/ad65106b-3a35-40ca-85a5-313ebfbdb26e/9b9704d5-98e9-4292-88f8-258139a724d7/tapestry-front-back.png",Tne="tapestry-front-back.png",Nne=1033094,Ene="image/png",Cne="2026-09-23T18:22:36Z",_ne={version:bne,asset_id:wne,project_id:jne,url:Sne,r2_key:kne,original_filename:Tne,size:Nne,content_type:Ene,created_at:Cne},Ms="#2D4D83",Lr="#59BEC9",x1="#E2B673",Jm="#B8892B",Ane="#3d4757",Rne="#14181f",L0=15.5,qt=13.5,Pne=1.34,zne="Ecosystem Edge® Pricing, Funder Edition - Ecosystem Edge®",Ine="mailto:[email protected]",One="The Ecosystem Edge® Pricing · For funders",PN=({children:e,page:t})=>s.jsxs("section",{id:`pf-page-${t??1}`,"data-page":t??1,className:"pdf-page pdf-body",children:[s.jsx("div",{style:{height:6,background:`linear-gradient(90deg, ${Ms} 0%, ${Lr} 55%, ${x1} 100%)`,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}}),t&&t>1?s.jsx("img",{src:ct,alt:"","aria-hidden":"true",style:{position:"absolute",top:"0.42in",right:"0.62in",height:46,zIndex:4,pointerEvents:"none"}}
779):null,s.jsx("div",{style:{height:"10.40in",display:"flex",flexDirection:"column",overflow:"hidden"},children:e}),s.jsxs("div",{className:"flex items-end justify-between",style:{margin:"0.05in 0.55in 0",borderTop:"1px solid rgba(45,77,131,0.14)",paddingTop:6},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:qt,letterSpacing:"0",color:"#8d97a6"},children:One}),s.jsxs("p",{className:"font-body",style:{fontSize:qt,letterSpacing:"0",color:"#8d97a6"},children:["© 2026 Ecosystem Edge® · ",t??1]})]})]}),zN=({children:e,style:t})=>s.jsx("div",{style:{padding:"5px 0.55in 0",flex:1,display:"flex",flexDirection:"column",...t},children:e}),nS=[{n:"01",shift:"noise → network",s:"Shared Picture + Scorecard",icon:Ww,c:"#8C6FA6",phase:"Reveal",d:Jr[0]},{n:"02",shift:"silos → systems",s:"Initiatives Deep Dive",icon:Iw,c:"#2D4D83",phase:"Reveal",d:Jr[1]},{n:"03",shift:"diagnosis → decisions",s:"Strategic Action Planning",icon:$w,c:"#3F7CA8",phase:"Clarify",d:Jr[2]},{n:"04",shift:"friction → flow",s:"Partner Group Roundtable",icon:Ow,c:"#4FA3A5",phase:"Clarify",d:Jr[3]},{n:"05",shift:"alignment → acceleration",s:"Operationalizing",icon:Lw,c:"#7BA05B",phase:"Activate",d:Jr[4]},{n:"06",shift:"invisible → investable",s:"Funding + Sustainability",icon:Ey,c:"#B8892B",phase:"Activate",d:Jr[5]}],IN=(e,t)=>{const n=e.replace("#",""),r=parseInt(n.slice(0,2),16),o=parseInt(n.slice(2,4),16),i=parseInt(n.slice(4,6),16);return`rgba(${r},${o},${i},${t})`},Dne={Reveal:"rgba(45,77,131,0.07)",Clarify:"rgba(89,190,201,0.13)",Activate:"rgba(184,137,43,0.12)"},M0={Reveal:"#2D4D83",Clarify:"#2F8C97",Activate:"#B8892B"},ON={Reveal:Uo,Clarify:Er,Activate:Go},Wne=["Reveal","Clarify","Activate"].map(e=>({phase:e,rows:nS.filter(t=>t.phase===e)})),$ne=nS.map(e=>e.c),Lne=({style:e})=>s.jsx("div",{className:"flex",style:{height:5,borderRadius:999,overflow:"hidden",...e},children:$ne.map(t=>s.jsx("div",{style:{flex:1,background:t,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}},t))});nS.find(e=>e.n==="04").c;const Mne=[{t:"Partner Group Roundtables",sub:"Go deeper with another partner group",price:"$10,000 / each",v:"A focused session to clarify needs, identify opportunities, and leave with owners and next steps.",c:Jm},{t:"Private Community",sub:"Keep the coalition connected between sessions.",price:"$10,000 / ecosystem",v:"A private, moderated space for partners to share materials, continue the work, and stay in touch.",c:"#7B5EA7"},{t:"Custom Consulting",sub:"Extend the work where the ecosystem needs it most.",price:"$400 / hour · 50 hour minimum",v:"Extend the work where the ecosystem needs it most: major funding efforts, initiative design, backbone development, or implementation support.",c:"#2D4D83"}],Bne=()=>{const[e,t]=P.useState(1);P.useEffect(()=>{const o=Array.from(document.querySelectorAll(".pdf-page")),i=new IntersectionObserver(a=>{a.forEach(c=>{c.isIntersecting&&c.target.classList.add("is-visible")});const l=a.filter(c=>c.isIntersecting).sort((c,d)=>d.intersectionRatio-c.intersectionRatio)[0];l&&t(Number(l.target.dataset.page)||1)},{threshold:[.12,.4,.75]});return o.forEach(a=>i.observe(a)),()=>i.disconnect()},[]);const n=P.useCallback(o=>{var i;(i=document.getElementById(`pf-page-${o}`))==null||i.scrollIntoView({behavior:"smooth",block:"start"})},[]),r=P.useCallback(()=>{const o=document.title,i=()=>{document.title=o,window.removeEventListener("afterprint",i)};window.addEventListener("afterprint",i),document.title=zne;try{window.print()}finally{window.setTimeout(i,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"Ecosystem Edge® Pricing, Funder Edition | Ecosystem Edge",description:"What the Ecosystem Edge process costs: the twelve-month journey for one ecosystem, add-ons and entry points, and portfolio pricing for funders.",path:"/pricing-funder",noindex:!0}),s.jsx("style",{children:`
780        .pdf-page {
781          width: 8.5in;
782          height: 11in;
783          margin: 0 auto 26px;
784          background: #ffffff;
785          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
786          position: relative;
787          overflow: hidden;
788        }
789        .pdf-body { font-family: 'DM Sans', system-ui, sans-serif; font-size: ${L0}px; line-height: ${Pne}; color: ${Ane}; text-wrap: pretty; }
790        .pdf-body h1, .pdf-body h2, .pdf-body h3 { text-wrap: balance; }
791        .pdf-page { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
792        .pdf-page.is-visible { opacity: 1; transform: none; }
793        .price-row { transition: background-color .2s ease; }
794        .price-row:hover { filter: brightness(0.985); }
795        .addon-card { transition: box-shadow .22s ease, transform .22s ease; }
796        .addon-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(45,77,131,0.13); }
797        .pg-chip {
798          width: 28px; height: 28px; border-radius: 999px;
799          display: inline-flex; align-items: center; justify-content: center;
800          font-size: 12px; font-weight: 700; color: #5a6779;
801          background: rgba(45,77,131,0.07);
802          transition: background-color .18s ease, color .18s ease, transform .18s ease;
803        }
804        .pg-chip:hover { background: rgba(89,190,201,0.28); color: ${Ms}; transform: translateY(-1px); }
805        .pg-chip[aria-current="true"] { background: ${Ms}; color: #fff; }
806        @media (prefers-reduced-motion: reduce) {
807          .pdf-page, .price-row, .addon-card, .pg-chip { transition: none !important; }
808          .pdf-page { opacity: 1 !important; transform: none !important; }
809        }
810        @media print {
811          @page { size: letter; margin: 0; }
812          html, body { background: #ffffff !important; }
813          .no-print { display: none !important; }
814          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
815          .pdf-page {
816            box-shadow: none !important;
817            margin: 0 !important;
818            width: 100% !important;
819            height: 11in !important;
820            break-after: page;
821            page-break-after: always;
822            opacity: 1 !important;
823            transform: none !important;
824            transition: none !important;
825          }
826          .pdf-page:last-child { break-after: auto; page-break-after: auto; }
827          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
828          .addon-card, .price-row { box-shadow: none !important; transform: none !important; }
829          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
830        }
831      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between gap-4 px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body hidden md:block",style:{fontSize:17.5,color:"#5a6779"},children:"Designed to print as a two-page PDF. Use Print, then Save as PDF (letter, no scaling)."}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("nav",{"aria-label":"Pages",className:"flex items-center gap-1.5",children:[1,2].map(o=>s.jsx("button",{type:"button",className:"pg-chip font-body","aria-current":e===o,"aria-label":`Go to page ${o}`,onClick:()=>n(o),children:o},o))}),s.jsxs("button",{onClick:r,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:18.5,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsxs(PN,{page:1,children:[s.jsxs("div",{style:{padding:"0.40in 0.50in 0"},children:[s.jsxs("div",{className:"flex items-end justify-between",style:{gap:18},children:[s.jsx("span",{className:"flex flex-col items-start",style:{gap:6},children:s.jsx("span",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:x1,fontWeight:700,marginTop:0},children:"Pricing"})}),s.jsx("img",{src:ct,alt:"Ecosystem Edge",className:"shrink-0",style:{height:52}})]}),s.jsx("h1",{className:"font-display",style:{fontSize:28,lineHeight:1.08,color:Ms,fontWeight:700,marginTop:12,maxWidth:"100%",whiteSpace:"nowrap"},children:"From wobbly to woven in twelve months."}),s.jsxs("div",{children:[s.jsxs("p",{style:{fontSize:16,lineHeight:1.32,color:"#5a6779",marginTop:8,maxWidth:"100%",fontStyle:"italic"},children:["Fund one ecosystem for a year, or bring the process to a cohort across your portfolio."," ",s.jsx("br",{}),"Every engagement follows the same six-session process."," "]}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.25,fontWeight:700,display:"flex",justifyContent:"flex-end",alignItems:"center",gap:6,marginTop:-20},children:["Reveal","Clarify","Activate"].map((o,i)=>{const a=ON[o];return s.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:6},children:[i>0&&s.jsx("span",{style:{color:"#9aa4b2"},children:"→"}),s.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:4,color:M0[o]},children:[s.jsx(a,{size:15,strokeWidth:1.8,color:M0[o]}),o]})]},o)})})]}),s.jsx(Lne,{style:{marginTop:7}})]}),s.jsxs(zN,{style:{paddingTop:8},children:[s.jsx("div",{className:"flex items-baseline justify-between",style:{gap:16},children:s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Lr,fontWeight:700},children:"Core offer · One ecosystem, one year"})}),s.jsxs("div",{className:"flex",style:{gap:14,alignItems:"center"},children:[s.jsxs("div",{style:{flex:1,maxWidth:"5.1in"},children:[s.jsxs("p",{style:{fontSize:L0,lineHeight:1.3,color:"#5a6779",marginTop:5},children:["Ecosystem Edge brings partners together to build a shared picture, clarify priorities, strengthen relationships, and build infrastru
831cture to act. At the portfolio level, see what"," ","grants can’t: strengths to build on, recurring gaps, weak connections, and where funding can strengthen the system."]}),s.jsx("p",{style:{fontSize:L0,lineHeight:1.3,color:"#5a6779",marginTop:5},children:`
832`})]}),s.jsx("img",{src:vne,alt:"A wobbly stack of wooden blocks becoming a braided multi-colored rope",style:{flex:"0 0 auto",width:"2.35in",marginTop:0,objectFit:"contain",display:"block",marginLeft:"auto",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:4,border:"1px solid rgba(45,77,131,0.14)",borderRadius:10,overflow:"hidden"},children:[s.jsxs("div",{className:"grid font-body uppercase",style:{gridTemplateColumns:"0.34in 0.30in 4.20in 1.90in",gap:8,background:Ms,color:"#fff",fontSize:qt,fontWeight:700,letterSpacing:"0",padding:"6px 12px 6px 0"},children:[s.jsx("span",{}),s.jsx("span",{children:`
833`}),s.jsxs("span",{children:["SIX SESSIONS. ONE CUMULATIVE JOURNEY.",`
834`]}),s.jsx("span",{children:"Shift"})]}),Wne.map((o,i)=>{const a=ON[o.phase],l=M0[o.phase];return s.jsxs("div",{className:"flex",style:{borderTop:i===0?"none":"1px solid rgba(45,77,131,0.10)"},children:[s.jsx("div",{className:"flex flex-col items-center justify-center shrink-0",style:{width:"0.34in",background:Dne[o.phase],borderLeft:`4px solid ${l}`,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:s.jsxs("span",{className:"flex items-center",style:{gap:6,writingMode:"vertical-rl"},children:[s.jsx(a,{size:14,strokeWidth:1.8,color:l,style:{transform:"rotate(-90deg)"}}),s.jsx("span",{className:"font-body uppercase",style:{fontSize:qt,fontWeight:700,letterSpacing:"0.08em",color:l},children:o.phase})]})}),s.jsx("div",{className:"flex-1 relative",children:o.rows.map((c,d)=>s.jsxs("div",{className:"grid price-row",style:{gridTemplateColumns:"0.30in 4.20in 1.90in",gap:8,alignItems:"center",minHeight:"0.92in",padding:"5px 12px 4px 8px",borderTop:d===0?"none":"1px solid rgba(45,77,131,0.10)",background:IN(c.c,.07),WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("span",{className:"font-body",style:{width:26,height:26,borderRadius:"50%",background:c.c,color:"#ffffff",fontSize:qt,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"start",marginTop:-3,position:"relative",zIndex:2,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:c.n}),s.jsxs("span",{style:{alignSelf:"start"},children:[s.jsxs("span",{className:"font-display flex items-center",style:{fontSize:18.5,fontWeight:700,color:c.c,lineHeight:1.2,gap:6},children:[s.jsx(c.icon,{size:19,strokeWidth:1.8,color:c.c,style:{flexShrink:0,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}}),c.s]}),s.jsx("span",{className:"block",style:{marginTop:5},children:c.d.map(u=>s.jsxs("span",{className:"flex",style:{fontSize:qt,color:Rne,lineHeight:1.32,gap:6,alignItems:"baseline"},children:[s.jsx("span",{style:{width:4,height:4,borderRadius:999,background:c.c,flexShrink:0,transform:"translateY(-2px)",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}}),u]},u))})]}),s.jsx("span",{className:"font-display",style:{fontSize:16,color:c.c,fontWeight:700,fontStyle:"italic",lineHeight:1.24,whiteSpace:"nowrap"},children:c.shift})]},c.n))})]},o.phase)})]}),s.jsxs("div",{className:"avoid-break flex items-center",style:{marginTop:7,gap:16,border:"1px solid rgba(45,77,131,0.14)",borderLeft:`4px solid ${Jm}`,borderRadius:10,background:"rgba(89,190,201,0.07)",padding:"7px 15px 8px",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsxs("div",{style:{flexShrink:0},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:qt,letterSpacing:"0",color:Lr,fontWeight:700},children:"Investment"}),s.jsxs("div",{className:"flex items-baseline",style:{gap:8},children:[s.jsx("span",{className:"font-display",style:{fontSize:25,lineHeight:1.05,color:Ms,fontWeight:700},children:"$100K"}),s.jsx("span",{style:{fontSize:qt,color:"#5a6779",whiteSpace:"nowrap"},children:"per ecosystem / 12 months"})]})]}),s.jsx("div",{style:{flex:1,minWidth:0,paddingLeft:16,borderLeft:"1px solid rgba(45,77,131,0.16)"},children:s.jsx("p",{style:{fontSize:qt,lineHeight:1.3,color:"#5a6779",marginTop:3},children:"Everything inside the six-session process, including briefings and support between sessions, is included."})})]})]})]}),s.jsxs(PN,{page:2,children:[s.jsx("div",{style:{padding:"0.72in 0.55in 0"}}),s.jsxs(zN,{children:[s.jsxs("div",{style:{marginTop:4},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Lr,fontWeight:700,marginBottom:6},children:"WHAT THE YEAR CHANGES"}),s.jsx("p",{style:{fontSize:16,lineHeight:1.36,color:"#4a5768",marginBottom:8},children:"Each session adds capacity, helping an ecosystem see the whole system, connect efforts, align around priorities, act together, and sustain progress. From wobbly to woven."}),s.jsxs("div",{className:"avoid-break flex items-start",style:{marginTop:4,gap:14},children:[s.jsxs("figure",{className:"shrink-0",style:{width:100,margin:0},children:[s.jsx("img",{src:_ne.url,alt:"A tapestry's polished front beside its knotted back",style:{width:100,height:84,objectFit:"cover",borderRadius:8,display:"block"}}),s.jsxs("figcaption",{className:"flex justify-between",style:{fontSize:10,
834color:"#5a6779",marginTop:3,fontStyle:"italic"},children:[s.jsx("span",{children:"Front"}),s.jsx("span",{children:"Back"})]})]}),s.jsxs("div",{children:[s.jsx("p",{className:"font-display",style:{fontSize:17.75,lineHeight:1,color:Ms,fontWeight:700,whiteSpace:"nowrap",marginTop:-1},children:"Baseline Scorecard → Ecosystem Edge® Process → 12-Month Scorecard"}),s.jsx("p",{style:{fontSize:14.5,lineHeight:1.3,color:"#5a6779",marginTop:4},children:"The Scorecard is our first look at the back of the tapestry: how partners work together, not just what assets exist. We measure at the start, work together for 12 months, then measure what changed."})]})]})]}),s.jsxs("div",{style:{marginTop:6},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Lr,fontWeight:700,marginBottom:6},children:"WHAT THE ECOSYSTEM HAS BY YEAR-END"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr 1fr",gap:10},children:[{t:"Shared picture",d:"Ecosystem + initiatives mapped",w:"BY MONTH 3",c:"#8C6FA6"},{t:"Strategic direction",d:"2–3 year plan, goals + measures agreed",w:"BY MONTH 6",c:"#3F
8347CA8"},{t:"Operating system",d:"Model live, owners + responsibilities assigned",w:"BY MONTH 9",c:"#7BA05B"},{t:"Sustainability plan",d:"Funding strategy + business model designed",w:"BY MONTH 12",c:Jm}].map(o=>s.jsxs("div",{className:"avoid-break",style:{border:"1px solid rgba(45,77,131,0.12)",borderTop:`3px solid ${o.c}`,borderRadius:10,background:IN(o.c,.06),padding:"7px 10px 8px",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:qt,letterSpacing:"0",color:o.c,fontWeight:700},children:o.w}),s.jsx("p",{className:"font-display",style:{fontSize:15.5,lineHeight:1.2,color:Ms,fontWeight:700,marginTop:2},children:o.t}),s.jsx("p",{style:{fontSize:qt,lineHeight:1.34,color:"#5a6779",marginTop:2},children:o.d})]},o.t))})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:8},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:qt,letterSpacing:"0",color:Lr,fontWeight:700,marginBottom:7},children:"WHAT THE FUNDER HAS BY YEAR-END"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:16},children:[{t:"A more woven ecosystem",d:"Partners are better connected, more aligned, and more capable of acting together.",c:Ms},{t:"A clearer picture",d:"See the strengths, gaps, relationships, and opportunities across the whole ecosystem, beyond any single grant.",c:Lr},{t:"More leverage from funding",d:"Direct funding toward system-level gaps, strengthen what’s working, and create conditions for greater collective impact.",c:Jm}].map(o=>s.jsxs("div",{style:{borderLeft:`3px solid ${o.c}`,paddingLeft:9},children:[s.jsx("p",{className:"font-display",style:{fontSize:15.5,lineHeight:1.2,color:Ms,fontWeight:700},children:o.t}),s.jsx("p",{style:{fontSize:qt,lineHeight:1.34,color:"#5a6779",marginTop:2},children:o.d})]},o.t))})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Lr,fontWeight:700,marginTop:8,marginBottom:4},children:"ADD-ONS"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:10},children:Mne.map(o=>s.jsxs("div",{className:"addon-card avoid-break",style:{border:"1px solid rgba(45,77,131,0.14)",borderTop:`3px solid ${o.c}`,borderRadius:10,background:"#fff",padding:"8px 11px 7px",minHeight:130,display:"flex",flexDirection:"column"},children:[s.jsx("p",{className:"font-display",style:{fontSize:16.5,color:Ms,fontWeight:700,lineHeight:1.14},children:o.href?s.jsx("a",{href:o.href,style:{color:Ms,textDecoration:"none"},children:o.t}):o.t}),o.sub&&s.jsx("p",{style:{fontSize:qt,lineHeight:1.24,color:o.c,opacity:.85,fontStyle:"italic",marginTop:2},children:o.sub}),o.price&&typeof o.price=="string"&&o.price.includes("/")?s.jsxs("div",{className:"flex items-baseline",style:{gap:6,marginTop:2},children:[s.jsx("span",{className:"font-display",style:{fontSize:16.5,color:o.c,fontWeight:700,lineHeight:1.2},children:o.price.split("/")[0].trim()}),s.jsx("span",{style:{fontSize:qt,color:"#5a6779",whiteSpace:"nowrap"},children:o.price.slice(o.price.indexOf("/")).trim()})]}):o.price&&s.jsx("p",{className:"font-display",style:{fontSize:16.5,color:o.c,fontWeight:700,marginTop:2,lineHeight:1.2},children:o.price}),s.jsx("p",{style:{fontSize:qt,lineHeight:1.26,color:"#5a6779",marginTop:4,paddingBottom:0},children:o.v}),o.url&&s.jsx("p",{style:{fontSize:qt,color:o.c,marginTop:6,fontWeight:700},children:o.url}),o.img&&s.jsx("img",{src:o.img,alt:o.t,style:{width:"100%",height:"0.80in",objectFit:"cover",objectPosition:"top",marginTop:"auto",borderRadius:6,display:"block",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}})]},o.t))}),s.jsxs("div",{className:"avoid-break",style:{marginTop:8},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:qt,letterSpacing:"0.1em",color:Lr,fontWeight:700},children:"Run it across your portfolio"}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.2,color:Ms,fontWeight:700,marginTop:3},children:"From one-off programs to portfolio-wide progress."}),s.jsx("p",{style:{fontSize:qt,lineHeight:1.3,color:"#5a6779",marginTop:4},children:"Bring Ecosystem Edge® to a cohort of ecosystems. Each place builds its own picture while learning alongside the others, and you see patterns across your whole portfolio. We'll scope the engagement around cohort size, sequencing, and what you want reported at the portfolio level."})]}),s.jsxs(tt,{waveHeight:15,style:{marginTop:"auto",padding:"7px 21px 7px",borderBottomLeftRadius:12,borderBottomRightRadius:12,position:"relative",overflow:"hidden"},children:[s.jsxs("div",{className:"relative",style:{zIndex:1},children:[s.jsxs("div",{className:"flex items-end",style:{gap:18},children:[s.jsx("div",{style:{flex:1,minWidth:0,alignSelf:"center"},children:s.jsx("p",{className:"font-display",style:{fontSize:19.5,lineHeight:1.16,color:"#fff",fontWeight:700,whiteSpace:"nowrap"},children:"You pick the places. We'll bring the process."})}),s.jsx("div",{className:"flex justify-end shrink-0",children:s.jsx("a",{className:"font-body uppercase",href:Ine,style:{background:x1,color:"#2a1f06",fontWeight:700,fontSize:17.5,letterSpacing:"0",padding:"10px 16px",borderRadius:8,whiteSpace:"nowrap",boxShadow:"0 6px 18px rgba(0,0,0,0.28)",textDecoration:"none"},children:"Build with us →"})})]}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.28,color:"rgba(255,255,255,0.84)",marginTop:7},children:`
835`})]}),s.jsxs("div",{className:"flex items-center justify-between relative",style:{marginTop:6,paddingTop:6,borderTop:`1px solid ${Lr}55`,gap:13,zIndex:1},children:[s.jsx("div",{className:"flex",style:{gap:21},children:[{n:"Amy Beaird, PhD",e:"[email protected]"},{n:"Dawn Haynes, MBA",e:"[email protected]"}].map(o=>s.jsxs("div",{className:"shrink-0",style:{whiteSpace:"nowrap"},children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:"#fff",fontWeight:700,lineHeight:1.2},children:o.n}),s.jsx("p",{style:{fontSize:qt,color:"rgba(255,255,255,0.82)",marginTop:2},children:o.e})]},o.n))}),s.jsx("p",{className:"font-display shrink-0",style:{fontSize:17.5,color:Lr,fontWeight:700,letterSpacing:"0",whiteSpace:"nowrap"},children:"ecosystem-edge.com"})]})]})]})]})]})]})},gt="#2D4D83",Hn="#59BEC9",Bs="#E2B673",Fne="#3d4757",Hne=15.5,DN=14.5,jn=13.5,Vne=1.34,Une="The Ecosystem Edge® Process - Ecosystem Edge®",Gne=[{center:"Startup growth and founder retention",node:0,read:"Investors, corporates, and support organizations are prioritized by how well they support founders."},{center:"Good jobs, hiring, and advancement",node:4,read:"Employers, talent organizations, and service providers are prioritized by how well they support workers."}
835,{center:"Industry and anchor-sector growth",node:1,read:"Associations, government, and money are prioritized by how well they support industry growth."}],dm={marginTop:"auto",marginBottom:0,padding:"6px 14px 7px",borderBottomLeftRadius:10,borderBottomRightRadius:10},um=14,WN=[{label:"Reveal",Icon:Uo,color:gt,from:1,to:4},{label:"Clarify",Icon:Er,color:"#2F8C97",from:5,to:8},{label:"Activate",Icon:Go,color:"#A9762B",from:9,to:12}],$N=[{at:3,when:"Month 3",label:"Shared picture, ecosystem and initiatives map complete"},{at:5.5,when:"Month 5 to 6",label:"2 to 3 year plan set, goals and measures agreed"},{at:9,when:"Month 9",label:"Operating model live, owners and responsibilities assigned"},{at:12,when:"Month 12",label:"Funding and business model mapped, Scorecard re-run"}],Rc=e=>1e3*(e-.5)/12,Pc=({children:e,page:t,label:n,dark:r})=>s.jsxs("section",{id:`ffc-page-${t??1}`,"data-page":t??1,className:"pdf-page pdf-body",style:r?{background:gt,color:"#fff"}:void 0,children:[s.jsx("div",{style:{height:6,background:`linear-gradient(90deg, ${gt} 0%, ${Hn} 55%, ${Bs} 100%)`,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}}),t?s.jsx("img",{src:ct,alt:"","aria-hidden":"true",style:{position:"absolute",top:"0.42in",right:"0.62in",height:46,opacity:1,zIndex:4,pointerEvents:"none"}}):null,s.jsx("div",{style:{height:t?"10.28in":"9.88in",display:"flex",flexDirection:"column",overflow:"hidden"},children:e}),t?s.jsxs("div",{className:"flex items-end justify-between",style:{margin:"0.06in 0.55in 0",borderTop:`1px solid ${r?"rgba(255,255,255,0.22)":"rgba(45,77,131,0.14)"}`,paddingTop:7},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:jn,letterSpacing:"0",color:r?"rgba(255,255,255,0.6)":"#8d97a6"},children:n??"The Ecosystem Edge® Process"}),s.jsxs("p",{className:"font-body",style:{fontSize:jn,letterSpacing:"0",color:r?"rgba(255,255,255,0.6)":"#8d97a6"},children:["© 2026 Ecosystem Edge® · ",t]})]}):null]}),Ju=({eyebrow:e,title:t,kicker:n,kickerStrong:r,kickerSize:o,titleMaxWidth:i,titleSize:a,rule:l=!0})=>s.jsxs("div",{style:{padding:"0.58in 0.55in 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Hn,fontWeight:700},children:e}),s.jsx("h2",{className:"font-display",style:{fontSize:a??25,lineHeight:1.14,color:gt,fontWeight:700,marginTop:4,maxWidth:i??"6.3in"},children:t}),n?s.jsx("p",{className:r?"font-display":void 0,style:r?{fontSize:18.5,lineHeight:1.28,color:gt,fontWeight:700,fontStyle:"italic",marginTop:4,maxWidth:"7.4in"}:{fontSize:o??16,lineHeight:1.28,color:"#6b7686",fontStyle:"italic",marginTop:4,maxWidth:"7.2in"},children:n}):null,l?s.jsx("div",{style:{marginTop:5},children:s.jsx(Oy,{})}):null]}),Xu=({children:e,style:t})=>s.jsx("div",{style:{padding:"5px 0.55in 0",flex:1,display:"flex",flexDirection:"column",...t},children:e}),Yne=({compact:e})=>{const t=[{role:"Control",d:"what they directly deliver or decide",rule:Pe,tint:`${Pe}2E`},{role:"Influence",d:"what they meaningfully move through others",rule:`${Pe}BF`,tint:`${Pe}20`},{role:"Contribution",d:"what they help create alongside other actors",rule:`${Pe}80`,tint:`${Pe}14`},{role:"Interest",d:"what they watch and learn from, but cannot claim",rule:`${Pe}4D`,tint:`${Pe}0B`}];return s.jsx("span",{style:{display:"block"},children:s.jsx("span",{style:{display:"grid",gridTemplateColumns:e?"1fr 1fr":"1fr 1fr 1fr 1fr",gap:5},children:t.map(n=>s.jsxs("span",{style:{display:"block",borderTop:`3px solid ${n.rule}`,background:n.tint,padding:"5px 7px 6px"},children:[s.jsx("span",{className:"font-body uppercase",style:{display:"block",fontSize:jn,letterSpacing:"0",fontWeight:700,color:Pe},children:n.role}),s.jsx("span",{style:{display:"block",fontSize:jn,lineHeight:1.3,color:"#4b5565",marginTop:2},children:n.d})]},n.role))})})},eh=({n:e,title:t,children:n,tag:r,accent:o=gt,span:i})=>s.jsxs("div",{className:"avoid-break q-row",tabIndex:0,style:{gridColumn:i?"1 / -1":void 0,height:"auto",display:"flex",flexDirection:"column",border:"1px solid rgba(45,77,131,0.14)",borderTop:`3px solid ${o}`,borderRadius:10,overflow:"hidden",background:"#fff",padding:"12px 12px 13px"},children:[s.jsxs("div",{className:"flex items-center",style:{gap:6},children:[s.jsx("span",{className:"font-body num-chip inline-flex items-center justify-center shrink-0","aria-hidden":"true",style:{width:20,height:20,borderRadius:999,background:o,color:"#fff",fontSize:14,fontWeight:700,lineHeight:1},children:e}),r?s.jsx("span",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:o},children:r}):null]}),s.jsx("p",{className:"font-display",style:{fontSize:18.5,color:gt,fontWeight:700,lineHeight:1.22,marginTop:6},children:t}),s.jsx("div",{style:{fontSize:jn+.4,lineHeight:1.26,marginTop:4},children:n})]}),v1=[{letter:"E",name:"Entrepreneurs",color:"#C4566E",role:"The founders and companies building what comes next.",evidence:"Do entrepreneurs have stronger pathways to start, grow, stay, and contribute back?",arc:["Founders know where to turn","Connections produce pilots and revenue","Founders stay, mentor, and reinvest"]},{letter:"C",name:"Corporates",color:"#59BEC9",role:"The customers, employers, and anchor firms that create demand.",evidence:"Are relationships between companies and the ecosystem becoming stronger and more durable?",arc:["A mapped relationship with a real next step","Resources are genuinely flowing","The region is anchored"]},{letter:"O",name:"Government Organizations",color:"#3F7CA8",role:"Public partners with convening power, resources, and influence.",evidence:"Can public partners co
835ordinate around shared priorities, even as leaders, budgets, and policies change?",arc:["Mandates clear and coordination starts","Public support becomes coherent","It survives an election or budget transition"]},{letter:"S",name:"Storytellers",color:"#E2B673",role:"The people who make the ecosystem’s work visible and understood.",evidence:"Is the ecosystem understood and represented by people beyond those doing the work?",arc:["A shared story partners repeat","The story has a life of its own","It travels without being pushed"]},{letter:"Y",name:"Youth + Talent",color:"#7BA05B",role:"The people who supply the workforce and future leaders.",evidence:"Are people finding pathways into the ecosystem, advancing within it, and choosing to stay or return?",arc:["Pathways connect to employers","Employers are hiring through them","Talent stays and advances"]},{letter:"S",name:"Service Providers",color:"#8C6FA6",role:"The expertise and support that help organizations succeed.",evidence:"Can organizations find the expertise and support they need through stronger, more connected pathways?",arc:["The gaps are clear","Companies get help locally","Local expertise is durable"]},{letter:"T",name:"Trade + Industry Associations",color:"#C97B5A",role:"The networks that help firms act together on shared interests.",evidence:"Can firms identify shared interests and act on them together without relying on a single organizer?",arc:["The shared opportunity is clear","Firms produce a concrete shared win","The cluster carries collective weight on its own"]},{letter:"E",name:"Ecosystem Support Organizations",color:"#4FA3A5",role:"Organizations that make the ecosystem easier to navigate.",evidence:"Can people find the right support without relying on personal connections or a few key people?",arc:["No wrong door","Support works as a system","The capacity survives turnover"]},{letter:"M",name:"Money",color:"#B8892B",role:"The funding that enables ideas, companies, and growth.",evidence:"Is funding becoming more accessible, connected, and catalytic, not simply replacing the same dollars?",arc:["The funding picture is clear","Funding is aligned to real stages","Funding compounds locally"]}],qne=["Entrepreneurs","Storytellers","Trade + Industry Associations","Corporates","Youth + Talent","Ecosystem Support Organizations","Money","Service Providers","Government Organizations"],QR=qne.map(e=>v1.find(t=>t.name===e).color),Kne=[6,7,8].map(e=>QR[e]),LN=({letter:e,color:t,size:n=24})=>s.jsx("span",{"aria-hidden":"true",className:"font-display flex items-center justify-center shrink-0",style:{width:n,height:n,borderRadius:"50%",background:t,color:"#fff",fontWeight:700,fontSize:n*.58,lineHeight:1},children:e}),Zne=()=>{const[e,t]=P.useState(1),[n,r]=P.useState(null);P.useEffect(()=>{const a=Array.from(document.querySelectorAll(".pdf-page")),l=new IntersectionObserver(c=>{c.forEach(u=>{u.isIntersecting&&u.target.classList.add("is-visible")});const d=c.filter(u=>u.isIntersecting).sort((u,p)=>p.intersectionRatio-u.intersectionRatio)[0];d&&t(Number(d.target.dataset.page)||1)},{threshold:[.12,.4,.75]});return a.forEach(c=>l.observe(c)),()=>l.disconnect()},[]);const o=P.useCallback(a=>{var l;(l=document.getElementById(`ffc-page-${a}`))==null||l.scrollIntoView({behavior:"smooth",block:"start"})},[]),i=P.useCallback(()=>{const a=document.title,l=()=>{document.title=a,window.removeEventListener("afterprint",l)};window.addEventListener("afterprint",l),document.title=Une;try{window.print()}finally{window.setTimeout(l,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"The Ecosystem Edge® Process",description:"A shared way for funders, ecosystem builders, and field builders to see what's strengthening, decide what matters next, and act on it together.",path:"/process",image:"https://ecosystem-edge.com/ecosystem-edge-framework-og.jpg",noindex:!0}),s.jsx("style",{children:`
836        .pdf-page {
837          width: 8.5in;
838          height: 11in;
839          margin: 0 auto 26px;
840          background: #ffffff;
841          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
842          position: relative;
843          overflow: hidden;
844        }
845        .pdf-body { font-family: 'DM Sans', system-ui, sans-serif; font-size: ${Hne}px; line-height: ${Vne}; color: ${Fne}; text-wrap: pretty; }
846        .pdf-body h1, .pdf-body h2, .pdf-body h3 { text-wrap: balance; }
847        .callout, .lane-card, .num-chip { transition: box-shadow .22s ease, background-color .22s ease, transform .22s ease; }
848        .callout:hover { box-shadow: 0 10px 26px rgba(45,77,131,0.13); }
849        .lane-card:hover { box-shadow: 0 8px 20px rgba(45,77,131,0.12); transform: translateY(-2px); }
850
851        /* --- scroll reveal --- */
852        .pdf-page { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
853        .pdf-page.is-visible { opacity: 1; transform: none; }
854
855        /* --- page nav chips --- */
856        .pg-chip {
857          width: 28px; height: 28px; border-radius: 999px;
858          display: inline-flex; align-items: center; justify-content: center;
859          font-size: 12px; font-weight: 700; color: #5a6779;
860          background: rgba(45,77,131,0.07);
861          transition: background-color .18s ease, color .18s ease, transform .18s ease;
862        }
863        .pg-chip:hover { background: rgba(89,190,201,0.28); color: ${gt}; transform: translateY(-1px); }
864        .pg-chip[aria-current="true"] { background: ${gt}; color: #fff; }
865
866        /* --- strand cards (page 4) --- */
867        .strand-card {
868          text-align: left; width: 100%; cursor: pointer;
869          transition: box-shadow .22s ease, transform .22s ease, opacity .22s ease, border-color .22s ease;
870        }
871        .strand-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(45,77,131,0.16); }
872        .strand-card:focus-visible { outline: 2px solid ${Hn}; outline-offset: 2px; }
873        .strand-grid.has-selection .strand-card { opacity: .38; }
874        .strand-grid.has-selection .strand-card.is-selected {
875          opacity: 1; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(45,77,131,0.22);
876        }
877        .strand-detail {
878          position: absolute; inset: 0; z-index: 5;
879          background: rgba(255,255,255,0.97);
880          border-radius: 10px;
881          box-shadow: 0 18px 44px rgba(45,77,131,0.22);
882          padding: 16px 20px 18px;
883          display: flex; flex-direction: column;
884          animation: strandIn .22s ease both;
885        }
886        @keyframes strandIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
887
888        /* --- objective cards (page 3) --- */
889        .obj-card { cursor: pointer; transition: box-shadow .22s ease, transform .22s ease, opacity .22s ease; }
890        .obj-card:focus-visible { outline: 2px solid ${Hn}; outline-offset: 2px; }
891        .obj-grid:hover .obj-card:not(.is-selected),
892        .obj-grid:focus-within .obj-card:not(.is-selected) { opacity: .48; }
893        .obj-card.is-selected {
894          opacity: 1; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(45,77,131,0.18);
895        }
896        .print-only { display: none; }
897
898
899        /* --- five questions (page 5) --- */
900        .q-row { border-radius: 10px; padding: 6px 8px; margin: -6px -8px; transition: background-color .2s ease, transform .2s ease; }
901        .q-row:hover, .q-row:focus-visible { background: rgba(89,190,201,0.10); transform: translateX(3px); outline: none; }
902        .q-list:hover .q-row:not(:hover) { opacity: .62; transition: opacity .2s ease; }
903
904        /* --- cycle (page 6) --- */
905        .cycle-step { transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
906        .cycle-step:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(45,77,131,0.14); }
907        .cycle-arc path { transition: stroke-width .2s ease, opacity .2s ease; }
908        .cycle-wrap:hover .cycle-arc path { stroke-width: 4; opacity: 1; }
909
910        @media (prefers-reduced-motion: reduce) {
911          .callout, .lane-card, .num-chip, .pdf-page, .strand-card, .q-row, .cycle-step, .pg-chip { transition: none !important; animation: none !important; }
912          .pdf-page { opacity: 1 !important; transform: none !important; }
913          .lane-card:hover, .strand-card:hover, .cycle-step:hover, .q-row:hover { transform: none !important; }
914        }
915
916        @media print {
917          @page { size: letter; margin: 0; }
918          html, body { background: #ffffff !important; }
919          .no-print { display: none !important; }
920          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
921          .pdf-page {
922            box-shadow: none !important;
923            margin: 0 !important;
924            width: 100% !important;
925            height: 11in !important;
926            break-after: page;
927            page-break-after: always;
928            opacity: 1 !important;
929            transform: none !important;
930            transition: none !important;
931          }
932          .pdf-page:last-child { break-after: auto; page-break-after: auto; }
933          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
934          .callout, .lane-card, .num-chip, .strand-card, .cycle-step, .q-row {
935            transition: none !important; box-shadow: none !important; transform: none !important; opacity: 1 !important;
936          }
937
938          .strand-detail { display: none !important; }
939          .print-only { display: block !important; }
940          .obj-card { opacity: 1 !important; transform: none !important; box-shadow: none !important; }
941
942          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
943        }
944      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between gap-4 px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body hidden md:block",style:{fontSize:17.5,color:"#5a6779"},children:"Designed to print as a six-page PDF. Use Print, then Save as PDF (letter, no scaling)."}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("nav",{"aria-label":"Pages",className:"flex items-center gap-1.5",children:[1,2,3,4,5,6].map(a=>s.jsx("button",{type:"button",className:"pg-chip font-body","aria-current":e===a,"aria-label":`Go to page ${a}`,onClick:()=>o(a),children:a},a))}),s.jsxs("button",{onClick:i,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:18.5,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsx(Pc,{children:s.jsxs("div",{style:{padding:"0.46in 0.62in 0"},children:[s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:58}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:"#B8892B",fontWeight:700,marginTop:15,maxWidth:"6.6in",lineHeight:1.34,textWrap:"balance"},children:"The difference between an ecosystem that compounds and one that resets"}),s.jsxs("h1",{className:"font-display",style:{fontSize:52,lineHeight:1.07,color:gt,fontWeight:700,marginTop:10,maxWidth:"7.2in"},children:["The Ecosystem Edge®",s.jsx("br",{}),"Process"]}),s.jsxs("p",{style:{fontSize:20.5,lineHeight:1.34,color:"#5a6779",marginTop:10,maxWidth:"7.2in",fontStyle:"italic"},children:["A shared way for"," ",s.jsx("span",{style:{color:"#4C9A5A",fontStyle:"normal",fontWeight:600},children:"funders"}),", ",s.jsx("span",{style:{color:"#7B5EA7",fontStyle:"normal",fontWeight:600},children:"ecosystem builders"}),", and ",s.jsx("span",{style:{color:Hn,fontStyle:"normal",fontWeight:600},children:"field builders"})," ","to see what’s strengthening, decide what matters next, and act on it together."]}),s.jsx("p",{className:"font-body",style:{fontSize:16,lineHeight:1.34,color:"#6b7686",marginTop:7,maxWidth:"7.2in"},children:"Funders stop guessing where the next dollar matters. Ecosystem builders stop doing relationship work nobody sees. Field builders stop reinventing the wheel in every region."}),s.jsx("div",{style:{marginTop:20,marginLeft:"-0.62in",marginRight:"-0.62in",width:"8.5in"},children:s.jsx("img",{src:co,alt:"","aria-hidden":"true",loading:"eager",style:{display:"block",width:"100%",height:322,objectFit:"cover",objectPosition:"center"}})}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:13,marginTop:20,maxWidth:"7.2in"},children:[{k:"Decades of practice",v:"Refined over five years of use in the field.",c:Hn},{k:"Evaluator-tested",v:"Independently evaluated.",c:Bs},{k:"40+ ecosystems",v:"Across 15 states, from rural regions to major metros.",c:"#C4566E"}].map(a=>s.jsxs("div",{children:[s.jsx(wr,{color:a.c}),s.jsx("p",{className:"font-display",style:{fontSize:22.5,color:gt,fontWeight:700,marginTop:6},children:a.k}),s.jsx("p",{style:{fontSize:14.5,lineHeight:1.34,color:"#6b7686",marginTop:5},children:a.v})]},a.k))})]})}),s.jsxs(Pc,{page:2,children:[s.jsx(Ju,{eyebrow:"Why this exists",titleMaxWidth:"9.4in",titleSize:25,rule:!1,title:s.jsxs(s.Fragment,{children:["An ecosystem runs for three years.",s.jsx("br",{}),"It looks like it is working, until the money ends or key people leave."]}),kicker:"We built a better approach on decades of ecosystem building, refined over five years, stress-tested by evaluators and used across 40+ ecosystems in 15 states."}),s.jsxs(Xu,{children:[s.jsx(tt,{wave:"bottom",style:{padding:"9px 13px",borderTopLeftRadius:10,borderTopRightRadius:10},children:s.jsxs("p",{className:"font-display",style:{fontSize:17,lineHeight:1.34,color:"#fff",fontWeight:700},children:["What makes an ecosystem last isn’t a single grant. It’s the"," ",s.jsx("span",{style:{color:Bs}
944,children:"relationships, roles, and infrastructure"})," that let progress compound."]})}),s.jsxs("div",{className:"avoid-break flex items-center",style:{gap:14,marginTop:24,border:"1px solid rgba(45,77,131,0.16)",borderRadius:10,padding:"13px 13px"},children:[s.jsxs("div",{className:"flex items-center shrink-0",style:{gap:10},children:[s.jsx("img",{src:Nu.url,alt:"A wobbly stack of wooden blocks",style:{height:112,width:"auto",maxWidth:130,objectFit:"contain"}}),s.jsx("svg",{width:"38",height:"18",viewBox:"0 0 86 40","aria-hidden":"true",style:{flexShrink:0},children:s.jsx("path",{d:"M0 13 H54 V0 L86 20 L54 40 V27 H0 Z",fill:Hn})}),s.jsx("img",{src:ac.url,alt:"Many colored ropes braided into one",style:{height:112,width:"auto",maxWidth:130,objectFit:"contain"}})]}),s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:jn,letterSpacing:"0",fontWeight:700,color:Hn},children:"Straight-line thinking stacks. Systems thinking braids."}),s.jsx("p",{className:"font-display",style:{fontSize:21.5,lineHeight:1.2,color:gt,fontWeight:700,marginTop:4},children:"Healthy ecosystems don’t stack funding. They braid it."}),s.jsx("p",{style:{fontSize:jn+.4,lineHeight:1.34,marginTop:5},children:"Stack it and one wobble can bring it down. Braid it and no single strand carries the weight; each added strand strengthens the rest."})]})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:jn,letterSpacing:"0",fontWeight:700,color:Hn,marginTop:"auto",paddingTop:10},children:"What we do differently"}),s.jsx("h3",{className:"font-display",style:{fontSize:25,lineHeight:1.18,color:gt,fontWeight:700,marginTop:5,maxWidth:"7.4in"},children:"One shared picture, one process, repeated over time."}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.28,marginTop:4,maxWidth:"6.8in"},children:"Same ecosystem, same rigor. Your purpose changes which group sits at the center; everything else is prioritized by how well it supports that group. This is not benchmarking, ranking, or comparison. It is built from the reports and conversations already happening, so funders, ecosystem builders, and field builders all work from one picture."}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:8,marginTop:10},children:Gne.map(a=>{const l=br[a.node];return s.jsxs("div",{className:"flex flex-col items-center avoid-break",children:[s.jsx(yu,{size:112,centerIndex:a.node}),s.jsxs("p",{className:"font-display",style:{fontSize:17,lineHeight:1.25,color:gt,fontWeight:700,textAlign:"center",marginTop:2},children:["Centered on ",s.jsx("span",{style:{color:l.color},children:l.label})]})]},a.center)})}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.28,color:"#5a6779",marginTop:4,textAlign:"center",maxWidth:"6.8in",marginLeft:"auto",marginRight:"auto"},children:"Shared governance is always prioritized first and never centered. It is what lets progress hold."}),s.jsxs("p",{className:"avoid-break",style:{fontSize:DN,lineHeight:1.34,color:"#5a6779",marginTop:7,marginBottom:9,paddingTop:8,borderTop:"1px solid rgba(45,77,131,0.14)"},children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:jn,letterSpacing:"0",fontWeight:700,color:gt},children:"Region or sector, or both"})," ","for a region, work all nine strands across the geography. For an industry, work the same nine within the sector: “Corporates” becomes the industry’s anchor firms, “Money” becomes the sector’s investors."]}),s.jsxs(tt,{waveHeight:um,style:dm,children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Bs,fontWeight:700},children:"One important guidepost: advance together, never rank"}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.34,color:"#fff",fontWeight:700,marginTop:5},children:"A rural region three years in and a metro ten years in are not comparable. Each place moves against its own trajectory, and the shared language surfaces patterns everyone can learn from, never a leaderboard."})]})]})]}),s.jsxs(Pc,{page:3,children:[s.jsx(Ju,{eyebrow:"What we look at together",titleMaxWidth:"6.3in",title:s.jsx(s.Fragment,{children:"Nine partner groups and shared governance. One question for each: is it getting stronger?"}),kicker:"The strands also surface who isn’t at the table yet, and whose work nobody can see.",kickerStrong:!0,rule:!1}),s.jsxs(Xu,{style:{display:"flex",flexDirection:"column",minHeight:"7.35in"},children:[s.jsxs("div",{className:"relative",children:[s.jsx("div",{className:`grid strand-grid${n?" has-selection":""}`,style:{gridTemplateColumns:"1fr 1fr 1fr",columnGap:18,rowGap:5,alignItems:"stretch",gridAutoRows:"1fr"},children:v1.map(a=>s.jsxs("button",{type:"button",onClick:()=>r(l=>l===a.name?null:a.name),"aria-expanded":n===a.name,className:`lane-card strand-card avoid-break${n===a.name?" is-selected":""}`,style:{border:"1px solid rgba(45,77,131,0.14)",borderRadius:10,background:"#fff",padding:"0 0 5px",overflow:"hidden",display:"flex",flexDirection:"column"},children:[s.jsx("span",{style:{display:"block",paddingTop:3},children:s.jsx(wr,{color:a.color,height:7})}),s.jsxs("span",{style:{display:"flex",alignItems:"center",gap:8,padding:"2px 9px 0",minHeight:44},children:[s.jsx(LN,{letter:a.letter,color:a.color,size:36}),s.jsx("p",{className:"font-display",style:{fontSize:17.5,lineHeight:1.18,color:gt,fontWeight:700},children:a.name})]}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.2,color:"#4b5565",marginTop:2,padding:"0 9px",minHeight:49},children:a.role}),s.jsxs("span",{style:{display:"block",marginTop:"auto",paddingTop:3,margin:"0 11px",borderTop:"1px solid rgba(45,77,131,0.1)"},children:[s.jsx("span",{className:"font-body uppercase",style:{display:"block",fontSize:13.5,letterSpacing:"0",fontWeight:700,color:a.color},children:"Success looks like"}),s.jsx("span",{style:{display:"block",fontSize:13.5,lineHeight:1.2,color:"#6b7686",marginTop:1},children:a.evidence})]})]},`${a.letter}-${a.name}`))}),n&&(()=>{const a=v1.find(l=>
944l.name===n);return s.jsxs("div",{className:"strand-detail no-print",role:"dialog","aria-label":`${a.name} detail`,children:[s.jsxs("div",{className:"flex items-start justify-between",style:{gap:13},children:[s.jsxs("div",{className:"flex items-center",style:{gap:8},children:[s.jsx(LN,{letter:a.letter,color:a.color,size:30}),s.jsx("p",{className:"font-display",style:{fontSize:29.5,color:gt,fontWeight:700,lineHeight:1.1},children:a.name})]}),s.jsx("button",{type:"button",onClick:()=>r(null),className:"font-body",style:{fontSize:16,color:"#6b7686",fontWeight:600},children:"Close ×"})]}),s.jsx("span",{style:{display:"block",marginTop:6},children:s.jsx(wr,{color:a.color,height:8})}),s.jsx("p",{style:{fontSize:18,lineHeight:1.34,marginTop:8,maxWidth:"7.2in"},children:a.role}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:a.color,marginTop:10},children:"Success looks like"}),s.jsx("p",{style:{fontSize:17,lineHeight:1.34,marginTop:4,color:"#4b5565",maxWidth:"7.2in"},children:a.evidence}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:"#8d97a6",marginTop:11},children:"Over time"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:10,marginTop:6},children:a.arc.map((l,c)=>s.jsxs("div",{style:{borderTop:`3px solid ${a.color}`,paddingTop:7},children:[s.jsx("p",{className:"font-body",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:a.color},children:["EARLY","BUILDING","DURABLE"][c]}),s.jsx("p",{style:{fontSize:16,lineHeight:1.32,marginTop:4,color:"#4b5565"},children:l})]},l))})]})})()]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:0,marginBottom:0},children:[s.jsx("div",{style:{padding:"0 5px",maxWidth:380,margin:"0 auto"},children:s.jsx(of,{strands:QR,cord:Kne,height:72,plaitWidth:18})}),s.jsxs("div",{className:"avoid-break",style:{border:"1px solid rgba(110,119,132,0.22)",borderTop:`3px solid ${Pe}`,borderRadius:10,background:"rgba(110,119,132,0.07)",padding:"5px 12px 6px",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsxs("div",{className:"flex items-center",style:{gap:9},children:[s.jsx(oc,{size:36}),s.jsx("p",{className:"font-display",style:{fontSize:17.5,lineHeight:1.18,color:gt,fontWeight:700},children:"Governance"}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Pe,fontWeight:700,marginLeft:"auto"},children:"Where the strands come together"})]}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.2,marginTop:2,color:"#4b5565"},children:"Shared governance is the backbone, not a tenth strand."}),s.jsxs("p",{style:{fontSize:13.5,lineHeight:1.2,marginTop:2,color:"#6b7686"},children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:Pe},children:"Success looks like"})," ","Are shared priorities, decisions, and responsibilities clear and durable?"]})]})]}),s.jsx(tt,{waveHeight:um,style:dm,children:s.jsx("p",{className:"font-display",style:{fontSize:16,lineHeight:1.3,color:"#fff",fontWeight:700},children:"Funding compounds when the system underneath it is braided, and resets when it isn’t."})})]})]}),s.jsxs(Pc,{page:4,children:[s.jsx(Ju,{eyebrow:"How to distinguish progress from activity",titleMaxWidth:"6.9in",title:s.jsx(s.Fragment,{children:"Five questions help separate real ecosystem progress from costly activity."}),rule:!1}),s.jsxs(Xu,{children:[s.jsx(tt,{wave:"bottom",style:{padding:"8px 13px",borderTopLeftRadius:10,borderTopRightRadius:10},children:s.jsxs("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:"#fff",fontWeight:700},children:["Together, they answer one question: is this ecosystem getting stronger, and is that progress"," ",s.jsx("span",{style:{color:Bs},children:"compounding"}),"?"]})}),s.jsxs("div",{className:"q-list grid",style:{gridTemplateColumns:"1fr 1fr",gap:22,marginTop:"auto",marginBottom:"auto",alignItems:"stretch",flexShrink:0},children:[s.jsx(eh,{n:"1",tag:"Pace",accent:gt,title:"Are the goals right for the phase this ecosystem is in?",children:"Start with where the ecosystem is, then agree what progress looks like at that stage. Partner groups run on different clocks, and a grant deadline may not match the pace a strand genuinely moves at."}),s.jsx(eh,{n:"2",tag:"Build / Buy / Partner",accent:Bs,title:"Are we building, buying, or partnering for the right capabilities?",children:"Not every capability needs to be built or owned locally. Ask what the ecosystem needs to own for the long term, and what it can reliably access from others."}),s.jsx(eh,{n:"3",tag:"Embeddedness",accent:Hn,title:"Is what was built becoming part of how the ecosystem works?",children:"A project can be completed without changing the system. Look for a new tool, practice, relationship, pathway, or capability being taken up into how people normally work. This includes shared governance: whether joint decisions, a common data structure, and agreed responsibilities are becoming how the network operates day to day."}),s.jsx(eh,{n:"4",tag:"Durability",accent:"#4C9A5A",title:"Does the progress hold without a permanent center or a champion?",children:"Look for what remains when people, funding, leadership, or priorities change. Are the relationships still working? Does the capability outlast a key person leaving? Continuity does not require one institution at the center; it requires responsibilities that survive a person leaving."}),s.jsxs(eh,{n:"5",tag:"Accountability",accent:"#7B5EA7",span:!0,title:"Is this an outcome the ecosystem builder can meaningfully influence?",children:["Ecosystem outcomes are shared. Distinguish what the builder controls, influences, contributes to, and simply needs to watch so accountability and attribution match their actual role.",s.jsx("span",{style:{display:"block",marginTop:5},children:s.jsx(Yne,{compact:!0})})]})]}),s.jsxs(tt,{waveHeight:um,style:{...dm,marginTop:0},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Bs,fontWeight:700},children:"What you’re ultimately looking for"}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:"#fff",fontWeight:700,marginTop:5},children:"Is this ecosystem becoming more connected, and is that connective infrastru
944cture strong enough to outlast the people, champions, and grants that helped create it?"})]})]})]}),s.jsxs(Pc,{page:5,children:[s.jsx(Ju,{eyebrow:"How the process runs",titleMaxWidth:"6.9in",title:s.jsx(s.Fragment,{children:"Six sessions over twelve months."}),kickerSize:17.5,kicker:"The Scorecard opens and closes the year, so you see a trajectory, not a snapshot.",rule:!1}),s.jsxs(Xu,{style:{paddingTop:6},children:[s.jsx("div",{className:"flex items-center",style:{gap:6},children:WN.map((a,l)=>s.jsxs(x.Fragment,{children:[l>0&&s.jsx("span",{"aria-hidden":"true",className:"font-display",style:{fontSize:20,fontWeight:700,color:"rgba(45,77,131,0.42)",lineHeight:1},children:">"}),s.jsx("div",{style:{flex:1,borderRadius:10,padding:"3px 10px",background:`${a.color}14`,borderTop:`3px solid ${a.color}`,textAlign:"center",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:s.jsxs("span",{className:"inline-flex items-center justify-center",style:{gap:6},children:[s.jsx(a.Icon,{size:15,color:a.color,"aria-hidden":"true"}),s.jsx("span",{className:"font-display",style:{fontSize:20,letterSpacing:"0",fontWeight:700,color:a.color},children:a.label})]})})]},a.label))}),s.jsx("div",{style:{marginTop:0},children:s.jsx(wi,{variant:"print",responsive:!1})}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:"#8d97a6",fontWeight:700,marginTop:4},children:"12-month cycle"}),s.jsxs("svg",{viewBox:"0 0 1000 30",style:{width:"100%",height:13,marginTop:4,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},preserveAspectRatio:"none","aria-hidden":"true",children:[WN.map(a=>s.jsx("rect",{x:Rc(a.from)-1e3/24,y:9,width:Rc(a.to)-Rc(a.from)+1e3/12,height:12,rx:6,fill:a.color,opacity:.92},a.label)),Array.from({length:12},(a,l)=>l+1).map(a=>s.jsx("line",{x1:Rc(a),y1:8,x2:Rc(a),y2:22,stroke:"rgba(255,255,255,0.6)",strokeWidth:2},a)),$N.map(a=>s.jsx("circle",{cx:Rc(a.at),cy:15,r:7,fill:Bs,stroke:"#ffffff",strokeWidth:2.5},a.at))]}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr 1fr",gap:8,marginTop:3},children:$N.map(a=>s.jsxs("div",{style:{borderTop:`2px solid ${Bs}`,paddingTop:4},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:jn-1.2,letterSpacing:"0",color:"#8d97a6",fontWeight:700},children:a.when}),s.jsx("p",{style:{fontSize:jn-.4,lineHeight:1.28,color:"#4b5565",marginTop:2},children:a.label})]},a.at))}),s.jsxs("div",{className:"relative",style:{height:16,marginTop:5,marginBottom:0,display:"flex",alignItems:"center",justifyContent:"center"},children:[s.jsxs("svg",{viewBox:"0 0 1000 40",preserveAspectRatio:"none",style:{position:"absolute",inset:0,width:"100%",height:"100%"},"aria-hidden":"true",children:[s.jsx("path",{d:"M960 4 C960 32, 900 36, 820 36 L180 36 C100 36, 40 32, 40 4",fill:"none",stroke:gt,strokeWidth:"2.5",strokeDasharray:"7 7",opacity:.55}),s.jsx("path",{d:"M40 16 L34 2 L46 2 Z",fill:gt})]}),s.jsx("p",{style:{position:"relative",zIndex:1,background:"#fff",padding:"0 8px",fontSize:jn,color:gt,fontStyle:"italic"},children:"At 12 months, re-run the Scorecard to see what moved against the 2 to 3 year plan"})]}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:5,marginTop:2},children:He.map((a,l)=>s.jsxs("div",{className:"avoid-break",style:{background:"#fff",border:"1px solid rgba(45,77,131,0.14)",borderTop:`3px solid ${a.accent}`,borderRadius:10,padding:"3px 7px 4px",display:"flex",flexDirection:"column",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("p",{className:"font-body",style:{fontSize:jn,fontWeight:700,letterSpacing:"0",color:a.accent},children:a.num}),s.jsx("p",{className:"font-display",style:{fontSize:16.5,fontWeight:700,color:gt,lineHeight:1.18,marginTop:1},children:a.kind}),s.jsx("span",{style:{display:"block",width:28,height:2,background:a.accent,borderRadius:2,marginTop:4}}),s.jsx("div",{className:"flex items-center justify-center",style:{marginTop:2},children:s.jsx(tu,{index:l,accent:a.accent,width:48})}),s.jsxs("div",{style:{marginTop:4,paddingTop:5,borderTop:"1px solid rgba(45,77,131,0.10)"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:jn-.8,letterSpacing:"0",color:"#8d97a6",fontWeight:700},children:"Your ecosystem gets"}
944),s.jsx("ul",{style:{marginTop:3,display:"grid",gap:2},children:Jr[l].map(c=>s.jsxs("li",{className:"flex",style:{gap:5,fontSize:jn,lineHeight:1.24,color:a.accent,fontWeight:600},children:[s.jsx("span",{"aria-hidden":"true",style:{display:"block",width:4,height:4,borderRadius:999,background:a.accent,marginTop:5,flexShrink:0}}),s.jsx("span",{children:c})]},c))})]})]},a.num))}),s.jsxs(tt,{waveHeight:um,style:dm,children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Bs,fontWeight:700},children:"What the year produces"}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:"#fff",fontWeight:700,marginTop:5},children:"A shared picture, a two to three year plan with owners, an operating model that runs it, and a funding strategy that outlasts any one grant."})]})]})]}),s.jsxs(Pc,{page:6,children:[s.jsx(Ju,{eyebrow:"What this gives you, and where to start",titleMaxWidth:"6.9in",title:s.jsx(s.Fragment,{children:"See where the next move can change the system, not just support it."}),kicker:s.jsx("span",{style:{display:"block",lineHeight:1.3},children:"Underresourced is often under-woven. The question isn’t how much you have, but where to put what you already have for the most impact: where a gap holds things back, a relationship unlocks resources you are not using yet, or a small, well-placed move builds lasting capacity."}),rule:!1}),s.jsxs(Xu,{children:[s.jsxs("div",{className:"grid avoid-break",style:{gridTemplateColumns:"1.62fr 1fr",gap:9,alignItems:"stretch"},children:[s.jsxs("div",{className:"flex flex-col justify-center",style:{border:"1px solid rgba(45,77,131,0.18)",borderLeft:`5px solid ${Bs}`,background:"rgba(45,77,131,0.04)",padding:"6px 12px 7px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:24,lineHeight:1.18,color:gt,fontWeight:700},children:"Bring this to your ecosystem →"}),s.jsx("p",{style:{fontSize:14,lineHeight:1.22,fontStyle:"italic",marginTop:3},children:"Begin with one place. Over twelve months, together we build a shared picture of the ecosystem today, name what would strengthen it next, and put owners on it. At twelve months, re-run the scorecard to see what moved, then carry the same picture forward across a portfolio, a region, or a network."})]}),s.jsx("div",{style:{overflow:"hidden",borderRadius:10,border:"1px solid rgba(45,77,131,0.18)",minHeight:150},children:s.jsx("img",{src:hf,alt:"Partners marking the Ecosystem Edge scorecard together during a working session",style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center 60%"}})})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Hn,fontWeight:700,marginTop:"auto",paddingTop:2},children:"A shared way to reveal, clarify, and activate together"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:9,marginTop:5},children:[{t:"For funders",c:"#4C9A5A",items:["See progress earlier: movement in the ecosystem before it shows up in jobs, companies, or funding.","See your portfolio differently: compare patterns, gaps, and trajectories, not regions against one another.","Make each dollar more strategic: fill a gap, unlock resources, and build lasting capacity."]},{t:"For ecosystem builders",c:"#7B5EA7",items:["Work from the same picture: see the ecosystem alongside your funder and anyone supporting you, in one language.","Turn findings into action: every priority leads to a clear next step and owner.","Show progress before outcomes land: evidence of movement you can bring to funders and boards."]},{t:"For field builders",c:Hn,items:["One shared language, so what a region learns can travel to the next one.","Scaffolded patterns: a repeatable practice a community can carry and adapt.","A quick-launch repeatable process you can run with your own communities of practice, without building it from scratch."]}].map(a=>s.jsxs("div",{style:{border:"1px solid #e4e7ec",borderTop:`4px solid ${a.c}`,borderRadius:10,overflow:"hidden",padding:"5px 9px 5px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:17,color:a.c,fontWeight:700,lineHeight:1.16},children:a.t}
944),s.jsx("ul",{style:{marginTop:3,display:"grid",gap:2},children:a.items.map(l=>s.jsxs("li",{className:"flex",style:{gap:6,fontSize:jn,lineHeight:1.22},children:[s.jsx("span",{"aria-hidden":"true",style:{color:a.c,fontWeight:700},children:"•"}),s.jsx("span",{children:l})]},l))})]},a.t))}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Hn,fontWeight:700,marginTop:8},children:"What the year asks, and what you get"}),s.jsx("div",{className:"grid avoid-break",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:9,marginTop:5,marginBottom:"auto"},children:[{k:"What we bring",h:"Facilitation and tools.",v:"All six sessions facilitated, the scorecard and its tools, and coaching between sessions so the work keeps moving.",c:gt},{k:"What you commit",h:"A core group and the time.",v:"A core group of partners, six half-day sessions across twelve months, and one named owner for each priority.",c:Hn},{k:"What you have at 12 months",h:"A picture, priorities, and proof.",v:"A shared picture of the ecosystem, priorities with owners and next steps, and a re-run scorecard showing what moved.",c:Bs}].map(a=>s.jsxs("div",{style:{borderTop:`3px solid ${a.c}`,paddingTop:5},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:a.c,fontWeight:700},children:a.k}),s.jsx("p",{style:{fontSize:DN,lineHeight:1.24,color:gt,fontWeight:600,marginTop:2},children:a.h}),s.jsx("p",{style:{fontSize:jn,lineHeight:1.22,color:"#5a6779",marginTop:2},children:a.v})]},a.k))}),s.jsxs(tt,{waveHeight:15,style:{marginTop:"auto",padding:"4px 21px 3px",borderBottomLeftRadius:12,borderBottomRightRadius:12,position:"relative",overflow:"hidden"},children:[s.jsxs("div",{className:"flex items-center justify-between relative",style:{gap:18,zIndex:1},children:[s.jsxs("div",{style:{maxWidth:"4.6in"},children:[s.jsx("p",{className:"font-display",style:{fontSize:22.5,lineHeight:1.18,color:"#fff",fontWeight:700},children:"Bring this to your ecosystem."}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.26,color:"rgba(255,255,255,0.84)",marginTop:4},children:"You leave with partners aligned, priorities named, and owners in place, plus a shared picture you re-run each year to see what changed."})]}),s.jsx("div",{className:"shrink-0 flex flex-col items-center justify-center",style:{width:210,height:62},children:s.jsx("a",{className:"font-body uppercase",href:"https://ecosystem-edge.com",target:"_blank",rel:"noreferrer",style:{background:Bs,color:"#2a1f06",fontWeight:700,fontSize:16.5,letterSpacing:"0",padding:"8px 13px",borderRadius:8,whiteSpace:"nowrap",textDecoration:"none",boxShadow:"0 6px 18px rgba(0,0,0,0.28)"},children:"Build with us →"})})]}),s.jsxs("div",{className:"flex items-center justify-between relative",style:{marginTop:6,paddingTop:6,borderTop:`1px solid ${Hn}55`,gap:13,zIndex:1},children:[s.jsx("div",{className:"flex",style:{gap:21},children:[{n:"Amy Beaird, PhD",e:"[email protected]"},{n:"Dawn Haynes, MBA",e:"[email protected]"}].map(a=>s.jsxs("div",{className:"shrink-0",style:{whiteSpace:"nowrap"},children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:"#fff",fontWeight:700,lineHeight:1.2},children:a.n}),s.jsx("p",{style:{fontSize:jn,color:"rgba(255,255,255,0.82)",marginTop:2},children:a.e})]},a.n))}),s.jsx("p",{className:"font-display shrink-0",style:{fontSize:17.5,color:Hn,fontWeight:700,letterSpacing:"0",whiteSpace:"nowrap"},children:"ecosystem-edge.com"})]})]})]})]})]})]})},yt="#2D4D83",an="#59BEC9",Fs="#E2B673",Qne="#3d4757",Jne=15.5,MN=14.5,Sn=13.5,Xne=1.34,ese="The Ecosystem Edge® Process, Field Builder Edition - Ecosystem Edge®",tse=[{center:"Startup growth and founder retention",node:0,read:"Investors, corporates, and support organizations are prioritized by how well they support founders."},{center:"Good jobs, hiring, and advancement",node:4,read:"Employers, talent organizations, and service providers are prioritized by how well they support workers."},{center:"Industry and anchor-sector growth",node:1,read:"Associations, government, and money are prioritized by how well they support industry growth."}],hm={marginTop:"auto",marginBottom:0,padding:"6px 14px 7px",borderBottomLeftRadius:10,borderBottomRightRadius:10},pm=14,BN=[{label:"Reveal",Icon:Uo,color:yt,from:1,to:4},{label:"Clarify",Icon:Er,color:"#2F8C97",from:5,to:8},{label:"Activate",Icon:Go,color:"#A9762B",from:9,to:12}],FN=[{at:3,when:"Month 3",label:"Shared picture, ecosystem and initiatives map complete"},{at:5.5,when:"Month 5 to 6",label:"2 to 3 year plan set, goals and measures agreed"},{at:9,when:"Month 9",label:"Operating model live, owners and responsibilities assigned"},{at:12,when:"Month 12",label:"Funding and business model mapped, Scorecard re-run"}],zc=e=>1e3*(e-.5)/12,Ic=({children:e,page:t,label:n,dark:r})=>s.jsxs("section",{id:`ffc-page-${t??1}`,"data-page":t??1,className:"pdf-page pdf-body",style:r?{background:yt,color:"#fff"}:void 0,children:[s.jsx("div",{style:{height:6,background:`linear-gradient(90deg, ${yt} 0%, ${an} 55%, ${Fs} 100%)`,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}}),t?s.jsx("img",{src:ct,alt:"","aria-hidden":"true",style:{position:"absolute",top:"0.42in",right:"0.62in",height:46,opacity:1,zIndex:4,pointerEvents:"none"}}
944):null,s.jsx("div",{style:{height:t?"10.28in":"9.88in",display:"flex",flexDirection:"column",overflow:"hidden"},children:e}),t?s.jsxs("div",{className:"flex items-end justify-between",style:{margin:"0.06in 0.55in 0",borderTop:`1px solid ${r?"rgba(255,255,255,0.22)":"rgba(45,77,131,0.14)"}`,paddingTop:7},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:Sn,letterSpacing:"0",color:r?"rgba(255,255,255,0.6)":"#8d97a6"},children:n??"The Ecosystem Edge® Process · For field builders"}),s.jsxs("p",{className:"font-body",style:{fontSize:Sn,letterSpacing:"0",color:r?"rgba(255,255,255,0.6)":"#8d97a6"},children:["© 2026 Ecosystem Edge® · ",t]})]}):null]}),th=({eyebrow:e,title:t,kicker:n,kickerStrong:r,kickerSize:o,titleMaxWidth:i,titleSize:a,rule:l=!0})=>s.jsxs("div",{style:{padding:"0.58in 0.55in 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:an,fontWeight:700},children:e}),s.jsx("h2",{className:"font-display",style:{fontSize:a??25,lineHeight:1.14,color:yt,fontWeight:700,marginTop:4,maxWidth:i??"6.3in"},children:t}),n?s.jsx("p",{className:r?"font-display":void 0,style:r?{fontSize:18.5,lineHeight:1.28,color:yt,fontWeight:700,fontStyle:"italic",marginTop:4,maxWidth:"6.6in"}:{fontSize:o??16,lineHeight:1.28,color:"#6b7686",fontStyle:"italic",marginTop:4,maxWidth:"7.2in"},children:n}):null,l?s.jsx("div",{style:{marginTop:5},children:s.jsx(Oy,{})}):null]}),nh=({children:e,style:t})=>s.jsx("div",{style:{padding:"5px 0.55in 0",flex:1,display:"flex",flexDirection:"column",...t},children:e}),nse=({compact:e})=>{const t=[{role:"Control",d:"what they directly deliver or decide",rule:Pe,tint:`${Pe}2E`},{role:"Influence",d:"what they meaningfully move through others",rule:`${Pe}BF`,tint:`${Pe}20`},{role:"Contribution",d:"what they help create alongside other actors",rule:`${Pe}80`,tint:`${Pe}14`},{role:"Interest",d:"what they watch and learn from, but cannot claim",rule:`${Pe}4D`,tint:`${Pe}0B`}];return s.jsx("span",{style:{display:"block"},children:s.jsx("span",{style:{display:"grid",gridTemplateColumns:e?"1fr 1fr":"1fr 1fr 1fr 1fr",gap:5},children:t.map(n=>s.jsxs("span",{style:{display:"block",borderTop:`3px solid ${n.rule}`,background:n.tint,padding:"5px 7px 6px"},children:[s.jsx("span",{className:"font-body uppercase",style:{display:"block",fontSize:Sn,letterSpacing:"0",fontWeight:700,color:Pe},children:n.role}),s.jsx("span",{style:{display:"block",fontSize:Sn,lineHeight:1.3,color:"#4b5565",marginTop:2},children:n.d})]},n.role))})})},sh=({n:e,title:t,children:n,tag:r,accent:o=yt,span:i})=>s.jsxs("div",{className:"avoid-break q-row",tabIndex:0,style:{gridColumn:i?"1 / -1":void 0,height:"auto",display:"flex",flexDirection:"column",border:"1px solid rgba(45,77,131,0.14)",borderTop:`3px solid ${o}`,borderRadius:10,overflow:"hidden",background:"#fff",padding:"12px 12px 13px"},children:[s.jsxs("div",{className:"flex items-center",style:{gap:6},children:[s.jsx("span",{className:"font-body num-chip inline-flex items-center justify-center shrink-0","aria-hidden":"true",style:{width:20,height:20,borderRadius:999,background:o,color:"#fff",fontSize:14,fontWeight:700,lineHeight:1},children:e}),r?s.jsx("span",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:o},children:r}):null]}),s.jsx("p",{className:"font-display",style:{fontSize:18.5,color:yt,fontWeight:700,lineHeight:1.22,marginTop:6},children:t}),s.jsx("div",{style:{fontSize:Sn+.4,lineHeight:1.26,marginTop:4},children:n})]}),b1=[{letter:"E",name:"Entrepreneurs",color:"#C4566E",role:"The founders and companies building what comes next.",evidence:"Do entrepreneurs have stronger pathways to start, grow, stay, and contribute back?",arc:["Founders know where to turn","Connections produce pilots and revenue","Founders stay, mentor, and reinvest"]},{letter:"C",name:"Corporates",color:"#59BEC9",role:"The customers, employers, and anchor firms that create demand.",evidence:"Are relationships between companies and the ecosystem becoming stronger and more durable?",arc:["A mapped relationship with a real next step","Resources are genuinely flowing","The region is anchored"]},{letter:"O",name:"Government Organizations",color:"#3F7CA8",role:"Public partners with convening power, resources, and influence.",evidence:"Can public partners co
944ordinate around shared priorities, even as leaders, budgets, and policies change?",arc:["Mandates clear and coordination starts","Public support becomes coherent","It survives an election or budget transition"]},{letter:"S",name:"Storytellers",color:"#E2B673",role:"The people who make the ecosystem’s work visible and understood.",evidence:"Is the ecosystem understood and represented by people beyond those doing the work?",arc:["A shared story partners repeat","The story has a life of its own","It travels without being pushed"]},{letter:"Y",name:"Youth + Talent",color:"#7BA05B",role:"The people who supply the workforce and future leaders.",evidence:"Are people finding pathways into the ecosystem, advancing within it, and choosing to stay or return?",arc:["Pathways connect to employers","Employers are hiring through them","Talent stays and advances"]},{letter:"S",name:"Service Providers",color:"#8C6FA6",role:"The expertise and support that help organizations succeed.",evidence:"Can organizations find the expertise and support they need through stronger, more connected pathways?",arc:["The gaps are clear","Companies get help locally","Local expertise is durable"]},{letter:"T",name:"Trade + Industry Associations",color:"#C97B5A",role:"The networks that help firms act together on shared interests.",evidence:"Can firms identify shared interests and act on them together without relying on a single organizer?",arc:["The shared opportunity is clear","Firms produce a concrete shared win","The cluster carries collective weight on its own"]},{letter:"E",name:"Ecosystem Support Organizations",color:"#4FA3A5",role:"Organizations that make the ecosystem easier to navigate.",evidence:"Can people find the right support without relying on personal connections or a few key people?",arc:["No wrong door","Support works as a system","The capacity survives turnover"]},{letter:"M",name:"Money",color:"#B8892B",role:"The funding that enables ideas, companies, and growth.",evidence:"Is funding becoming more accessible, connected, and catalytic, not simply replacing the same dollars?",arc:["The funding picture is clear","Funding is aligned to real stages","Funding compounds locally"]}],sse=["Entrepreneurs","Storytellers","Trade + Industry Associations","Corporates","Youth + Talent","Ecosystem Support Organizations","Money","Service Providers","Government Organizations"],JR=sse.map(e=>b1.find(t=>t.name===e).color),rse=[6,7,8].map(e=>JR[e]),HN=({letter:e,color:t,size:n=24})=>s.jsx("span",{"aria-hidden":"true",className:"font-display flex items-center justify-center shrink-0",style:{width:n,height:n,borderRadius:"50%",background:t,color:"#fff",fontWeight:700,fontSize:n*.58,lineHeight:1},children:e}),ose=()=>{const[e,t]=P.useState(1),[n,r]=P.useState(null);P.useEffect(()=>{const a=Array.from(document.querySelectorAll(".pdf-page")),l=new IntersectionObserver(c=>{c.forEach(u=>{u.isIntersecting&&u.target.classList.add("is-visible")});const d=c.filter(u=>u.isIntersecting).sort((u,p)=>p.intersectionRatio-u.intersectionRatio)[0];d&&t(Number(d.target.dataset.page)||1)},{threshold:[.12,.4,.75]});return a.forEach(c=>l.observe(c)),()=>l.disconnect()},[]);const o=P.useCallback(a=>{var l;(l=document.getElementById(`ffc-page-${a}`))==null||l.scrollIntoView({behavior:"smooth",block:"start"})},[]),i=P.useCallback(()=>{const a=document.title,l=()=>{document.title=a,window.removeEventListener("afterprint",l)};window.addEventListener("afterprint",l),document.title=ese;try{window.print()}finally{window.setTimeout(l,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"The Ecosystem Edge® Process, Field Builder Edition",description:"One common process every ecosystem in a network can run the same way, so what one region learns can travel to the next.",path:"/process-field-builder",image:"https://ecosystem-edge.com/ecosystem-edge-framework-og.jpg",noindex:!0}),s.jsx("style",{children:`
945        .pdf-page {
946          width: 8.5in;
947          height: 11in;
948          margin: 0 auto 26px;
949          background: #ffffff;
950          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
951          position: relative;
952          overflow: hidden;
953        }
954        .pdf-body { font-family: 'DM Sans', system-ui, sans-serif; font-size: ${Jne}px; line-height: ${Xne}; color: ${Qne}; text-wrap: pretty; }
955        .pdf-body h1, .pdf-body h2, .pdf-body h3 { text-wrap: balance; }
956        .callout, .lane-card, .num-chip { transition: box-shadow .22s ease, background-color .22s ease, transform .22s ease; }
957        .callout:hover { box-shadow: 0 10px 26px rgba(45,77,131,0.13); }
958        .lane-card:hover { box-shadow: 0 8px 20px rgba(45,77,131,0.12); transform: translateY(-2px); }
959
960        /* --- scroll reveal --- */
961        .pdf-page { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
962        .pdf-page.is-visible { opacity: 1; transform: none; }
963
964        /* --- page nav chips --- */
965        .pg-chip {
966          width: 28px; height: 28px; border-radius: 999px;
967          display: inline-flex; align-items: center; justify-content: center;
968          font-size: 12px; font-weight: 700; color: #5a6779;
969          background: rgba(45,77,131,0.07);
970          transition: background-color .18s ease, color .18s ease, transform .18s ease;
971        }
972        .pg-chip:hover { background: rgba(89,190,201,0.28); color: ${yt}; transform: translateY(-1px); }
973        .pg-chip[aria-current="true"] { background: ${yt}; color: #fff; }
974
975        /* --- strand cards (page 4) --- */
976        .strand-card {
977          text-align: left; width: 100%; cursor: pointer;
978          transition: box-shadow .22s ease, transform .22s ease, opacity .22s ease, border-color .22s ease;
979        }
980        .strand-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(45,77,131,0.16); }
981        .strand-card:focus-visible { outline: 2px solid ${an}; outline-offset: 2px; }
982        .strand-grid.has-selection .strand-card { opacity: .38; }
983        .strand-grid.has-selection .strand-card.is-selected {
984          opacity: 1; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(45,77,131,0.22);
985        }
986        .strand-detail {
987          position: absolute; inset: 0; z-index: 5;
988          background: rgba(255,255,255,0.97);
989          border-radius: 10px;
990          box-shadow: 0 18px 44px rgba(45,77,131,0.22);
991          padding: 16px 20px 18px;
992          display: flex; flex-direction: column;
993          animation: strandIn .22s ease both;
994        }
995        @keyframes strandIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
996
997        /* --- objective cards (page 3) --- */
998        .obj-card { cursor: pointer; transition: box-shadow .22s ease, transform .22s ease, opacity .22s ease; }
999        .obj-card:focus-visible { outline: 2px solid ${an}; outline-offset: 2px; }
1000        .obj-grid:hover .obj-card:not(.is-selected),
1001        .obj-grid:focus-within .obj-card:not(.is-selected) { opacity: .48; }
1002        .obj-card.is-selected {
1003          opacity: 1; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(45,77,131,0.18);
1004        }
1005        .print-only { display: none; }
1006
1007
1008        /* --- five questions (page 5) --- */
1009        .q-row { border-radius: 10px; padding: 6px 8px; margin: -6px -8px; transition: background-color .2s ease, transform .2s ease; }
1010        .q-row:hover, .q-row:focus-visible { background: rgba(89,190,201,0.10); transform: translateX(3px); outline: none; }
1011        .q-list:hover .q-row:not(:hover) { opacity: .62; transition: opacity .2s ease; }
1012
1013        /* --- cycle (page 6) --- */
1014        .cycle-step { transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
1015        .cycle-step:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(45,77,131,0.14); }
1016        .cycle-arc path { transition: stroke-width .2s ease, opacity .2s ease; }
1017        .cycle-wrap:hover .cycle-arc path { stroke-width: 4; opacity: 1; }
1018
1019        @media (prefers-reduced-motion: reduce) {
1020          .callout, .lane-card, .num-chip, .pdf-page, .strand-card, .q-row, .cycle-step, .pg-chip { transition: none !important; animation: none !important; }
1021          .pdf-page { opacity: 1 !important; transform: none !important; }
1022          .lane-card:hover, .strand-card:hover, .cycle-step:hover, .q-row:hover { transform: none !important; }
1023        }
1024
1025        @media print {
1026          @page { size: letter; margin: 0; }
1027          html, body { background: #ffffff !important; }
1028          .no-print { display: none !important; }
1029          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
1030          .pdf-page {
1031            box-shadow: none !important;
1032            margin: 0 !important;
1033            width: 100% !important;
1034            height: 11in !important;
1035            break-after: page;
1036            page-break-after: always;
1037            opacity: 1 !important;
1038            transform: none !important;
1039            transition: none !important;
1040          }
1041          .pdf-page:last-child { break-after: auto; page-break-after: auto; }
1042          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
1043          .callout, .lane-card, .num-chip, .strand-card, .cycle-step, .q-row {
1044            transition: none !important; box-shadow: none !important; transform: none !important; opacity: 1 !important;
1045          }
1046
1047          .strand-detail { display: none !important; }
1048          .print-only { display: block !important; }
1049          .obj-card { opacity: 1 !important; transform: none !important; box-shadow: none !important; }
1050
1051          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
1052        }
1053      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between gap-4 px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body hidden md:block",style:{fontSize:17.5,color:"#5a6779"},children:"Designed to print as a six-page PDF. Use Print, then Save as PDF (letter, no scaling)."}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("nav",{"aria-label":"Pages",className:"flex items-center gap-1.5",children:[1,2,3,4,5,6].map(a=>s.jsx("button",{type:"button",className:"pg-chip font-body","aria-current":e===a,"aria-label":`Go to page ${a}`,onClick:()=>o(a),children:a},a))}),s.jsxs("button",{onClick:i,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:18.5,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsx(Ic,{children:s.jsxs("div",{style:{padding:"0.46in 0.62in 0"},children:[s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:58}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:"#B8892B",fontWeight:700,marginTop:15,maxWidth:"6.6in",lineHeight:1.34,textWrap:"balance"},children:"The difference between an ecosystem that compounds and one that resets"}),s.jsx("div",{className:"font-body uppercase inline-block",style:{fontSize:16,letterSpacing:"0",fontWeight:700,color:an,border:`1px solid ${an}73`,background:`${an}14`,borderRadius:999,padding:"4px 9px",marginTop:11},children:"For field builders"}),s.jsxs("h1",{className:"font-display",style:{fontSize:52,lineHeight:1.07,color:yt,fontWeight:700,marginTop:7,maxWidth:"7.2in"},children:["The Ecosystem Edge®",s.jsx("br",{}),"Process"]}),s.jsxs("p",{style:{fontSize:20.5,lineHeight:1.34,color:"#5a6779",marginTop:10,maxWidth:"7.2in",fontStyle:"italic"},children:["A shared way for a network of ecosystems to learn from each other and show the whole field is moving, with the"," ",s.jsx("span",{style:{color:an,fontStyle:"normal",fontWeight:600},children:"field builders"})," who convene them, the ",s.jsx("span",{style:{color:"#7B5EA7",fontStyle:"normal",fontWeight:600},children:"ecosystem builders"})," doing the work, and the ",s.jsx("span",{style:{color:"#4C9A5A",fontStyle:"normal",fontWeight:600},children:"funders"})," behind them"," ","all working from one picture."]}),s.jsx("p",{className:"font-body",style:{fontSize:16,lineHeight:1.34,color:"#6b7686",marginTop:7,maxWidth:"7.2in"},children:"Regions stop relearning the same lessons alone. Ecosystem builders stop doing relationship work nobody sees. Funders stop guessing where the next dollar matters."}),s.jsx("div",{style:{marginTop:20,marginLeft:"-0.62in",marginRight:"-0.62in",width:"8.5in"},children:s.jsx("img",{src:co,alt:"","aria-hidden":"true",loading:"eager",style:{display:"block",width:"100%",height:322,objectFit:"cover",objectPosition:"center"}})}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:13,marginTop:20,maxWidth:"7.2in"},children:[{k:"Decades of practice",v:"Refined over five years of use in the field.",c:an},{k:"Evaluator-tested",v:"Independently evaluated.",c:Fs}
1053,{k:"40+ ecosystems",v:"Across 15 states, from rural regions to major metros.",c:"#C4566E"}].map(a=>s.jsxs("div",{children:[s.jsx(wr,{color:a.c}),s.jsx("p",{className:"font-display",style:{fontSize:22.5,color:yt,fontWeight:700,marginTop:6},children:a.k}),s.jsx("p",{style:{fontSize:14.5,lineHeight:1.34,color:"#6b7686",marginTop:5},children:a.v})]},a.k))})]})}),s.jsxs(Ic,{page:2,children:[s.jsx(th,{eyebrow:"Why this exists",titleMaxWidth:"6.3in",titleSize:25,rule:!1,title:s.jsx(s.Fragment,{children:"Every region relearns the same lessons alone."}),kicker:"We built a better approach on decades of ecosystem building, refined over five years, stress-tested by evaluators and used across 40+ ecosystems in 15 states."}),s.jsxs(nh,{children:[s.jsx(tt,{wave:"bottom",style:{padding:"9px 13px",borderTopLeftRadius:10,borderTopRightRadius:10},children:s.jsxs("p",{className:"font-display",style:{fontSize:17,lineHeight:1.34,color:"#fff",fontWeight:700},children:["What makes an ecosystem last isn’t a single grant. It’s the"," ",s.jsx("span",{style:{color:Fs},children:"relationships, roles, and infrastructure"})," that let progress compound."]})}),s.jsxs("div",{className:"avoid-break flex items-center",style:{gap:14,marginTop:24,border:"1px solid rgba(45,77,131,0.16)",borderRadius:10,padding:"13px 13px"},children:[s.jsxs("div",{className:"flex items-center shrink-0",style:{gap:10},children:[s.jsx("img",{src:Nu.url,alt:"A wobbly stack of wooden blocks",style:{height:112,width:"auto",maxWidth:130,objectFit:"contain"}}),s.jsx("svg",{width:"38",height:"18",viewBox:"0 0 86 40","aria-hidden":"true",style:{flexShrink:0},children:s.jsx("path",{d:"M0 13 H54 V0 L86 20 L54 40 V27 H0 Z",fill:an})}),s.jsx("img",{src:ac.url,alt:"Many colored ropes braided into one",style:{height:112,width:"auto",maxWidth:130,objectFit:"contain"}})]}),s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:Sn,letterSpacing:"0",fontWeight:700,color:an},children:"Straight-line thinking stacks. Systems thinking braids."}),s.jsx("p",{className:"font-display",style:{fontSize:21.5,lineHeight:1.2,color:yt,fontWeight:700,marginTop:4},children:"Healthy ecosystems don’t stack funding. They braid it."}),s.jsx("p",{style:{fontSize:Sn+.4,lineHeight:1.34,marginTop:5},children:"The same strands can sit in a loose pile or be braided into something that holds real weight. Same material. What changes is the structure between the parts."})]})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:Sn,letterSpacing:"0",fontWeight:700,color:an,marginTop:"auto",paddingTop:10},children:"What we do differently"}),s.jsx("h3",{className:"font-display",style:{fontSize:25,lineHeight:1.18,color:yt,fontWeight:700,marginTop:5,maxWidth:"7.4in"},children:"One common process every ecosystem can run the same way."}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.28,marginTop:4,maxWidth:"6.8in"},children:"Across a network we count outputs region by region, so what stays invisible is whether the field is getting more connected, and whether one region’s hard-won lesson ever reaches the next. Same rigor in every place, and each ecosystem keeps its own strategy. This sits underneath a network’s own approach rather than replacing it, so members compare notes on the same terms instead of translating between local vocabularies."}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:8,marginTop:10},children:tse.map(a=>{const l=br[a.node];return s.jsxs("div",{className:"flex flex-col items-center avoid-break",children:[s.jsx(yu,{size:112,centerIndex:a.node}),s.jsxs("p",{className:"font-display",style:{fontSize:17,lineHeight:1.25,color:yt,fontWeight:700,textAlign:"center",marginTop:2},children:["Centered on ",s.jsx("span",{style:{color:l.color},children:l.label})]})]},a.center)})}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.28,color:"#5a6779",marginTop:4,textAlign:"center",maxWidth:"6.8in",marginLeft:"auto",marginRight:"auto"},children:"Shared governance is always prioritized first and never centered. It is what lets progress hold."}),s.jsxs("p",{className:"avoid-break",style:{fontSize:MN,lineHeight:1.34,color:"#5a6779",marginTop:7,marginBottom:9,paddingTop:8,borderTop:"1px solid rgba(45,77,131,0.14)"},children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:Sn,letterSpacing:"0",fontWeight:700,color:yt},children:"Region or sector, or both"}
1053)," ","for a region, work all nine strands across the geography. For an industry, work the same nine within the sector: “Corporates” becomes the industry’s anchor firms, “Money” becomes the sector’s investors."]}),s.jsxs(tt,{waveHeight:pm,style:hm,children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Fs,fontWeight:700},children:"One important guidepost: advance together, never rank"}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.34,color:"#fff",fontWeight:700,marginTop:5},children:"No region gets graded or ranked. Each place moves against its own trajectory, and the shared language surfaces patterns members can learn from each other, never a leaderboard."})]})]})]}),s.jsxs(Ic,{page:3,children:[s.jsx(th,{eyebrow:"What we look at together",titleMaxWidth:"6.3in",title:s.jsx(s.Fragment,{children:"Nine partner groups and shared governance. One question for each: is it getting stronger?"}),kicker:"A common vocabulary across a network, and it surfaces who isn’t at the table yet, and whose work nobody can see. Where one region shows a gap, that is a local finding. Where the whole cohort shows the same gap, that is a signal about the field.",kickerStrong:!0,rule:!1}),s.jsxs(nh,{style:{display:"flex",flexDirection:"column",minHeight:"6.95in"},children:[s.jsxs("div",{className:"relative",children:[s.jsx("div",{className:`grid strand-grid${n?" has-selection":""}`,style:{gridTemplateColumns:"1fr 1fr 1fr",columnGap:18,rowGap:0,alignItems:"stretch",gridAutoRows:"1fr"},children:b1.map(a=>s.jsxs("button",{type:"button",onClick:()=>r(l=>l===a.name?null:a.name),"aria-expanded":n===a.name,className:`lane-card strand-card avoid-break${n===a.name?" is-selected":""}`,style:{border:"1px solid rgba(45,77,131,0.14)",borderRadius:10,background:"#fff",padding:"0 0 3px",overflow:"hidden",display:"flex",flexDirection:"column"},children:[s.jsx("span",{style:{display:"block",paddingTop:2},children:s.jsx(wr,{color:a.color,height:6})}),s.jsxs("span",{style:{display:"flex",alignItems:"center",gap:8,padding:"1px 9px 0",minHeight:44},children:[s.jsx(HN,{letter:a.letter,color:a.color,size:36}),s.jsx("p",{className:"font-display",style:{fontSize:17.5,lineHeight:1.18,color:yt,fontWeight:700},children:a.name})]}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.2,color:"#4b5565",marginTop:2,padding:"0 9px",minHeight:49},children:a.role}),s.jsxs("span",{style:{display:"block",marginTop:"auto",paddingTop:3,margin:"0 11px",borderTop:"1px solid rgba(45,77,131,0.1)"},children:[s.jsx("span",{className:"font-body uppercase",style:{display:"block",fontSize:13.5,letterSpacing:"0",fontWeight:700,color:a.color},children:"Success looks like"}),s.jsx("span",{style:{display:"block",fontSize:13.5,lineHeight:1.16,color:"#6b7686",marginTop:1},children:a.evidence})]})]},`${a.letter}-${a.name}`))}),n&&(()=>{const a=b1.find(l=>l.name===n);return s.jsxs("div",{className:"strand-detail no-print",role:"dialog","aria-label":`${a.name} detail`,children:[s.jsxs("div",{className:"flex items-start justify-between",style:{gap:13},children:[s.jsxs("div",{className:"flex items-center",style:{gap:8},children:[s.jsx(HN,{letter:a.letter,color:a.color,size:30}),s.jsx("p",{className:"font-display",style:{fontSize:29.5,color:yt,fontWeight:700,lineHeight:1.1},children:a.name})]}),s.jsx("button",{type:"button",onClick:()=>r(null),className:"font-body",style:{fontSize:16,color:"#6b7686",fontWeight:600},children:"Close ×"})]}),s.jsx("span",{style:{display:"block",marginTop:6},children:s.jsx(wr,{color:a.color,height:8})}),s.jsx("p",{style:{fontSize:18,lineHeight:1.34,marginTop:8,maxWidth:"7.2in"},children:a.role}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:a.color,marginTop:10},children:"Success looks like"}),s.jsx("p",{style:{fontSize:17,lineHeight:1.34,marginTop:4,color:"#4b5565",maxWidth:"7.2in"},children:a.evidence}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:"#8d97a6",marginTop:11},children:"Over time"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:10,marginTop:6},children:a.arc.map((l,c)=>s.jsxs("div",{style:{borderTop:`3px solid ${a.color}`,paddingTop:7},children:[s.jsx("p",{className:"font-body",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:a.color},children:["EARLY","BUILDING","DURABLE"][c]}),s.jsx("p",{style:{fontSize:16,lineHeight:1.32,marginTop:4,color:"#4b5565"},children:l})]},l))})]})})()]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:0,marginBottom:0},children:[s.jsx("div",{style:{padding:"0 5px",maxWidth:430,margin:"0 auto"},children:s.jsx(of,{strands:JR,cord:rse,height:56,plaitWidth:18})}),s.jsxs("div",{className:"avoid-break",style:{border:"1px solid rgba(110,119,132,0.22)",borderTop:`3px solid ${Pe}`,borderRadius:10,background:"rgba(110,119,132,0.07)",padding:"4px 12px 5px",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsxs("div",{className:"flex items-center",style:{gap:9},children:[s.jsx(oc,{size:36}),s.jsx("p",{className:"font-display",style:{fontSize:17.5,lineHeight:1.18,color:yt,fontWeight:700},children:"Governance"}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Pe,fontWeight:700,marginLeft:"auto"},children:"Where the strands come together"})]}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.18,marginTop:2,color:"#4b5565"},children:"Shared governance is the backbone, not a tenth strand."}),s.jsxs("p",{style:{fontSize:13.5,lineHeight:1.2,marginTop:2,color:"#6b7686"},children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:Pe},children:"Success looks like"})," ","Are shared priorities, decisions, and responsibilities clear and durable?"]})]})]}),s.jsx(tt,{waveHeight:pm,style:hm,children:s.jsx("p",{className:"font-display",style:{fontSize:16,lineHeight:1.3,color:"#fff",fontWeight:700},children:"Funding compounds when the system underneath it is braided, and resets when it isn’t."})})]})]}),s.jsxs(Ic,{page:4,children:[s.jsx(th,{eyebrow:"How to distinguish progress from activity",titleMaxWidth:"6.9in",title:s.jsx(s.Fragment,{children:"Five questions help separate real ecosystem progress from costly activity."}),kicker:"Is the field learning, or is every region starting over? These are questions a practitioner asks of their own work, and prompts a peer group can ask each other.",rule:!1}),s.jsxs(nh,{children:[s.jsx(tt,{wave:"bottom",style:{padding:"8px 13px",borderTopLeftRadius:10,borderTopRightRadius:10},children:s.jsxs("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:"#fff",fontWeight:700},children:["Together, they answer one question: is this ecosystem getting stronger, and is that progress"," ",s.jsx("span",{style:{color:Fs},children:"compounding"}),"?"]})}),s.jsxs("div",{className:"q-list grid",style:{gridTemplateColumns:"1fr 1fr",gap:18,marginTop:"auto",marginBottom:"auto",alignItems:"stretch",flexShrink:0},children:[s.jsx(sh,{n:"1",tag:"Pace",accent:yt,title:"Are the goals right for the phase this ecosystem is in?",children:"Start with where the ecosystem is, then agree what progress looks like at that stage. Partner groups run on different clocks, and a grant deadline may not match the pace a strand genuinely moves at."}),s.jsx(sh,{n:"2",tag:"Build / Buy / Partner",accent:Fs,title:"Are we building, buying, or partnering for the right capabilities?",children:"Not every capability needs to be built or owned locally. Ask what the ecosystem needs to own for the long term, and what it can reliably access from others."}),s.jsx(sh,{n:"3",tag:"Embeddedness",accent:an,title:"Is what was built becoming part of how the ecosystem works?",children:"A project can be completed without changing the system. Look for a new tool, practice, relationship, pathway, or capability being taken up into how people normally work. This includes shared governance: whether joint decisions, a common data structure, and agreed responsibilities are becoming how the network operates day to day."}),s.jsx(sh,{n:"4",tag:"Durability",accent:"#4C9A5A",title:"Does the progress hold without a permanent center or a champion?",children:"Look for what remains when people, funding, leadership, or priorities change. Are the relationships still working? Does the capability outlast a key person leaving? Continuity does not require one institution at the center; it requires responsibilities that survive a person leaving."}),s.jsxs(sh,{n:"5",tag:"Accountability",accent:"#7B5EA7",span:!0,title:"Is this an outcome the ecosystem builder can meaningfully influence?",children:["Ecosystem outcomes are shared. Distinguish what the builder controls, influences, contributes to, and simply needs to watch so accountability and attribution match their actual role.",s.jsx("span",{style:{display:"block",marginTop:5}
1053,children:s.jsx(nse,{compact:!0})})]})]}),s.jsxs(tt,{waveHeight:pm,style:{...hm,marginTop:0},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Fs,fontWeight:700},children:"What you’re ultimately looking for"}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:"#fff",fontWeight:700,marginTop:5},children:"Is this ecosystem becoming more connected, and is that connective infrastructure strong enough to outlast the people, champions, and grants that helped create it?"})]})]})]}),s.jsxs(Ic,{page:5,children:[s.jsx(th,{eyebrow:"How the process runs",titleMaxWidth:"6.9in",title:s.jsx(s.Fragment,{children:"Six sessions over twelve months."}),kickerSize:17.5,kicker:"The Scorecard opens and closes the year, so you see a trajectory, not a snapshot. Each region runs its own journey, and the network convenes between sessions to learn across places.",rule:!1}),s.jsxs(nh,{style:{paddingTop:6},children:[s.jsx("div",{className:"flex items-center",style:{gap:6},children:BN.map((a,l)=>s.jsxs(x.Fragment,{children:[l>0&&s.jsx("span",{"aria-hidden":"true",className:"font-display",style:{fontSize:20,fontWeight:700,color:"rgba(45,77,131,0.42)",lineHeight:1},children:">"}),s.jsx("div",{style:{flex:1,borderRadius:10,padding:"3px 10px",background:`${a.color}14`,borderTop:`3px solid ${a.color}`,textAlign:"center",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:s.jsxs("span",{className:"inline-flex items-center justify-center",style:{gap:6},children:[s.jsx(a.Icon,{size:15,color:a.color,"aria-hidden":"true"}),s.jsx("span",{className:"font-display",style:{fontSize:20,letterSpacing:"0",fontWeight:700,color:a.color},children:a.label})]})})]},a.label))}),s.jsx("div",{style:{marginTop:0},children:s.jsx(wi,{variant:"print",responsive:!1})}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:"#8d97a6",fontWeight:700,marginTop:4},children:"12-month cycle"}),s.jsxs("svg",{viewBox:"0 0 1000 30",style:{width:"100%",height:13,marginTop:4,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},preserveAspectRatio:"none","aria-hidden":"true",children:[BN.map(a=>s.jsx("rect",{x:zc(a.from)-1e3/24,y:9,width:zc(a.to)-zc(a.from)+1e3/12,height:12,rx:6,fill:a.color,opacity:.92},a.label)),Array.from({length:12},(a,l)=>l+1).map(a=>s.jsx("line",{x1:zc(a),y1:8,x2:zc(a),y2:22,stroke:"rgba(255,255,255,0.6)",strokeWidth:2},a)),FN.map(a=>s.jsx("circle",{cx:zc(a.at),cy:15,r:7,fill:Fs,stroke:"#ffffff",strokeWidth:2.5},a.at))]}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr 1fr",gap:8,marginTop:3},children:FN.map(a=>s.jsxs("div",{style:{borderTop:`2px solid ${Fs}`,paddingTop:4},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:Sn-1.2,letterSpacing:"0",color:"#8d97a6",fontWeight:700},children:a.when}),s.jsx("p",{style:{fontSize:Sn-.4,lineHeight:1.28,color:"#4b5565",marginTop:2},children:a.label})]},a.at))}),s.jsxs("div",{className:"relative",style:{height:16,marginTop:5,marginBottom:0,display:"flex",alignItems:"center",justifyContent:"center"},children:[s.jsxs("svg",{viewBox:"0 0 1000 40",preserveAspectRatio:"none",style:{position:"absolute",inset:0,width:"100%",height:"100%"},"aria-hidden":"true",children:[s.jsx("path",{d:"M960 4 C960 32, 900 36, 820 36 L180 36 C100 36, 40 32, 40 4",fill:"none",stroke:yt,strokeWidth:"2.5",strokeDasharray:"7 7",opacity:.55}),s.jsx("path",{d:"M40 16 L34 2 L46 2 Z",fill:yt})]}),s.jsx("p",{style:{position:"relative",zIndex:1,background:"#fff",padding:"0 8px",fontSize:Sn,color:yt,fontStyle:"italic"},children:"At 12 months, re-run the Scorecard to see what moved against the 2 to 3 year plan"})]}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:5,marginTop:2},children:He.map((a,l)=>s.jsxs("div",{className:"avoid-break",style:{background:"#fff",border:"1px solid rgba(45,77,131,0.14)",borderTop:`3px solid ${a.accent}`,borderRadius:10,padding:"3px 7px 4px",display:"flex",flexDirection:"column",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("p",{className:"font-body",style:{fontSize:Sn,fontWeight:700,letterSpacing:"0",color:a.accent},children:a.num}),s.jsx("p",{className:"font-display",style:{fontSize:16.5,fontWeight:700,color:yt,lineHeight:1.18,marginTop:1},children:a.kind}),s.jsx("span",{style:{display:"block",width:28,height:2,background:a.accent,borderRadius:2,marginTop:4}}),s.jsx("div",{className:"flex items-center justify-center",style:{marginTop:2},children:s.jsx(tu,{index:l,accent:a.accent,width:48})}),s.jsxs("div",{style:{marginTop:4,paddingTop:5,borderTop:"1px solid rgba(45,77,131,0.10)"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:Sn-.8,letterSpacing:"0",color:"#8d97a6",fontWeight:700},children:"Your ecosystem gets"}
1053),s.jsx("ul",{style:{marginTop:3,display:"grid",gap:2},children:Jr[l].map(c=>s.jsxs("li",{className:"flex",style:{gap:5,fontSize:Sn,lineHeight:1.24,color:a.accent,fontWeight:600},children:[s.jsx("span",{"aria-hidden":"true",style:{display:"block",width:4,height:4,borderRadius:999,background:a.accent,marginTop:5,flexShrink:0}}),s.jsx("span",{children:c})]},c))})]})]},a.num))}),s.jsxs(tt,{waveHeight:pm,style:hm,children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Fs,fontWeight:700},children:"What the year produces"}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:"#fff",fontWeight:700,marginTop:5},children:"A shared picture, a two to three year plan with owners, an operating model that runs it, and a funding strategy that outlasts any one grant."})]})]})]}),s.jsxs(Ic,{page:6,children:[s.jsx(th,{eyebrow:"What this gives you, and where to start",titleMaxWidth:"6.9in",title:s.jsx(s.Fragment,{children:"See where the next move can change the system, not just support it."}),kicker:s.jsx("span",{style:{display:"block",lineHeight:1.3},children:"An ecosystem that looks underfunded is often just under-woven. Run the same process across the ecosystems you support and each place sees where to put what it already has, while the network sees the patterns worth teaching and making common practice."}),rule:!1}),s.jsxs(nh,{children:[s.jsxs("div",{className:"grid avoid-break",style:{gridTemplateColumns:"1.62fr 1fr",gap:9,alignItems:"stretch"},children:[s.jsxs("div",{className:"flex flex-col justify-center",style:{border:"1px solid rgba(45,77,131,0.18)",borderLeft:`5px solid ${Fs}`,background:"rgba(45,77,131,0.04)",padding:"6px 12px 7px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:24,lineHeight:1.18,color:yt,fontWeight:700},children:"Run it across your network →"}),s.jsx("p",{style:{fontSize:14,lineHeight:1.22,fontStyle:"italic",marginTop:3},children:"Pick the ecosystems and run the process together, as a community of practice. Over twelve months each place builds its own shared picture and names what would strengthen it next, while your convenings become where they compare what they found. We work through you, not around you: your funder and member relationships stay yours, and the shared language is yours to carry. At twelve months, every ecosystem re-runs the scorecard, so the results roll up and you see what to teach next."})]}),s.jsx("div",{style:{overflow:"hidden",borderRadius:10,border:"1px solid rgba(45,77,131,0.18)",minHeight:150},children:s.jsx("img",{src:hf,alt:"Partners marking the Ecosystem Edge scorecard together during a working session",style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center 60%"}})})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:an,fontWeight:700,marginTop:"auto",paddingTop:2},children:"A shared way to reveal, clarify, and activate together"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:9,marginTop:3},children:[{t:"For field builders",c:an,items:["One shared language, so what a region learns travels to the next one instead of dying where it happened.","A repeatable practice your community can carry, added to the support work you already run.","A field-level view you can bring to your funder: comparable baselines, without ranking one place against another."]},{t:"For ecosystem builders",c:"#7B5EA7",items:["Work from the same picture: see the ecosystem alongside your funder and anyone supporting you, in one language.","Turn findings into action: every priority leads to a clear next step and owner.","Show progress before outcomes land: evidence of movement you can bring to funders and boards."]},{t:"For funders",c:"#4C9A5A",items:["See progress earlier: movement in the ecosystem before it shows up in jobs, companies, or funding.","See your portfolio differently: compare patterns, gaps, and trajectories, not regions against one another.","Make each dollar more strategic: fill a gap, unlock resources, and build lasting capacity."]}].map(a=>s.jsxs("div",{style:{border:"1px solid #e4e7ec",borderTop:`4px s
1053olid ${a.c}`,borderRadius:10,overflow:"hidden",padding:"5px 9px 5px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:17,color:a.c,fontWeight:700,lineHeight:1.16},children:a.t}),s.jsx("ul",{style:{marginTop:3,display:"grid",gap:2},children:a.items.map(l=>s.jsxs("li",{className:"flex",style:{gap:6,fontSize:Sn,lineHeight:1.22},children:[s.jsx("span",{"aria-hidden":"true",style:{color:a.c,fontWeight:700},children:"•"}),s.jsx("span",{children:l})]},l))})]},a.t))}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:an,fontWeight:700,marginTop:3},children:"What the year asks, and what you get"}),s.jsx("div",{className:"grid avoid-break",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:9,marginTop:3,marginBottom:"auto"},children:[{k:"What we bring",h:"We facilitate, you convene.",v:"All six sessions facilitated in every ecosystem, the scorecard and its tools, and coaching between sessions.",c:yt},{k:"What ecosystems commit",h:"A core group and the time.",v:"A core group of partners, six half-day sessions across twelve months, and one named owner for each priority.",c:an},{k:"What you have at 12 months",h:"A picture, priorities, and proof.",v:"A shared picture in every ecosystem, priorities with owners, and re-run scorecards that roll up. Built to be handed off as your team is ready.",c:Fs}].map(a=>s.jsxs("div",{style:{borderTop:`3px solid ${a.c}`,paddingTop:5},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:a.c,fontWeight:700},children:a.k}),s.jsx("p",{style:{fontSize:MN,lineHeight:1.24,color:yt,fontWeight:600,marginTop:2},children:a.h}),s.jsx("p",{style:{fontSize:Sn,lineHeight:1.22,color:"#5a6779",marginTop:2},children:a.v})]},a.k))}),s.jsxs(tt,{waveHeight:15,style:{marginTop:"auto",padding:"4px 21px 3px",borderBottomLeftRadius:12,borderBottomRightRadius:12,position:"relative",overflow:"hidden"},children:[s.jsxs("div",{className:"flex items-center justify-between relative",style:{gap:18,zIndex:1},children:[s.jsxs("div",{style:{maxWidth:"4.6in"},children:[s.jsx("p",{className:"font-display",style:{fontSize:22.5,lineHeight:1.18,color:"#fff",fontWeight:700},children:"You bring the network. We’ll bring the process."}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.26,color:"rgba(255,255,255,0.84)",marginTop:4},children:"Every ecosystem leaves with partners aligned, priorities named, and owners in place, plus a shared picture the network re-runs each year."})]}),s.jsx("div",{className:"shrink-0 flex flex-col items-center justify-center",style:{width:210,height:62},children:s.jsx("a",{className:"font-body uppercase",href:"https://ecosystem-edge.com",target:"_blank",rel:"noreferrer",style:{background:Fs,color:"#2a1f06",fontWeight:700,fontSize:16.5,letterSpacing:"0",padding:"8px 13px",borderRadius:8,whiteSpace:"nowrap",textDecoration:"none",boxShadow:"0 6px 18px rgba(0,0,0,0.28)"},children:"Build with us →"})})]}),s.jsxs("div",{className:"flex items-center justify-between relative",style:{marginTop:6,paddingTop:6,borderTop:`1px solid ${an}55`,gap:13,zIndex:1},children:[s.jsx("div",{className:"flex",style:{gap:21},children:[{n:"Amy Beaird, PhD",e:"[email protected]"},{n:"Dawn Haynes, MBA",e:"[email protected]"}].map(a=>s.jsxs("div",{className:"shrink-0",style:{whiteSpace:"nowrap"},children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:"#fff",fontWeight:700,lineHeight:1.2},children:a.n}),s.jsx("p",{style:{fontSize:Sn,color:"rgba(255,255,255,0.82)",marginTop:2},children:a.e})]},a.n))}),s.jsx("p",{className:"font-display shrink-0",style:{fontSize:17.5,color:an,fontWeight:700,letterSpacing:"0",whiteSpace:"nowrap"},children:"ecosystem-edge.com"})]})]})]})]})]})]})},xt="#2D4D83",Vn="#59BEC9",Hs="#E2B673",ise="#3d4757",ase=15.5,VN=14.5,kn=13.5,lse=1.34,cse="The Ecosystem Edge® Process, Ecosystem Builder Edition - Ecosystem Edge®",dse=[{center:"Startup growth and founder retention",node:0,read:"Investors, corporates, and support organizations are prioritized by how well they support founders."},{center:"Good jobs, hiring, and advancement",node:4,read:"Employers, talent organizations, and service providers are prioritized by how well they support workers."}
1053,{center:"Industry and anchor-sector growth",node:1,read:"Associations, government, and money are prioritized by how well they support industry growth."}],fm={marginTop:"auto",marginBottom:0,padding:"6px 14px 7px",borderBottomLeftRadius:10,borderBottomRightRadius:10},mm=14,UN=[{label:"Reveal",Icon:Uo,color:xt,from:1,to:4},{label:"Clarify",Icon:Er,color:"#2F8C97",from:5,to:8},{label:"Activate",Icon:Go,color:"#A9762B",from:9,to:12}],GN=[{at:3,when:"Month 3",label:"Shared picture, ecosystem and initiatives map complete"},{at:5.5,when:"Month 5 to 6",label:"2 to 3 year plan set, goals and measures agreed"},{at:9,when:"Month 9",label:"Operating model live, owners and responsibilities assigned"},{at:12,when:"Month 12",label:"Funding and business model mapped, Scorecard re-run"}],Oc=e=>1e3*(e-.5)/12,Dc=({children:e,page:t,label:n,dark:r})=>s.jsxs("section",{id:`ffc-page-${t??1}`,"data-page":t??1,className:"pdf-page pdf-body",style:r?{background:xt,color:"#fff"}:void 0,children:[s.jsx("div",{style:{height:6,background:`linear-gradient(90deg, ${xt} 0%, ${Vn} 55%, ${Hs} 100%)`,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}}),t?s.jsx("img",{src:ct,alt:"","aria-hidden":"true",style:{position:"absolute",top:"0.42in",right:"0.62in",height:46,opacity:1,zIndex:4,pointerEvents:"none"}}):null,s.jsx("div",{style:{height:t?"10.28in":"9.88in",display:"flex",flexDirection:"column",overflow:"hidden"},children:e}),t?s.jsxs("div",{className:"flex items-end justify-between",style:{margin:"0.06in 0.55in 0",borderTop:`1px solid ${r?"rgba(255,255,255,0.22)":"rgba(45,77,131,0.14)"}`,paddingTop:7},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:kn,letterSpacing:"0",color:r?"rgba(255,255,255,0.6)":"#8d97a6"},children:n??"The Ecosystem Edge® Process · For ecosystem builders"}),s.jsxs("p",{className:"font-body",style:{fontSize:kn,letterSpacing:"0",color:r?"rgba(255,255,255,0.6)":"#8d97a6"},children:["© 2026 Ecosystem Edge® · ",t]})]}):null]}),rh=({eyebrow:e,title:t,kicker:n,kickerStrong:r,kickerSize:o,titleMaxWidth:i,titleSize:a,rule:l=!0})=>s.jsxs("div",{style:{padding:"0.58in 0.55in 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Vn,fontWeight:700},children:e}),s.jsx("h2",{className:"font-display",style:{fontSize:a??25,lineHeight:1.14,color:xt,fontWeight:700,marginTop:4,maxWidth:i??"6.3in"},children:t}),n?s.jsx("p",{className:r?"font-display":void 0,style:r?{fontSize:18.5,lineHeight:1.28,color:xt,fontWeight:700,fontStyle:"italic",marginTop:4,maxWidth:"6.6in"}:{fontSize:o??16,lineHeight:1.28,color:"#6b7686",fontStyle:"italic",marginTop:4,maxWidth:"7.2in"},children:n}):null,l?s.jsx("div",{style:{marginTop:5},children:s.jsx(Oy,{})}):null]}),oh=({children:e,style:t})=>s.jsx("div",{style:{padding:"5px 0.55in 0",flex:1,display:"flex",flexDirection:"column",...t},children:e}),use=({compact:e})=>{const t=[{role:"Control",d:"what they directly deliver or decide",rule:Pe,tint:`${Pe}2E`},{role:"Influence",d:"what they meaningfully move through others",rule:`${Pe}BF`,tint:`${Pe}20`},{role:"Contribution",d:"what they help create alongside other actors",rule:`${Pe}80`,tint:`${Pe}14`},{role:"Interest",d:"what they watch and learn from, but cannot claim",rule:`${Pe}4D`,tint:`${Pe}0B`}];return s.jsx("span",{style:{display:"block"},children:s.jsx("span",{style:{display:"grid",gridTemplateColumns:e?"1fr 1fr":"1fr 1fr 1fr 1fr",gap:5},children:t.map(n=>s.jsxs("span",{style:{display:"block",borderTop:`3px solid ${n.rule}`,background:n.tint,padding:"5px 7px 6px"},children:[s.jsx("span",{className:"font-body uppercase",style:{display:"block",fontSize:kn,letterSpacing:"0",fontWeight:700,color:Pe},children:n.role}),s.jsx("span",{style:{display:"block",fontSize:kn,lineHeight:1.3,color:"#4b5565",marginTop:2},children:n.d})]},n.role))})})},ih=({n:e,title:t,children:n,tag:r,accent:o=xt,span:i})=>s.jsxs("div",{className:"avoid-break q-row",tabIndex:0,style:{gridColumn:i?"1 / -1":void 0,height:"auto",display:"flex",flexDirection:"column",border:"1px solid rgba(45,77,131,0.14)",borderTop:`3px solid ${o}`,borderRadius:10,overflow:"hidden",background:"#fff",padding:"12px 12px 13px"},children:[s.jsxs("div",{className:"flex items-center",style:{gap:6},children:[s.jsx("span",{className:"font-body num-chip inline-flex items-center justify-center shrink-0","aria-hidden":"true",style:{width:20,height:20,borderRadius:999,background:o,color:"#fff",fontSize:14,fontWeight:700,lineHeight:1},children:e}),r?s.jsx("span",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:o},children:r}):null]}),s.jsx("p",{className:"font-display",style:{fontSize:18.5,color:xt,fontWeight:700,lineHeight:1.22,marginTop:6},children:t}),s.jsx("div",{style:{fontSize:kn+.4,lineHeight:1.26,marginTop:4},children:n})]}),w1=[{letter:"E",name:"Entrepreneurs",color:"#C4566E",role:"The founders and companies building what comes next.",evidence:"Do entrepreneurs have stronger pathways to start, grow, stay, and contribute back?",arc:["Founders know where to turn","Connections produce pilots and revenue","Founders stay, mentor, and reinvest"]},{letter:"C",name:"Corporates",color:"#59BEC9",role:"The customers, employers, and anchor firms that create demand.",evidence:"Are relationships between companies and the ecosystem becoming stronger and more durable?",arc:["A mapped relationship with a real next step","Resources are genuinely flowing","The region is anchored"]},{letter:"O",name:"Government Organizations",color:"#3F7CA8",role:"Public partners with convening power, resources, and influence.",evidence:"Can public partners co
1053ordinate around shared priorities, even as leaders, budgets, and policies change?",arc:["Mandates clear and coordination starts","Public support becomes coherent","It survives an election or budget transition"]},{letter:"S",name:"Storytellers",color:"#E2B673",role:"The people who make the ecosystem’s work visible and understood.",evidence:"Is the ecosystem understood and represented by people beyond those doing the work?",arc:["A shared story partners repeat","The story has a life of its own","It travels without being pushed"]},{letter:"Y",name:"Youth + Talent",color:"#7BA05B",role:"The people who supply the workforce and future leaders.",evidence:"Are people finding pathways into the ecosystem, advancing within it, and choosing to stay or return?",arc:["Pathways connect to employers","Employers are hiring through them","Talent stays and advances"]},{letter:"S",name:"Service Providers",color:"#8C6FA6",role:"The expertise and support that help organizations succeed.",evidence:"Can organizations find the expertise and support they need through stronger, more connected pathways?",arc:["The gaps are clear","Companies get help locally","Local expertise is durable"]},{letter:"T",name:"Trade + Industry Associations",color:"#C97B5A",role:"The networks that help firms act together on shared interests.",evidence:"Can firms identify shared interests and act on them together without relying on a single organizer?",arc:["The shared opportunity is clear","Firms produce a concrete shared win","The cluster carries collective weight on its own"]},{letter:"E",name:"Ecosystem Support Organizations",color:"#4FA3A5",role:"Organizations that make the ecosystem easier to navigate.",evidence:"Can people find the right support without relying on personal connections or a few key people?",arc:["No wrong door","Support works as a system","The capacity survives turnover"]},{letter:"M",name:"Money",color:"#B8892B",role:"The funding that enables ideas, companies, and growth.",evidence:"Is funding becoming more accessible, connected, and catalytic, not simply replacing the same dollars?",arc:["The funding picture is clear","Funding is aligned to real stages","Funding compounds locally"]}],hse=["Entrepreneurs","Storytellers","Trade + Industry Associations","Corporates","Youth + Talent","Ecosystem Support Organizations","Money","Service Providers","Government Organizations"],XR=hse.map(e=>w1.find(t=>t.name===e).color),pse=[6,7,8].map(e=>XR[e]),YN=({letter:e,color:t,size:n=24})=>s.jsx("span",{"aria-hidden":"true",className:"font-display flex items-center justify-center shrink-0",style:{width:n,height:n,borderRadius:"50%",background:t,color:"#fff",fontWeight:700,fontSize:n*.58,lineHeight:1},children:e}),fse=()=>{const[e,t]=P.useState(1),[n,r]=P.useState(null);P.useEffect(()=>{const a=Array.from(document.querySelectorAll(".pdf-page")),l=new IntersectionObserver(c=>{c.forEach(u=>{u.isIntersecting&&u.target.classList.add("is-visible")});const d=c.filter(u=>u.isIntersecting).sort((u,p)=>p.intersectionRatio-u.intersectionRatio)[0];d&&t(Number(d.target.dataset.page)||1)},{threshold:[.12,.4,.75]});return a.forEach(c=>l.observe(c)),()=>l.disconnect()},[]);const o=P.useCallback(a=>{var l;(l=document.getElementById(`ffc-page-${a}`))==null||l.scrollIntoView({behavior:"smooth",block:"start"})},[]),i=P.useCallback(()=>{const a=document.title,l=()=>{document.title=a,window.removeEventListener("afterprint",l)};window.addEventListener("afterprint",l),document.title=cse;try{window.print()}finally{window.setTimeout(l,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"The Ecosystem Edge® Process, Ecosystem Builder Edition",description:"A shared way to make the relationship and infrastructure work visible, decide what matters next, and show your partners and funders what moved.",path:"/process-ecosystem-builder",image:"https://ecosystem-edge.com/ecosystem-edge-framework-og.jpg",noindex:!0}),s.jsx("style",{children:`
1054        .pdf-page {
1055          width: 8.5in;
1056          height: 11in;
1057          margin: 0 auto 26px;
1058          background: #ffffff;
1059          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
1060          position: relative;
1061          overflow: hidden;
1062        }
1063        .pdf-body { font-family: 'DM Sans', system-ui, sans-serif; font-size: ${ase}px; line-height: ${lse}; color: ${ise}; text-wrap: pretty; }
1064        .pdf-body h1, .pdf-body h2, .pdf-body h3 { text-wrap: balance; }
1065        .callout, .lane-card, .num-chip { transition: box-shadow .22s ease, background-color .22s ease, transform .22s ease; }
1066        .callout:hover { box-shadow: 0 10px 26px rgba(45,77,131,0.13); }
1067        .lane-card:hover { box-shadow: 0 8px 20px rgba(45,77,131,0.12); transform: translateY(-2px); }
1068
1069        /* --- scroll reveal --- */
1070        .pdf-page { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
1071        .pdf-page.is-visible { opacity: 1; transform: none; }
1072
1073        /* --- page nav chips --- */
1074        .pg-chip {
1075          width: 28px; height: 28px; border-radius: 999px;
1076          display: inline-flex; align-items: center; justify-content: center;
1077          font-size: 12px; font-weight: 700; color: #5a6779;
1078          background: rgba(45,77,131,0.07);
1079          transition: background-color .18s ease, color .18s ease, transform .18s ease;
1080        }
1081        .pg-chip:hover { background: rgba(89,190,201,0.28); color: ${xt}; transform: translateY(-1px); }
1082        .pg-chip[aria-current="true"] { background: ${xt}; color: #fff; }
1083
1084        /* --- strand cards (page 4) --- */
1085        .strand-card {
1086          text-align: left; width: 100%; cursor: pointer;
1087          transition: box-shadow .22s ease, transform .22s ease, opacity .22s ease, border-color .22s ease;
1088        }
1089        .strand-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(45,77,131,0.16); }
1090        .strand-card:focus-visible { outline: 2px solid ${Vn}; outline-offset: 2px; }
1091        .strand-grid.has-selection .strand-card { opacity: .38; }
1092        .strand-grid.has-selection .strand-card.is-selected {
1093          opacity: 1; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(45,77,131,0.22);
1094        }
1095        .strand-detail {
1096          position: absolute; inset: 0; z-index: 5;
1097          background: rgba(255,255,255,0.97);
1098          border-radius: 10px;
1099          box-shadow: 0 18px 44px rgba(45,77,131,0.22);
1100          padding: 16px 20px 18px;
1101          display: flex; flex-direction: column;
1102          animation: strandIn .22s ease both;
1103        }
1104        @keyframes strandIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
1105
1106        /* --- objective cards (page 3) --- */
1107        .obj-card { cursor: pointer; transition: box-shadow .22s ease, transform .22s ease, opacity .22s ease; }
1108        .obj-card:focus-visible { outline: 2px solid ${Vn}; outline-offset: 2px; }
1109        .obj-grid:hover .obj-card:not(.is-selected),
1110        .obj-grid:focus-within .obj-card:not(.is-selected) { opacity: .48; }
1111        .obj-card.is-selected {
1112          opacity: 1; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(45,77,131,0.18);
1113        }
1114        .print-only { display: none; }
1115
1116
1117        /* --- five questions (page 5) --- */
1118        .q-row { border-radius: 10px; padding: 6px 8px; margin: -6px -8px; transition: background-color .2s ease, transform .2s ease; }
1119        .q-row:hover, .q-row:focus-visible { background: rgba(89,190,201,0.10); transform: translateX(3px); outline: none; }
1120        .q-list:hover .q-row:not(:hover) { opacity: .62; transition: opacity .2s ease; }
1121
1122        /* --- cycle (page 6) --- */
1123        .cycle-step { transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
1124        .cycle-step:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(45,77,131,0.14); }
1125        .cycle-arc path { transition: stroke-width .2s ease, opacity .2s ease; }
1126        .cycle-wrap:hover .cycle-arc path { stroke-width: 4; opacity: 1; }
1127
1128        @media (prefers-reduced-motion: reduce) {
1129          .callout, .lane-card, .num-chip, .pdf-page, .strand-card, .q-row, .cycle-step, .pg-chip { transition: none !important; animation: none !important; }
1130          .pdf-page { opacity: 1 !important; transform: none !important; }
1131          .lane-card:hover, .strand-card:hover, .cycle-step:hover, .q-row:hover { transform: none !important; }
1132        }
1133
1134        @media print {
1135          @page { size: letter; margin: 0; }
1136          html, body { background: #ffffff !important; }
1137          .no-print { display: none !important; }
1138          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
1139          .pdf-page {
1140            box-shadow: none !important;
1141            margin: 0 !important;
1142            width: 100% !important;
1143            height: 11in !important;
1144            break-after: page;
1145            page-break-after: always;
1146            opacity: 1 !important;
1147            transform: none !important;
1148            transition: none !important;
1149          }
1150          .pdf-page:last-child { break-after: auto; page-break-after: auto; }
1151          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
1152          .callout, .lane-card, .num-chip, .strand-card, .cycle-step, .q-row {
1153            transition: none !important; box-shadow: none !important; transform: none !important; opacity: 1 !important;
1154          }
1155
1156          .strand-detail { display: none !important; }
1157          .print-only { display: block !important; }
1158          .obj-card { opacity: 1 !important; transform: none !important; box-shadow: none !important; }
1159
1160          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
1161        }
1162      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between gap-4 px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body hidden md:block",style:{fontSize:17.5,color:"#5a6779"},children:"Designed to print as a six-page PDF. Use Print, then Save as PDF (letter, no scaling)."}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("nav",{"aria-label":"Pages",className:"flex items-center gap-1.5",children:[1,2,3,4,5,6].map(a=>s.jsx("button",{type:"button",className:"pg-chip font-body","aria-current":e===a,"aria-label":`Go to page ${a}`,onClick:()=>o(a),children:a},a))}),s.jsxs("button",{onClick:i,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:18.5,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsx(Dc,{children:s.jsxs("div",{style:{padding:"0.46in 0.62in 0"},children:[s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:58}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:"#B8892B",fontWeight:700,marginTop:15,maxWidth:"6.6in",lineHeight:1.34,textWrap:"balance"},children:"The difference between an ecosystem that compounds and one that resets"}),s.jsx("div",{className:"font-body uppercase inline-block",style:{fontSize:16,letterSpacing:"0",fontWeight:700,color:"#7B5EA7",border:"1px solid #7B5EA773",background:"#7B5EA714",borderRadius:999,padding:"4px 9px",marginTop:11},children:"For ecosystem builders"}),s.jsxs("h1",{className:"font-display",style:{fontSize:52,lineHeight:1.07,color:xt,fontWeight:700,marginTop:7,maxWidth:"7.2in"},children:["The Ecosystem Edge®",s.jsx("br",{}),"Process"]}),s.jsxs("p",{style:{fontSize:20.5,lineHeight:1.34,color:"#5a6779",marginTop:10,maxWidth:"7.2in",fontStyle:"italic"},children:["See your ecosystem clearly and move it forward with your partners, with the"," ",s.jsx("span",{style:{color:"#7B5EA7",fontStyle:"normal",fontWeight:600},children:"ecosystem builders"})," doing the work, the ",s.jsx("span",{style:{color:"#4C9A5A",fontStyle:"normal",fontWeight:600},children:"funders"})," behind them, and the ",s.jsx("span",{style:{color:Vn,fontStyle:"normal",fontWeight:600},children:"field builders"})," who support them"," ","all working from one picture."]}),s.jsx("p",{className:"font-body",style:{fontSize:16,lineHeight:1.34,color:"#6b7686",marginTop:7,maxWidth:"7.2in"},children:"Ecosystem builders stop doing relationship work nobody sees. Funders stop guessing where the next dollar matters. Field builders stop reinventing the wheel in every region."}),s.jsx("div",{style:{marginTop:20,marginLeft:"-0.62in",marginRight:"-0.62in",width:"8.5in"},children:s.jsx("img",{src:co,alt:"","aria-hidden":"true",loading:"eager",style:{display:"block",width:"100%",height:322,objectFit:"cover",objectPosition:"center"}})}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:13,marginTop:20,maxWidth:"7.2in"},children:[{k:"Decades of practice",v:"Refined over five years of use in the field.",c:Vn},{k:"Evaluator-tested",v:"Independently evaluated.",c:Hs},{k:"40+ ecosystems",v:"Across 15 states, from rural regions to major metros.",c:"#C4566E"}].map(a=>s.jsxs("div",{children:[s.jsx(wr,{color:a.c}),s.jsx("p",{className:"font-display",style:{fontSize:22.5,color:xt,fontWeight:700,marginTop:6},children:a.k}),s.jsx("p",{style:{fontSize:14.5,lineHeight:1.34,color:"#6b7686",marginTop:5},children:a.v})]},a.k))})]})}),s.jsxs(Dc,{page:2,children:[s.jsx(rh,{eyebrow:"Why this exists",titleMaxWidth:"6.3in",titleSize:25,rule:!1,title:s.jsx(s.Fragment,{children:"The work that holds an ecosystem together is the work no one counts."}),kicker:"The handoffs, the introductions, the trust that lets a foun
1162der move from one partner to the next. That connective tissue makes the ecosystem work, and it is invisible on every dashboard."}),s.jsxs(oh,{children:[s.jsx(tt,{wave:"bottom",style:{padding:"9px 13px",borderTopLeftRadius:10,borderTopRightRadius:10},children:s.jsxs("p",{className:"font-display",style:{fontSize:17,lineHeight:1.34,color:"#fff",fontWeight:700},children:["What makes an ecosystem last isn’t a single grant. It’s the"," ",s.jsx("span",{style:{color:Hs},children:"relationships, roles, and infrastructure"})," that let progress compound."]})}),s.jsxs("div",{className:"avoid-break flex items-center",style:{gap:14,marginTop:24,border:"1px solid rgba(45,77,131,0.16)",borderRadius:10,padding:"13px 13px"},children:[s.jsxs("div",{className:"flex items-center shrink-0",style:{gap:10},children:[s.jsx("img",{src:Nu.url,alt:"A wobbly stack of wooden blocks",style:{height:112,width:"auto",maxWidth:130,objectFit:"contain"}}),s.jsx("svg",{width:"38",height:"18",viewBox:"0 0 86 40","aria-hidden":"true",style:{flexShrink:0},children:s.jsx("path",{d:"M0 13 H54 V0 L86 20 L54 40 V27 H0 Z",fill:Vn})}),s.jsx("img",{src:ac.url,alt:"Many colored ropes braided into one",style:{height:112,width:"auto",maxWidth:130,objectFit:"contain"}})]}),s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:kn,letterSpacing:"0",fontWeight:700,color:Vn},children:"Straight-line thinking stacks. Systems thinking braids."}),s.jsx("p",{className:"font-display",style:{fontSize:21.5,lineHeight:1.2,color:xt,fontWeight:700,marginTop:4},children:"Healthy ecosystems don’t stack funding. They braid it."}),s.jsx("p",{style:{fontSize:kn+.4,lineHeight:1.34,marginTop:5},children:"Stack it and one wobble can bring it down. Braid it and no single strand carries the weight; each added strand strengthens the rest."})]})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:kn,letterSpacing:"0",fontWeight:700,color:Vn,marginTop:"auto",paddingTop:10},children:"What we do differently"}),s.jsx("h3",{className:"font-display",style:{fontSize:25,lineHeight:1.18,color:xt,fontWeight:700,marginTop:5,maxWidth:"7.4in"},children:"One shared picture of your ecosystem, repeated over time."}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.28,marginTop:4,maxWidth:"6.8in"},children:"Your purpose changes which group sits at the center; everything else is prioritized by how well it supports that group. No one grades your ecosystem. Partners build the picture together and stay the experts on their own region, so you, your partners, and your funders finally work from one picture instead of three."}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:8,marginTop:10},children:dse.map(a=>{const l=br[a.node];return s.jsxs("div",{className:"flex flex-col items-center avoid-break",children:[s.jsx(yu,{size:112,centerIndex:a.node}),s.jsxs("p",{className:"font-display",style:{fontSize:17,lineHeight:1.25,color:xt,fontWeight:700,textAlign:"center",marginTop:2},children:["Centered on ",s.jsx("span",{style:{color:l.color},children:l.label})]})]},a.center)})}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.28,color:"#5a6779",marginTop:4,textAlign:"center",maxWidth:"6.8in",marginLeft:"auto",marginRight:"auto"},children:"Shared governance is always prioritized first and never centered. It is what lets progress hold."}),s.jsxs("p",{className:"avoid-break",style:{fontSize:VN,lineHeight:1.34,color:"#5a6779",marginTop:7,marginBottom:9,paddingTop:8,borderTop:"1px solid rgba(45,77,131,0.14)"},children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:kn,letterSpacing:"0",fontWeight:700,color:xt},children:"Region or sector, or both"})," ","for a region, work all nine strands across the geography. For an industry, work the same nine within the sector: “Corporates” becomes the industry’s anchor firms, “Money” becomes the sector’s investors."]}),s.jsxs(tt,{waveHeight:mm,style:fm,children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Hs,fontWeight:700},children:"One important guidepost: advance together, never rank"}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.34,color:"#fff",fontWeight:700,marginTop:5},children:"A rural region three years in and a metro ten years in are not comparable. The coalition moves against its own trajectory, so what you show a funder is your own progress, never someone else’s ranking."})]})]})]}),s.jsxs(Dc,{page:3,children:[s.jsx(rh,{eyebrow:"What we look at together",titleMaxWidth:"6.3in",title:s.jsx(s.Fragment,{children:"Nine partner groups and shared governance. One question for each: is it getting stronger?"}),kicker:"We count programs, dollars, and people served. What makes an ecosystem work sits below that, in the relationships between partners: what is strong, who isn’t at the table yet, and whose work nobody can see.",kickerStrong:!0,rule:!1}),s.jsxs(oh,{style:{display:"flex",flexDirection:"column",minHeight:"6.95in"},children:[s.jsxs("div",{className:"relative",children:[s.jsx("div",{className:`grid strand-grid${n?" has-selection":""}`,style:{gridTemplateColumns:"1fr 1fr 1fr",columnGap:20,rowGap:0,alignItems:"stretch",gridAutoRows:"1fr"},children:w1.map(a=>s.jsxs("button",{type:"button",onClick:()=>r(l=>l===a.name?null:a.name),"aria-expanded":n===a.name,className:`lane-card strand-card avoid-break${n===a.name?" is-selected":""}`,style:{border:"1px solid rgba(45,77,131,0.14)",borderRadius:10,background:"#fff",padding:"0 0 2px",overflow:"hidden",display:"flex",flexDirection:"column"},children:[s.jsx("span",{style:{display:"block",paddingTop:3},children:s.jsx(wr,{color:a.color,height:7})}),s.jsxs("span",{style:{display:"flex",alignItems:"center",gap:8,padding:"2px 9px 0",minHeight:44},children:[s.jsx(YN,{letter:a.letter,color:a.color,size:36}),s.jsx("p",{className:"font-display",style:{fontSize:17.5,lineHeight:1.18,color:xt,fontWeight:700},children:a.name})]}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.2,color:"#4b5565",marginTop:2,padding:"0 9px",minHeight:49},children:a.role}),s.jsxs("span",{style:{display:"block",marginTop:"auto",paddingTop:3,margin:"0 11px",borderTop:"1px solid rgba(45,77,131,0.1)"},children:[s.jsx("span",{className:"font-body uppercase",style:{display:"block",fontSize:13.5,letterSpacing:"0",fontWeight:700,color:a.color},children:"Success looks like"}),s.jsx("span",{style:{display:"block",fontSize:13.5,lineHeight:1.2,color:"#6b7686",marginTop:1},children:a.evidence})]})]},`${a.letter}-${a.name}`))}),n&&(()=>{const a=w1.find(l=>
1162l.name===n);return s.jsxs("div",{className:"strand-detail no-print",role:"dialog","aria-label":`${a.name} detail`,children:[s.jsxs("div",{className:"flex items-start justify-between",style:{gap:13},children:[s.jsxs("div",{className:"flex items-center",style:{gap:8},children:[s.jsx(YN,{letter:a.letter,color:a.color,size:30}),s.jsx("p",{className:"font-display",style:{fontSize:29.5,color:xt,fontWeight:700,lineHeight:1.1},children:a.name})]}),s.jsx("button",{type:"button",onClick:()=>r(null),className:"font-body",style:{fontSize:16,color:"#6b7686",fontWeight:600},children:"Close ×"})]}),s.jsx("span",{style:{display:"block",marginTop:6},children:s.jsx(wr,{color:a.color,height:8})}),s.jsx("p",{style:{fontSize:18,lineHeight:1.34,marginTop:8,maxWidth:"7.2in"},children:a.role}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:a.color,marginTop:10},children:"Success looks like"}),s.jsx("p",{style:{fontSize:17,lineHeight:1.34,marginTop:4,color:"#4b5565",maxWidth:"7.2in"},children:a.evidence}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:"#8d97a6",marginTop:11},children:"Over time"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:10,marginTop:6},children:a.arc.map((l,c)=>s.jsxs("div",{style:{borderTop:`3px solid ${a.color}`,paddingTop:7},children:[s.jsx("p",{className:"font-body",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:a.color},children:["EARLY","BUILDING","DURABLE"][c]}),s.jsx("p",{style:{fontSize:16,lineHeight:1.32,marginTop:4,color:"#4b5565"},children:l})]},l))})]})})()]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:0,marginBottom:0},children:[s.jsx("div",{style:{padding:"0 5px",maxWidth:430,margin:"0 auto"},children:s.jsx(of,{strands:XR,cord:pse,height:72,plaitWidth:18})}),s.jsxs("div",{className:"avoid-break",style:{border:"1px solid rgba(110,119,132,0.22)",borderTop:`3px solid ${Pe}`,borderRadius:10,background:"rgba(110,119,132,0.07)",padding:"5px 12px 6px",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsxs("div",{className:"flex items-center",style:{gap:9},children:[s.jsx(oc,{size:36}),s.jsx("p",{className:"font-display",style:{fontSize:17.5,lineHeight:1.18,color:xt,fontWeight:700},children:"Governance"}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Pe,fontWeight:700,marginLeft:"auto"},children:"Where the strands come together"})]}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.2,marginTop:2,color:"#4b5565"},children:"Shared governance is the backbone, not a tenth strand."}),s.jsxs("p",{style:{fontSize:13.5,lineHeight:1.2,marginTop:2,color:"#6b7686"},children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",fontWeight:700,color:Pe},children:"Success looks like"})," ","Are shared priorities, decisions, and responsibilities clear and durable?"]})]})]}),s.jsx(tt,{waveHeight:mm,style:fm,children:s.jsx("p",{className:"font-display",style:{fontSize:16,lineHeight:1.3,color:"#fff",fontWeight:700},children:"Funding compounds when the system underneath it is braided, and resets when it isn’t."})})]})]}),s.jsxs(Dc,{page:4,children:[s.jsx(rh,{eyebrow:"How to distinguish progress from activity",titleMaxWidth:"6.9in",title:s.jsx(s.Fragment,{children:"Five questions help separate real ecosystem progress from costly activity."}),kicker:"Everyone answers from their own seat first, then the coalition reads it together. Where partners disagree is often the most useful thing in the room.",rule:!1}),s.jsxs(oh,{children:[s.jsx(tt,{wave:"bottom",style:{padding:"8px 13px",borderTopLeftRadius:10,borderTopRightRadius:10},children:s.jsxs("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:"#fff",fontWeight:700},children:["Together, they answer one question: is this ecosystem getting stronger, and is that progress"," ",s.jsx("span",{style:{color:Hs},children:"compounding"}),"?"]})}),s.jsxs("div",{className:"q-list grid",style:{gridTemplateColumns:"1fr 1fr",gap:18,marginTop:"auto",marginBottom:"auto",alignItems:"stretch",flexShrink:0},children:[s.jsx(ih,{n:"1",tag:"Pace",accent:xt,title:"Are the goals right for the phase this ecosystem is in?",children:"Start with where the ecosystem is, then agree what progress looks like at that stage. Partner groups run on different clocks, and a grant deadline may not match the pace a strand genuinely moves at."}),s.jsx(ih,{n:"2",tag:"Build / Buy / Partner",accent:Hs,title:"Are we building, buying, or partnering for the right capabilities?",children:"Not every capability needs to be built or owned locally. Ask what the ecosystem needs to own for the long term, and what it can reliably access from others."}),s.jsx(ih,{n:"3",tag:"Embeddedness",accent:Vn,title:"Is what was built becoming part of how the ecosystem works?",children:"A project can be completed without changing the system. Look for a new tool, practice, relationship, pathway, or capability being taken up into how people normally work. This includes shared governance: whether joint decisions, a common data structure, and agreed responsibilities are becoming how the network operates day to day."}),s.jsx(ih,{n:"4",tag:"Durability",accent:"#4C9A5A",title:"Does the progress hold without a permanent center or a champion?",children:"The most common way this work fails is that everything slowly runs through one organization. Look for what remains when people, funding, leadership, or priorities change. Are the relationships still working? Continuity does not require one institution at the center; it requires shared ownership and named handoffs that survive a person leaving."}),s.jsxs(ih,{n:"5",tag:"Accountability",accent:"#7B5EA7",span:!0,title:"Is this an outcome the ecosystem builder can meaningfully influence?",children:["Ecosystem outcomes are shared. Distinguish what the builder controls, influences, contributes to, and simply needs to watch so accountability and attribution match their actual role.",s.jsx("span",{style:{display:"block",marginTop:5},children:s.jsx(use,{compact:!0})})]})]}),s.jsxs(tt,{waveHeight:mm,style:{...fm,marginTop:0},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Hs,fontWeight:700},children:"What you’re ultimately looking for"}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:"#fff",fontWeight:700,marginTop:5},children:"Is this ecosystem becoming more connected, and is that connective infrastru
1162cture strong enough to outlast the people, champions, and grants that helped create it?"})]})]})]}),s.jsxs(Dc,{page:5,children:[s.jsx(rh,{eyebrow:"How the process runs",titleMaxWidth:"6.9in",title:s.jsx(s.Fragment,{children:"Six sessions over twelve months."}),kickerSize:17.5,kicker:"You and your core partners work through it together, and the coalition leaves with a plan it runs from, not a binder. The Scorecard opens and closes the year, so you see a trajectory, not a snapshot.",rule:!1}),s.jsxs(oh,{style:{paddingTop:6},children:[s.jsx("div",{className:"flex items-center",style:{gap:6},children:UN.map((a,l)=>s.jsxs(x.Fragment,{children:[l>0&&s.jsx("span",{"aria-hidden":"true",className:"font-display",style:{fontSize:20,fontWeight:700,color:"rgba(45,77,131,0.42)",lineHeight:1},children:">"}),s.jsx("div",{style:{flex:1,borderRadius:10,padding:"3px 10px",background:`${a.color}14`,borderTop:`3px solid ${a.color}`,textAlign:"center",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:s.jsxs("span",{className:"inline-flex items-center justify-center",style:{gap:6},children:[s.jsx(a.Icon,{size:15,color:a.color,"aria-hidden":"true"}),s.jsx("span",{className:"font-display",style:{fontSize:20,letterSpacing:"0",fontWeight:700,color:a.color},children:a.label})]})})]},a.label))}),s.jsx("div",{style:{marginTop:4},children:s.jsx(wi,{variant:"print",responsive:!1})}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:"#8d97a6",fontWeight:700,marginTop:5},children:"12-month cycle"}),s.jsxs("svg",{viewBox:"0 0 1000 30",style:{width:"100%",height:13,marginTop:4,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},preserveAspectRatio:"none","aria-hidden":"true",children:[UN.map(a=>s.jsx("rect",{x:Oc(a.from)-1e3/24,y:9,width:Oc(a.to)-Oc(a.from)+1e3/12,height:12,rx:6,fill:a.color,opacity:.92},a.label)),Array.from({length:12},(a,l)=>l+1).map(a=>s.jsx("line",{x1:Oc(a),y1:8,x2:Oc(a),y2:22,stroke:"rgba(255,255,255,0.6)",strokeWidth:2},a)),GN.map(a=>s.jsx("circle",{cx:Oc(a.at),cy:15,r:7,fill:Hs,stroke:"#ffffff",strokeWidth:2.5},a.at))]}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr 1fr",gap:8,marginTop:4},children:GN.map(a=>s.jsxs("div",{style:{borderTop:`2px solid ${Hs}`,paddingTop:4},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:kn-1.2,letterSpacing:"0",color:"#8d97a6",fontWeight:700},children:a.when}),s.jsx("p",{style:{fontSize:kn-.4,lineHeight:1.28,color:"#4b5565",marginTop:2},children:a.label})]},a.at))}),s.jsxs("div",{className:"relative",style:{height:16,marginTop:5,marginBottom:0,display:"flex",alignItems:"center",justifyContent:"center"},children:[s.jsxs("svg",{viewBox:"0 0 1000 40",preserveAspectRatio:"none",style:{position:"absolute",inset:0,width:"100%",height:"100%"},"aria-hidden":"true",children:[s.jsx("path",{d:"M960 4 C960 32, 900 36, 820 36 L180 36 C100 36, 40 32, 40 4",fill:"none",stroke:xt,strokeWidth:"2.5",strokeDasharray:"7 7",opacity:.55}),s.jsx("path",{d:"M40 16 L34 2 L46 2 Z",fill:xt})]}),s.jsx("p",{style:{position:"relative",zIndex:1,background:"#fff",padding:"0 8px",fontSize:kn,color:xt,fontStyle:"italic"},children:"At 12 months, re-run the Scorecard to see what moved against the 2 to 3 year plan"})]}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:5,marginTop:2},children:He.map((a,l)=>s.jsxs("div",{className:"avoid-break",style:{background:"#fff",border:"1px solid rgba(45,77,131,0.14)",borderTop:`3px solid ${a.accent}`,borderRadius:10,padding:"3px 7px 4px",display:"flex",flexDirection:"column",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("p",{className:"font-body",style:{fontSize:kn,fontWeight:700,letterSpacing:"0",color:a.accent},children:a.num}),s.jsx("p",{className:"font-display",style:{fontSize:16.5,fontWeight:700,color:xt,lineHeight:1.18,marginTop:1},children:a.kind}),s.jsx("span",{style:{display:"block",width:28,height:2,background:a.accent,borderRadius:2,marginTop:4}}),s.jsx("div",{className:"flex items-center justify-center",style:{marginTop:2},children:s.jsx(tu,{index:l,accent:a.accent,width:48})}),s.jsxs("div",{style:{marginTop:4,paddingTop:5,borderTop:"1px solid rgba(45,77,131,0.10)"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:kn-.8,letterSpacing:"0",color:"#8d97a6",fontWeight:700},children:"Your ecosystem gets"}
1162),s.jsx("ul",{style:{marginTop:3,display:"grid",gap:2},children:Jr[l].map(c=>s.jsxs("li",{className:"flex",style:{gap:5,fontSize:kn,lineHeight:1.24,color:a.accent,fontWeight:600},children:[s.jsx("span",{"aria-hidden":"true",style:{display:"block",width:4,height:4,borderRadius:999,background:a.accent,marginTop:5,flexShrink:0}}),s.jsx("span",{children:c})]},c))})]})]},a.num))}),s.jsxs(tt,{waveHeight:mm,style:fm,children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Hs,fontWeight:700},children:"What the year produces"}),s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:"#fff",fontWeight:700,marginTop:5},children:"A shared picture, a two to three year plan with owners, an operating model that runs it, and a funding strategy that outlasts any one grant."})]})]})]}),s.jsxs(Dc,{page:6,children:[s.jsx(rh,{eyebrow:"What this gives you, and where to start",titleMaxWidth:"6.9in",title:s.jsx(s.Fragment,{children:"See where the next move can change the system, not just support it."}),kicker:s.jsx("span",{style:{display:"block",lineHeight:1.3},children:"Underresourced is often under-woven. The question isn’t how much you have, but where to put it: where a gap holds things back, or a relationship unlocks what you are not using yet. Because the year begins and ends with the Scorecard, you can show what moved long before jobs and companies appear in the numbers."}),rule:!1}),s.jsxs(oh,{children:[s.jsxs("div",{className:"grid avoid-break",style:{gridTemplateColumns:"1.62fr 1fr",gap:9,alignItems:"stretch"},children:[s.jsxs("div",{className:"flex flex-col justify-center",style:{border:"1px solid rgba(45,77,131,0.18)",borderLeft:`5px solid ${Hs}`,background:"rgba(45,77,131,0.04)",padding:"6px 12px 7px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:24,lineHeight:1.18,color:xt,fontWeight:700},children:"Bring this to your ecosystem →"}),s.jsx("p",{style:{fontSize:14,lineHeight:1.22,fontStyle:"italic",marginTop:3},children:"You do not have to be the center to start. This is for whoever wants the coalition to see clearly: a backbone or governance organization, a partner from any of the nine groups, or a regional organization that simply wants this work done. Convene your core partners and run the process together. Over twelve months you build a shared picture of the ecosystem, name what would strengthen it next, and put an owner on each priority. At twelve months, re-run the scorecard to see what moved."})]}),s.jsx("div",{style:{overflow:"hidden",borderRadius:10,border:"1px solid rgba(45,77,131,0.18)",minHeight:150},children:s.jsx("img",{src:hf,alt:"Partners marking the Ecosystem Edge scorecard together during a working session",style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center 60%"}})})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Vn,fontWeight:700,marginTop:"auto",paddingTop:2},children:"A shared way to reveal, clarify, and activate together"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:9,marginTop:3},children:[{t:"For ecosystem builders",c:"#7B5EA7",items:["Make the invisible visible: the handoffs, introductions, and trust that hold the ecosystem together, seen by everyone at once.","Turn findings into action: every priority leads to a clear next step and a named owner.","Show progress early: a re-run scorecard at twelve months, evidence of movement you can bring to boards and funders."]},{t:"For funders",c:"#4C9A5A",items:["See progress earlier: movement in the ecosystem before it shows up in jobs, companies, or funding.","See your portfolio differently: compare patterns, gaps, and trajectories, not regions against one another.","Make each dollar more strategic: fill a gap, unlock resources, and build lasting capacity."]},{t:"For field builders",c:Vn,items:["One shared language, so what a region learns can travel to the next one.","Scaffolded patterns: a repeatable practice a community can carry and adapt.","A quick-launch repeatable process you can run with your own communities of practice, without building it from scratch."]}].map(a=>s.jsxs("div",{style:{border:"1px solid #e4e7ec",borderTop:`4px s
1162olid ${a.c}`,borderRadius:10,overflow:"hidden",padding:"5px 9px 5px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:17,color:a.c,fontWeight:700,lineHeight:1.16},children:a.t}),s.jsx("ul",{style:{marginTop:3,display:"grid",gap:2},children:a.items.map(l=>s.jsxs("li",{className:"flex",style:{gap:6,fontSize:kn,lineHeight:1.22},children:[s.jsx("span",{"aria-hidden":"true",style:{color:a.c,fontWeight:700},children:"•"}),s.jsx("span",{children:l})]},l))})]},a.t))}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:Vn,fontWeight:700,marginTop:3},children:"What the year asks, and what you get"}),s.jsx("div",{className:"grid avoid-break",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:9,marginTop:3,marginBottom:"auto"},children:[{k:"What we bring",h:"Facilitation and tools.",v:"All six sessions facilitated, the scorecard and its tools, and coaching between sessions so the work keeps moving.",c:xt},{k:"What the coalition commits",h:"A core group and the time.",v:"A core group of partners, six half-day sessions across twelve months, and one named owner for each priority.",c:Vn},{k:"What you have at 12 months",h:"A picture, priorities, and proof.",v:"A shared picture of the ecosystem, priorities with owners and next steps, and a re-run scorecard showing what moved.",c:Hs}].map(a=>s.jsxs("div",{style:{borderTop:`3px solid ${a.c}`,paddingTop:5},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:13.5,letterSpacing:"0",color:a.c,fontWeight:700},children:a.k}),s.jsx("p",{style:{fontSize:VN,lineHeight:1.24,color:xt,fontWeight:600,marginTop:2},children:a.h}),s.jsx("p",{style:{fontSize:kn,lineHeight:1.22,color:"#5a6779",marginTop:2},children:a.v})]},a.k))}),s.jsxs(tt,{waveHeight:15,style:{marginTop:"auto",padding:"3px 20px 3px",borderBottomLeftRadius:12,borderBottomRightRadius:12,position:"relative",overflow:"hidden"},children:[s.jsxs("div",{className:"flex items-center justify-between relative",style:{gap:14,zIndex:1},children:[s.jsxs("div",{style:{maxWidth:"4.6in"},children:[s.jsx("p",{className:"font-display",style:{fontSize:22.5,lineHeight:1.18,color:"#fff",fontWeight:700},children:"Bring your partners to one shared picture."}),s.jsx("p",{style:{fontSize:13.5,lineHeight:1.26,color:"rgba(255,255,255,0.84)",marginTop:4},children:"Your edge is already there, in the connections. You leave with partners aligned, priorities named, and owners in place."})]}),s.jsx("div",{className:"shrink-0 flex flex-col items-center justify-center",style:{width:210,height:62},children:s.jsx("a",{className:"font-body uppercase",href:"https://ecosystem-edge.com",target:"_blank",rel:"noreferrer",style:{background:Hs,color:"#2a1f06",fontWeight:700,fontSize:16.5,letterSpacing:"0",padding:"8px 13px",borderRadius:8,whiteSpace:"nowrap",textDecoration:"none",boxShadow:"0 6px 18px rgba(0,0,0,0.28)"},children:"Build with us →"})})]}),s.jsxs("div",{className:"flex items-center justify-between relative",style:{marginTop:6,paddingTop:6,borderTop:`1px solid ${Vn}55`,gap:13,zIndex:1},children:[s.jsx("div",{className:"flex",style:{gap:21},children:[{n:"Amy Beaird, PhD",e:"[email protected]"},{n:"Dawn Haynes, MBA",e:"[email protected]"}].map(a=>s.jsxs("div",{className:"shrink-0",style:{whiteSpace:"nowrap"},children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:"#fff",fontWeight:700,lineHeight:1.2},children:a.n}),s.jsx("p",{style:{fontSize:kn,color:"rgba(255,255,255,0.82)",marginTop:2},children:a.e})]},a.n))}),s.jsx("p",{className:"font-display shrink-0",style:{fontSize:17.5,color:Vn,fontWeight:700,letterSpacing:"0",whiteSpace:"nowrap"},children:"ecosystem-edge.com"})]})]})]})]})]})]})},_t="#2D4D83",dn="#59BEC9",pt="#E2B673",mse="#3d4757",Xm=13,bn=12.2,la=10.4,eg=1.62,gse="Ecosystem Edge® - Know whether your ecosystem investment is taking hold",qc=({color:e=dn,width:t="100%"})=>s.jsx("svg",{width:t,height:"8",viewBox:"0 0 300 8",preserveAspectRatio:"none","aria-hidden":!0,style:{display:"block"},children:s.jsx("path",{d:"M0,4 C 18,0 18,8 37,8 C 56,8 56,0 75,0 C 94,0 94,8 112,8 C 131,8 131,0 150,0 C 169,0 169,8 187,8 C 206,8 206,0 225,0 C 244,0 244,8 262,8 C 281,8 281,0 300,0",fill:"none",stroke:e,strokeWidth:"2.4"})}),gm=({style:e,waveHeight:t=13,children:n})=>{const{marginTop:r,...o}=e??{};return s.jsxs("div",{className:"avoid-break",style:{marginTop:r},children:[s.jsx("svg",{width:"100%",height:t,viewBox:"0 0 1000 13",preserveAspectRatio:"none",style:{display:"block"}
1162,"aria-hidden":!0,children:s.jsx("path",{d:"M0,13 L0,8 C 62,8 62,1 125,1 C 187,1 187,8 250,8 C 312,8 312,1 375,1 C 437,1 437,8 500,8 C 562,8 562,1 625,1 C 687,1 687,8 750,8 C 812,8 812,1 875,1 C 937,1 937,8 1000,8 L1000,13 Z",fill:_t})}),s.jsx("div",{style:{background:_t,marginTop:-1,...o},children:n})]})},or=({children:e,page:t,dark:n,spread:r})=>s.jsxs("section",{className:"pdf-page pdf-body",style:n?{background:_t,color:"#fff"}:void 0,children:[s.jsx("div",{style:r?{height:"9.8in",display:"flex",flexDirection:"column"}:{minHeight:"9.55in"},children:e}),t?s.jsxs("div",{className:"flex items-end justify-between",style:{position:"absolute",left:"0.72in",right:"0.72in",bottom:"0.42in",borderTop:`1px solid ${n?"rgba(255,255,255,0.22)":"rgba(45,77,131,0.14)"}`,paddingTop:7},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:la,letterSpacing:"0.16em",color:n?"rgba(255,255,255,0.6)":"#8d97a6"},children:"Ecosystem Edge® · Capital Braid™"}),s.jsx("p",{className:"font-body",style:{fontSize:la,letterSpacing:"0.1em",color:n?"rgba(255,255,255,0.6)":"#8d97a6"},children:t})]}):null]}),vo=({eyebrow:e,title:t,accent:n=dn})=>s.jsxs("div",{style:{padding:"0.62in 0.72in 0"},children:[e?s.jsx("p",{className:"font-body uppercase",style:{fontSize:la,letterSpacing:"0.2em",color:n,fontWeight:700},children:e}):null,s.jsx("h2",{className:"font-display",style:{fontSize:27,lineHeight:1.14,color:_t,fontWeight:700,marginTop:8,maxWidth:"6.4in"},children:t}),s.jsx("div",{style:{marginTop:12,maxWidth:"2.6in"},children:s.jsx(qc,{color:n})})]}),bo=({children:e,style:t,spread:n})=>s.jsx("div",{style:n?{padding:"18px 0.72in 0",flex:1,display:"flex",flexDirection:"column",justifyContent:"space-between",...t}:{padding:"18px 0.72in 0",...t},children:e}),Fe=({children:e,style:t})=>s.jsx("p",{style:{fontSize:Xm,lineHeight:eg,marginTop:10,maxWidth:"6.6in",...t},children:e}),qN=({children:e})=>s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.35,color:_t,fontWeight:700,marginTop:14,maxWidth:"6.4in"},children:e}),ym=({children:e,color:t=_t})=>s.jsx("p",{className:"font-display",style:{fontSize:16,lineHeight:1.25,color:t,fontWeight:700,marginTop:16},children:e}),ll=({items:e,color:t=dn,style:n})=>s.jsx("ul",{style:{display:"grid",gap:6,marginTop:9,...n},children:e.map(r=>s.jsxs("li",{className:"flex",style:{gap:9,fontSize:bn,lineHeight:1.5,maxWidth:"6.4in"},children:[s.jsx("span",{"aria-hidden":!0,style:{color:t,fontWeight:700},children:"•"}),s.jsx("span",{children:r})]},r))}),Gi=({n:e,title:t,accent:n=dn,children:r})=>s.jsxs("div",{className:"avoid-break flex items-start",style:{gap:13,marginTop:15},children:[s.jsx("span",{className:"font-body shrink-0 flex items-center justify-center",style:{width:26,height:26,borderRadius:99,background:`${n}22`,color:_t,fontSize:12.5,fontWeight:700},children:e}),s.jsxs("div",{style:{flex:1},children:[s.jsx("p",{className:"font-display",style:{fontSize:15.5,lineHeight:1.25,color:_t,fontWeight:700},children:t}),s.jsx("div",{style:{marginTop:4},children:r})]})]}),wo=({k:e,v:t,accent:n})=>s.jsxs("div",{className:"avoid-break",style:{borderLeft:`3px solid ${n}`,paddingLeft:12,marginTop:13},children:[s.jsx("p",{className:"font-display",style:{fontSize:14.5,lineHeight:1.2,color:_t,fontWeight:700},children:e}),s.jsx("p",{style:{fontSize:bn,lineHeight:1.5,marginTop:3},children:t})]}),yse=[{k:"Reveal",c:dn,ink:"#0d6b76",lines:["We bring the ecosystem’s partners into the same conversation.","Using a simple scorecard and facilitated process, participants provide their perspective on the health of key relationships and capabilities.","The result is an honest, shared picture of where the ecosystem is strong, where perspectives differ, and where important connections may be missing."]},{k:"Clarify",c:_t,ink:_t,lines:["We turn that picture into a small number of priorities.","Who needs to do what?","What needs to change?","What would count as meaningful movement?","What should the ecosystem build, access, or do differently?"]},{k:"Activate",c:pt,ink:"#8a6a20",lines:["Ecosystem Edge® brings practical tools and coaching to help the ecosystem act.","That can include ecosystem mapping, partner strategies, operating tools, financial sustainability approaches, implementation templates, and examples from other ecosystems."]},{k:"Re-read",c:"#C4566E",ink:"#9c3b52",lines:["Come back to the same questions.","What strengthened? What became institutionalized? What is being used? What held when circumstances changed?","What should the funder and ecosystem builder do next?"]}],xse=()=>{const e=P.useCallback(()=>{const t=document.title,n=()=>{document.title=t,window.removeEventListener("afterprint",n)};window.addEventListener("afterprint",n),document.title=gse;try{window.print()}finally{window.setTimeout(n,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"Know Whether Your Ecosystem Investment Is Taking Hold | Ecosystem Edge",description:"A short brief for funders: how Capital Braid helps you see whether an ecosystem is getting stronger, and whether what you funded will last.",path:"/leave-behind",noindex:!0}),s.jsx("style",{children:`
1163        .pdf-page {
1164          width: 8.5in;
1165          height: 11in;
1166          margin: 0 auto 26px;
1167          background: #ffffff;
1168          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
1169          position: relative;
1170          overflow: hidden;
1171        }
1172        .pdf-body { font-size: ${Xm}px; line-height: ${eg}; color: ${mse}; text-wrap: pretty; }
1173        .pdf-body h1, .pdf-body h2, .pdf-body h3 { text-wrap: balance; }
1174        @media print {
1175          @page { size: letter; margin: 0; }
1176          html, body { background: #ffffff !important; }
1177          .no-print { display: none !important; }
1178          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
1179          .pdf-page {
1180            box-shadow: none !important;
1181            margin: 0 !important;
1182            width: 100% !important;
1183            height: 11in !important;
1184            break-after: page;
1185            page-break-after: always;
1186          }
1187          .pdf-page:last-child { break-after: auto; page-break-after: auto; }
1188          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
1189          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
1190        }
1191      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body",style:{fontSize:13,color:"#5a6779"},children:"Designed to print as a leave-behind PDF — use Print, then Save as PDF (letter, no scaling)."}),s.jsxs("button",{onClick:e,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:14,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsx(or,{dark:!0,children:s.jsxs("div",{style:{padding:"0.95in 0.85in 0"},children:[s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:56,background:"#fff",borderRadius:7,padding:"7px 12px"}}),s.jsx("h1",{className:"font-display",style:{fontSize:40,lineHeight:1.08,color:"#fff",fontWeight:700,marginTop:30,maxWidth:"6.1in"},children:"Know whether your ecosystem investment is taking hold."}),s.jsx("div",{style:{marginTop:18,marginLeft:"-0.85in",marginRight:"-0.85in",width:"8.5in"},children:s.jsx("img",{src:co,alt:"","aria-hidden":"true",loading:"eager",style:{display:"block",width:"100%",height:300,objectFit:"cover",filter:"brightness(1.1) saturate(1.
119106)"}})}),s.jsx("p",{style:{fontSize:14.5,lineHeight:1.6,color:"rgba(255,255,255,0.88)",marginTop:26,maxWidth:"6.2in"},children:"Philanthropy is being asked to solve problems that take years to change on funding cycles that often last months."}),s.jsx("p",{style:{fontSize:14.5,lineHeight:1.6,color:"rgba(255,255,255,0.7)",marginTop:20},children:"That creates a difficult question:"}),s.jsx("p",{className:"font-display",style:{fontSize:19,lineHeight:1.35,color:pt,fontWeight:700,marginTop:10,maxWidth:"6.2in"},children:"How do you know whether an ecosystem is truly getting stronger before the jobs, companies, capital, or other long-term outcomes show up?"}),s.jsx("p",{style:{fontSize:14.5,lineHeight:1.6,color:"rgba(255,255,255,0.7)",marginTop:20},children:"And perhaps the more important question:"}),s.jsx("p",{className:"font-display",style:{fontSize:19,lineHeight:1.35,color:"#fff",fontWeight:700,marginTop:10,maxWidth:"6.2in"},children:"Will what your funding built still be there when the grant ends?"}),s.jsx("div",{style:{marginTop:24,maxWidth:"2.4in"},children:s.jsx(qc,{color:dn})}),s.jsx("p",{style:{fontSize:15,lineHeight:1.5,color:"#fff",fontWeight:600,marginTop:12},children:"Ecosystem Edge® helps funders answer both."})]})}),s.jsxs(or,{page:2,spread:!0,children:[s.jsx(vo,{eyebrow:"The approach",title:"A shared way to see what is strengthening — and what is still fragile."}),s.jsxs(bo,{spread:!0,children:[s.jsx(Fe,{children:"Our Capital Braid™ framework gives funders and ecosystem builders a shared way to see what is strengthening, what is still fragile, and what needs to happen next."}),s.jsx(Fe,{children:"It looks beyond programs and outputs to the underlying relationships, roles, and infrastructure that allow progress to compound."}),s.jsxs(gm,{style:{marginTop:18,padding:"16px 22px 18px",borderBottomLeftRadius:10,borderBottomRightRadius:10},children:[s.jsx("p",{style:{fontSize:bn,lineHeight:1.5,color:"rgba(255,255,255,0.82)"},children:"The goal isn’t to prove that a grant worked."}),s.jsxs("p",{className:"font-display",style:{fontSize:18,lineHeight:1.32,color:"#fff",fontWeight:700,marginTop:6},children:["It’s to know whether your investment is making the ecosystem"," ",s.jsx("span",{style:{color:pt},children:"more capable of producing results over time."})]})]}),s.jsx(ym,{children:"The problem with measuring ecosystem change"}),s.jsx(Fe,{style:{marginTop:8},children:"Traditional measures tend to tell you what happened:"}),s.jsx(ll,{items:["How many people participated?","How many companies were served?","How many jobs were created?","How much capital was raised?","How many programs launched?"]}),s.jsx(Fe,{children:"Those measures matter."}),s.jsx(Fe,{children:"But they often arrive too late—and they don’t tell you whether the system underneath them is getting stronger."}),s.jsx(Fe,{children:"A region can have more programs, more funding, and more activity while still being dependent on the same few champions, disconnected organizations, short-term grants, and fragile relationships."})]})]}),s.jsxs(or,{page:3,spread:!0,children:[s.jsx(vo,{eyebrow:"What we help funders see",title:"Activity is not the same as capacity.",accent:pt}),s.jsxs(bo,{spread:!0,children:[s.jsxs("div",{className:"avoid-break",style:{borderLeft:`3px solid ${pt}`,paddingLeft:15},children:[s.jsx("p",{className:"font-display",style:{fontSize:16.5,lineHeight:1.35,color:_t,fontWeight:700},children:"Then the funding ends."}),s.jsx("p",{style:{fontSize:Xm,lineHeight:eg,marginTop:6},children:"People leave. Programs disappear. Relationships weaken. The region starts over. The investment produced activity, but didn’t build enough capacity to compound."}),s.jsx("p",{style:{fontSize:Xm,lineHeight:eg,marginTop:6},children:"Capital Braid™ helps funders see that distinction earlier."})]}),s.jsx(Gi,{n:"1",title:"Is the ecosystem getting stronger?",children:s.jsx(ll,{style:{marginTop:5},items:["Are the right partners connected?","Are relationships becoming more useful?","Are organizations beginning to share responsibility?","Is collaboration producing something that individual organizations could not produce alone?"]})}),s.jsx(Gi,{n:"2",title:"Is progress becoming durable?",accent:_t,children:s.jsx(ll,{style:{marginTop:5},color:_t,items:["Does the work survive when a leader leaves?","Are capabilities institutionalized rather than dependent on one person?","Do partners continue collaborating without the funder pushing them?","Does the ecosystem retain what the investment helped create?"]})}),s.jsxs(Gi,{n:"3",title:"Is the investment moving in the right direction?",accent:pt,children:[s.jsx("p",{style:{fontSize:bn,lineHeight:1.55,marginTop:5,maxWidth:"6.3in"},children:"You don’t have to wait five or ten years to learn that something isn’t working. A region can show meaningful movement in relationships, collaboration, adoption, and institutionalization long before traditional economic outcomes appear."}),s.jsx("p",{style:{fontSize:bn,lineHeight:1.55,marginTop:6},children:"That gives funders an opportunity to:"}),s.jsx(ll,{style:{marginTop:5}
1191,color:pt,items:["Stay the course when the trajectory is positive.","Adjust when something is not taking hold.","Stop funding approaches that aren’t being used.","Invest differently when the system needs a different capability."]})]})]})]}),s.jsxs(or,{page:4,spread:!0,children:[s.jsx(vo,{eyebrow:"Adaptable across a portfolio",title:"One ecosystem. Different objectives."}),s.jsxs(bo,{spread:!0,children:[s.jsx(Fe,{children:"There is no universal definition of a healthy ecosystem."}),s.jsx(Fe,{children:"The same ecosystem can be viewed through different objectives."}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:14,marginTop:18},children:[{goal:"Entrepreneurship",center:"you may center entrepreneurs.",c:dn},{goal:"Economic mobility",center:"you may center workers and talent.",c:_t},{goal:"Corporate innovation",center:"you may center corporates.",c:pt}].map(t=>s.jsxs("div",{className:"avoid-break",style:{borderTop:`3px solid ${t.c}`,background:"rgba(45,77,131,0.035)",padding:"11px 13px 13px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:la,letterSpacing:"0.14em",color:_t,fontWeight:700},children:"If your goal is"}),s.jsx("p",{className:"font-display",style:{fontSize:15.5,lineHeight:1.2,color:_t,fontWeight:700,marginTop:4},children:t.goal}),s.jsx("p",{style:{fontSize:bn,lineHeight:1.5,marginTop:5},children:t.center})]},t.goal))}),s.jsx(Fe,{style:{marginTop:18},children:"The surrounding ecosystem still matters."}),s.jsx(Fe,{children:"What changes is the question you are asking of it."}),s.jsx(Fe,{children:"This makes Capital Braid™ adaptable across a philanthropic portfolio without pretending that every place, sector, or strategy should produce the same outcome."}),s.jsx(Fe,{style:{marginTop:16},children:"The principle is simple:"}),s.jsx(gm,{style:{marginTop:10,padding:"16px 22px 18px",borderBottomLeftRadius:10,borderBottomRightRadius:10},children:s.jsxs("p",{className:"font-display",style:{fontSize:20,lineHeight:1.3,color:"#fff",fontWeight:700},children:["Same system. ",s.jsx("span",{style:{color:dn},children:"Different objective."})," ",s.jsx("span",{style:{color:pt},children:"Shared way of seeing it."})]})})]})]}),s.jsxs(or,{page:5,spread:!0,children:[s.jsx(vo,{eyebrow:"Where to look",title:"Look at the relationships, not just the pipeline."}),s.jsxs(bo,{spread:!0,children:[s.jsx(Fe,{children:"Ecosystems are not linear."}),s.jsx(Fe,{children:"Money does not simply go in and produce outcomes."}),s.jsx(Fe,{children:"People, organizations, capital, knowledge, opportunities, and trust move through relationships."}),s.jsx(ym,{children:"That is why Capital Braid™ asks questions such as:"}),s.jsx(ll,{items:["Do founders have meaningful relationships with customers and capital?","Do employers and talent providers understand each other’s needs?","Are public resources aligned rather than fragmented?","Are ecosystem support organizations genuinely making useful connections?","Are industry partners acting collectively?","Is the ecosystem’s shared infrastructure becoming locally owned?","Does the work continue when the original champion leaves?"]}),s.jsx("div",{style:{marginTop:22,maxWidth:"3in"},children:s.jsx(qc,{color:pt})}),s.jsx(qN,{children:"The relationships are the infrastructure."}),s.jsx(Fe,{children:"And infrastructure is what allows an investment to compound."})]})]}),s.jsxs(or,{page:6,spread:!0,children:[s.jsx(vo,{eyebrow:"The read",title:"Five questions. One consistent read.",accent:pt}),s.jsxs(bo,{spread:!0,children:[s.jsx(Fe,{children:"For every part of the ecosystem, we ask the same five questions:"}),s.jsx(Gi,{n:"1",title:"Where are they in the journey?",children:s.jsx("p",{style:{fontSize:bn,lineHeight:1.55,maxWidth:"6.3in"},children:"A year-two ecosystem is not judged by year-ten expectations. Early work may be about relationships and shared understanding. Later work looks like collaboration, use, institutionalization, and durability."})}),s.jsx(Gi,{n:"2",title:"How much can they control?",accent:_t,children:s.jsx("p",{style:{fontSize:bn,lineHeight:1.55,maxWidth:"6.3in"},children:"Not every outcome belongs to the ecosystem builder. We distinguish what they directly deliver from what they influence, observe, or simply experience as context. This makes the conversation more useful—and fairer."})}),s.jsxs(Gi,{n:"3",title:"Is anyone using what they built?",accent:pt,children:[s.jsx(ll,{style:{marginTop:5}
1191,color:pt,items:["A system can be launched without being used.","A board can exist without governing.","A referral network can exist without making referrals.","A partnership can exist without producing anything together."]}),s.jsx("p",{className:"font-display",style:{fontSize:15,color:_t,fontWeight:700,marginTop:9},children:"Built is not the same as used."})]}),s.jsx(Gi,{n:"4",title:"Is it sticking?",accent:_t,children:s.jsx("p",{style:{fontSize:bn,lineHeight:1.55,maxWidth:"6.3in"},children:"The strongest evidence of progress is what remains. Does the relationship continue? Does the capability survive staff turnover? Does the coalition function without constant intervention? Is the ecosystem becoming less dependent on individual champions and short-term funding?"})}),s.jsx(Gi,{n:"5",title:"Build, buy, or partner?",children:s.jsx("p",{style:{fontSize:bn,lineHeight:1.55,maxWidth:"6.3in"},children:"Not every capability needs to be built locally. Some capabilities are developed in the region. Some are accessed through partners. Some remain shared. The question is whether the ecosystem is developing the capabilities it truly needs to become more durable."})})]})]}),s.jsxs(or,{page:7,spread:!0,children:[s.jsx(vo,{eyebrow:"An implication of the framework",title:"Governance first. Money last."}),s.jsxs(bo,{spread:!0,children:[s.jsx(Fe,{children:"More money does not automatically create a stronger ecosystem."}),s.jsx(Fe,{children:"If the relationships, roles, and connective infrastru
1191cture are weak, additional funding can simply create more activity."}),s.jsx(Fe,{children:"The Capital Braid™ framework therefore looks first at whether the ecosystem can hold the work together—and only then at capital."}),s.jsx(ym,{children:"Because capital works differently in a strong ecosystem."}),s.jsx(ll,{items:["It can find the right opportunities.","Different sources of capital can reinforce one another.","Partners can bring resources to a shared objective.","And the infrastructure created by one investment can make the next investment more productive."]}),s.jsx("div",{style:{marginTop:24,maxWidth:"3in"},children:s.jsx(qc,{color:pt})}),s.jsx(Fe,{style:{marginTop:12},children:"The question isn’t only:"}),s.jsx("p",{className:"font-display",style:{fontSize:19,lineHeight:1.3,color:"#8d97a6",fontWeight:700,marginTop:6},children:"“How much money went in?”"}),s.jsx(Fe,{style:{marginTop:12},children:"It is:"}),s.jsx("p",{className:"font-display",style:{fontSize:22,lineHeight:1.3,color:_t,fontWeight:700,marginTop:6,maxWidth:"6.2in"},children:"“What became possible because the system became stronger?”"})]})]}),s.jsxs(or,{page:8,spread:!0,children:[s.jsx(vo,{eyebrow:"How it is used",title:"A partnership between funder and builder."}),s.jsxs(bo,{spread:!0,children:[s.jsx(Fe,{children:"Capital Braid™ is not designed to rank regions or grade grantees."}),s.jsx(Fe,{children:"It is designed to help funders and ecosystem builders make better decisions together."}),s.jsx(Fe,{children:"That distinction matters."}),s.jsx(ym,{children:"Ecosystem builders are often working under tremendous pressure:"}),s.jsx("div",{className:"flex",style:{gap:10,marginTop:10,flexWrap:"wrap"},children:["Build the coalition.","Deliver the programs.","Report the outcomes.","Raise the next grant.","Repeat."].map(t=>s.jsx("span",{className:"font-body",style:{fontSize:bn,color:_t,fontWeight:600,border:"1px solid rgba(45,77,131,0.2)",borderRadius:99,padding:"5px 13px"},children:t},t))}),s.jsx(Fe,{style:{marginTop:14},children:"That can create an unintended cycle where every new grant starts the clock over."}),s.jsxs(gm,{style:{marginTop:18,padding:"16px 22px 18px",borderBottomLeftRadius:10,borderBottomRightRadius:10},children:[s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:"#fff",fontWeight:700},children:"Capital Braid™ creates a different conversation."}),s.jsx("p",{style:{fontSize:bn,lineHeight:1.55,color:"rgba(255,255,255,0.84)",marginTop:6},children:"The funder and ecosystem builder can work from the same picture of the system:"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr 1fr",gap:12,marginTop:12},children:["What is working?","What is fragile?","What is missing?","What should we do next?"].map((t,n)=>s.jsx("div",{style:{borderTop:`2px solid ${[dn,pt,dn,pt][n]}`,paddingTop:7},children:s.jsx("p",{style:{fontSize:bn,lineHeight:1.35,color:"#fff",fontWeight:600},children:t})},t))})]}),s.jsx(Fe,{style:{marginTop:16},children:"That makes it possible to give promising ecosystem work a longer runway while still maintaining clear expectations for progress."})]})]}),s.jsxs(or,{page:9,spread:!0,children:[s.jsx(vo,{eyebrow:"The value",title:"What the funder gains. What the ecosystem builder gains.",accent:pt}),s.jsx(bo,{spread:!0,children:s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr",gap:26},children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:la,letterSpacing:"0.18em",color:dn,fontWeight:700},children:"What the funder gains"}),s.jsx(wo,{accent:dn,k:"Earlier signals",v:"See whether an investment is taking hold before lagging economic outcomes appear."}),s.jsx(wo,{accent:dn,k:"Better investment decisions",v:"Understand where additional funding, flexibility, technical assistance, or a change in strategy could have the greatest leverage."}),s.jsx(wo,{accent:dn,k:"A portfolio view",v:"Compare progress across different places and objectives without ranking places against one another."}),s.jsx(wo,{accent:dn,k:"A shared language with grantees",v:"Use the same framework for strategy, implementation, learning, and funding conversations."}),s.jsx(wo,{accent:dn,k:"Less reporting burden",v:"Use evidence ec
1191osystem builders already have wherever possible rather than creating another reporting system."})]}),s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:la,letterSpacing:"0.18em",color:"#8a6a20",fontWeight:700},children:"What the ecosystem builder gains"}),s.jsx(wo,{accent:pt,k:"Clarity",v:"A shared picture of the ecosystem and the few gaps that matter most."}),s.jsx(wo,{accent:pt,k:"Alignment",v:"Partners can see how their roles connect to a larger objective."}),s.jsx(wo,{accent:pt,k:"Prioritization",v:"Instead of a long strategic plan, identify the capabilities and relationships that need attention now."}),s.jsx(wo,{accent:pt,k:"Evidence for the journey",v:"Show meaningful progress even when traditional outcomes are still years away."}),s.jsx(wo,{accent:pt,k:"Practical support",v:"Ecosystem Edge® brings tools, coaching, examples, and implementation support\\u2014not just an assessment."})]})]})})]}),s.jsxs(or,{page:10,spread:!0,children:[s.jsx(vo,{eyebrow:"The process",title:"How we work with a portfolio."}),s.jsxs(bo,{spread:!0,children:[s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr",gap:16,flex:1,alignContent:"start",gridAutoRows:"1fr"},children:yse.map(t=>s.jsxs("div",{className:"avoid-break",style:{borderTop:`3px solid ${t.c}`,background:`${t.c}0f`,padding:"12px 15px 14px"},children:[s.jsx("p",{className:"font-display uppercase",style:{fontSize:17,letterSpacing:"0.06em",color:t.ink,fontWeight:700},children:t.k}),t.lines.map(n=>s.jsx("p",{style:{fontSize:bn,lineHeight:1.5,marginTop:7},children:n},n))]},t.k))}),s.jsxs(gm,{style:{marginTop:20,padding:"16px 22px 18px",borderBottomLeftRadius:10,borderBottomRightRadius:10},children:[s.jsx("p",{style:{fontSize:bn,lineHeight:1.5,color:"rgba(255,255,255,0.82)"},children:"The value is not the score."}),s.jsxs("p",{className:"font-display",style:{fontSize:18,lineHeight:1.32,color:"#fff",fontWeight:700,marginTop:6},children:["The value is the better decision that becomes possible because everyone can"," ",s.jsx("span",{style:{color:pt},children:"see the system more clearly."})]})]})]})]}),s.jsxs(or,{page:11,spread:!0,children:[s.jsx(vo,{eyebrow:"Where it comes from",title:"Built in practice. Tested in the field."}),s.jsxs(bo,{spread:!0,children:[s.jsx(Fe,{children:"Capital Braid™ did not begin as a theoretical model."}),s.jsx(Fe,{children:"It was developed through approximately five years of ecosystem-building work in a real regional ecosystem, then strengthened through work with large regional initiatives and the NSF Engines ecosystem."}),s.jsx(Fe,{children:"The framework has been stress-tested alongside evaluators and used with 40+ ecosystems across 15 states, across different regions, sectors, and ecosystem objectives."}),s.jsx(Fe,{children:"The model continues to evolve through application with philanthropic, federal, workforce, entrepreneurial, and regional partners."}),s.jsx(Fe,{children:"We don’t believe there is a perfect framework for a complex adaptive system."}),s.jsx(Fe,{children:"We believe good scaffolding gives people a shared language, helps them see what they could not see before, and gets them to better action faster."}),s.jsx("div",{style:{marginTop:24,maxWidth:"3in"},children:s.jsx(qc,{color:dn})}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:la,letterSpacing:"0.2em",color:dn,fontWeight:700,marginTop:16},children:"The principle behind the work"}),s.jsx("p",{className:"font-display",style:{fontSize:23,lineHeight:1.25,color:_t,fontWeight:700,marginTop:8,maxWidth:"6.2in"},children:"Make the system visible. Build what needs to last."}),s.jsx(Fe,{children:"No single funder can solve a complex community or economic challenge."}),s.jsx(Fe,{children:"No single organization can either."}),s.jsx(Fe,{children:"The work compounds when partners understand their roles, trust one another, share responsibility, and build infrastructure that survives beyond the people and grants that started it."}),s.jsx(qN,{children:"That is the braid."})]})]}),s.jsx(or,{page:12,dark:!0,children:s.jsxs("div",{style:{padding:"0.75in 0.85in 0",position:"relative"},children:[s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:50,background:"#fff",borderRadius:7,padding:"6px 11px"}}),s.jsx("h2",{className:"font-display",style:{fontSize:31,lineHeight:1.15,color:"#fff",fontWeight:700,marginTop:26,maxWidth:"6.1in"},children:"Your investment shouldn’t have to restart every time the grant ends."}),s.jsx("p",{style:{fontSize:14.5,lineHeight:1.6,color:"rgba(255,255,255,0.85)",marginTop:14,maxWidth:"6.1in"},children:"Ecosystem Edge® helps you see whether it is becoming part of a system that can carry the work forward."}),s.jsx("div",{style:{marginTop:18,maxWidth:"2.4in"},children:s.jsx(qc,{color:pt})}),s.jsx("p",{className:"font-display",style:{fontSize:22,lineHeight:1.25,color:pt,fontWeight:700,marginTop:14},children:"Let’s test it together."}),s.jsx("p",{style:{fontSize:14,lineHeight:1.6,color:"rgba(255,255,255,0.85)",marginTop:10,maxWidth:"6.1in"},children:"We see Capital Braid™ as a partnership between funders and ecosystem builders. We would welcome the opportunity to run the framework with one ec
1191osystem—or across a portfolio—and use what we learn together to continue pressure-testing and improving the model."}),s.jsx("div",{style:{marginTop:22,marginLeft:"-0.85in",marginRight:"-0.85in",width:"8.5in",opacity:.9},children:s.jsx("img",{src:co,alt:"","aria-hidden":"true",style:{display:"block",width:"100%",height:235,objectFit:"cover",filter:"brightness(1.1) saturate(1.06)"}})}),s.jsxs("div",{style:{marginTop:18,borderTop:"1px solid rgba(255,255,255,0.22)",paddingTop:16},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:la,letterSpacing:"0.2em",color:dn,fontWeight:700},children:"Ecosystem Edge®"}),s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr",gap:20,marginTop:12},children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:"#fff",fontWeight:700},children:"Amy Beaird, PhD"}),s.jsx("p",{style:{fontSize:bn,color:"rgba(255,255,255,0.7)",marginTop:2},children:"Co-Founder"}),s.jsx("p",{style:{fontSize:bn,color:pt,marginTop:4},children:"[email protected]"})]}),s.jsxs("div",{children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:"#fff",fontWeight:700},children:"Dawn Haynes, MBA"}),s.jsx("p",{style:{fontSize:bn,color:"rgba(255,255,255,0.7)",marginTop:2},children:"Co-Founder"})]})]}),s.jsx("p",{className:"font-body",style:{fontSize:13,color:"#fff",fontWeight:600,marginTop:12,letterSpacing:"0.04em"},children:"ecosystem-edge.com"})]})]})})]})]})},mt="#2D4D83",Zt="#59BEC9",Pn="#E2B673",B0="#C4566E",vse="#3d4757",cl=14,ah=13,cs=11.4,bse="Ecosystem Edge® for EFN - Pitch Deck",KN=["Strategy","Pulse","Insight","Action","Learning"],xl=({color:e=Zt,height:t=9})=>s.jsx("svg",{width:"100%",height:t,viewBox:"0 0 300 9",preserveAspectRatio:"none",style:{display:"block"},"aria-hidden":!0,children:s.jsx("path",{d:"M0,5 C 18.75,5 18.75,1.6 37.5,1.6 C 56.25,1.6 56.25,7.4 75,7.4 C 93.75,7.4 93.75,1.6 112.5,1.6 C 131.25,1.6 131.25,7.4 150,7.4 C 168.75,7.4 168.75,1.6 187.5,1.6 C 206.25,1.6 206.25,7.4 225,7.4 C 243.75,7.4 243.75,1.6 262.5,1.6 C 281.25,1.6 281.25,5 300,5",fill:"none",stroke:e,strokeWidth:"1.7",strokeLinecap:"round"})}),ZN=({style:e,waveHeight:t=13,children:n})=>{const{marginTop:r,...o}=e??{};return s.jsxs("div",{className:"avoid-break",style:{marginTop:r},children:[s.jsx("svg",{width:"100%",height:t,viewBox:"0 0 1000 13",preserveAspectRatio:"none",style:{display:"block"},"aria-hidden":!0,children:s.jsx("path",{d:"M0,13 L0,8 C 62,8 62,1 125,1 C 187,1 187,8 250,8 C 312,8 312,1 375,1 C 437,1 437,8 500,8 C 562,8 562,1 625,1 C 687,1 687,8 750,8 C 812,8 812,1 875,1 C 937,1 937,8 1000,8 L1000,13 Z",fill:mt})}),s.jsx("div",{style:{background:mt,marginTop:-1,...o},children:n})]})},Wc=({children:e,n:t,dark:n})=>s.jsxs("section",{className:"deck-slide deck-body",style:n?{background:mt,color:"#fff"}:void 0,children:[s.jsx("div",{className:"flex flex-col",style:{height:"8.5in",paddingBottom:"0.85in"},children:e}),t?s.jsxs("div",{className:"flex items-end justify-between",style:{position:"absolute",left:"0.62in",right:"0.62in",bottom:"0.36in",borderTop:`1px solid ${n?"rgba(255,255,255,0.22)":"rgba(45,77,131,0.14)"}`,paddingTop:7},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:cs,letterSpacing:"0.16em",color:n?"rgba(255,255,255,0.6)":"#8d97a6"},children:"Ecosystem Edge® · for EFN"}),s.jsx("p",{className:"font-body",style:{fontSize:cs,letterSpacing:"0.1em",color:n?"rgba(255,255,255,0.6)":"#8d97a6"},children:t})]}):null]}),lh=({eyebrow:e,title:t,kicker:n})=>s.jsxs("div",{style:{padding:"0.5in 0.62in 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:cs,letterSpacing:"0.2em",color:Zt,fontWeight:700},children:e}),s.jsx("h2",{className:"font-display",style:{fontSize:33,lineHeight:1.1,color:mt,fontWeight:700,marginTop:8,maxWidth:"8.4in"},children:t}),n?s.jsx("p",{style:{fontSize:14.5,lineHeight:1.5,color:"#6b7686",fontStyle:"italic",marginTop:8,maxWidth:"8.2in"},children:n}):null,s.jsx("div",{style:{marginTop:12,maxWidth:"3.4in"},children:s.jsx(xl,{})})]}),ch=({children:e,style:t})=>s.jsx("div",{className:"flex flex-col",style:{padding:"20px 0.62in 0",flex:1,minHeight:0,justifyContent:"space-evenly",...t},children:e}),QN=({dark:e})=>s.jsx("div",{className:"flex items-center",style:{gap:9,flexWrap:"wrap"},children:KN.map((t,n)=>s.jsxs(P.Fragment,{children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:cs-.6,letterSpacing:"0.14em",fontWeight:700,color:e?"#fff":mt,border:`1px solid ${e?"rgba(255,255,255,0.34)":"rgba(45,77,131,0.22)"}`,borderRadius:999,padding:"4px 12px",whiteSpace:"nowrap"},children:t}),n<KN.length-1?s.jsx("span",{style:{color:e?Pn:Zt,fontSize:13,lineHeight:1},children:"→"}):null]},t))}),wse=[{time:"0-3",slide:"Slide 1",head:"The problem",lines:["Open on the funders in the room, not on us. They are being asked to justify long-term investments in regions and sectors, and the changes that matter most take years to show up.","Name what traditional measures do give them — dollars in, programs launched, people served, eventually jobs and companies — and then the gap: none of it says whether the ecosystem itself is getting healthier.","Say the deeper mismatch plainly: humans plan linearly, and funding logic follows. Ecosystems run on relationships and connections moving all at once, so linear measures miss the part that makes outcomes compound. That gap is the setup for the next slide."]},{time:"3-6",slide:"Slide 2",head:"The missing layer",lines:["Jobs, companies, capital and patents are lagging indicators. The question underneath them is whether the relationships, roles and infrastru
1191cture are strengthening so future investment lands better.","Walk the six conditions quickly. The point to land: we are not measuring everything, we are measuring what tells us the direction of travel."]},{time:"6-10",slide:"Slide 3",head:"What Ecosystem Edge® does",lines:["Describe the practice and the partner groups, then the move that funders respond to most: the same underlying practice, centered on whichever group the investment objective is about.","Use their world for the example — workforce and mobility centers workers, commercialization centers research actors. Same practice, different strategic lens."]},{time:"10-14",slide:"Slide 4",head:"What happens in a session",lines:["Tell the story rather than the steps. Thirty people in a room, everyone answers the same simple questions anonymously, and the aggregate goes up on the screen.","The moment worth describing: people discover they hold completely different pictures of their own ecosystem. That realization is the demonstration — what would take months of meetings surfaces in one session."]},{time:"14-17",slide:"Slide 5",head:"Why funders care",lines:["Longer runways with real stage gates, portfolio-level patterns without forcing every place into one strategy, and clarity on which kinds of ecosystem investment genuinely move things.","Say the guardrail out loud: this is not a compliance or punishment instrument. It is a shared learning tool between funders and the people doing the work."]},{time:"17-20",slide:"Slide 6",head:"The invitation",lines:["Five years of building, tested across 40 ecosystems in 15 states, stress-tested with evaluators. We have built the strategic layer and we are building the operational one now.","Close with the ask: we would like EFN's members to help pressure-test what this needs to become to genuinely serve philanthropy — not to receive a finished product."]}],jse=[{k:"More for funders",v:"Build the case for longer-term investment; see whether investment is creating durable capacity; find where added support unlocks progress; compare patterns across a portfolio; set clearer stage gates; learn which investments move the needle."},{k:"More for ecosystem builders",v:"Shared language across partners; surface invisible connections and gaps; align leaders on priorities; focus scarce time; track whether collaboration is strengthening; build evidence for the value of the work."},{k:"What we are building next",v:"Ecosystem mapping, partner connectivity, collaboration infrastructure, CRM-enabled ecosystem management, financial sustainability and capital braiding, implementation templates, and evidence and learning systems."}],Sse=()=>{const e=P.useCallback(()=>{const t=document.title,n=()=>{document.title=t,window.removeEventListener("afterprint",n)};window.addEventListener("afterprint",n),document.title=bse;try{window.print()}finally{window.setTimeout(n,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"Ecosystem Edge for EFN | Pitch Deck",description:"A six-slide pitch deck and talk track: helping funders see whether the ecosystems they invest in are truly getting stronger.",path:"/efn",noindex:!0}),s.jsx("style",{children:`
1192        .deck-slide {
1193          width: 11in;
1194          height: 8.5in;
1195          margin: 0 auto 26px;
1196          background: #ffffff;
1197          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
1198          position: relative;
1199          overflow: hidden;
1200        }
1201        .notes-page {
1202          width: 8.5in;
1203          height: 11in;
1204          margin: 0 auto 26px;
1205          background: #ffffff;
1206          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
1207          position: relative;
1208          overflow: hidden;
1209        }
1210        .deck-body { font-size: ${cl}px; line-height: 1.5; color: ${vse}; text-wrap: pretty; }
1211        .deck-body h1, .deck-body h2, .deck-body h3 { text-wrap: balance; }
1212        @media print {
1213          @page { size: letter landscape; margin: 0; }
1214          @page notes { size: letter portrait; margin: 0; }
1215          html, body { background: #ffffff !important; }
1216          .no-print { display: none !important; }
1217          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
1218          .deck-slide, .notes-page {
1219            box-shadow: none !important;
1220            margin: 0 !important;
1221            break-after: page;
1222            page-break-after: always;
1223          }
1224          .deck-slide { width: 11in !important; height: 8.5in !important; }
1225          .notes-page { page: notes; width: 8.5in !important; height: 11in !important; }
1226          .notes-page:last-child { break-after: auto; page-break-after: auto; }
1227          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
1228          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
1229        }
1230      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body",style:{fontSize:13,color:"#5a6779"},children:"Six landscape slides plus a talk-track sheet — use Print, then Save as PDF (letter, no scaling)."}),s.jsxs("button",{onClick:e,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:14,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsx(Wc,{n:1,dark:!0,children:s.jsxs("div",{className:"flex flex-col",style:{padding:"0.5in 0.62in 0",flex:1,minHeight:0,justifyContent:"space-between"},children:[s.jsxs("div",{className:"flex items-start justify-between",style:{gap:24},children:[s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:46,background:"#fff",borderRadius:7,padding:"6px 10px"}}),s.jsx("div",{style:{paddingTop:6},children:s.jsx(QN,{dark:!0})})]}),s.jsx("h1",{className:"font-display",style:{fontSize:38,lineHeight:1.08,color:"#fff",fontWeight:700,marginTop:22,maxWidth:"8.6in"},children:"Helping funders see whether ecosystems are truly getting stronger."}),s.jsx("p",{style:{fontSize:15,lineHeight:1.5,color:"rgba(255,255,255,0.82)",marginTop:12,maxWidth:"7.6in"},children:"Funders are making long-term investments in regions and sectors. The changes that matter most are often the hardest to see."}),s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1.05fr 1fr",gap:30,marginTop:22,alignItems:"start"},children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:cs,letterSpacing:"0.18em",color:Pn,fontWeight:700},children:"What traditional measures tell us"}),s.jsx("div",{className:"flex flex-wrap",style:{gap:8,marginTop:11},children:["How much was invested","How many programs launched","How many people participated","Jobs, companies, capital, patents"].map(t=>s.jsx("span",{style:{fontSize:ah,color:"rgba(255,255,255,0.8)",border:"1px solid rgba(255,255,255,0.28)",borderRadius:6,padding:"7px 12px"},children:t},t))})]}),s.jsxs("div",{style:{borderLeft:`3px solid ${Pn}`,paddingLeft:18},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:cs,letterSpacing:"0.18em",color:Pn,fontWeight:700},children:"What they do not tell us"}),s.jsx("p",{className:"font-display",style:{fontSize:19,lineHeight:1.3,color:"#fff",fontWeight:700,marginTop:10},children:"Whether the ecosystem itself is becoming healthier, more connected, and more capable of sustaining progress."})]})]}),s.jsx("div",{style:{marginTop:26,maxWidth:"3.2in"},children:s.jsx(xl,{color:Zt})}),s.jsxs("p",{className:"font-display",style:{fontSize:20,color:"#fff",fontWeight:700,marginTop:14},children:["Ecosystem Edge® helps make that layer ",s.jsx("span",{style:{color:Pn},children:"visible."})]})]})}),s.jsxs(Wc,{n:2,children:[s.jsx(lh,{eyebrow:"The shift",title:s.jsx(s.Fragment,{children:"From “money in, money out” to “is the ecosystem compounding?”"})}),s.jsxs(ch,{children:[s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1fr auto 1.25fr",gap:20,alignItems:"center"},children:[s.jsxs("div",{style:{border:"1px solid rgba(45,77,131,0.18)",borderRadius:7,padding:"12px 15px",background:"rgba(45,77,131,0.03)"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:cs,letterSpacing:"0.16em",color:"#8d97a6",fontWeight:700},children:"The old question"}),s.jsx("p",{className:"font-display",style:{fontSize:18,lineHeight:1.25,color:"#7c8492",fontWeight:700,marginTop:6},children:"What did our funding produce?"})]}),s.jsx("svg",{width:"52",height:"22",viewBox:"0 0 86 40","aria-hidden":"true",children:s.jsx("path",{d:"M0 13 H54 V0 L86 20 L54 40 V27 H0 Z",fill:Zt})}),s.jsxs("div",{style:{borderLeft:`3px solid ${Pn}`,borderRadius:2,padding:"4px 0 4px 18px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:cs,letterSpacing:"0.16em",color:Pn,fontWeight:700},children:"The question we ask instead"}),s.jsx("p",{className:"font-display",style:{fontSize:19,lineHeight:1.28,color:mt,fontWeight:700,marginTop:6},children:"Is our investment strengthening the relationships, capabilities, and infrastru
1230cture that let future investment do more?"})]})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:cs,letterSpacing:"0.16em",color:Zt,fontWeight:700,marginTop:24},children:"The conditions that let impact compound"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"repeat(3, 1fr)",gap:14,marginTop:12},children:[{k:"Relationships",v:"Are critical partners connected and collaborating?",c:Zt},{k:"Roles",v:"Do partners know what they uniquely contribute?",c:mt},{k:"Alignment",v:"Are people working toward shared objectives?",c:Pn},{k:"Collaboration",v:"Are relationships turning into joint action?",c:B0},{k:"Institutionalization",v:"Is the work embedded beyond individual champions?",c:Zt},{k:"Sustainability",v:"Can critical functions persist beyond one grant cycle?",c:mt}].map(t=>s.jsxs("div",{className:"avoid-break",style:{borderTop:`3px solid ${t.c}`,background:"rgba(45,77,131,0.035)",padding:"11px 13px 13px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:mt,fontWeight:700,lineHeight:1.2},children:t.k}),s.jsx("p",{style:{fontSize:ah,lineHeight:1.42,marginTop:5},children:t.v})]},t.k))}),s.jsx(ZN,{style:{marginTop:20,padding:"13px 20px 15px",borderBottomLeftRadius:10,borderBottomRightRadius:10},children:s.jsxs("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:"#fff",fontWeight:700},children:["Healthy ecosystems don’t stack capital,"," ",s.jsx("span",{style:{color:Pn},children:"they braid it."})]})})]})]}),s.jsxs(Wc,{n:3,children:[s.jsx(lh,{eyebrow:"One practice, many objectives",title:"One framework, adaptable to different ecosystem goals.",kicker:"One size does not fit all. The assessment centers on whatever the investment is trying to strengthen."}),s.jsx(ch,{children:s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1.35fr 1fr",gap:34,alignItems:"start"},children:[s.jsxs("div",{children:[s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr",gap:0,borderBottom:"1px solid rgba(45,77,131,0.16)",paddingBottom:7},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:cs,letterSpacing:"0.16em",color:"#8d97a6",fontWeight:700},children:"If the goal is"}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:cs,letterSpacing:"0.16em",color:Zt,fontWeight:700},children:"Center the ecosystem around"})]}),[{g:"Entrepreneurship",c:"Entrepreneurs and startups",col:B0},{g:"Workforce and economic mobility",c:"Workers and talent",col:"#5FA86B"},{g:"Corporate innovation",c:"Corporates and industry",col:Zt},{g:"Technology commercialization",c:"Research and commercialization actors",col:mt},{g:"Small-business growth",c:"Small businesses and their support infrastructure",col:Pn}].map(t=>s.jsxs("div",{className:"grid avoid-break",style:{gridTemplateColumns:"1fr 1fr",gap:0,padding:"11px 0",borderBottom:"1px solid rgba(45,77,131,0.09)"},children:[s.jsx("p",{style:{fontSize:cl,color:mt,fontWeight:600,paddingRight:12},children:t.g}),s.jsxs("p",{className:"flex items-start",style:{fontSize:cl,gap:9},children:[s.jsx("span",{"aria-hidden":!0,style:{width:11,height:11,borderRadius:99,background:t.col,display:"inline-block",flexShrink:0,marginTop:5}}),s.jsx("span",{children:t.c})]})]},t.g))]}),s.jsxs("div",{children:[s.jsx("p",{style:{fontSize:cl,lineHeight:1.55},children:"Ecosystem Edge® uses one common practice while letting the assessment center on the objective of the investment."}),s.jsx("p",{style:{fontSize:cl,lineHeight:1.55,marginTop:10},children:"The surrounding partners are then read for what that particular ecosystem needs in order to thrive."}),s.jsx("div",{style:{marginTop:18,maxWidth:"2.6in"},children:s.jsx(xl,{color:Pn})}),s.jsxs("p",{className:"font-display",style:{fontSize:21,lineHeight:1.26,color:mt,fontWeight:700,marginTop:14},children:["Same underlying practice.",s.jsx("br",{}),s.jsx("span",{style:{color:Zt},children:"Different strategic lens."})]})]})]})})]}),s.jsxs(Wc,{n:4,children:[s.jsx(lh,{eyebrow:"What a session looks like",title:"A fast, shared pulse from the ecosystem.",kicker:"A simple assessment paired with facilitated conversation."}),s.jsxs(ch,{children:[s.jsx("div",{className:"grid",style:{gridTemplateColumns:"repeat(5, 1fr)",gap:13},children:[{n:"1",k:"Gather the ecosystem",v:"Bring together diverse partners — not only the usual champions."},{n:"2",k:"Capture perspectives",v:"Each person rates the strength of relationships and conditions on a simple scorecard."},{n:"3",k:"Aggregate the picture",v:"Individual responses become one anonymous view of the ecosystem."},{n:"4",k:"Find the patterns",v:"Where the system is strong, where it is thin, and where perspectives diverge."},{n:"5",k:"Turn insight into action",v:"Refine strategy, prioritize investment, and name the infrastru
1230cture to strengthen."}].map(t=>s.jsxs("div",{className:"avoid-break",children:[s.jsx("span",{className:"font-display flex items-center justify-center","aria-hidden":"true",style:{width:34,height:34,borderRadius:999,background:`linear-gradient(135deg, ${mt}, ${Zt} 55%, ${Pn})`,color:"#fff",fontSize:17,fontWeight:700,lineHeight:1},children:t.n}),s.jsx("p",{className:"font-display",style:{fontSize:15.5,lineHeight:1.2,color:mt,fontWeight:700,marginTop:9},children:t.k}),s.jsx("p",{style:{fontSize:ah,lineHeight:1.42,marginTop:5},children:t.v})]},t.n))}),s.jsx("div",{style:{marginTop:20},children:s.jsx(xl,{color:"rgba(45,77,131,0.32)",height:7})}),s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr",gap:28,marginTop:16,alignItems:"start"},children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:cs,letterSpacing:"0.16em",color:Zt,fontWeight:700},children:"The questions the patterns answer"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr",gap:"8px 16px",marginTop:10},children:["Where are relationships strong?","Where are the gaps and disconnects?","Which partners are missing?","Where do relationships stop short of collaboration?"].map(t=>s.jsx("p",{style:{fontSize:ah,lineHeight:1.4,borderLeft:`2px solid ${Zt}`,paddingLeft:10},children:t},t))})]}),s.jsx("div",{className:"avoid-break",style:{border:"1px solid rgba(45,77,131,0.16)",borderLeft:`3px solid ${Pn}`,borderRadius:6,padding:"13px 16px",background:"rgba(226,182,115,0.08)"},children:s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.3,color:mt,fontWeight:700},children:"What might take months of meetings to surface can become visible in a single facilitated session."})})]})]})]}),s.jsxs(Wc,{n:5,children:[s.jsx(lh,{eyebrow:"Who it serves",title:"A tool for funders and ecosystem builders."}),s.jsxs(ch,{children:[s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr",gap:26},children:[{k:"For funders",c:mt,items:["Build the case for longer-term ecosystem investment","See whether investment is creating durable capacity","Find where added support could unlock progress","Compare patterns across a portfolio without forcing one strategy","Set clearer stage gates for longer funding runways"]},{k:"For ecosystem builders",c:Zt,items:["Create shared language across partners","Surface invisible connections and gaps","Align leaders around priorities","Focus scarce time and resources","Build evidence for the value of ecosystem-building work"]}].map(t=>s.jsxs("div",{className:"avoid-break",style:{borderTop:`3px solid ${t.c}`,paddingTop:13},children:[s.jsx("p",{className:"font-display",style:{fontSize:20,color:mt,fontWeight:700},children:t.k}),s.jsx("div",{style:{marginTop:10},children:t.items.map(n=>s.jsxs("p",{className:"flex items-start",style:{fontSize:cl,lineHeight:1.42,gap:10,marginTop:9},children:[s.jsx("span",{"aria-hidden":!0,style:{width:7,height:7,borderRadius:99,background:t.c,display:"inline-block",flexShrink:0,marginTop:7}}),s.jsx("span",{children:n})]},n))})]},t.k))}),s.jsxs(ZN,{style:{marginTop:24,padding:"15px 22px 17px",borderBottomLeftRadius:10,borderBottomRightRadius:10},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:cs,letterSpacing:"0.18em",color:Pn,fontWeight:700},children:"Most importantly"}),s.jsx("p",{className:"font-display",style:{fontSize:19,lineHeight:1.3,color:"#fff",fontWeight:700,marginTop:6},children:"This is not a compliance or punishment mechanism. It is a shared learning and decision-making tool between funders and the people doing the work."})]})]})]}),s.jsxs(Wc,{n:6,children:[s.jsx(lh,{eyebrow:"The invitation",title:"An opportunity to build the next layer together.",kicker:"We have built the strategic layer. We are building the operational one now."}),s.jsxs(ch,{children:[s.jsx("div",{className:"grid",style:{gridTemplateColumns:"1fr 1fr 1fr",gap:16},children:[{k:"5 years",v:"Developed and tested through real ecosystem-building work.",c:Zt},{k:"40 ecosystems",v:"Across many different ecosystem contexts.",c:Pn},{k:"15 states",v:"From rural regions to major metros.",c:B0}].map(t=>s.jsxs("div",{className:"avoid-break",children:[s.jsx(xl,{color:t.c}),s.jsx("p",{className:"font-display",style:{fontSize:22,color:mt,fontWeight:700,marginTop:9},children:t.k}),s.jsx("p",{style:{fontSize:ah,lineHeight:1.45,marginTop:4},children:t.v})]},t.k))}),s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1.1fr 1fr",gap:30,marginTop:24,alignItems:"start"},children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:cs,letterSpacing:"0.16em",color:Zt,fontWeight:700}
1230,children:"From assessment toward operationalization"}),s.jsx("div",{className:"flex flex-wrap",style:{gap:8,marginTop:11},children:["Ecosystem mapping","Partner connectivity","Collaboration infrastructure","CRM-enabled ecosystem management","Financial sustainability and capital braiding","Implementation templates","Evidence and learning systems"].map(t=>s.jsx("span",{style:{fontSize:cs+.4,color:mt,border:"1px solid rgba(45,77,131,0.2)",borderRadius:999,padding:"6px 12px",background:"rgba(45,77,131,0.035)",whiteSpace:"nowrap"},children:t},t))}),s.jsx("div",{style:{marginTop:16},children:s.jsx(QN,{})})]}),s.jsxs("div",{style:{borderLeft:`3px solid ${Pn}`,paddingLeft:20},children:[s.jsx("p",{style:{fontSize:cl,lineHeight:1.5},children:"We see EFN as a potential co-creation partner. Not to receive a finished measurement product — to pressure-test what a practical ecosystem learning system looks like for philanthropy."}),s.jsx("p",{className:"font-display",style:{fontSize:19,lineHeight:1.3,color:mt,fontWeight:700,marginTop:14},children:"Are our investments creating ecosystems that are stronger, more connected, and more capable of producing lasting impact?"})]})]}),s.jsx("div",{"aria-hidden":!0,style:{position:"absolute",right:0,bottom:"0.9in",width:"3.1in",opacity:.5,WebkitMaskImage:"linear-gradient(to left, #000 45%, transparent 100%)",maskImage:"linear-gradient(to left, #000 45%, transparent 100%)"},children:s.jsx("img",{src:co,alt:"",style:{display:"block",width:"100%",height:"auto"}})})]})]}),s.jsxs("section",{className:"notes-page deck-body",children:[s.jsxs("div",{style:{padding:"0.55in 0.6in 0"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10.6,letterSpacing:"0.2em",color:Zt,fontWeight:700},children:"Talk track · 20 minutes"}),s.jsx("h2",{className:"font-display",style:{fontSize:25,lineHeight:1.14,color:mt,fontWeight:700,marginTop:7},children:"Ecosystem Edge® for EFN"}),s.jsx("div",{style:{marginTop:9,maxWidth:"2.6in"},children:s.jsx(xl,{})}),s.jsx("p",{style:{fontSize:11,lineHeight:1.45,marginTop:11,borderLeft:`3px solid ${Pn}`,paddingLeft:12,color:mt,fontWeight:600},children:"Do not open with the word “scorecard.” The scorecard is the entry point; the proposition is an ecosystem learning and investment practice for funders."}),s.jsx("div",{style:{marginTop:13},children:wse.map(t=>s.jsxs("div",{className:"avoid-break",style:{display:"flex",gap:13,marginTop:13},children:[s.jsxs("div",{style:{width:"0.86in",flexShrink:0},children:[s.jsx("p",{className:"font-display",style:{fontSize:15,color:mt,fontWeight:700,lineHeight:1.1},children:t.time}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:9.2,letterSpacing:"0.14em",color:"#9aa3b1",fontWeight:700,marginTop:3},children:t.slide})]}),s.jsxs("div",{style:{flex:1,borderLeft:`2px solid ${Zt}`,paddingLeft:13},children:[s.jsx("p",{className:"font-display",style:{fontSize:14.5,color:mt,fontWeight:700,lineHeight:1.2},children:t.head}),t.lines.map(n=>s.jsx("p",{style:{fontSize:10.6,lineHeight:1.48,marginTop:4},children:n},n))]})]},t.time))}),s.jsx("div",{style:{marginTop:16,opacity:.85},children:s.jsx(xl,{color:"rgba(45,77,131,0.32)",height:7})}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:9.6,letterSpacing:"0.16em",color:Zt,fontWeight:700,marginTop:10},children:"If asked"}),s.jsx("div",{className:"grid",style:{gridTemplateColumns:"repeat(3, 1fr)",gap:12,marginTop:8},children:jse.map(t=>s.jsxs("div",{className:"avoid-break",style:{borderTop:`2px solid ${mt}`,paddingTop:7},children:[s.jsx("p",{className:"font-display",style:{fontSize:11.6,color:mt,fontWeight:700,lineHeight:1.2},children:t.k}),s.jsx("p",{style:{fontSize:9.6,lineHeight:1.42,marginTop:4},children:t.v})]},t.k))})]}),s.jsxs("div",{className:"flex items-end justify-between",style:{position:"absolute",left:"0.6in",right:"0.6in",bottom:"0.4in",borderTop:"1px solid rgba(45,77,131,0.14)",paddingTop:7},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:9.6,letterSpacing:"0.16em",color:"#8d97a6"},children:"Ecosystem Edge® · for EFN"}),s.jsx("p",{className:"font-body",style:{fontSize:9.6,letterSpacing:"0.1em",color:"#8d97a6"},children:"Talk track"})]})]})]})]})},zo="#2D4D83",j1="#59BEC9",md="#E2B673",kse="#3d4757",Tse="Ecosystem Edge® — How to Prioritize Your Partners for Impact",Nse=[{title:"The Capable but Guarded",accent:md,fill:"#FCF4E8",border:"rgba(226,182,115,0.85)",bullets:["Brings strong skills, experience, and capacity","May be cautious about naming what isn’t working","May be operating in a system where candor feels risky"],move:"Build trust and create room for candor"},{title:"The Ready Partner",accent:zo,fill:"#DFE4EF",border:"rgba(45,77,131,0.8)",startHere:!0,bullets:["Can do the work and owns the gaps","Asks questions and challenges assumptions","Looks at the system, not just the task"],move:"Back them up and build around their strengths"},{title:"The Untapped Strength",accent:j1,fill:"#E2F5F7",border:"rgba(89,190,201,0.9)",bullets:["Brings important knowledge, relationships, or context","May not yet have the capacity or conditions to fully contribute","Has strengths the current system may not be making room for"],move:"Create the conditions for their strengths to emerge"},{title:"The Honest Learner",accent:"#7FC8BE",fill:"#EDF8F5",border:"rgba(127,200,190,0.85)",bullets:["Knows what they don’t know — and says so","Curious, open to help, and willing to learn","Brings energy and potential to the partnership"],move:"Invest in their capacity"}],Ese=({q:e})=>s.jsxs("div",{className:"avoid-break",style:{background:e.fill,border:`1.5px solid ${e.border}`,borderRadius:14,padding:"15px 18px 14px",display:"flex",flexDirection:"column",minHeight:230},children:[s.jsxs("div",{className:"flex items-start justify-between gap-2",children:[s.jsx("h3",{className:"font-display",style:{fontSize:16.5,fontWeight:700,color:zo,lineHeight:1.2},children:e.title}),e.startHere&&s.jsx("span",{className:"font-body uppercase whitespace-nowrap",style:{fontSize:10,letterSpacing:"0.12em",fontWeight:700,color:zo,background:md,borderRadius:999,padding:"4px 9px",flexShrink:0},children:"★ Start here"})]}),s.jsx("ul",{style:{marginTop:11,display:"flex",flexDirection:"column",gap:8},children:e.bullets.map(t=>s.jsxs("li",{className:"flex items-start gap-2",style:{fontSize:10.4,lineHeight:1.45},children:[s.jsx("span",{"aria-hidden":"true",style:{width:4,height:4,borderRadius:"50%",background:"rgba(61,71,87,0.7)",marginTop:6,flexShrink:0}}),s.jsx("span",{children:t})]},t))}),s.jsx("div",{style:{flex:1,minHeight:12}}),s.jsx("div",{style:{borderTop:`1px solid ${e.border}`,paddingTop:9,marginTop:4},children:s.jsx("p",{className:"font-body",style:{fontSize:10.4,lineHeight:1.35,color:zo,fontWeight:700},children:e.move})})]}),xm=({children:e})=>s.jsx("span",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.18em",fontWeight:700,color:"rgba(45,77,131,0.7)",whiteSpace:"nowrap"},children:e}),Cse=()=>{const e=P.useCallback(()=>{const t=document.title,n=()=>{document.title=t,window.removeEventListener("afterprint",n)};window.addEventListener("afterprint",n),document.title=Tse;try{window.print()}finally{window.setTimeout(n,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"How to Prioritize Your Partners for Impact | Ecosystem Edge",description:"A one-page field guide for reading how partners show up — capable or developing, honest or guarded — and knowing who to work with first.",path:"/partner-priority",noindex:!0}),s.jsx("style",{children:`
1231        .pdf-page {
1232          width: 8.5in;
1233          height: 11in;
1234          margin: 0 auto;
1235          background: #ffffff;
1236          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
1237          position: relative;
1238          overflow: hidden;
1239          display: flex;
1240          flex-direction: column;
1241        }
1242        .pdf-body { color: ${kse}; }
1243        @media print {
1244          @page { size: letter; margin: 0; }
1245          html, body { background: #ffffff !important; }
1246          .no-print { display: none !important; }
1247          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
1248          .pdf-page {
1249            box-shadow: none !important;
1250            margin: 0 !important;
1251            width: 100% !important;
1252            height: 11in !important;
1253          }
1254          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
1255          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
1256        }
1257      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body",style:{fontSize:13,color:"#5a6779"},children:"How to Prioritize Your Partners for Impact — one page"}),s.jsxs("button",{onClick:e,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:14,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]}),s.jsx("div",{className:"pdf-shell py-8",children:s.jsxs("section",{className:"pdf-page pdf-body",children:[s.jsx("header",{style:{background:"var(--gradient-signature)",padding:"10px 0 0"},children:s.jsx("div",{style:{background:zo,padding:"26px 0.62in 24px"},children:s.jsxs("div",{className:"flex items-center justify-between gap-6",children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.22em",color:md,fontWeight:700},children:"How to prioritize your partners for impact"}),s.jsxs("h1",{className:"font-display",style:{fontSize:29,lineHeight:1.16,color:"#ffffff",fontWeight:700,marginTop:9,maxWidth:"5.9in"},children:[s.jsx("span",{style:{display:"block"},children:"See what your partners bring."}),s.jsx("span",{style:{display:"block"},children:"Decide where to invest first."})]})]}),s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:54,background:"#fff",borderRadius:6,padding:"6px 10px"}})]})})}),s.jsxs("div",{style:{padding:"42px 0.62in 0",flex:1,display:"flex",flexDirection:"column"},children:[s.jsx("div",{className:"avoid-break",children:s.jsx("p",{style:{fontSize:11.5,lineHeight:1.62},children:"Every partner brings something. The question is what conditions let it show up — how much capacity they have right now, and how willing they are to question, learn, and say what’s really happening. Read that honestly, then sequence your energy where you can create the most movement."})}),s.jsxs("div",{className:"mt-8",children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:zo,fontWeight:700,lineHeight:1.25},children:"Decide where to invest first."}),s.jsxs("div",{style:{display:"grid",gridTemplateColumns:"70px 1fr",columnGap:10,marginTop:10},children:[s.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-end"},children:[s.jsx(xm,{children:"Capable"}),s.jsx("div",{style:{flex:1,width:4,marginRight:10,marginTop:6,marginBottom:6,borderRadius:999,background:`linear-gradient(180deg, ${zo} 0%, ${j1} 55%, ${md} 100%)`}}),s.jsx(xm,{children:"Developing"})]}),s.jsx("div",{className:"grid grid-cols-2",style:{gridAutoRows:"1fr",columnGap:16,rowGap:14},children:Nse.map(t=>s.jsx(Ese,{q:t},t.title))})]}),s.jsxs("div",{style:{display:"flex",alignItems:"center",gap:10,marginTop:10,paddingLeft:6},children:[s.jsx(xm,{children:"Guarded"}),s.jsx("div",{style:{flex:1,height:4,borderRadius:999,background:`linear-gradient(90deg, ${md} 0%, ${j1} 50%, ${zo} 100%)`}}),s.jsx(xm,{children:"Curious & candid"})]})]}),s.jsx("div",{className:"avoid-break mt-9",style:{background:"rgba(45,77,131,0.04)",borderLeft:`3px solid ${md}`,borderRadius:8,padding:"14px 18px"},children:s.jsxs("p",{style:{fontSize:10.8,lineHeight:1.6},children:[s.jsx("span",{className:"font-display",style:{color:zo,fontWeight:700},children:"A partner’s square is a snapshot, not a verdict."})," ","People move when the conditions around them change. Every partner brings something valuable — the opportunity is to understand what they bring, what could unlock more of it, and where to invest first."]})}),s.jsx("div",{style:{flex:1}}),s.jsxs("footer",{className:"flex items-center justify-between",style:{borderTop:"1px solid rgba(45,77,131,0.14)",padding:"14px 0 22px"}
1257,children:[s.jsx("p",{className:"font-body",style:{fontSize:10,color:zo,fontWeight:600},children:"ecosystem-edge.com"}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.2em",color:"rgba(45,77,131,0.55)",fontWeight:700},children:"Making invisible work visible"})]})]})]})})]})},De="#2D4D83",ur="#59BEC9",pi="#E2B673",Nh="#3d4757",wn="#6b7688",_se=12,ss=11.4,Vs=10.4,Ase=17,Rse=10.2,Pse="Before You Build the Plan - Ecosystem Edge® Field Guide",dl=({children:e,color:t=ur})=>s.jsx("p",{className:"font-body uppercase",style:{fontSize:Rse,letterSpacing:"0.2em",fontWeight:700,color:t},children:e}),dh=({n:e,title:t,sub:n})=>s.jsxs("div",{className:"flex items-baseline gap-2.5",children:[s.jsxs("span",{className:"font-body inline-flex items-center justify-center",style:{background:`linear-gradient(135deg, ${De}, ${ur} 55%, ${pi})`,color:"#fff",fontSize:10.4,fontWeight:700,borderRadius:999,padding:"4px 10px",letterSpacing:"0.06em",whiteSpace:"nowrap"},children:["STEP ",e]}),s.jsx("h2",{className:"font-display",style:{fontSize:Ase,fontWeight:700,color:De,lineHeight:1.2},children:t}),n&&s.jsx("span",{className:"font-body",style:{fontSize:Vs,color:wn,fontStyle:"italic"},children:n})]}),Wr=({label:e,width:t="100%",marginTop:n=12})=>s.jsxs("div",{style:{marginTop:n},children:[e&&s.jsx("p",{className:"font-body",style:{fontSize:Vs,color:wn,marginBottom:4},children:e}),s.jsx("div",{className:"fill-rule",style:{width:t,borderBottom:"1px solid rgba(45,77,131,0.28)",height:22}})]}),ul=({children:e,style:t,className:n,as:r="div",...o})=>{const i=r;return s.jsx(i,{className:n,style:{border:"1px solid rgba(45,77,131,0.16)",borderRadius:9,background:"#fff",padding:"14px 16px",...r==="button"?{textAlign:"left",width:"100%"}:null,...t},...o,children:e})},vm=({children:e})=>s.jsxs("span",{className:"font-body inline-flex items-center gap-1.5",style:{fontSize:ss,color:Nh},children:[s.jsx("span",{style:{display:"inline-block",width:12,height:12,border:`1.4px solid ${De}`,borderRadius:2}}),e]}),F0=({n:e})=>s.jsxs("div",{className:"font-body absolute flex items-center justify-between",style:{left:"0.62in",right:"0.62in",bottom:20,fontSize:10,color:"#93a0b1"},children:[s.jsx("span",{children:"Before You Build the Plan · Ecosystem Edge®"}),s.jsxs("span",{children:[e," of 4"]})]}),zse=s.jsx("div",{style:{height:3,borderRadius:2,marginTop:10,background:`linear-gradient(90deg, ${De} 0%, ${ur} 55%, ${pi} 100%)`}}),JN=({n:e,color:t,size:n=17})=>s.jsx("span",{className:"font-body inline-flex items-center justify-center",style:{width:n,height:n,borderRadius:999,background:t,color:"#fff",fontSize:n*.6,fontWeight:700,lineHeight:1,flex:"0 0 auto"},children:e}),uh=[{num:"1",color:ur,grid:"Agree on the goal + Agree on the path",name:"Keep it alive",diag:"There isn't a real disagreement here. Both sides want the same thing and believe the same approach will work. The risk is that the relationship simply fades — people get busy, meetings stop, priorities change.",move:"Keep the connection alive.",tools:["Celebrate progress","Share wins","Tell the story","Mark milestones","Keep regular contact"],note:"Don't overcomplicate this. It mostly needs attention and momentum."},{num:"2",color:De,grid:"Agree on the goal + Disagree on the path",name:"Sell the path",diag:"One of the most common problems in regional work. Both sides want the same outcome; they don't agree on how to get there. Usually very solvable.",move:"Build belief in the approach.",tools:["A compelling vision","Evidence","Examples from elsewhere","A pilot or demonstration","Early results"],note:"You're not convincing people to want the goal. You're building agreement around the path."},{num:"3",color:pi,grid:"Disagree on the goal + Agree on the path",name:"Make the trade",diag:"Both sides agree about what would work, but they don't want the same outcome. The action helps one group more than the other, so one side is carrying a cost for someone else's win. Name what the reluctant partner gets back, or they quietly stop showing up.",move:"Name the terms. Who pays, who benefits, who carries the risk — and what does the reluctant partner get back?",tools:["Cost-sharing","Agreements and MOUs","Incentives","Commitments","Negotiated trade-offs"],note:"This is usually a small-group negotiation, not a big-room brainstorm."},{num:"4",color:"#8C6FA6",grid:"Disagree on the goal + Disagree on the path",name:"Don't force it",diag:"You want different things and you disagree about what would work. There may not be enough common ground to facilitate your way out. This is where coalitions waste enormous time — more meetings, more searching for shared values, more rewriting the plan, and nothing changes.",move:"Recognize this may be a political problem, not a relationship problem.",tools:["Build a stronger coalition","Change who decides","Public pressure","A formal vote","Work around the resisting party"],note:"Stop trying to braid this particular connection. Build the network somewhere else."}],XN=[{id:"why",label:"Why this exists"},{id:"questions",label:"Steps 1–2"},{id:"quadrant",label:"The quadrant"},{id:"move",label:"Name the move"}],Ise=()=>{const[e,t]=P.useState("fit"),[n,r]=P.useState(1),[o,i]=P.useState(0),[a,l]=P.useState(!1),[c,d]=P.useState(null),u=P.useCallback(h=>{var g;(g=document.getElementById(XN[h].id))==null||g.scrollIntoView({behavior:"smooth",block:"start"})},[]),p=P.useCallback(()=>{const h=document.title,g=()=>{document.title=h,window.removeEventListener("afterprint",g)};window.addEventListener("afterprint",g),document.title=Pse;try{window.print()}finally{window.setTimeout(g,1e3)}},[]);P.useEffect(()=>{const h=()=>r(Math.min(1,(window.innerWidth-48)/816));return h(),window.addEventListener("resize",h),()=>window.removeEventListener("resize",h)},[]),P.useEffect(()=>{const h=()=>l(window.scrollY>4);return h(),window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),P.useEffect(()=>{const h=Array.from(document.querySelectorAll(".pdf-page")),g=new IntersectionObserver(b=>{b.forEach(v=>{v.isIntersecting&&(v.target.classList.add("is-in"),g.unobserve(v.target))})},{rootMargin:"0px 0px -12% 0px",threshold:.04});h.forEach(b=>g.observe(b));const m=new IntersectionObserver(b=>{b.forEach(v=>{if(v.isIntersecting){const y=h.indexOf(v.target);y>=0&&i(y)}})},{rootMargin:"-45% 0px -45% 0px"});return h.forEach(b=>m.observe(b)),()=>{g.disconnect(),m.disconnect()}},[]);const f=e==="fit"?n:e==="100"?1:1.25;return s.jsxs("div",{className:"min-h-screen page-bg",children:[s.jsx(Ve,{title:"Before You Build the Plan | Ecosystem Edge",description:"A Discover-phase field guide for regional coalitions: find the disagreement that will stall your plan — and the move that fixes it.",path:"/disagreement",n
1257oindex:!0}),s.jsx("style",{children:`
1258        .page-bg {
1259          background:
1260            radial-gradient(1100px 520px at 50% -180px, rgba(89,190,201,0.16), transparent 70%),
1261            linear-gradient(180deg, #eef1f6 0%, #e7ebf2 40%, #eceef3 100%);
1262        }
1263        .pdf-page {
1264          width: 8.5in;
1265          height: 11in;
1266          margin: 0 auto;
1267          background: #ffffff;
1268          border: 1px solid rgba(45,77,131,0.10);
1269          box-shadow: 0 1px 2px rgba(23,38,66,0.06), 0 18px 44px -14px rgba(23,38,66,0.28);
1270          position: relative;
1271          overflow: hidden;
1272          opacity: 0;
1273          transform: translateY(18px);
1274          transition: opacity .6s ease, transform .6s cubic-bezier(.22,.9,.3,1);
1275        }
1276        .pdf-page.is-in { opacity: 1; transform: none; }
1277        .pdf-page + .pdf-page { margin-top: 34px; }
1278        .pdf-body { font-size: ${_se}px; line-height: 1.58; color: ${Nh}; text-wrap: pretty; }
1279        .pdf-body h1, .pdf-body h2, .pdf-body h3 { text-wrap: balance; }
1280
1281        .pdf-zoom { zoom: var(--pdf-zoom, 1); }
1282
1283        /* writeable fill-in lines on screen */
1284        .fill-rule {
1285          background-image: linear-gradient(90deg, rgba(45,77,131,0.30) 0 6px, rgba(45,77,131,0.10) 6px 12px);
1286          background-repeat: repeat-x;
1287          background-size: 12px 1px;
1288          background-position: 0 100%;
1289          border-bottom-color: transparent !important;
1290        }
1291
1292        .lift, .callout, .chip-lane { transition: box-shadow .22s ease, background-color .22s ease, transform .22s ease, border-color .22s ease; }
1293        .lift:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(45,77,131,0.16); }
1294        .callout:hover { box-shadow: 0 10px 26px rgba(45,77,131,0.13); }
1295        .chip-lane:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(45,77,131,0.12); }
1296
1297        /* --- page nav chips (from the condensed funder brief) --- */
1298        .pg-chip {
1299          width: 28px; height: 28px; border-radius: 999px;
1300          display: inline-flex; align-items: center; justify-content: center;
1301          font-size: 12px; font-weight: 700; color: #5a6779;
1302          background: rgba(45,77,131,0.07);
1303          transition: background-color .18s ease, color .18s ease, transform .18s ease;
1304        }
1305        .pg-chip:hover { background: rgba(89,190,201,0.28); color: ${De}; transform: translateY(-1px); }
1306        .pg-chip[aria-current="true"] { background: ${De}; color: #fff; }
1307
1308        /* --- click-to-focus quadrant cards --- */
1309        .quad-card { cursor: pointer; text-align: left; width: 100%; transition: box-shadow .22s ease, transform .22s ease, opacity .22s ease, border-color .22s ease; }
1310        .quad-card:focus-visible, .tool-btn:focus-visible, .pg-chip:focus-visible {
1311          outline: 2px solid ${ur}; outline-offset: 2px;
1312        }
1313        .quad-grid:hover .quad-card:not(.is-selected),
1314        .quad-grid:focus-within .quad-card:not(.is-selected) { opacity: .48; }
1315        .quad-grid.has-selection .quad-card { opacity: .38; }
1316        .quad-grid.has-selection .quad-card.is-selected {
1317          opacity: 1; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(45,77,131,0.22);
1318        }
1319        .quad-card.is-selected { opacity: 1; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(45,77,131,0.18); }
1320
1321        /* --- hover rows --- */
1322        .q-row { border-radius: 8px; padding: 6px 8px; margin: -6px -8px; transition: background-color .2s ease, transform .2s ease; }
1323        .q-row:hover, .q-row:focus-visible { background: rgba(89,190,201,0.10); transform: translateX(3px); outline: none; }
1324        .q-list:hover .q-row:not(:hover) { opacity: .62; transition: opacity .2s ease; }
1325
1326        @media (prefers-reduced-motion: reduce) {
1327          .pdf-page, .lift, .callout, .chip-lane, .quad-card, .q-row, .pg-chip {
1328            transition: none !important; animation: none !important;
1329          }
1330          .pdf-page { opacity: 1 !important; transform: none !important; }
1331          .lift:hover, .quad-card:hover, .q-row:hover, .chip-lane:hover { transform: none !important; }
1332        }
1333
1334        @media print {
1335          @page { size: letter; margin: 0; }
1336          html, body { background: #ffffff !important; }
1337          .no-print { display: none !important; }
1338          .page-bg { background: #ffffff !important; }
1339          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
1340          .pdf-zoom { zoom: 1 !important; }
1341          .fill-rule { background-image: none !important; border-bottom-color: rgba(45,77,131,0.28) !important; }
1342          .pdf-page { box-shadow: none !important; border: none !important; margin: 0 !important; width: 100% !important;
1343            opacity: 1 !important; transform: none !important; }
1344          .quad-card, .quad-grid .quad-card { opacity: 1 !important; transform: none !important; box-shadow: none !important; }
1345          .q-row { transform: none !important; background: transparent !important; opacity: 1 !important; }
1346          .pdf-page + .pdf-page { break-before: page; page-break-before: always; margin-top: 0 !important; }
1347          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
1348        }
1349      `}),s.jsx("div",{className:"no-print sticky top-0 z-50",style:{background:"rgba(255,255,255,0.92)",backdropFilter:"blur(8px)",borderBottom:"1px solid rgba(45,77,131,0.10)",boxShadow:a?"0 6px 18px -12px rgba(23,38,66,0.4)":"none",transition:"box-shadow .2s ease"},children:s.jsxs("div",{className:"flex items-center justify-between gap-4 px-4 sm:px-6 py-2.5",children:[s.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:26},className:"hidden sm:block"}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("p",{className:"font-display truncate",style:{fontSize:14,fontWeight:700,color:De},children:"Before You Build the Plan"}),s.jsx("p",{className:"font-body hidden md:block",style:{fontSize:11.5,color:wn},children:"Print, then Save as PDF — letter, no scaling."})]}),s.jsx("span",{className:"font-body hidden sm:inline-block",style:{fontSize:10.5,fontWeight:700,letterSpacing:"0.08em",color:De,background:"rgba(89,190,201,0.16)",border:"1px solid rgba(45,77,131,0.10)",borderRadius:999,padding:"3px 9px",whiteSpace:"nowrap"},children:"4 PAGES · LETTER"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("nav",{className:"hidden lg:flex items-center gap-1.5","aria-label":"Worksheet pages",children:XN.map((h,g)=>s.jsx("button",{className:"pg-chip font-body","aria-current":o===g,"aria-label":`Page ${g+1} — ${h.label}`,title:h.label,onClick:()=>u(g),children:g+1},h.id))}),s.jsx("div",{className:"hidden sm:flex items-center",style:{border:"1px solid rgba(45,77,131,0.16)",borderRadius:999,padding:2,gap:2},children:["fit","100","125"].map(h=>s.jsx("button",{onClick:()=>t(h),className:"tool-btn font-body",style:{fontSize:11.5,fontWeight:600,padding:"4px 10px",borderRadius:999,color:e===h?"#fff":wn,background:e===h?De
1349:"transparent"},"aria-pressed":e===h,children:h==="fit"?"Fit":`${h}%`},h))}),s.jsxs("button",{onClick:p,className:"btn-gradient tool-btn font-body inline-flex items-center gap-2 rounded-full px-4 sm:px-5 py-2.5",style:{fontSize:14,fontWeight:600,minHeight:44},children:[s.jsx(Ln,{size:16})," ",s.jsx("span",{className:"hidden sm:inline",children:"Print / Save as PDF"}),s.jsx("span",{className:"sm:hidden",children:"Print"})]})]})]})}),s.jsxs("div",{className:"pdf-shell pdf-zoom py-10",style:{"--pdf-zoom":f},children:[s.jsxs("section",{id:"why",className:"pdf-page pdf-body",style:{scrollMarginTop:90},children:[s.jsx("header",{style:{background:"var(--gradient-signature)",padding:"10px 0 0"},children:s.jsx("div",{style:{background:De,padding:"18px 0.62in 17px"},children:s.jsxs("div",{className:"flex items-center justify-between gap-6",children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.22em",color:pi,fontWeight:700},children:"A Discover-phase field guide for regional coalitions"}),s.jsx("h1",{className:"font-display",style:{fontSize:30,lineHeight:1.1,color:"#fff",fontWeight:700,marginTop:8},children:"Before You Build the Plan"}),s.jsx("p",{style:{fontSize:11.2,color:"rgba(255,255,255,0.84)",fontStyle:"italic",marginTop:7,maxWidth:"5.3in"},children:"Find the disagreement that will stall your plan — and the move that fixes it."})]}),s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:56,background:"#fff",borderRadius:6,padding:"6px 10px"}})]})})}),s.jsxs("div",{style:{padding:"26px 0.62in 0"},children:[s.jsx("p",{style:{fontSize:ss,color:wn},children:"Use this worksheet when two partner groups are stuck, disconnected, or seeing a relationship differently."}),s.jsxs("div",{style:{marginTop:16},children:[s.jsx(dl,{children:"Why this worksheet exists"}),s.jsx("p",{style:{marginTop:7},children:"Coalitions often jump straight to solutions. They get everyone in a room, agree on the problem, make a plan — and then the plan doesn’t go anywhere. Agreeing on the problem does not mean agreeing on the solution. Two groups can want the exact same outcome and have completely different ideas about how to get there. That disagreement is usually hidden."})]}),s.jsx("div",{className:"callout",style:{marginTop:13,background:"rgba(226,182,115,0.14)",borderLeft:`4px solid ${pi}`,borderRadius:"0 8px 8px 0",padding:"11px 14px"},children:s.jsxs("p",{style:{fontSize:ss},children:["Everyone says ",s.jsx("em",{children:"“we’re all on the same page”"})," — but nothing moves. That’s"," ",s.jsx("strong",{style:{color:De},children:"alignment theater"}),": everyone appears aligned while people pull in different directions underneath. This worksheet helps you find the hidden disagreement before it costs the coalition months."]})}),s.jsx("p",{style:{marginTop:13,fontSize:ss},children:"Before trying to solve the problem, figure out what kind of disagreement you’re dealing with. Different disagreements require different responses. Use the wrong response and you can spend months trying to solve something that was never going to be solved by another meeting."}),s.jsxs("div",{style:{marginTop:18},children:[s.jsx(dl,{color:De,children:"Two questions before any plan"}),s.jsx("p",{style:{marginTop:6,fontSize:ss},children:"Every stuck relationship comes down to two separate questions. Keep them separate."}),s.jsxs("div",{className:"grid grid-cols-2",style:{gap:12,marginTop:11},children:[s.jsxs(ul,{style:{borderTop:`4px solid ${De}`},children:[s.jsx("p",{className:"font-body",style:{fontSize:Vs,fontWeight:700,color:De,letterSpacing:"0.08em"},children:"QUESTION 1 — THE GOAL"}),s.jsx("p",{className:"font-display",style:{fontSize:15,fontWeight:700,color:De,marginTop:5},children:"Do we want the same thing?"}),s.jsx("p",{style:{fontSize:Vs,color:wn,marginTop:5,lineHeight:1.55},children:"What outcome do we want? What does success look like?"})]}),s.jsxs(ul,{style:{borderTop:`4px solid ${ur}`},children:[s.jsx("p",{className:"font-body",style:{fontSize:Vs,fontWeight:700,color:ur,letterSpacing:"0.08em"},children:"QUESTION 2 — THE PATH"}),s.jsx("p",{className:"font-display",style:{fontSize:15,fontWeight:700,color:De,marginTop:5},children:"Do we agree on what will get us there?"}),s.jsx("p",{style:{fontSize:Vs,color:wn,marginTop:5,lineHeight:1.55},children:"What do we believe will actually work? “If we do X, will that produce Y?”"})]})]}),s.jsx("p",{style:{fontSize:Vs,color:wn,marginTop:8,fontStyle:"italic"},children:"People often answer the first question and assume they’ve answered both. They haven’t."})]}),s.jsxs(ul,{className:"callout",style:{marginTop:16,borderLeft:`4px solid ${ur}`},children:[s.jsx(dl,{children:"A simple example"}),s.jsx("p",{style:{marginTop:6,fontSize:ss},children:"A region wants to make its community safer. Everyone agrees on that goal. But one group believes more policing will make us safer; another believes investing in neglected neighborhoods and strengthening community connections will. Same goal, different ideas about the solution — and that’s the disagreement that stalls the work."}),s.jsx("p",{style:{marginTop:7,fontSize:ss,fontWeight:600,color:De},children:"The most important question isn’t “Do we agree?” It’s “What exactly do we agree on — and where do we still disagree?”"})]}),s.jsxs("div",{style:{marginTop:20},children:[s.jsx(dl,{color:De,children:"How to use this worksheet"}),s.jsx("div",{className:"grid grid-cols-4",style:{gap:10,marginTop:10}
1349,children:[["1","Pick the edge","One relationship between two partner groups."],["2","Ask the two questions","The goal and the path — separately."],["3","Find your quadrant","Cross the two answers."],["4","Name the move","The right tool, the right person, the right room."]].map(([h,g,m])=>s.jsxs("div",{style:{borderTop:`3px solid ${ur}`,paddingTop:8},children:[s.jsx("p",{className:"font-display",style:{fontSize:15,fontWeight:700,color:ur},children:h}),s.jsx("p",{className:"font-body",style:{fontSize:10.6,fontWeight:700,color:De,marginTop:2},children:g}),s.jsx("p",{style:{fontSize:10,color:wn,lineHeight:1.5,marginTop:3},children:m})]},h))}),s.jsx("p",{style:{fontSize:Vs,color:wn,marginTop:10,fontStyle:"italic"},children:"Work through it with both groups in the room where you can. The point is not to make everyone agree — it’s to name what you actually disagree about."})]})]}),s.jsx(F0,{n:1})]}),s.jsxs("section",{id:"questions",className:"pdf-page pdf-body",style:{scrollMarginTop:90},children:[s.jsxs("div",{style:{padding:"0.62in 0.62in 0"},children:[s.jsx(dl,{color:De,children:"The worksheet"}),zse,s.jsxs("div",{style:{marginTop:18},children:[s.jsx(dh,{n:"1",title:"Pick the edge"}),s.jsx("p",{style:{marginTop:6,fontSize:ss},children:"Don’t start with the entire coalition. Pick one specific relationship between two partner groups. One relationship. One connection. One thing that isn’t working."}),s.jsxs("div",{className:"grid grid-cols-2",style:{gap:16,marginTop:8},children:[s.jsx(Wr,{label:"Partner Group A"}),s.jsx(Wr,{label:"Partner Group B"})]}),s.jsx(Wr,{label:"What's supposed to flow between them? What should these groups be sharing, doing, or exchanging?"}),s.jsx("div",{className:"flex flex-wrap",style:{gap:6,marginTop:9},children:["Employers ↔ training providers: skills and job needs","Colleges ↔ employers: talent and feedback","Government ↔ service providers: resources and coordination","Investors ↔ entrepreneurs: capital and deal flow"].map(h=>s.jsx("span",{className:"chip-lane font-body",style:{fontSize:10,color:De,background:"rgba(89,190,201,0.14)",border:"1px solid rgba(45,77,131,0.12)",borderRadius:999,padding:"3px 9px"},children:h},h))})]}),s.jsxs("div",{style:{marginTop:20},children:[s.jsx(dh,{n:"2",title:"Ask the two questions separately"}),s.jsx("p",{style:{marginTop:6,fontSize:ss},children:"Don’t let a “yes” to the first question make you assume the answer to the second."}),s.jsxs(ul,{style:{marginTop:10,borderTop:`4px solid ${De}`},children:[s.jsx("p",{className:"font-display",style:{fontSize:14.5,fontWeight:700,color:De},children:"Question 1 — Do A and B want the same outcome?"}),s.jsxs("div",{className:"flex",style:{gap:22,marginTop:7},children:[s.jsx(vm,{children:"Yes — we want the same thing"}),s.jsx(vm,{children:"No — we want different things"})]}),s.jsx(Wr,{label:"A wants:",marginTop:10}),s.jsx(Wr,{label:"B wants:"}),s.jsx("p",{style:{fontSize:Vs,color:wn,marginTop:8,fontStyle:"italic"},children:"Avoid vague language like “economic growth” or “better coordination.” Try to finish the sentence: “We will know this is working when…”"}),s.jsx(Wr,{marginTop:6})]}),s.jsxs(ul,{style:{marginTop:12,borderTop:`4px solid ${ur}`},children:[s.jsx("p",{className:"font-display",style:{fontSize:14.5,fontWeight:700,color:De},children:"Question 2 — Do A and B agree on what will produce that outcome?"}),s.jsxs("div",{className:"flex",style:{gap:22,marginTop:7},children:[s.jsx(vm,{children:"Yes — the same approach will work"}),s.jsx(vm,{children:"No — different ideas about what will work"})]}),s.jsxs("p",{style:{fontSize:Vs,color:wn,marginTop:10},children:["A believes: ",s.jsx("strong",{style:{color:Nh},children:"If we ______, then ______."})]}),s.jsx(Wr,{marginTop:4}),s.jsxs("p",{style:{fontSize:Vs,color:wn,marginTop:9},children:["B believes: ",s.jsx("strong",{style:{color:Nh},children:"If we ______, then ______."})]}),s.jsx(Wr,{marginTop:4})]}),s.jsx("div",{className:"callout",style:{marginTop:12,background:"rgba(226,182,115,0.14)",borderLeft:`4px solid ${pi}`,borderRadius:"0 8px 8px 0",padding:"10px 13px"},children:s.jsx("p",{style:{fontSize:ss},children:"If you can’t complete both “if… then…” statements, you haven’t fully uncovered the disagreement yet. Keep asking questions. The missing “if… then…” is often where the real problem is hiding."})})]})]}),s.jsx(F0,{n:2})]}),s.jsxs("section",{id:"quadrant",className:"pdf-page pdf-body",style:{scrollMarginTop:90},children:[s.jsxs("div",{style:{padding:"0.62in 0.62in 0"},children:[s.jsx(dh,{n:"3",title:"Find your quadrant"}),s.jsx("p",{style:{marginTop:6,fontSize:ss},children:"Cross your two answers. Where the goal and the path meet tells you what kind of problem you have."}),s.jsxs("div",{className:"flex",style:{gap:8,marginTop:11,alignItems:"stretch"},children:[s.jsx("div",{className:"font-body uppercase",style:{writingMode:"vertical-rl",transform:"rotate(180deg)",fontSize:10,letterSpacing:"0.18em",fontWeight:700,color:wn,textAlign:"center",padding:"22px 0 0"},children:"The goal"}),s.jsxs("div",{style:{flex:1},children:[s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1.05in 1fr 1fr",gap:6},children:[s.jsx("div",{}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.14em",fontWeight:700,color:De,textAlign:"center"},children:"Agree on the path"}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.14em",fontWeight:700,color:De,textAlign:"center"},children:"Disagree on the path"})]}),[{row:"Agree on the goal",cells:[uh[0],uh[1]]},{row:"Disagree on the goal",cells:[uh[2],uh[3]]}].map(h=>s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1.05in 1fr 1fr",gap:6,marginTop:6},children:[s.jsx("p",{className:"font-body",style:{fontSize:10,fontWeight:700,color:De,alignSelf:"center",lineHeight:1.35},children:h.row}),h.cells.map(g=>s.jsxs("button",{type:"button","aria-pressed":c===Number(g.num),onClick:()=>d(m=>m===Number(g.num)?null:Number(g.num)),className:`quad-card lift${c===Number(g.num)?" is-selected":""}`,style:{border:`1.5px solid ${g.color}`,background:c===Number(g.num)?`${g.color}2E`:`${g.color}14`,borderRadius:9,padding:"13px 11px 14px",textAlign:"center",opacity:c!==null&&c!==Number(g.num)?.42:1,transition:"opacity .22s ease, background-color .22s ease, transform .22s ease, box-shadow .22s ease"},children:[s.jsx(JN,{n:g.num,color:g.color,size:19}),s.jsx("p",{className:"font-display",style:{fontSize:14.5,fontWeight:700,color:De,marginTop:4},children:g.name})]},g.name))]},h.row))]})]}),s.jsxs("p",{className:"font-body",style:{fontSize:ss,color:De,fontWeight:600,marginTop:10},children:["My edge is in Quadrant ",s.jsx("span",{style:{borderBottom:"1px solid rgba(45,77,131,0.4)",padding:"0 26px"}})]}),s.jsxs("div",{style:{marginTop:16},children:[s.jsx(dh,{n:"4",title:"Use the right tool"}),s.jsx("div",{className:`quad-grid grid grid-cols-2${c!==null?" has-selection":""}`,style:{gap:11,marginTop:10},children:uh.map(h=>s.jsxs(ul,{role:"button",tabIndex:0,"aria-pressed":c===Number(h.num),onClick:()=>d(g=>g===Number(h.num)?null:Number(h.num)),onKeyDown:g=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),d(m=>m===Number(h.num)?null:Number(h.num)))},className:`quad-card lift${c===Number(h.num)?" is-selected":""}
1349`,style:{borderTop:`4px solid ${h.color}`,padding:"12px 13px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.1em",color:wn,fontWeight:700},children:h.grid}),s.jsxs("p",{className:"font-display flex items-center",style:{gap:6,fontSize:14.5,fontWeight:700,color:De,marginTop:4},children:[s.jsx(JN,{n:h.num,color:h.color})," ",h.name]}),s.jsx("p",{style:{fontSize:10,lineHeight:1.55,marginTop:6},children:h.diag}),s.jsxs("p",{style:{fontSize:10.2,marginTop:7,color:De,fontWeight:700},children:["Your move: ",h.move]}),s.jsx("ul",{style:{marginTop:5,paddingLeft:0,listStyle:"none"},children:h.tools.map(g=>s.jsxs("li",{className:"flex items-start",style:{gap:5,fontSize:10,lineHeight:1.5,color:Nh},children:[s.jsx("span",{style:{color:h.color,fontWeight:700},children:"·"}),g]},g))}),s.jsx("p",{style:{fontSize:10,marginTop:7,color:wn,fontStyle:"italic",lineHeight:1.5},children:h.note})]},h.name))})]})]}),s.jsx(F0,{n:3})]}),s.jsxs("section",{id:"move",className:"pdf-page pdf-body",style:{scrollMarginTop:90},children:[s.jsxs("div",{style:{padding:"0.62in 0.62in 0"},children:[s.jsx(dh,{n:"5",title:"Name the move and who makes it"}),s.jsx("p",{style:{marginTop:6,fontSize:ss},children:"Turn the diagnosis into an action."}),s.jsxs("div",{className:"grid grid-cols-2",style:{gap:16,marginTop:10},children:[s.jsx(Wr,{label:"This edge is a Quadrant ____ problem. The right tool is:",marginTop:0}),s.jsx(Wr,{label:"Who is best positioned to use that tool?",marginTop:0})]}),s.jsx("p",{style:{fontSize:Vs,color:wn,marginTop:9,fontStyle:"italic"},children:"Different problems require different people. Whoever is great at inspiring people and selling a vision may not be the person who should negotiate an incentive deal. Match the person to the problem."}),s.jsx(Wr,{label:"Where and when will this move happen?"}),s.jsxs(ul,{style:{marginTop:11},children:[s.jsx(dl,{children:"Pick the right room"}),s.jsx("div",{className:"q-list grid grid-cols-2",style:{gap:"5px 16px",marginTop:7},children:[["Selling a path","convening, kickoff, demonstration, pilot"],["Making a trade","small meeting, negotiation, agreement"],["Keeping a connection alive","regular meetings, milestones, shared wins"],["Political / power problem","decision point, vote, public pressure, coalition-building"]].map(([h,g])=>s.jsxs("p",{className:"q-row",style:{fontSize:10.2,lineHeight:1.55},children:[s.jsxs("strong",{style:{color:De},children:[h,":"]})," ",g]},h))}),s.jsx("p",{style:{fontSize:Vs,color:wn,marginTop:8,fontStyle:"italic"},children:"The right tool in the wrong room can still fail."})]}),s.jsxs("div",{style:{marginTop:18,background:De,borderRadius:10,padding:"20px 22px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.2em",fontWeight:700,color:pi},children:"The one-line test for alignment theater"}),s.jsx("p",{className:"font-display",style:{fontSize:18,lineHeight:1.3,color:"#fff",fontWeight:700,marginTop:8},children:"“Have we confirmed that we agree on the path — or have we only agreed on the problem?”"}),s.jsx("p",{style:{fontSize:10.4,color:"rgba(255,255,255,0.82)",marginTop:8,lineHeight:1.55},children:"If you’ve only agreed on the problem, you haven’t finished Discover. You’ve just agreed to start solving something you may not actually agree about."})]}),s.jsxs("div",{style:{marginTop:18},children:[s.jsx(dl,{color:De,children:"The takeaway"}),s.jsxs("p",{style:{marginTop:6,fontSize:ss},children:["When a connection gets stuck, don’t immediately ask “What should we do?” Ask two questions first: ",s.jsx("strong",{style:{color:De},children:"Do we want the same thing?"})," and"," ",s.jsx("strong",{style:{color:De},children:"Do we believe the same thing will get us there?"})]}),s.jsx("div",{style:{marginTop:10,border:"1px solid rgba(45,77,131,0.16)",borderRadius:9,overflow:"hidden"},children:[[ur,"Same goal + same path","Keep the connection alive."],[De,"Same goal + different path","Build belief in the path."],[pi,"Different goal + same path","Set the terms so both sides get something."],["#8C6FA6","Different goal + different path","Stop forcing consensus. Find another way forward."]].map(([h,g,m],b)=>s.jsxs("div",{className:"flex items-center",style:{gap:10,padding:"11px 13px",borderTop:b===0?"none":"1px solid rgba(45,77,131,0.10)",background:b%2?"rgba(45,77,131,0.03)":"#fff"},children:[s.jsx("span",{style:{width:5,height:5,borderRadius:999,background:h,flex:"0 0 auto"}}),s.jsx("span",{className:"font-body",style:{fontSize:10.6,fontWeight:700,color:De,width:"2.4in"},children:g}),s.jsx("span",{style:{fontSize:10.6},children:m})]},g))}),s.jsx("p",{style:{fontSize:ss,marginTop:10},children:"The point isn’t to make everyone agree. The point is to understand what kind of disagreement you’re dealing with so you can choose the right move."})]})]}),s.jsxs("div",{style:{position:"absolute",left:0,right:0,bottom:0},children:[s.jsx("div",{style:{background:"var(--gradient-signature)",height:5}}),s.jsxs("div",{style:{background:De,padding:"13px 0.62in 15px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.2em",fontWeight:700,color:pi},children:"Part of the Ecosystem Edge® field guide series"}
1349),s.jsx("p",{style:{fontSize:10,color:"rgba(255,255,255,0.85)",marginTop:5,lineHeight:1.55,maxWidth:"6.2in"},children:"Pairs with the Scorecard: the Scorecard shows you where connections are stuck; this worksheet helps you understand why — so your coalition can decide what to do next."}),s.jsx("p",{style:{fontSize:10,color:"rgba(255,255,255,0.6)",marginTop:6},children:"ecosystem-edge.com · Making invisible work visible"})]})]})]})]})]})},hr="#2D4D83",vl="#59BEC9",eP="#E2B673",ei="#3d4757",eE="#6E7784",Ose=11.6,Dse="EDGE Scorecard - Ecosystem Edge®",H0=[{letter:"E",color:"#2D4D83",name:"Entrepreneurs"},{letter:"C",color:"#59BEC9",name:"Corporates"},{letter:"O",color:"#3F7CA8",name:"Government Organizations"},{letter:"S",color:"#E2B673",name:"Storytellers"},{letter:"Y",color:"#7BA05B",name:"Youth + Talent"},{letter:"S",color:"#8C6FA6",name:"Service Providers"},{letter:"T",color:"#C97B5A",name:"Trade + Industry Associations"},{letter:"E",color:"#4FA3A5",name:"Ecosystem Support Organizations"},{letter:"M",color:"#B8892B",name:"Money"}],Wse=[{letter:"E",name:"Engage",note:"Connected and aware of each other"},{letter:"D",name:"Discover",note:"Know what each partner has and needs"},{letter:"G",name:"Galvanize",note:"Putting resources and effort in"},{letter:"E",name:"Emerge",note:"Producing better results together"}],tE=["#7D95BC","#5E7BAB","#45659A","#2D4D83"],$se=["40","73","B3","FF"],Lse=["rgba(110,119,132,0.28)","rgba(110,119,132,0.5)","rgba(110,119,132,0.75)","#6E7784"],Mse=[{label:"Strong",fill:"#4E8C5B",border:"#4E8C5B"},{label:"Developing",fill:"#D9A441",border:"#D9A441"},{label:"Disconnected",fill:"#B9553F",border:"#B9553F"}],V0=[{Icon:Uo,color:hr,bar:hr,step:"Reveal",d:"You see the whole system on one page, together."},{Icon:Er,color:"#2F8C97",bar:vl,step:"Clarify",d:"You name the connections that matter most, and who owns each."},{Icon:Go,color:"#B8892B",bar:eP,step:"Activate",d:"You engage partners, braid funding, and show real progress."}],Bse=He,Fse=[{t:"Funders",color:"#3F7CA8",d:"Make your investment go further. Fund the connections that compound impact. Learn what's working over time, reported honestly, including what didn't."},{t:"Ecosystem Builders",color:"#7BA05B",d:"See where the relationships are, and where your most precious resource, your time and energy, gets the biggest results."},{t:"Field Builders",color:"#8C6FA6",d:"Use one shared standard to scaffold every region, understand what each has and needs, and learn from the patterns across them."}],Eh=({fromColor:e,toColor:t,variant:n=0,height:r=26,flip:o=!1})=>s.jsxs("div",{style:{background:e,lineHeight:0,marginTop:-1,marginBottom:-1},"aria-hidden":"true",children:[s.jsx("svg",{viewBox:"0 0 1440 60",preserveAspectRatio:"none",style:{display:"block",width:"100%",height:r,transform:o?"scaleY(-1)":void 0},children:s.jsx("path",{d:Og[n%Og.length],fill:t,shapeRendering:"geometricPrecision"})}),s.jsx("div",{style:{height:2,background:t,marginTop:-1,marginBottom:-1}})]}),nE=({title:e,sub:t,variant:n=0})=>s.jsxs("header",{children:[s.jsx("div",{style:{background:hr,padding:"17px 0.4in 6px"},children:s.jsxs("div",{className:"flex items-center justify-between gap-6",children:[s.jsxs("div",{children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:12,letterSpacing:"0",color:eP,fontWeight:800},children:"Ecosystem Edge® Scorecard"}),s.jsx("h1",{className:"font-display",style:{fontSize:25,lineHeight:1.1,color:"#ffffff",fontWeight:700,marginTop:5},children:e}),s.jsx("p",{style:{fontSize:16,color:"rgba(255,255,255,0.82)",fontStyle:"italic",marginTop:4},children:t})]}),s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:66,background:"#fff",borderRadius:6,padding:"6px 12px"}})]})}),s.jsx(Eh,{fromColor:hr,toColor:"#ffffff",variant:n,height:26})]}),Hse=()=>{const e=P.useCallback(()=>{const t=document.title,n=()=>{document.title=t,window.removeEventListener("afterprint",n)};window.addEventListener("afterprint",n),document.title=Dse;try{window.print()}finally{window.setTimeout(n,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"EDGE Scorecard | Ecosystem Edge",description:"A printable landscape Scorecard: nine partner groups across four phases, and what the grid tells you.",path:"/edge-scorec
1349ard",noindex:!0}),s.jsx("style",{children:`
1350        .pdf-page {
1351          width: 11in;
1352          min-height: 8.5in;
1353          margin: 0 auto;
1354          background: #ffffff;
1355          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
1356          position: relative;
1357          overflow: hidden;
1358        }
1359        .pdf-body { font-size: ${Ose}px; line-height: 1.55; color: ${ei}; text-wrap: pretty; }
1360        .callout, .read-card { transition: box-shadow .22s ease; }
1361        .callout:hover, .read-card:hover { box-shadow: 0 10px 26px rgba(45,77,131,0.13); }
1362        @media (prefers-reduced-motion: reduce) { .callout, .read-card { transition: none !important; } }
1363        @media print {
1364          @page { size: letter landscape; margin: 0; }
1365          html, body { background: #ffffff !important; margin: 0 !important; padding: 0 !important; }
1366          .no-print { display: none !important; }
1367          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
1368          .pdf-page { box-shadow: none !important; margin: 0 !important; width: 11in !important; height: 8.5in !important; min-height: 8.5in !important; overflow: hidden !important; }
1369          .page-2 { break-before: page; page-break-before: always; margin-top: 0 !important; }
1370          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
1371          .callout, .read-card { box-shadow: none !important; }
1372          .pdf-page * { box-shadow: none !important; }
1373          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
1374        }
1375      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body",style:{fontSize:13.5,color:ei},children:"Prints as two landscape pages — choose Landscape, letter, no scaling."}),s.jsxs("button",{onClick:e,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:14,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsxs("section",{className:"pdf-page pdf-body",children:[s.jsx(nE,{title:"Your edge is in the connections.",sub:"The scorecard reveals how you're connected. Key partner groups. One shared picture. Twenty minutes.",variant:0}),s.jsxs("div",{style:{padding:"4px 0.4in 0"},children:[s.jsxs("div",{className:"avoid-break flex items-start justify-end",style:{gap:18},children:[s.jsxs("span",{style:{marginRight:"auto"},children:[s.jsxs("span",{className:"font-body flex items-baseline",style:{gap:8},children:[s.jsx("span",{style:{fontSize:16,letterSpacing:"0",textTransform:"uppercase",color:"#2F8C97",fontWeight:700},children:"Start here:"}),s.jsx("span",{style:{fontSize:16,color:ei,fontWeight:700,fontStyle:"italic",letterSpacing:"0"},children:"Circle your partner group."})]}),s.jsx("span",{className:"font-body",style:{display:"block",fontSize:16,color:ei,fontWeight:500,marginTop:3},children:"Then place a chip in each square to show where each relationship stands today."})]}),Mse.map(t=>s.jsxs("span",{className:"flex items-center",style:{gap:7},children:[s.jsx("span",{style:{width:18,height:18,borderRadius:99,background:t.fill,border:`1.5px solid ${t.border}`,display:"inline-block"}}),s.jsx("span",{className:"font-body",style:{fontSize:16,fontWeight:700,color:ei},children:t.label})]},t.label))]}),s.jsx("div",{className:"avoid-break",style:{marginTop:12},children:s.jsxs("table",{style:{width:"100%",borderCollapse:"collapse",tableLayout:"fixed"},children:[s.jsxs("colgroup",{children:[s.jsx("col",{style:{width:"1.45in"}}),H0.map((t,n)=>s.jsx("col",{},n)),s.jsx("col",{style:{width:"0.12in"}}),s.jsx("col",{})]}),s.jsx("thead",{children:s.jsxs("tr",{children:[s.jsxs("th",{className:"font-body uppercase",style:{letterSpacing:"0",color:"#2F8C97",fontWeight:700,textAlign:"left",verticalAlign:"top",padding:"0 12px 8px 0"},children:[s.jsx("span",{style:{display:"block",fontSize:16,lineHeight:1.15,marginTop:9,whiteSpace:"nowrap"},children:"Partner Groups"}),s.jsx("span",{style:{display:"block",fontSize:16,marginTop:31,textAlign:"left"},children:"Phases"})]}),[...H0,{letter:"G",color:eE,name:"Governance",gov:!0}].flatMap((t,n)=>[t.gov?s.jsx("th",{},"gap"):null,s.jsxs("th",{style:{verticalAlign:"top",padding:"0 1px 8px"},children:[s.jsx("span",{className:"font-display",style:{margin:"0 auto",display:"flex",alignItems:"center",justifyContent:"center",width:36,minWidth:36,height:36,padding:t.gov?0:"0 0 2px",boxSizing:"border-box",lineHeight:1,borderRadius:"50%",background:t.color,color:"#ffffff",fontSize:21,fontWeight:800},children:t.gov?s.jsx(lj,{size:32,gapColor:eE}):t.letter}),s.jsx("span",{className:"font-body",style:{display:"block",marginTop:6,height:38,fontSize:10.5,lineHeight:1.22,color:t.gov?"#5a6779":hr,fontWeight:700,textAlign:"center"},children:t.name})]}
1375,n)].filter(Boolean))]})}),s.jsx("tbody",{children:Wse.map((t,n)=>s.jsxs("tr",{children:[s.jsx("td",{style:{padding:"0 12px 0 0",verticalAlign:"middle"},children:s.jsxs("div",{className:"flex items-center",style:{gap:8},children:[s.jsx("span",{className:"font-display",style:{display:"flex",alignItems:"center",justifyContent:"center",width:36,minWidth:36,height:36,padding:"0 0 2px",boxSizing:"border-box",lineHeight:1,borderRadius:"50%",background:tE[n],color:"#ffffff",fontSize:21,fontWeight:800,flex:"0 0 36px"},children:t.letter}),s.jsxs("span",{children:[s.jsx("span",{className:"font-body",style:{display:"block",fontSize:13.5,color:hr,fontWeight:700,lineHeight:1.2},children:t.name}),s.jsx("span",{style:{display:"block",fontSize:12,lineHeight:1.25,color:ei,marginTop:2},children:t.note}),s.jsx("span",{className:"flex",style:{gap:3,marginTop:4},"aria-hidden":"true",children:[0,1,2,3].map(r=>s.jsx("span",{style:{width:13,height:4,borderRadius:2,background:r<=n?tE[n]:"rgba(90,103,121,0.15)"}},r))})]})]})}),H0.map((r,o)=>s.jsx("td",{style:{padding:"6px 1.5px",verticalAlign:"top"},children:s.jsx("div",{style:{width:"100%",aspectRatio:"1 / 1",borderRadius:6,border:"1px solid #6f7b8c",borderTop:`4px solid ${r.color}${$se[n]}`,background:"#ffffff"}})},o)),s.jsx("td",{}),s.jsx("td",{style:{padding:"6px 1.5px",verticalAlign:"top"},children:s.jsx("div",{style:{width:"100%",aspectRatio:"1 / 1",borderRadius:6,border:"1px solid #8b95a3",background:"#FAFBFC",overflow:"hidden"},children:s.jsx("div",{style:{height:4,background:Lse[n]}})})})]},t.name))})]})}),s.jsx("div",{className:"avoid-break",style:{marginTop:20,maxWidth:"100%",borderLeft:`5px solid ${vl}`,paddingLeft:10},children:s.jsxs("p",{className:"font-display",style:{fontSize:20,lineHeight:1.38,color:hr,fontWeight:700,textAlign:"left",whiteSpace:"nowrap"},children:["We reveal connectivity; the strength of relationships between partners, not just the assets a region can list.",s.jsx("br",{}),s.jsx("span",{style:{color:vl,fontStyle:"italic"},children:"That’s where your edge is, and it’s the part nobody else can show you."})]})})]}),s.jsxs("div",{style:{position:"absolute",left:0,right:0,bottom:0},children:[s.jsx(Eh,{fromColor:"#ffffff",toColor:hr,variant:1,height:22}),s.jsx("div",{style:{background:hr,padding:"8px 0.4in 10px"},children:s.jsxs("div",{className:"flex items-center justify-between",style:{fontSize:12,color:"rgba(255,255,255,0.88)",letterSpacing:"0"},children:[s.jsx("span",{className:"font-display",style:{fontSize:16,color:vl,fontWeight:700,letterSpacing:"0"},children:"ecosystem-edge.com"}),s.jsx("span",{style:{textAlign:"right",fontSize:12,color:"rgba(255,255,255,0.88)",letterSpacing:"0"},children:"© Ecosystem Edge®. All rights reserved."})]})})]})]}),s.jsxs("section",{className:"pdf-page pdf-body page-2",style:{marginTop:28},children:[s.jsx(nE,{title:"You have the picture. Here's the path.",sub:"The Scorecard is the start. Six sessions take your coalition from scattered activity to funded impact.",variant:2}),s.jsxs("div",{style:{padding:"6px 0.4in 0"},children:[s.jsx("div",{className:"avoid-break items-stretch",style:{display:"grid",gridTemplateColumns:"1fr auto 1fr auto 1fr",gap:10,alignItems:"stretch"},children:V0.flatMap(({Icon:t,color:n,bar:r,step:o,d:i},a)=>{const l=s.jsxs("div",{className:"read-card",style:{background:"#ffffff",borderRadius:14,border:"1px solid rgba(45,77,131,0.12)",borderTop:`5px solid ${r}`,padding:"10px 16px 11px",boxShadow:"0 8px 22px rgba(45,77,131,0.08)"},children:[s.jsxs("div",{className:"flex items-center",style:{gap:10},children:[s.jsx("span",{className:"flex items-center justify-center shrink-0",style:{width:34,height:34,borderRadius:"50%",background:n,color:"#ffffff"},"aria-hidden":"true",children:s.jsx(t,{size:18,strokeWidth:2.2})}),s.jsx("p",{className:"font-display",style:{fontSize:20,color:n,fontWeight:700,lineHeight:1.15},children:o})]}),s.jsx("p",{style:{fontSize:16,lineHeight:1.4,color:ei,marginTop:5},children:i})]},o);if(a===V0.length-1)return[l];const c=V0[a+1].color;return[l,s.jsx("div",{className:"flex items-center justify-center","aria-hidden":"true",style:{width:26},children:s.jsx("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",children:s.jsx("path",{d:"M8 4l8 8-8 8",stroke:c,strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"})})},`${o}-arrow`)]})}),s.jsx("div",{className:"avoid-break flex justify-center",style:{marginTop:10,height:200,overflow:"hidden"},children:s.jsx(wi,{variant:"compact-tall",width:880,sessions:Bse,responsive:!1})})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:16,background:"#f4f6f9"}
1375,children:[s.jsx(Eh,{fromColor:"#ffffff",toColor:"#f4f6f9",variant:0,height:14}),s.jsxs("div",{style:{background:"#f4f6f9",padding:"2px 0.4in 8px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:20,lineHeight:1.2,color:hr,fontWeight:700},children:"Everything begins from the shared picture you just built."}),s.jsx("p",{style:{fontSize:16,lineHeight:1.4,color:ei,fontWeight:600,marginTop:6,marginBottom:0},children:"Wherever you sit in the ecosystem, here’s what you get:"}),Fse.map(t=>s.jsxs("div",{className:"flex items-baseline",style:{gap:8,marginTop:3},children:[s.jsx("span",{className:"font-body uppercase",style:{fontSize:16,letterSpacing:"0",fontWeight:800,color:t.color,whiteSpace:"nowrap"},children:t.t}),s.jsx("span",{style:{fontSize:13,lineHeight:1.4,color:ei,whiteSpace:"nowrap"},children:t.d})]},t.t))]}),s.jsx(Eh,{fromColor:"#f4f6f9",toColor:"#ffffff",variant:2,height:18})]}),s.jsxs("div",{className:"avoid-break",style:{position:"absolute",left:0,right:0,bottom:0,background:"#ffffff"},children:[s.jsx(Eh,{fromColor:"#ffffff",toColor:hr,variant:2,height:22}),s.jsxs("div",{style:{background:hr,padding:"12px 0.3in 14px"},children:[s.jsxs("div",{className:"flex items-center justify-between",style:{gap:12},children:[s.jsxs("div",{style:{maxWidth:"7.5in"},children:[s.jsx("p",{className:"font-display",style:{fontSize:20,lineHeight:1.15,color:"#ffffff",fontWeight:700},children:"What you walk away with"}),s.jsxs("p",{style:{fontSize:13.5,lineHeight:1.4,color:"rgba(255,255,255,0.84)",marginTop:5},children:["Partners aligned, priorities named, owners in place, and a shared picture you re-run each year.",s.jsx("br",{}),"Noise becomes a network you can act on, and connections that were invisible are now clear enough to fund."]})]}),s.jsx("a",{className:"shrink-0",href:"https://ecosystem-edge.com/scorecard",style:{textDecoration:"none",textAlign:"right"},children:s.jsx("p",{className:"font-display",style:{fontSize:20,lineHeight:1.2,color:vl,fontWeight:700,whiteSpace:"nowrap"},children:"Bring this to your ecosystem. →"})})]}),s.jsxs("div",{className:"flex items-end justify-between",style:{marginTop:9,paddingTop:9,borderTop:`1px solid ${vl}55`,gap:16},children:[s.jsx("div",{className:"flex",style:{gap:28},children:[{n:"Amy Beaird, PhD",e:"[email protected]"},{n:"Dawn Haynes, MBA",e:"[email protected]"}].map(t=>s.jsxs("div",{className:"shrink-0",style:{whiteSpace:"nowrap"},children:[s.jsx("p",{className:"font-display",style:{fontSize:16,color:"#ffffff",fontWeight:700,lineHeight:1.2},children:t.n}),s.jsx("p",{style:{fontSize:13.5,color:"rgba(255,255,255,0.82)",marginTop:2},children:t.e})]},t.n))}),s.jsxs("div",{className:"flex flex-col items-end",style:{marginRight:"0.1in"},children:[s.jsx("span",{className:"font-display",style:{fontSize:16,color:vl,fontWeight:700,letterSpacing:"0"},children:"ecosystem-edge.com"}),s.jsx("span",{style:{fontSize:12,color:"rgba(255,255,255,0.88)",marginTop:3,letterSpacing:"0"},children:"© Ecosystem Edge®. All rights reserved."})]})]})]})]})]})]})]})},sE="/assets/ecosystem-edge-logo-reverse-DsCog55b.png",fe="#2D4D83",Wn="#59BEC9",qn="#E2B673",zp="#3d4757",En="#7c8593",S1=11.2,ko=10.6,Ip=10,k1=1.6,Vse="Who Runs the Ecosystem - An Ecosystem Edge® Handbook",vi="#C4566E",Use="#E2B673",Ch="#7BA05B",ti=({n:e,total:t,first:n,children:r,pad:o="0.66in",bg:i="#ffffff",dark:a,bodyFlex:l})=>s.jsxs("section",{className:`pdf-page pdf-body${n?"":" page-break"}`,style:{marginTop:n?0:30,background:a?fe:i,color:a?"rgba(255,255,255,0.9)":void 0,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"},children:[s.jsx("div",{style:{height:9,background:"linear-gradient(90deg, #2D4D83, #59BEC9 55%, #E2B673)"}}),s.jsxs("div",{style:{padding:`0.5in ${o} 0`,minHeight:"9.75in",display:"flex",flexDirection:"column"},children:[s.jsx("div",{style:{flex:1,display:l?"flex":void 0,flexDirection:l?"column":void 0},children:r}),s.jsxs("div",{style:{paddingBottom:"0.34in"},children:[s.jsx("div",{style:{height:2,background:"linear-gradient(90deg, #2D4D83, #59BEC9 55%, #E2B673)"}}),s.jsxs("div",{className:"flex items-center justify-between",style:{fontSize:10,
1375color:a?"rgba(255,255,255,0.6)":"#8d97a3",letterSpacing:"0.05em",marginTop:6},children:[s.jsx("span",{children:"Ecosystem Edge® · Who Runs the Ecosystem?"}),s.jsxs("span",{children:[e," / ",t]})]})]})]})]}),ni=({num:e,title:t,deck:n,eyebrow:r})=>s.jsxs("div",{className:"avoid-break",children:[e||r?s.jsx("p",{className:"font-body uppercase",style:{fontSize:Ip,letterSpacing:"0.22em",color:qn,fontWeight:700},children:e?s.jsxs(s.Fragment,{children:["Section ",e]}):r}):null,s.jsx("h2",{className:"font-display",style:{fontSize:26,lineHeight:1.14,color:fe,fontWeight:700,marginTop:e||r?6:0,maxWidth:"7.1in"},children:t}),n?s.jsx("p",{style:{fontSize:12.4,lineHeight:1.5,color:En,fontStyle:"italic",marginTop:8,maxWidth:"6.7in"},children:n}):null,s.jsx("div",{style:{height:3,marginTop:12,width:"2.3in",background:`linear-gradient(90deg, ${fe}, ${Wn} 60%, ${qn})`}})]}),rn=({children:e,style:t})=>s.jsx("p",{style:{fontSize:S1,lineHeight:k1,marginTop:11,maxWidth:"100%",...t},children:e}),ts=({children:e})=>s.jsx("span",{style:{color:fe,fontWeight:700},children:e}),hl=({label:e,tone:t="teal",children:n,style:r})=>{const o=t==="teal"?Wn:t==="gold"?qn:fe;return s.jsxs("div",{className:"callout avoid-break",style:{marginTop:14,background:t==="gold"?"rgba(253,246,235,0.9)":t==="navy"?"rgba(45,77,131,0.05)":"rgba(89,190,201,0.07)",borderLeft:`3px solid ${o}`,padding:"12px 18px",...r},children:[e?s.jsx("p",{className:"font-body uppercase",style:{fontSize:Ip,letterSpacing:"0.14em",fontWeight:700,color:t==="gold"?"#B8892B":fe},children:e}):null,s.jsx("div",{style:{fontSize:ko,lineHeight:1.58,marginTop:e?5:0},children:n})]})},rE=({color:e=Wn,style:t})=>s.jsxs("svg",{viewBox:"0 0 600 10",preserveAspectRatio:"none",style:{width:"100%",height:8,display:"block",...t},"aria-hidden":"true",children:[s.jsx("path",{d:"M0 5 Q 37 -1 75 5 T 150 5 T 225 5 T 300 5 T 375 5 T 450 5 T 525 5 T 600 5",fill:"none",stroke:e,strokeWidth:"2"}),s.jsx("path",{d:"M0 5 Q 37 11 75 5 T 150 5 T 225 5 T 300 5 T 375 5 T 450 5 T 525 5 T 600 5",fill:"none",stroke:e,strokeWidth:"2",opacity:.45})]}),U0=({children:e,style:t,waveHeight:n=13,wave:r="top",bleed:o})=>{const{marginTop:i,...a}=t??{},l=s.jsx("svg",{width:"100%",height:n,viewBox:"0 0 1000 13",preserveAspectRatio:"none",style:{display:"block",transform:r==="bottom"?"scaleY(-1)":void 0},"aria-hidden":!0,children:s.jsx("path",{d:"M0,13 L0,8 C 62,8 62,1 125,1 C 187,1 187,8 250,8 C 312,8 312,1 375,1 C 437,1 437,8 500,8 C 562,8 562,1 625,1 C 687,1 687,8 750,8 C 812,8 812,1 875,1 C 937,1 937,8 1000,8 L1000,13 Z",fill:fe})}),c=s.jsx("div",{style:{background:fe,color:"#ffffff",marginTop:r==="top"?-1:void 0,marginBottom:r==="bottom"?-1:void 0,WebkitPrintColorAdjust:"exact",printColorAdjust:"exact",...a},children:e});return s.jsx("div",{className:"avoid-break",style:{marginTop:i,marginLeft:o?`-${o}`:void 0,marginRight:o?`-${o}`:void 0},children:r==="top"?s.jsxs(s.Fragment,{children:[l,c]}):s.jsxs(s.Fragment,{children:[c,l]})})},oE=({title:e="The nine threads of an ecosystem",braid:t=!1,governance:n=!1,compact:r=!1})=>s.jsxs("div",{className:"avoid-break",style:{marginTop:r?10:18},children:[s.jsx(hj,{color:Wn,height:9}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.2em",color:En,fontWeight:700,marginTop:9},children:e}),s.jsxs("div",{style:{position:"relative",overflow:"hidden"},children:[t?s.jsx("img",{src:co,alt:"","aria-hidden":"true",className:"pointer-events-none select-none",style:{position:"absolute",left:0,right:0,top:"50%",transform:"translateY(-50%)",width:"100%",height:"auto",opacity:.15,zIndex:0,maskImage:"linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%)",WebkitMaskImage:"linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%)",WebkitPrintColorAdjust:"exact",printColorAdjust:"exact"}}):null,s.jsx("div",{className:"grid grid-cols-3",style:{gap:r?"8px 18px":"11px 18px",marginTop:r?8:11,padding:t?"8px 0":0,position:"relative",zIndex:1},children:Tn.map((o,i)=>s.jsxs("div",{className:"flex items-center",style:{gap:8},children:[s.jsx(T3,{letter:o.letter,color:o.color,size:19}),s.jsx("span",{style:{fontSize:10,lineHeight:1.25,color:zp},children:o.name})]},o.name+i))})]}),n?s.jsxs("div",{style:{marginTop:r?9:12,background:"rgba(253,246,235,0.94)",borderLeft:`4px solid ${qn}`,padding:"10px 14px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.16em",color:"#B8892B",fontWeight:700},children:"The Governance Layer — the tenth thread"}),s.jsx("p",{style:{fontSize:10.4,lineHeight:1.5,color:zp,marginTop:4},children:"Not a partner group. It is the function that holds the connections between all nine and weaves them into one working ecosystem — and the one capacity most often left unassigned and unfunded."})]}):null]}),Gse=[[50,8],[79,18],[94,42],[88,71],[65,92],[35,92],[12,71],[6,42],[21,18]],tP=(e,t)=>Gse.map(([n,r])=>({x:n/100*e,y:r/100*t})),G0=Tn.slice(0,9).map(e=>e.color),Yse=({width:e=560,labels:t=!0,onDark:n=!1})=>{const o=t?294:232,i=236,a=188,l=tP(i,a),c=i/2,d=a/2,u=v=>({x:v,y:10,w:i+44,h:a+44}
1375),p=u(8),f=u(620-(i+44)-8),h=n?"#ffffff":fe,g=n?.3:.22,m=n?"#ffffff":fe,b=n?"rgba(255,255,255,0.72)":En;return s.jsxs("svg",{viewBox:`0 0 620 ${o}`,style:{width:e,maxWidth:"100%",height:"auto",display:"block"},"aria-label":"The same nine partners drawn twice: on the left every line runs through one center, on the right the partners connect directly to one another with no center at all.",children:[s.jsxs("g",{transform:`translate(${p.x+22},${p.y+22})`,children:[l.map((v,y)=>s.jsx("line",{x1:v.x,y1:v.y,x2:c,y2:d,stroke:h,strokeOpacity:g,strokeWidth:1.8},`hs${y}`)),s.jsx("circle",{cx:c,cy:d,r:27,fill:qn,fillOpacity:.16}),s.jsx("circle",{cx:c,cy:d,r:17,fill:qn}),l.map((v,y)=>s.jsx("circle",{cx:v.x,cy:v.y,r:5,fill:G0[y],fillOpacity:n?.55:.38},`hn${y}`))]}),s.jsxs("g",{transform:`translate(${f.x+22},${f.y+22})`,children:[l.map((v,y)=>l.slice(y+1).map((w,j)=>s.jsx("line",{x1:v.x,y1:v.y,x2:w.x,y2:w.y,stroke:G0[y],strokeOpacity:n?.85:.8,strokeWidth:2.1},`me${y}-${j}`))),l.map((v,y)=>s.jsx("circle",{cx:v.x,cy:v.y,r:5,fill:G0[y],fillOpacity:n?.7:.55},`mn${y}`))]}),s.jsxs("g",{transform:`translate(${620/2},${p.y+p.h/2})`,children:[s.jsx("line",{x1:-13,y1:0,x2:9,y2:0,stroke:qn,strokeWidth:1.6}),s.jsx("path",{d:"M9 -4.5 L 16 0 L 9 4.5 Z",fill:qn})]}),t?s.jsxs(s.Fragment,{children:[s.jsx("text",{x:p.x+p.w/2,y:o-22,textAnchor:"middle",fontSize:"11",fill:b,fontWeight:700,letterSpacing:"0.16em",children:"A HUB"}),s.jsx("text",{x:p.x+p.w/2,y:o-7,textAnchor:"middle",fontSize:"10",fill:b,children:"Everything runs through one partner"}),s.jsx("text",{x:f.x+f.w/2,y:o-22,textAnchor:"middle",fontSize:"11",fill:m,fontWeight:700,letterSpacing:"0.16em",children:"A NETWORK"}),s.jsx("text",{x:f.x+f.w/2,y:o-7,textAnchor:"middle",fontSize:"10",fill:b,children:"Every partner connected to many"})]}):null]})},qse=({width:e=340})=>{const r=tP(288,208).map(a=>({x:a.x+26,y:a.y+26})),o=Tn.map(a=>a.color);let i=0;return s.jsxs("svg",{viewBox:"0 0 340 260",style:{width:e,maxWidth:"100%",height:"auto",display:"block"},"aria-label":"The same network with the nodes drawn faint and the connections between them drawn bold and in color.",children:[r.map((a,l)=>r.slice(l+1).map((c,d)=>{const u=o[i++%o.length];return s.jsx("line",{x1:a.x,y1:a.y,x2:c.x,y2:c.y,stroke:u,strokeWidth:2.2,strokeOpacity:.9,strokeLinecap:"round"},`e${l}-${d}`)})),r.map((a,l)=>s.jsx("circle",{cx:a.x,cy:a.y,r:5,fill:o[l%o.length],fillOpacity:.4},`f${l}`))]})},Kse=[{k:"Decisions",good:"Different partners carry different calls",bad:"Everything waits on one organization"},{k:"Money",good:"Several sources, none dominant",bad:"One award funds most of the work"},{k:"Introductions",good:"Partners connect to each other directly",bad:"Every referral routes through one door"},{k:"Information",good:"Partners share a common data structure",bad:"One partner holds the picture"},{k:"The coalition",good:"Every thread has a voice",bad:"The funded threads set the agenda"},{k:"The backbone",good:"Partners get value from it",bad:"Another organization to work around"},{k:"The money's home",good:"The host carries the liability; the shared governance coalition sets direction",bad:"The host treats the award as its own department budget"},{k:"The paycheck",good:"The coalition signs off on the backbone lead's review",bad:"The backbone lead protects the host, not the network"}],Zse=[{n:1,color:fe,t:"Compliance can say no. Preference cannot.",b:"The host can say the money cannot legally be spent that way. The host cannot say it prefers a different project."},{n:2,color:Wn,t:"Sub-awards are chosen by the coalition",b:"A scoring group appointed by the shared governance coalition decides who receives funding. The host administers the decision rather than making it."},{n:3,color:"#B8892B",t:"The review belongs to the network",b:"The backbone lead can sit on the host's payroll for benefits and compliance. The annual review requires sign-off from the shared governance coalition."}],Qse=()=>s.jsxs("div",{className:"avoid-break",style:{marginTop:16,border:"1px solid rgba(45,77,131,0.16)"},children:[s.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1.15in 1fr 1fr",background:"rgba(45,77,131,0.055)",borderBottom:"1px solid rgba(45,77,131,0.16)"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.16em",color:En,fontWeight:700,padding:"8px 12px"},children:"Look at"}),s.jsxs("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.16em",color:Ch,fontWeight:700,padding:"8px 12px",display:"flex",alignItems:"center",gap:6},children:[s.jsx(ek,{size:11,color:Ch,fill:Ch,strokeWidth:2,style:{flexShrink:0}}),"Green Flags"]}),s.jsxs("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.16em",color:vi,fontWeight:700,padding:"8px 12px",display:"flex",alignItems:"center",gap:6},children:[s.jsx(ek,{size:11,color:vi,fill:vi,strokeWidth:2,style:{flexShrink:0}}),"Red Flags"]})]}),Kse.map((e,t)=>s.jsxs("div",{style:{display:"grid",gridTemplateColumns:"1.15in 1fr 1fr",borderTop:t===0?"none":"1px solid rgba(45,77,131,0.1)",alignItems:"stretch"},children:[s.jsx("p",{className:"font-display",style:{fontSize:11,color:fe,fontWeight:700,padding:"8px 12px",lineHeight:1.3},children:e.k}),s.jsx("p",{style:{fontSize:10.2,lineHeight:1.4,padding:"8px 12px",borderLeft:`3px solid ${Ch}`},children:e.good}),s.jsx("p",{style:{fontSize:10.2,lineHeight:1.4,padding:"8px 12px",borderLeft:`3px solid ${vi}`},children:e.bad})]},e.k))]}),Jse=({style:e})=>{const t=({kicker:r,title:o,body:i,color:a,tint:l})=>s.jsxs("div",{style:{background:l,borderLeft:`4px solid ${a}`,padding:"12px 18px"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.16em",fontWeight:700,color:a},children:r}),s.jsx("p",{className:"font-display",style:{fontSize:15,fontWeight:700,color:fe,marginTop:3,lineHeight:1.2},children:o}),s.jsx("p",{style:{fontSize:10.4,lineHeight:1.5,marginTop:4},children:i})]}),n=({label:r})=>s.jsxs("div",{className:"flex items-center",style:{gap:10,padding:"6px 0 6px 18px"},children:[s.jsxs("svg",{width:"12",height:"22",viewBox:"0 0 12 22","aria-hidden":"true",children:[s.jsx("path",{d:"M6 0 L6 15",stroke:qn,strokeWidth:"2"}),s.jsx("path",{d:"M1.5 13.5 L6 19 L10.5 13.5",fill:"none",stroke:qn,strokeWidth:"2"})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.14em",color:En,fontWeight:700},children:r})]});return s.jsxs("div",{className:"avoid-break",style:{marginTop:16,...e},children:[s.jsx(t,{kicker:"The brain",title:"The shared governance coalition",body:"All nine partner groups represented. Sets direction, approves the roadmap, and decides which w
1375ork receives funding.",color:fe,tint:"rgba(45,77,131,0.06)"}),s.jsx(n,{label:"Approves the roadmap and the sub-awards"}),s.jsx(t,{kicker:"The pocket",title:"The host institution",body:"Signs the award, carries the financial liability, cuts the payments, and answers the audit. A service to the network, not its owner.",color:Wn,tint:"rgba(89,190,201,0.08)"}),s.jsx(n,{label:"Pays out and keeps the record"}),s.jsx(t,{kicker:"The work",title:"Partners across the ecosystem",body:"The programs, the research, the founders. Each partner keeps its own operations and its own accountability.",color:"#B8892B",tint:"rgba(253,246,235,0.9)"})]})},Xse=()=>{const e=[{name:"Nested",note:"A backbone team operates inside an existing partner serving as fiscal host, while a separate governance coalition sets strategy. Useful when there is funding to administer but no entity yet."},{name:"Volunteer",note:"Ecosystem leaders carry the backbone work themselves, with one organization handling the financial and reporting duties. Works early, while the workload is modest."},{name:"Seconded",note:"An existing organization lends staff to the shared work. The people doing the work may come from several organizations while the case for something permanent is built."},{name:"Stand-alone",note:"Its own nonprofit entity, with its own board and a wider governance coalition. More independence and identity, more administration to maintain."}];return s.jsxs("div",{className:"avoid-break",style:{marginTop:18},children:[s.jsxs("div",{style:{position:"relative",height:34},children:[s.jsx("div",{style:{position:"absolute",left:0,right:0,top:14,height:4,borderRadius:2,background:`linear-gradient(90deg, ${Wn}, ${fe})`}}),e.map((t,n)=>s.jsx("span",{style:{position:"absolute",top:8,left:`calc(${n/(e.length-1)*100}% - 8px)`,width:16,height:16,borderRadius:"50%",background:"#ffffff",border:`3px solid ${fe}`}},n))]}),s.jsxs("div",{className:"flex items-center justify-between",style:{fontSize:10,letterSpacing:"0.16em",color:En,marginTop:2},children:[s.jsx("span",{children:"SHARED"}),s.jsx("span",{children:"ARM’S LENGTH"})]}),s.jsx("div",{className:"grid grid-cols-4",style:{gap:14,marginTop:14},children:e.map((t,n)=>s.jsxs("div",{className:"lane-card",style:{borderTop:`3px solid ${fe}`,paddingTop:9},children:[s.jsx("p",{className:"font-display",style:{fontSize:12.6,color:fe,fontWeight:700,lineHeight:1.2},children:t.name}),s.jsx("p",{style:{fontSize:10,lineHeight:1.5,marginTop:5,color:zp},children:t.note})]},t.name))})]})},ere=()=>{const e=[{t:"Mission",s:"501(c)(3) core",d:"One accountable legal home. It holds the mission, employs staff where appropriate, enters agreements. Private-benefit rules limit any one player using its mission or assets for private gain."},{t:"Members",s:"501(c)(6) affiliate",d:"Added only when membership dues or member activity require it, so membership interests never change the purpose of the core."},{t:"Money",s:"Funding vehicle",d:"A separate vehicle for deploying capital when the funding structure calls for one. Money keeps its own lane, so control of capital is not control of the mission."}];return s.jsxs("div",{className:"avoid-break",style:{marginTop:18},children:[s.jsxs("div",{className:"flex flex-col items-center",children:[s.jsxs("svg",{width:"70",height:"42",viewBox:"0 0 70 42","aria-hidden":"true",children:[s.jsx("path",{d:"M6 38 Q35 2 64 38",fill:"none",stroke:fe,strokeWidth:"2",strokeOpacity:"0.5"}),s.jsx("path",{d:"M22 20 Q35 10 48 20 Q35 30 22 20 Z",fill:"none",stroke:fe,strokeWidth:"2"}),s.jsx("circle",{cx:"35",cy:"20",r:"4",fill:fe})]}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.2em",color:fe,fontWeight:700,marginTop:2},children:"Mission guardian"})]}),s.jsx("div",{className:"grid grid-cols-3",style:{gap:16,marginTop:12},children:e.map((t,n)=>s.jsxs("div",{className:"lane-card",style:{border:`1px solid ${[fe,Wn,"#B8892B"][n]}`,borderTop:`4px solid ${[fe,Wn,"#B8892B"][n]}`,padding:"12px 14px 14px",background:"#ffffff"},children:[s.jsx("p",{className:"font-display",style:{fontSize:15,color:fe,fontWeight:700,lineHeight:1.2},children:t.t}),s.jsx("p",{style:{fontSize:10,letterSpacing:"0.08em",textTransform:"uppercase",color:En,marginTop:4,fontWeight:600},children:t.s}),s.jsx("p",{style:{fontSize:10.2,lineHeight:1.55,marginTop:7},children:t.d})]},t.t))}
1375),s.jsx("p",{style:{fontSize:10,color:En,textAlign:"center",marginTop:10,fontStyle:"italic"},children:"Side by side, never stacked. Separation, not tiers."})]})},tre=()=>{const n=[{k:"E",n:"Engage",x:70},{k:"D",n:"Discover",x:220,alt:!0},{k:"G",n:"Galvanize",x:400},{k:"E",n:"Emerge",x:552,alt:!0}];return s.jsxs("svg",{viewBox:"0 0 620 150",style:{width:"100%",height:"auto",display:"block",marginTop:16},"aria-label":"The EDGE phases drawn as a curved pathway, with governance drawn hair-thin at Engage and Discover, thickening at Galvanize, and resolving into small structural blocks at Emerge.",children:[s.jsx("defs",{children:s.jsxs("linearGradient",{id:"wrr-ribbon",x1:"0",x2:"1",children:[s.jsx("stop",{offset:"0%",stopColor:Wn}),s.jsx("stop",{offset:"55%",stopColor:fe}),s.jsx("stop",{offset:"100%",stopColor:qn})]})}),s.jsx("path",{d:"M20 96 C 120 40, 200 130, 300 78 S 470 26, 600 62",fill:"none",stroke:"url(#wrr-ribbon)",strokeWidth:"3",strokeLinecap:"round",opacity:"0.55"}),[{x:40,w:120,h:2},{x:175,w:110,h:4},{x:330,w:130,h:11}].map((r,o)=>s.jsx("rect",{x:r.x,y:122-r.h,width:r.w,height:r.h,rx:r.h/2,fill:fe,opacity:.35+o*.2},o)),[0,1,2].map(r=>s.jsx("rect",{x:498+r*22,y:106,width:16,height:16,rx:2,fill:fe,opacity:.9},`blk${r}`)),n.map((r,o)=>{const i=o===0?76:o===1?92:o===2?42:50;return s.jsxs("g",{children:[s.jsx("circle",{cx:r.x,cy:i,r:17,fill:"#ffffff",stroke:fe,strokeWidth:"2"}),s.jsx("text",{x:r.x,y:i+5,textAnchor:"middle",fontSize:"14",fontWeight:"700",fill:fe,children:r.k}),s.jsx("text",{x:r.x,y:i-25,textAnchor:"middle",fontSize:"11",fill:En,children:r.n})]},r.n+o)}),s.jsx("text",{x:20,y:142,fontSize:"10",fill:En,fontStyle:"italic",children:"Pathways, not pipelines."})]})},nre=()=>{const e=(t,n,r,o)=>{const l=Math.round(300),c=[],d=(p,f,h)=>{const g=t+h*n,m=Math.pow(Math.sin(Math.PI*Math.min(1,Math.max(0,h))),.35),b=r+Math.sin(h*2.5*Math.PI*2+f)*p.band*m;return[g,b]},u=Math.ceil(l/40);for(let p=0;p<u;p++)[p%3,(p+1)%3,(p+2)%3].forEach(h=>{const g=o[h],m=h*2*Math.PI/3,b=p*40,v=Math.min(l,b+40+1);let y="";for(let w=b;w<=v;w++){const[j,S]=d(g,m,w/l);y+=`${w===b?"M":"L"}${j.toFixed(2)} ${S.toFixed(2)} `}c.push(s.jsx("path",{d:y,fill:"none",stroke:"#ffffff",strokeWidth:g.w+3,strokeLinecap:"round",strokeLinejoin:"round"},`c${p}-${h}`)),c.push(s.jsx("path",{d:y,fill:"none",stroke:g.color,strokeWidth:g.w,strokeLinecap:"round",strokeLinejoin:"round"},`s${p}-${h}`))});return c};return s.jsxs("svg",{viewBox:"0 0 620 182",style:{width:"100%",maxWidth:560,height:"auto",display:"block",margin:"8px auto 0"},"aria-label":"Two braids: one woven from three strands of equal thickness, one where a single swollen strand crowds the other two thin.",children:[e(28,236,72,[{color:fe,w:8,band:15},{color:Wn,w:8,band:15},{color:qn,w:8,band:15}]),e(356,236,72,[{color:qn,w:15,band:5},{color:fe,w:3.2,band:17},{color:Wn,w:2.8,band:17}]),s.jsx("text",{x:146,y:152,textAnchor:"middle",fontSize:"11.5",fill:fe,fontWeight:"700",letterSpacing:"0.12em",children:"BRAIDED"}),s.jsx("text",{x:146,y:169,textAnchor:"middle",fontSize:"10",fill:En,children:"A funding mix no single source controls"}),s.jsx("text",{x:474,y:152,textAnchor:"middle",fontSize:"11.5",fill:En,fontWeight:"700",letterSpacing:"0.12em",children:"DOMINATED"}),s.jsx("text",{x:474,y:169,textAnchor:"middle",fontSize:"10",fill:En,children:"One source carrying the ecosystem"})]})},sre=[{who:"The ecosystem builder",color:fe,line:"You are building an ecosystem that can do more together than its organizations can do apart. The relationships, decisions, and resources have to keep moving when any one partner — including you — steps back. Enough structure to act together, without a new center everyone comes to depend on."},{who:"The funder",color:Wn,line:"You want your money to strengthen the ecosystem rather than reorganize it around the award: real coordination, clear accountability, and work that continues after the grant ends. The question is whether the funding leaves the ecosystem more capable than it found it. That is what makes an ecosystem investable over time."},{who:"The field builder",color:"#B8892B",line:"You need an approach that travels — clear enough to teach, practical enough to use, durable enough to hold its shape in a region you did not build yourself. A shared language and a repeatable structure that works without its author in the room. That is 
1375what the named ECOSYSTEM EDGE® Process are for: delivery by field builders, and in time by certified practitioners."}],rre=[{n:"1",t:"Name the common ground",b:"Partners do not need to agree on everything, only on the few things that make working together possible: who counts as a partner, how a founder gets handed from one organization to another, what information partners share, and what everyone agrees not to do. Keep it deliberately thin.",test:"Could a partner read the common ground and understand exactly what it is agreeing to — and just as importantly, what it is not agreeing to?",color:fe},{n:"2",t:"Keep the whole-ecosystem view",b:"Funding tempts governance to watch only what is funded. Governance keeps all nine threads in view, including the parts of the ecosystem with no grant attached today that are essential to its long-term health.",test:"Can the coalition name what Youth + Talent or the ecosystem support organizations need this quarter, even when neither is writing a check?",color:Wn},{n:"3",t:"No owned seats",b:"A seat on the governance coalition is not a property right. Money buys no permanent influence and a founding role guarantees no permanent control. It works in reverse too: participation comes with a contribution, not only a claim. The coalition changes as the ecosystem changes; the rules stay stable.",test:"If a funder walked away tomorrow, would its seat walk out with it?",color:"#B8892B"},{n:"4",t:"Separate lanes",b:"Mission and money need different forms of accountability. The body protecting the ecosystem's purpose is not the body controlling every dollar, and authority over capital carries no automatic authority over the mission. The separation is a useful check: money supports the strategy without becoming it.",test:"Can you point to the different bodies responsible for mission and money, and explain how they hold one another accountable?",color:"#7BA05B"},{n:"5",t:"Protect the absence of a center",b:"The network coordinates without creating a single organization everyone has to go through. Strategy can change who belongs on the coalition; the governance system still does not turn itself into a hub.",test:"If the backbone went dark for a month, would the important relationships, decisions, and handoffs continue to work?",color:"#8C6FA6"}],ore=["The ECOSYSTEM nine-thread model of an ecosystem's partners","The EDGE phases — Engage, Discover, Galvanize, Emerge","The Ecosystem Edge® Scorecard, including its governance lens","The Five Practices of ecosystem governance and their runnable tests","The four backbone shapes and the shared-to-arm's-length spectrum"],ire="#6E7784",are=["rgba(110,119,132,0.28)","rgba(110,119,132,0.5)","rgba(110,119,132,0.75)","#6E7784"],lre=["#A9BAD6","#7D95BC","#54719F","#2D4D83"],cre=["Engage","Discover","Galvanize","Emerge"],iE={s:{fill:Ch,label:"Strong"},d:{fill:Use,label:"Developing"},x:{fill:vi,label:"Disconnected"},o:{fill:"transparent",label:"Not rated"}},dre=({marks:e,labels:t=!1,size:n=40})=>s.jsxs("div",{"aria-hidden":"true",children:[s.jsx("div",{className:"font-display",style:{width:n,height:n,lineHeight:`${n}px`,borderRadius:"50%",background:ire,color:"#ffffff",fontSize:n*.44,fontWeight:700,textAlign:"center",margin:"0 auto 8px"},children:"G"}),e.map((r,o)=>s.jsxs("div",{className:"flex items-center",style:{gap:8,marginBottom:6},children:[t?s.jsx("span",{style:{flex:"0 0 auto",width:74,textAlign:"right"},children:s.jsx("span",{className:"font-body",style:{fontSize:Ip,color:lre[o],fontWeight:700,letterSpacing:"0.04em"},children:cre[o]})}):null,s.jsxs("div",{style:{width:n,height:n,borderRadius:6,border:"1px solid #8b95a3",background:"#FAFBFC",overflow:"hidden",flex:"0 0 auto",margin:t?void 0:"0 auto"},children:[s.jsx("div",{style:{height:4,background:are[o]}}),iE[r].fill!=="transparent"?s.jsx("div",{style:{width:n*.45,height:n*.45,borderRadius:99,background:iE[r].fill,margin:`${n*.14}px auto 0`}}):null]})]},o))]}),ure=[{marks:["s","s","d","x"],name:"Strong start, thin finish",means:"Partners connect and learn from each other, but nothing carries that into funded work. Decisions about money land somewhere outside the coalition.",next:"Sections IV and V — pick a backbone shape and name the legal home before the next award arrives."},{marks:["s","x","d","d"],name:"Hollow middle",means:"There is energy at the edges and results on paper, but no shared agreement underneath. Partners never named what each has and needs, so trust is thinner than the activity suggests.",next:"Section III — run the Five Practices tests with the coalition and put the shared agreement in writing."},{marks:["d","d","s","s"],name:"Built around the award",means:"Governance sharpened once the money came. That usually means the funded threads are setting the agenda while the unfunded ones drift.",next:"Sections I and V — check the eight signals, then govern the split between the pocket and the brain."}],si=10,hre=()=>{const e=P.useCallback(()=>{const t=document.title,n=()=>{document.title=t,window.removeEventListener("afterprint",n)};window.addEventListener("afterprint",n),document.title=Vse;try{window.print()}finally{window.setTimeout(n,1e3)}},[]);return s.jsxs("div",{className:"min-h-screen",style:{backgroundColor:"#e9ecf1"},children:[s.jsx(Ve,{title:"Who Runs the Ecosystem? | Ecosystem Edge Handbook",description:"Governing a network of networks so it can take money without losing itself.",path:"/who-runs-the-ecosystem",noindex:!0}),s.jsx("style",{children:`
1376        .pdf-page {
1377          width: 8.5in;
1378          min-height: 11in;
1379          margin: 0 auto;
1380          background: #ffffff;
1381          box-shadow: 0 12px 40px rgba(0,0,0,0.12);
1382          position: relative;
1383          overflow: hidden;
1384        }
1385        .pdf-body { font-size: ${S1}px; line-height: ${k1}; color: ${zp}; text-wrap: pretty; }
1386        .pdf-body h1, .pdf-body h2, .pdf-body h3 { text-wrap: balance; }
1387        .callout, .lane-card, .practice-card {
1388          transition: box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
1389        }
1390        .callout:hover, .practice-card:hover { box-shadow: 0 10px 26px rgba(45,77,131,0.13); }
1391        @media (prefers-reduced-motion: reduce) {
1392          .callout, .lane-card, .practice-card { transition: none !important; }
1393        }
1394        @media print {
1395          @page { size: letter portrait; margin: 0; }
1396          html, body { background: #ffffff !important; }
1397          .no-print { display: none !important; }
1398          .pdf-shell { background: #ffffff !important; padding: 0 !important; }
1399          .pdf-page { box-shadow: none !important; margin: 0 !important; width: 100% !important; min-height: 0 !important; }
1400          .page-break { break-before: page; page-break-before: always; margin-top: 0 !important; }
1401          .avoid-break { break-inside: avoid; page-break-inside: avoid; }
1402          .callout, .lane-card, .practice-card { transition: none !important; box-shadow: none !important; }
1403          * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
1404        }
1405      `}),s.jsxs("div",{className:"no-print sticky top-0 z-50 flex items-center justify-between px-6 py-3",style:{background:"#ffffff",borderBottom:"1px solid rgba(45,77,131,0.12)"},children:[s.jsx("p",{className:"font-body",style:{fontSize:13,color:"#5a6779"},children:"Private handbook — designed to print as a ten-page PDF. Use Print, then Save as PDF (letter, portrait, no scaling)."}),s.jsxs("button",{onClick:e,className:"btn-gradient font-body inline-flex items-center gap-2 rounded-full px-5 py-2.5",style:{fontSize:14,fontWeight:600},children:[s.jsx(Ln,{size:16})," Print / Save as PDF"]})]}),s.jsxs("div",{className:"pdf-shell py-8",children:[s.jsxs("section",{className:"pdf-page pdf-body",children:[s.jsx("div",{style:{height:12,background:"linear-gradient(90deg, #2D4D83, #59BEC9 55%, #E2B673)"}}),s.jsxs("div",{style:{padding:"0.9in 0.8in 0",minHeight:"calc(11in - 12px)",display:"flex",flexDirection:"column"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:11,letterSpacing:"0.28em",color:"#B8892B",fontWeight:700},children:"An Ecosystem Edge® Handbook"}),s.jsxs("h1",{className:"font-display",style:{fontSize:60,lineHeight:1.02,color:fe,fontWeight:700,marginTop:20},children:["Who Runs",s.jsx("br",{}),"the Ecosystem?"]}),s.jsx(rE,{style:{marginTop:26,maxWidth:"3.1in"}}),s.jsx("p",{style:{fontSize:16,lineHeight:1.42,color:zp,marginTop:20,maxWidth:"5.4in"},children:"Governing a network of networks for better outcomes and impact."}),s.jsx("p",{style:{fontSize:12.5,lineHeight:1.45,color:En,fontStyle:"italic",marginTop:6,maxWidth:"5.4in"},children:"How to drive collective impact through shared leadership."}),s.jsx("div",{className:"flex justify-center",style:{marginTop:18},children:s.jsx(Yse,{width:580})}),s.jsx("div",{style:{flex:1}}),s.jsxs(U0,{style:{padding:"26px 0.8in 30px"},bleed:"0.8in",children:[s.jsx("p",{className:"font-display",style:{fontSize:17,lineHeight:1.32,fontWeight:700,color:"#ffffff",maxWidth:"5.8in"},children:"Take the capital. Keep the ecosystem."}),s.jsx("p",{style:{fontSize:11.5,lineHeight:1.6,color:"rgba(255,255,255,0.85)",marginTop:8,maxWidth:"5.6in"},children:"Every new investment brings pressure to reorganize around it. The ec
1405osystem does not have to change how it works to accept the money."}),s.jsxs("div",{className:"flex items-end justify-between",style:{gap:20,marginTop:22},children:[s.jsx("p",{style:{fontSize:11,color:"#8ED3DB",fontWeight:700},children:"ecosystem-edge.com"}),s.jsx("img",{src:sE,alt:"Ecosystem Edge",style:{height:56}})]})]})]})]}),s.jsxs(ti,{n:2,total:si,bodyFlex:!0,children:[s.jsx(ni,{eyebrow:"Governance Companion Guide",title:"Who this is for",deck:"This is the governance companion to your Ecosystem Edge® Scorecard session. It has one purpose: to help an ecosystem take real capital without letting a single center form."}),s.jsx(rn,{style:{fontSize:ko,lineHeight:1.55},children:"In the Scorecard session, you and your partners rated governance alongside the nine partner groups, across the four phases of development. That gives you a clear view of how governance is working today. This companion picks up there — it helps your coalition read the pattern, understand the structure and the pitfalls to watch for, and see what strengthens governance from here."}),s.jsx("p",{className:"font-display",style:{fontSize:13.5,lineHeight:1.35,color:fe,fontWeight:700,marginTop:10},children:"Whether you are building the ecosystem, funding it, or carrying the method to a new region, this is written for you."}),s.jsx("div",{className:"grid grid-cols-3 avoid-break",style:{gap:16,marginTop:10},children:sre.map(t=>s.jsxs("div",{className:"practice-card",style:{borderTop:`4px solid ${t.color}`,paddingTop:10},children:[s.jsx("p",{className:"font-display",style:{fontSize:13.5,color:fe,fontWeight:700,lineHeight:1.2},children:t.who}),s.jsx("p",{style:{fontSize:10,lineHeight:1.45,marginTop:6},children:t.line})]},t.who))}),s.jsx(oE,{governance:!0,compact:!0}),s.jsxs("p",{style:{fontSize:10,lineHeight:1.5,color:En,fontStyle:"italic",marginTop:8},children:["A ",s.jsx("em",{children:"network of networks"})," is an ecosystem whose partners already coordinate — each with its own members, its own operations, and its own governance. Nothing here asks them to give that up."]}),s.jsxs("div",{style:{marginTop:12,borderTop:"1px solid rgba(45,77,131,0.14)",paddingTop:10},children:[s.jsx("p",{className:"font-display",style:{fontSize:18,lineHeight:1.18,color:fe,fontWeight:700},children:"How ecosystems get off track"}),s.jsx(rn,{style:{fontSize:ko,lineHeight:1.55,marginTop:8},children:"Most ecosystems do not fail from a lack of structure. They lose themselves by slowly organizing everything around one center until the work cannot move without it — one anchor, one dominant partner, one large award. The anchor has the staff, the finance office, the reputation, and the relationship with the funder, so routing the work through it is the fastest path in the moment. Then decisions, dollars, and introductions all run the same way, and partners who were building something together become participants in someone else’s program."}),s.jsxs(rn,{style:{fontSize:ko,lineHeight:1.55,marginTop:8},children:["The coalition existed before the award, and that is what the funder saw. So the real question is not"," ",s.jsx("em",{children:"are we ready for the money."})," It is"," ",s.jsx(ts,{children:"will the funding quietly change our mission."})]})]}),s.jsxs("p",{style:{fontSize:10,lineHeight:1.5,color:En,marginTop:10},children:[s.jsx("span",{className:"font-body uppercase",style:{letterSpacing:"0.14em",fontWeight:700,color:fe},children:"What follows  "}),"Interpreting your results and the eight signals · Govern the connections · The Five Practices · Backbone shapes · The legal home · Hosting the money is not holding the power · Governance through the phases · Keep the ecosystem bigger than the award."]}),s.jsx(U0,{style:{marginTop:"auto",padding:"12px 0.66in 14px"},bleed:"0.66in",children:s.jsx("p",{className:"font-display",style:{fontSize:15,lineHeight:1.3,color:"#ffffff",fontWeight:700,maxWidth:"6in"},children:"This handbook is how an ecosystem takes real capital without letting that center form — by choosing the kind of structure that keeps the ecosystem bigger than any one part of it."})})]}),s.jsxs(ti,{n:3,total:si,children:[s.jsx(ni,{num:"I",title:"See how your ecosystem work is governed",deck:"Read the governance column on its own first, then read it against the partner groups beside it."}),s.jsxs(rn,{style:{fontSize:ko,lineHeight:1.55,marginTop:4},children:["The Scorecard grid places the partner groups across the top and the four phases down the side. The"," ",s.jsx(ts,{children:"G column"})," sits apart from the nine, because governance is not a partner group but the function holding the connections between them. Eac
1405h square carries one rating for one phase:"," ",s.jsx("span",{style:{color:"#5c7a49",fontWeight:700},children:"Strong"}),","," ",s.jsx("span",{style:{color:"#9a7526",fontWeight:700},children:"Developing"}),", or"," ",s.jsx("span",{style:{color:vi,fontWeight:700},children:"Disconnected"}),". A column that darkens evenly is doing its job. A gap marks the phase where decisions stop being shared — where the ecosystem is most likely to build a hub without choosing to."]}),s.jsx("p",{className:"font-display",style:{fontSize:14.5,color:fe,fontWeight:700,marginTop:9},children:"Three shapes coalitions see most often"}),s.jsx("div",{className:"grid grid-cols-3 avoid-break",style:{gap:14,marginTop:7},children:ure.map(t=>s.jsxs("div",{className:"practice-card",style:{border:"1px solid #dfe4ea",borderRadius:10,padding:"9px 12px 10px"},children:[s.jsx(dre,{marks:t.marks,size:18}),s.jsx("p",{className:"font-display",style:{fontSize:12.5,color:fe,fontWeight:700,marginTop:7,lineHeight:1.22},children:t.name}),s.jsx("p",{style:{fontSize:Ip,lineHeight:1.4,marginTop:5},children:t.means}),s.jsxs("p",{style:{fontSize:Ip,lineHeight:1.4,marginTop:6,color:"#2F8C97",fontWeight:600},children:["Go to: ",t.next]})]},t.name))}),s.jsx(rn,{style:{fontSize:ko,lineHeight:1.55,marginTop:11},children:"What takes practice is knowing what to look at. These eight signals are where a center forms first, each with the healthy version beside the warning version."}),s.jsx(Qse,{}),s.jsxs(rn,{style:{fontSize:ko,lineHeight:1.55,marginTop:10},children:["One pattern matters more than the rest:"," ",s.jsx(ts,{children:"is everything beginning to run through the same partner?"})," When decisions, dollars, and introductions all move the same way, the ecosystem has built hub-and-spoke unintentionally. Put the signals in front of the partners rather than announcing the finding, so the fix belongs to the whole coalition."]}),s.jsxs("p",{style:{fontSize:10,lineHeight:1.5,marginTop:10,borderLeft:`4px solid ${qn}`,paddingLeft:12},children:[s.jsx("span",{className:"font-body uppercase",style:{letterSpacing:"0.14em",fontWeight:700,color:"#B8892B"},children:"Read it beside the nine  "}),"A G column weaker than the nine means real work without a shared way to decide about it; a stronger one means the structure is ahead of the relationships."]})]}),s.jsxs(ti,{n:4,total:si,children:[s.jsx(ni,{num:"II",title:"Govern the connections, not the partners",deck:"The job is to make the network work better."}),s.jsxs("div",{className:"grid",style:{gridTemplateColumns:"1fr 320px",gap:24,alignItems:"start",marginTop:4},children:[s.jsxs("div",{children:[s.jsx(rn,{children:"In a network of networks, partners are not subsidiaries of the backbone. A university does not hand over its operations. A workforce organization does not give up its programs. A business-support organization does not surrender its members. Each keeps its own work and its own governance."}),s.jsx(rn,{children:"So where does shared governance have something to govern? In the connections between the organizations: where a founder moves from a university lab to a manufacturing partner, where an employer meets talent, where one part of the ecosystem holds a resource another part needs."})]}),s.jsxs("div",{children:[s.jsx(qse,{width:320}),s.jsx("p",{style:{fontSize:10,color:En,textAlign:"center",marginTop:4,fontStyle:"italic"},children:"Partners faint. Connections bold. The connections are the thing."})]})]}),s.jsxs(hl,{label:"What the governance organization does",style:{marginTop:14},children:["It keeps the common ground current — the few things partners have agreed to do together. It keeps the whole ecosystem in view, including threads not receiving money. It watches the health of the connections and helps partners fix a failing handoff or a relationship resting on one person. It protects the rules of the network itself: money buys no permanent power, no partner quietly becomes the center, mission decisions do not follow whoever controls the capital. And it builds what partners struggle to build alone — shared data, ecosystem storytelling, collective reporting, coordinated fundraising, shared tools, a collective voice."," ",s.jsx(ts,{children:"Do not centralize the partners. Centralize the capabilities better built once and shared."})]}),s.jsxs("div",{className:"avoid-break callout",style:{marginTop:14,background:"rgba(89,190,201,0.08)",borderLeft:`3px solid ${Wn}`,padding:"13px 18px"},children:[s.jsx("p",{className:"font-display",style:{fontSize:17,color:fe,fontWeight:700,lineHeight:1.26},children:"No wrong front door"}),s.jsx("p",{style:{fontSize:S1,lineHeight:k1,marginTop:6},children:"A founder does not have to understand the ecosystem’s organizational chart before getting help. Any trusted partner can connect them to the right next person. No single partner is the door; every door works. That takes clear handoffs, trusted relationships, and enough visibility across organizations that partners know where to send people and opportunities."})]}),s.jsx(rn,{style:{marginTop:16},children:"This is why the backbone’s role is closer to weaving than running. It helps partners work directly with one another rather than rout
1405ing every relationship through itself. Partners welcome help that makes them more effective; they are far less likely to welcome an organization that starts managing their business for them."}),s.jsx(hl,{tone:"gold",style:{marginTop:14},children:"The same principle explains why the Scorecard measures connectivity rather than counting assets. An ecosystem can have excellent organizations, substantial programs, and significant funding and still function poorly as an ecosystem if the connections between them are weak."})]}),s.jsxs(ti,{n:5,total:si,children:[s.jsx(ni,{num:"III",title:"The Five Practices",deck:"The disciplines that keep a network of networks from slowly becoming a single center. Each one carries a test you can use with the coalition."}),s.jsx("div",{style:{marginTop:18},children:rre.map((t,n)=>s.jsxs("div",{className:"practice-card avoid-break",style:{display:"grid",gridTemplateColumns:"42px 1fr",gap:12,borderTop:`1px solid ${n===0?"transparent":"rgba(45,77,131,0.12)"}`,paddingTop:n===0?0:12,marginTop:n===0?0:12},children:[s.jsx("div",{children:s.jsx("span",{className:"font-display flex items-center justify-center","aria-hidden":"true",style:{width:30,height:30,borderRadius:999,background:t.color,color:"#ffffff",fontSize:15,fontWeight:700,lineHeight:1},children:t.n})}),s.jsxs("div",{children:[s.jsx("p",{className:"font-display",style:{fontSize:15.5,color:fe,fontWeight:700,lineHeight:1.2},children:t.t}),s.jsx("p",{style:{fontSize:10.8,lineHeight:1.55,marginTop:5,maxWidth:"100%"},children:t.b}),s.jsxs("p",{style:{fontSize:10.4,lineHeight:1.5,marginTop:6,color:t.color,fontWeight:600,borderLeft:`2px solid ${t.color}`,paddingLeft:10},children:[s.jsx("span",{style:{letterSpacing:"0.1em",textTransform:"uppercase",fontSize:10},children:"The test  "}),t.test]})]})]},t.n))}),s.jsxs("div",{className:"avoid-break",style:{marginTop:20,border:`1px solid ${fe}`,padding:"13px 18px",background:"rgba(45,77,131,0.04)"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.16em",color:fe,fontWeight:700},children:"The governance self-check"}),s.jsxs("p",{style:{fontSize:10.8,lineHeight:1.58,marginTop:6},children:["These five tests give an ecosystem a fast way to ask whether its structure is serving the network or slowly replacing it. Use them with the coalition, then use the Scorecard’s governance lens to see where the experience differs from partner to partner."," ",s.jsx(ts,{children:"The tests reveal. The Scorecard measures."})," Together they turn governance from an abstract question into something the ecosystem can see, discuss, and improve."]})]})]}),s.jsxs(ti,{n:6,total:si,children:[s.jsx(ni,{num:"IV",title:"Choose your backbone shape",deck:"There is no prize for creating the most formal structure the fastest."}),s.jsxs(rn,{children:["The right shape gives the ecosystem enough capacity and accountability for its current stage without creating more permanence or centralization than the work requires. The collective-impact field has used versions of these four for years; naming them makes the question easier. Instead of asking"," ",s.jsx("em",{children:"do we incorporate,"})," ask"," ",s.jsx(ts,{children:"what does the ecosystem need the backbone to do right now, and what is the lightest structure that can do it well."})]}),s.jsx(Xse,{}),s.jsx(rn,{style:{marginTop:18},children:"At the shared end, an existing organization carries more of the legal, financial, and administrative load, so the shared work stays light. At the arm’s-length end, the backbone has more independence and carries those responsibilities itself. Neither end is better. The question is whether the structure matches the ecosystem’s maturity, workload, funding, and governance."}),s.jsxs(hl,{label:"The fiscal host is a bridge, not the center",style:{marginTop:14},children:["Sometimes the work is ready before the legal structure is. An existing organization can serve as fiscal host or sponsor while the ecosystem builds what it needs. Make the relationship clear from the beginning: what the host handles, what decisions stay with the ecosystem’s own body, who has authority over the money, what the arrangement costs, what information the ecosystem receives, and what has to happen before it ends. The exact arrangement is determined with counsel and the funder’s requirements."," ",s.jsx(ts,{children:"Do not let a temporary administrative role become a permanent center by accident."})]}),s.jsxs("div",{className:"avoid-break callout",style:{marginTop:14,border:`1px solid ${vi}`,borderLeft:`4px solid ${vi}`,padding:"12px 18px",background:"rgba(196,86,110,0.05)"},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.16em",color:vi,fontWeight:700},children:"One failure this field already paid for"}),s.jsx("p",{style:{fontSize:10.9,lineHeight:1.58,marginTop:6},children:"When the organization that convenes the ecosystem is also the organization that controls the money, power collects in one place. That is 
1405why the separate-lanes practice matters. The field has already seen what happens when those roles run together. Your ecosystem does not need to repeat the experiment."})]})]}),s.jsxs(ti,{n:7,total:si,children:[s.jsx(ni,{num:"V",title:"The legal home",deck:"Choosing a legal structure is not paperwork. It is a governance decision. Make it in the open."}),s.jsxs(rn,{children:["For many ecosystems a ",s.jsx(ts,{children:"501(c)(3)"})," is a useful core: one accountable legal home that can receive many forms of charitable funding, with private-benefit rules that limit any one party using the organization’s mission or assets for its own gain. But the tax status is not the governance system. A 501(c)(3) does not stop a future board from changing the mission, handing one funder too much influence, or recreating a powerful center. Those protections have to be designed."]}),s.jsxs(rn,{children:["One way to design them is a ",s.jsx(ts,{children:"mission guardian"})," — a separate body that protects the ecosystem’s purpose and neutrality. It does not run the programs. Its job is to make sure the legal structure cannot easily be redirected away from the shared mission. What it can decide, when it can intervene, how it is selected, and what authority it holds under applicable law are design questions for counsel."]}),s.jsx(ere,{}),s.jsxs(rn,{style:{marginTop:16},children:["The entities are only part of the system. Partners also sign a"," ",s.jsx(ts,{children:"multi-party agreement"})," that explains how they work together: how referrals are made and received, how founders move between organizations, what information is shared, how shared funding is used, what happens to things created with pooled resources, and what partners agree not to do to one another. It creates a shared structure without turning the organizations into one."]}),s.jsxs(hl,{label:"What partners get",style:{marginTop:14},children:["The shared organization has to create real value, or governance becomes another layer of meetings: a stronger shared brand; shared data and common measures; impact reporting that turns activity into an ecosystem-wide picture; collected stories and evidence of progress; fundraising coordination on opportunities too large for one organization; shared tools built once instead of nine times; better referrals; and a collective voice when the ecosystem needs one."," ",s.jsx(ts,{children:"Do not centralize the partners. Centralize the capabilities better built once and shared."})]}),s.jsx(hl,{tone:"navy",label:"Where counsel takes over",style:{marginTop:12},children:"Entity structure, award transfer, fiscal arrangements, mission-guardian design, board structure, and the rights attached to each body depend on the circumstances and applicable law. Those are counsel’s decisions. This handbook works above that line on purpose."})]}),s.jsxs(ti,{n:8,total:si,children:[s.jsx(ni,{eyebrow:"Section V · continued",title:"Hosting the money is not holding the power",deck:"Large awards almost always land inside one institution. That is a compliance fact, not a governance verdict."}),s.jsxs(rn,{children:["When a multi-million dollar award arrives, grant rules need an institutional home: an entity that can sign the contract, carry the liability, and answer the audit. Universities, foundations, and state agencies are often the only partners that qualify. Do not fight that. ",s.jsx(ts,{children:"Govern the split instead."})]}),s.jsx(rn,{children:"Administering money is a compliance service. Directing the work is a shared decision held by the partner table. An ecosystem loses itself when those two are treated as one job. If the host claims that signing the paperwork also means choosing the projects, the network of networks has quietly become a department."}),s.jsx(Jse,{}),s.jsx(rE,{style:{marginTop:18}}),s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.16em",color:fe,fontWeight:700,marginTop:14},children:"Three rules to write down before the money moves"}),s.jsx("div",{style:{marginTop:10},children:Zse.map((t,n)=>s.jsxs("div",{className:"avoid-break",style:{display:"grid",gridTemplateColumns:"42px 1fr",gap:12,borderTop:`1px solid ${n===0?"transparent":"rgba(45,77,131,0.12)"}`,paddingTop:n===0?0:10,marginTop:n===0?0:10},children:[s.jsx("div",{children:s.jsx("span",{className:"font-display flex items-center justify-center","aria-hidden":"true",style:{width:30,height:30,borderRadius:999,background:t.color,color:"#ffffff",fontSize:15,fontWeight:700,lineHeight:1},children:t.n})}),s.jsxs("div",{children:[s.jsx("p",{className:"font-display",style:{fontSize:15,color:fe,fontWeight:700,lineHeight:1.2},children:t.t}),s.jsx("p",{style:{fontSize:10.8,lineHeight:1.55,marginTop:4},children:t.b})]})]},t.n))}),s.jsx(hl,{label:"What the ecosystem gets from this",style:{marginTop:16},children:"Written this way, the host gives the network a real shield: compliance capacity, back-office stability, and a clean audit. Everyone else keeps their attention on the connections. The award sits in one place. The direction stays with the coalition. Entity choices and award transfer remain counsel’s decisions, as on the previous page."})]}),s.jsxs(ti,{n:9,total:si,children:[s.jsx(ni,{num:"VI",title:"Governance through the phases",deck:"Governance changes as the ecosystem changes. Do not build the whole machine on day one. Sequence it."}),s.jsx(tre,{}),s.jsx("div",{className:"grid grid-cols-4 avoid-break",style:{gap:14,marginTop:18},children:[{t:"Engage",c:"#8ED3DB",d:"Governance starts as an invitation, not a structure. The work is getting the right partners into the room and g
1405iving them a reason to stay: a shared question, a visible problem, a first piece of work worth doing together. Keep it light. No entity, no bylaws, no seats to negotiate."},{t:"Discover",c:Wn,d:"Partners begin making decisions together and learning whether they can rely on one another. Name the common ground and put the shared agreement in writing. The backbone may be small and the coalition informal; what matters is that trust is built before layers are added."},{t:"Galvanize",c:fe,d:"The award arrives and the Five Practices start carrying real weight. Money creates new responsibilities, new pressure, and a pull toward the center. Make decision rights clear, keep the funding lane separate, keep the whole ecosystem represented, and make sure the backbone creates value for partners rather than becoming one more organization to work around."},{t:"Emerge",c:"#B8892B",d:"Governance takes a more formal shape: the legal home, the mission guardian, the funding vehicle, and more durable operating arrangements. This is typically the work of years one and two, not the first week."}].map(t=>s.jsxs("div",{className:"lane-card",style:{borderTop:`4px solid ${t.c}`,paddingTop:10},children:[s.jsx("p",{className:"font-display",style:{fontSize:13.5,color:fe,fontWeight:700,lineHeight:1.2},children:t.t}),s.jsx("p",{style:{fontSize:10,lineHeight:1.5,marginTop:6},children:t.d})]},t.t))}),s.jsxs(rn,{style:{marginTop:20},children:["Do not wait for perfect structure before doing the work. If funding arrives before the ecosystem can become its own legal entity, use an appropriate fiscal host to keep the work moving, then build outward as the ecosystem earns the need for more independence."," ",s.jsx(ts,{children:"Design the funding vehicle before the partners agree on the common ground and you are solving the wrong problem first."})]}),s.jsx(hl,{tone:"gold",label:"The governance organization changes too",style:{marginTop:14},children:"Early on, the work is mostly convening people and helping them learn to work across organizational boundaries. Later it may carry shared agreements, ecosystem data, impact reporting, fundraising coordination, communications, and accountability. The work grows; the principle holds. The governance organization exists to make the shared system stronger, not to make the partners smaller."}),s.jsx(oE,{title:"Every phase is read across all nine threads"})]}),s.jsxs(ti,{n:10,total:si,bodyFlex:!0,children:[s.jsx(ni,{num:"VII",title:"Keep the ecosystem bigger than the award",deck:"Sustainability is not a status you file for. It is a funding shape."}),s.jsxs("div",{style:{marginTop:4},children:[s.jsxs("div",{children:[s.jsxs(rn,{style:{fontSize:ko,lineHeight:1.55},children:["An ecosystem becomes vulnerable when too much of its ability to operate depends on one source — a funder, one major member, or one organization providing most of the backbone capacity."," ",s.jsx(ts,{children:"Too much depends on one strand."})," The answer is a mix: keep no single source much above a quarter of the total over time, so no one source becomes the center of gravity."]}),s.jsx(rn,{style:{fontSize:ko,lineHeight:1.55,marginTop:8},children:"Governance keeps the braid intact. Separate lanes make it harder for the biggest funder to become the board in practice, and no owned seats makes it harder for money to become permanent power."})]}),s.jsx(nre,{})]}),s.jsxs("div",{className:"avoid-break",style:{marginTop:10,borderLeft:`4px solid ${qn}`,paddingLeft:16},children:[s.jsx("p",{className:"font-display",style:{fontSize:15,lineHeight:1.3,color:fe,fontWeight:700},children:"You do not always need to spin out."}),s.jsxs("p",{style:{fontSize:ko,lineHeight:1.5,marginTop:6},children:["An ecosystem might incorporate because it needs neutrality, a lasting identity, its own contracts, or greater independence. Survival alone is not one of those reasons, and a capable host with a strong shared governance coalition may be cheaper and more stable. The question is"," ",s.jsx(ts,{children:"what structure gives this ecosystem the capacity and independence it needs."})]})]}),s.jsxs("div",{style:{marginTop:12,borderTop:"1px solid rgba(45,77,131,0.14)",paddingTop:10},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10,letterSpacing:"0.24em",color:"#B8892B",fontWeight:700},children:"Closing"}),s.jsx("p",{className:"font-display",style:{fontSize:22,lineHeight:1.12,color:fe,fontWeight:700,marginTop:6},children:"Three roles, one ecosystem"}),s.jsx("div",{className:"grid grid-cols-3 avoid-break",style:{gap:16,marginTop:10},children:[{who:"To the ecosystem builder",color:fe,line:"Build the connections, not the center. Make it easier for partners to find one another, share information, and show their collective impact. The ec
1405osystem that outlasts you is the one that was never dependent on you."},{who:"To the funder",color:Wn,line:"Your money leaves the ecosystem stronger than it found it: stronger relationships, clearer data, and governance that does not depend on the funder staying in the room."},{who:"To the field builder",color:"#B8892B",line:"The method travels without losing its shape. It has a name, a set of practices, and tools that make the work visible. Adapt to the place. Keep the principles intact."}].map(t=>s.jsxs("div",{style:{borderTop:`4px solid ${t.color}`,paddingTop:9},children:[s.jsx("p",{className:"font-display",style:{fontSize:12.5,color:fe,fontWeight:700,lineHeight:1.2},children:t.who}),s.jsx("p",{style:{fontSize:10,lineHeight:1.45,marginTop:5},children:t.line})]},t.who))})]}),s.jsxs("p",{style:{fontSize:10,lineHeight:1.45,color:En,marginTop:16,paddingTop:10,borderTop:"1px solid rgba(45,77,131,0.14)"},children:[s.jsx("span",{className:"font-body uppercase",style:{letterSpacing:"0.14em",fontWeight:700,color:fe},children:"The system behind this handbook  "}),ore.join(" · "),". Licensed delivery by field builders and, in time, certified practitioners."]}),s.jsxs(U0,{style:{marginTop:"auto",padding:"13px 0.66in 15px"},bleed:"0.66in",children:[s.jsx("p",{className:"font-display",style:{fontSize:16.5,lineHeight:1.28,color:"#ffffff",fontWeight:700,maxWidth:"6.2in"},children:"What comes next: the Initiatives Deep Dive."}),s.jsx("p",{style:{fontSize:10.6,lineHeight:1.55,color:"rgba(255,255,255,0.85)",marginTop:7,maxWidth:"6.2in"},children:"The next session takes the work itself — every initiative, program, and fund already running — and decides together what to keep, what to connect, and what to stop."}),s.jsxs("div",{className:"flex items-end justify-between",style:{gap:20,marginTop:14},children:[s.jsx("p",{className:"font-display",style:{fontSize:13,fontWeight:700,color:qn},children:"Start with the Scorecard: ecosystem-edge.com/scorecard →"}),s.jsx("img",{src:sE,alt:"Ecosystem Edge",style:{height:42}})]}),s.jsx("p",{style:{fontSize:10,lineHeight:1.4,color:"rgba(255,255,255,0.62)",marginTop:11,paddingTop:9,borderTop:"1px solid rgba(255,255,255,0.18)"},children:"ECOSYSTEM EDGE® is a registered trademark of Ecosystem Edge LLC (Reg. No. 8,260,335). © Ecosystem Edge LLC. Structural and strategic guid
1405ance only; entity, tax, and award mechanics require counsel review before adoption."})]})]})]})]})},Y0=768;function pre(){const[e,t]=x.useState(void 0);return x.useEffect(()=>{const n=window.matchMedia(`(max-width: ${Y0-1}px)`),r=()=>{t(window.innerWidth<Y0)};return n.addEventListener("change",r),t(window.innerWidth<Y0),()=>n.removeEventListener("change",r)},[]),!!e}const Ht="#2D4D83",nP="#59BEC9",tg="#E2B673",hh="#3d4757",Yi="#6b7686",aE=[{fromTo:"From fragmented views to a shared picture",question:"What do we know about the ecosystem, and where are the gaps?",line:"We build a shared picture of all nine partner groups, including where perspectives align and differ.",deliverable:"We build a shared picture of all nine partner groups, including where perspectives align, where they differ, and where the biggest gaps are.",gets:["Ecosystem map","Governance and partnership scorecard","Key areas of alignment and disagreement"]},{fromTo:"From separate efforts to a connected system",question:"What is already happening, and where can we make a difference?",line:"We map the initiatives underway for the group you center and surface where action is needed.",deliverable:"We map the initiatives already underway for the group you center, identify gaps and bottlenecks, and surface opportunities for action.",gets:["Initiatives map","Gaps and bottlenecks","Opportunities to act"]},{fromTo:"From diagnosis to decisions",question:"What do we commit to, and what will each commitment address?",line:"We define objectives and experiments for two to three years, each tied to a gap or opportunity.",deliverable:"We define objectives and experiments for the next two to three years, with each one connected to a specific gap or opportunity identified in the earlier work.",gets:["Strategic action plan","Two to three year objectives","Priority experiments and their rationale"]},{fromTo:"From friction to stronger relationships",question:"What does each partner need, and what can they contribute?",line:"We go deeper with priority partner groups and build relationships around mutual value.",deliverable:"We take a deeper look at priority partner groups to understand their needs, interests, and contributions, and build relationships around mutual value.",gets:["Partner needs and value map","Clearer opportunities for reciprocity","Stronger partner relationships"]},{fromTo:"From alignment to action",question:"How do we turn the plan into ongoing practice?",line:"We set the structures, roles and rhythms to run the experiments and adapt together.",deliverable:"We establish the structures, roles, and rhythms needed to run the experiments, learn from what happens, and adapt together.",gets:["Operating model for the backbone","Roles and responsibilities","Learning and feedback loops"]},{fromTo:"From short-term funding to lasting capacity",question:"What will make this work sustainable beyond any one grant?",line:"We build a business model for the work and braid funding from several sources to support it.",deliverable:"We develop a sustainable business model for the work and identify how funding from multiple sources can be combined to support it over time.",gets:["Sustainability plan","Business model for the work","Braided funding strategy"]}],lE=[{label:"Reveal",color:Ht,sessions:"sessions 01 and 02",months:"months 1 to 4",from:1,to:4},{label:"Clarify",color:"#2F8C97",sessions:"sessions 03 and 04",months:"months 5 to 8",from:5,to:8},{label:"Activate",color:"#A9762B",sessions:"sessions 05 and 06",months:"months 9 to 12",from:9,to:12}],q0=[{at:3,when:"Month 3",label:"Shared picture, ecosystem and initiatives map complete"},{at:5.5,when:"Month 5 to 6",label:"2 to 3 year plan set, SMART goals and metrics"},{at:9,when:"Month 9",label:"Operating system live, owners and spheres of influence assigned"},{at:12,when:"Month 12",label:"Funding and business model mapped, Scorecard re-run"}],fre=[{name:"Governance",color:Ht,line:"How you keep direction shared as the money arrives.",where:"Read first in session 01, protected across all six.",marks:"01 → 06"},{name:"Data and measurement",color:nP,line:"The Scorecard that carries the whole year.",where:"Baseline in 01, measures in 03, live in the system in 05, re-run at the loop.",marks:"01 · 03 · 05 · loop"},{name:"Storytelling",color:"#8C6FA6",line:"The story your coalition can tell out loud.",where:"The internal story when the plan is set 
1405(03), the funder story at the end (06).",marks:"03 · 06"},{name:"Capacity and leadership",color:tg,line:"Building the backbone and the relationships that keep the work going.",where:"A steady read of how the coalition works together, across every session.",marks:"01 → 06"}],mre=e=>[1,3,5].map(t=>parseInt(e.slice(t,t+2),16)),gre=e=>{const t=He.map(c=>mre(c.accent)),n=e/(T1.length-1)*(t.length-1),r=t[Math.floor(n)],o=t[Math.min(t.length-1,Math.ceil(n))],i=n-Math.floor(n);return`rgb(${r.map((c,d)=>c+(o[d]-c)*i).map(c=>Math.round(c+(255-c)*.55)).join(", ")})`},T1=["noise","network","systems","decisions","flow","acceleration","investable"],os=1200,ph=300,sP=150,cE=126,yre=64,dE=(os-sP*2)/(He.length-1),uE=26,Jg=40,qi=e=>Jg+(os-Jg*2)*(e-.5)/12,xre=()=>{const e=pre(),[t,n]=m3(),r=x.useRef([]),o=t.get("session"),i=He.findIndex(h=>h.num===o),a=i>=0?i:null,l=x.useCallback(h=>{const g=new URLSearchParams(t);h===null?g.delete("session"):g.set("session",He[h].num),n(g,{replace:!0})},[t,n]);x.useEffect(()=>{const h=g=>{g.key==="Escape"&&l(null)};return window.addEventListener("keydown",h),()=>window.removeEventListener("keydown",h)},[l]);const c=x.useMemo(()=>He.map((h,g)=>({x:sP+g*dE,y:g%2===0?cE:cE+yre})),[]),d=x.useMemo(()=>{const h=dE*.51;return c.map((g,m)=>m===0?`M ${g.x} ${g.y}`:`C ${c[m-1].x+h} ${c[m-1].y}, ${g.x-h} ${g.y}, ${g.x} ${g.y}`).join(" ")},[c]),u=(h,g)=>{var v;if(!["ArrowRight","ArrowLeft","ArrowDown","ArrowUp"].includes(h.key))return;h.preventDefault();const m=h.key==="ArrowRight"||h.key==="ArrowDown"?1:-1,b=(g+m+He.length)%He.length;(v=r.current[b])==null||v.focus()},p=({i:h,compact:g})=>{const m=He[h],b=a!==null&&a!==h,v=a===h,y=b?`${m.accent}59`:m.accent,w=b?"rgba(45,77,131,0.42)":Ht,j=b?"rgba(90,103,121,0.45)":Yi;return s.jsxs("button",{ref:S=>r.current[h]=S,type:"button",onClick:()=>l(v?null:h),onKeyDown:S=>u(S,h),"aria-pressed":v,"aria-label":`Session ${m.num}, ${m.kind}, ${m.shift}`,className:"journey-station rounded-xl cursor-pointer transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",style:{display:"flex",flexDirection:g?"row":"column",alignItems:g?"flex-start":"center",gap:g?14:8,width:g?"100%":150,padding:g?"10px 12px":"0 4px 6px",background:v&&g?"rgba(45,77,131,0.05)":"transparent"},children:[s.jsx("span",{className:"journey-dot",style:{flex:"0 0 auto",width:54,height:54,borderRadius:999,background:"#ffffff",border:`3px solid ${y}`,boxShadow:v?`0 0 0 6px ${m.accent}26`:"none",display:"flex",alignItems:"center",justifyContent:"center",transform:v?"scale(1.08)":"scale(1)",transition:"transform 200ms ease, box-shadow 200ms ease"},children:s.jsx(m.Icon,{size:24,strokeWidth:2,color:y,"aria-hidden":"true"})}),s.jsxs("span",{style:{display:"block",textAlign:g?"left":"center"},children:[s.jsx("span",{className:"font-body",style:{display:"block",fontSize:12,fontWeight:700,letterSpacing:"0.12em",color:y},children:m.num}),s.jsx("span",{className:"font-display",style:{display:"block",fontSize:15.5,fontWeight:700,color:w,lineHeight:1.25},children:m.kind}),s.jsx("span",{className:"font-body",style:{display:"block",fontSize:12.5,color:j,marginTop:2},children:m.shift}),s.jsx("span",{className:"journey-hint font-body",style:{display:"block",fontSize:11.5,color:m.accent,marginTop:4,fontWeight:600,opacity:v?1:0,transition:"opacity 180ms ease"},children:v?"Showing below":"See the core question"})]})]})},f=a===null?null:{s:He[a],d:aE[a]};return s.jsxs("div",{className:"min-h-screen",style:{background:"#f4f6f9"},children:[s.jsx(Ve,{title:"The Journey | Ecosystem Edge",description:"The facilitated 12-month Ecosystem Edge journey: six sessions through Reveal, Clarify and Activate, running again each year.",path:"/the-journey",noindex:!0}),s.jsx("style",{children:`
1406        .journey-station:hover .journey-dot { transform: scale(1.06); }
1407        .journey-station:hover .journey-hint { opacity: 1; }
1408      `}),s.jsxs("div",{className:"mx-auto",style:{maxWidth:1180,padding:"40px 20px 80px"},children:[s.jsxs("header",{style:{marginBottom:28},children:[s.jsxs("div",{className:"flex items-center justify-between",style:{gap:16,marginBottom:22},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:12,letterSpacing:"0.2em",color:nP,fontWeight:700},children:"Ecosystem Edge® · The Journey"}),s.jsx("img",{src:ct,alt:"Ecosystem Edge",style:{height:30}})]}),s.jsx("h1",{className:"font-display",style:{fontSize:42,lineHeight:1.1,color:Ht,fontWeight:700},children:"Making regional innovation ecosystems investable."}),s.jsx("p",{className:"font-body",style:{fontSize:17,color:hh,marginTop:10,maxWidth:760},children:"A facilitated 12-month cycle that begins and ends with the Scorecard."})]}),s.jsxs("section",{"aria-label":"The six sessions",style:{background:"#ffffff",borderRadius:18,boxShadow:"0 10px 30px rgba(45,77,131,0.08)",padding:e?"22px 16px":"26px 24px 24px"},children:[s.jsx("div",{className:"flex",style:{gap:8,marginBottom:e?
140818:6},children:lE.map(h=>s.jsx("div",{style:{flex:1,borderRadius:10,padding:"8px 10px",background:`${h.color}14`,borderTop:`3px solid ${h.color}`,textAlign:"center"},children:s.jsx("span",{className:"font-display uppercase",style:{fontSize:14,letterSpacing:"0.08em",fontWeight:700,color:h.color},children:h.label})},h.label))}),e?s.jsxs("div",{style:{position:"relative",paddingLeft:4},children:[s.jsx("div",{"aria-hidden":"true",style:{position:"absolute",left:31,top:18,bottom:18,width:4,borderRadius:2,background:`linear-gradient(to bottom, ${He.map(h=>h.accent).join(", ")})`}}),s.jsx("div",{style:{position:"relative",display:"flex",flexDirection:"column",gap:6},children:He.map((h,g)=>s.jsx(p,{i:g,compact:!0},g))}),s.jsx("p",{className:"font-body",style:{fontSize:12.5,color:Ht,fontStyle:"italic",marginTop:16},children:"At 12 months, re-run the Scorecard to see what moved against the 2 to 3 year plan"})]}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{style:{position:"relative",width:"100%",aspectRatio:`${os} / ${ph}`,marginBottom:96},children:[s.jsxs("svg",{viewBox:`0 0 ${os} ${ph}`,preserveAspectRatio:"xMidYMid meet",style:{position:"absolute",inset:0,width:"100%",height:"100%"},"aria-hidden":"true",children:[s.jsxs("defs",{children:[s.jsx("linearGradient",{id:"journeySpecThread",x1:"0",y1:"0",x2:"1",y2:"0",children:He.map((h,g)=>s.jsx("stop",{offset:`${c[g].x/os*100}%`,stopColor:h.accent},g))}),s.jsx("marker",{id:"journeySpecArrow",viewBox:"0 0 10 10",refX:"8",refY:"5",markerWidth:"7",markerHeight:"7",orient:"auto-start-reverse",children:s.jsx("path",{d:"M 0 0 L 10 5 L 0 10 z",fill:Ht})})]}),s.jsx("path",{d:`M ${c[5].x} ${c[5].y-36} C ${c[5].x} 22, ${c[0].x} 22, ${c[0].x} ${c[0].y-36}`,fill:"none",stroke:Ht,strokeWidth:2,strokeDasharray:"7 7",opacity:.5,markerEnd:"url(#journeySpecArrow)"}),s.jsx("path",{d,fill:"none",stroke:"url(#journeySpecThread)",strokeWidth:7,strokeLinecap:"round"})]}),s.jsxs("div",{className:"flex items-center",style:{position:"absolute",left:"50%",transform:"translateX(-50%)",top:`${6/ph*100}%`,gap:8,background:"#ffffff",padding:"0 12px",whiteSpace:"nowrap"},children:[s.jsx(tA,{size:14,color:Ht,"aria-hidden":"true"}),s.jsx("p",{className:"font-body",style:{fontSize:12.5,color:Ht,fontStyle:"italic"},children:"At 12 months, re-run the Scorecard to see what moved against the 2 to 3 year plan"})]}),s.jsx("span",{className:"font-body",style:{position:"absolute",left:`${c[0].x/os*100}%`,top:`${(c[0].y-74)/ph*100}%`,transform:"translate(-50%, -100%)",background:"#ffffff",padding:"0 6px",fontSize:11.5,fontStyle:"italic",color:Ht,whiteSpace:"nowrap"},children:"begin year 2"}),He.map((h,g)=>s.jsx("div",{style:{position:"absolute",left:`${c[g].x/os*100}%`,top:`${(c[g].y-27)/ph*100}%`,transform:"translateX(-50%)"},children:s.jsx(p,{i:g})},g))]}),s.jsx("div",{style:{marginTop:-36}}),s.jsxs("div",{style:{borderTop:"1px solid rgba(45,77,131,0.10)",paddingTop:10},children:[s.jsx("div",{className:"flex flex-wrap items-baseline",style:{gap:10,marginBottom:4},children:s.jsx("p",{className:"font-body uppercase",style:{fontSize:11,letterSpacing:"0.16em",color:Yi,fontWeight:700},children:"12-month cycle"})}),s.jsx("div",{style:{position:"relative",width:"100%",aspectRatio:`${os} / ${uE}`},children:s.jsxs("svg",{viewBox:`0 0 ${os} ${uE}`,preserveAspectRatio:"none",style:{position:"absolute",inset:0,width:"100%",height:"100%"},"aria-hidden":"true",children:[lE.map(h=>s.jsx("rect",{x:qi(h.from)-(os-Jg*2)/24,y:7,width:qi(h.to)-qi(h.from)+(os-Jg*2)/12,height:12,rx:6,fill:h.color,opacity:.92},h.label)),Array.from({length:12},(h,g)=>g+1).map(h=>s.jsx("line",{x1:qi(h),y1:5,x2:qi(h),y2:21,stroke:"rgba(255,255,255,0.55)",strokeWidth:2},h)),q0.map(h=>s.jsx("circle",{cx:qi(h.at),cy:13,r:7,fill:tg,stroke:"#ffffff",strokeWidth:2.5},h.at))]})}),s.jsx("svg",{viewBox:`0 0 ${os} 16`,preserveAspectRatio:"none",style:{display:"block",width:"100%",height:16},"aria-hidden":"true",children:q0.map((h,g)=>s.jsx("path",{d:`M ${qi(h.at)} 0 L ${qi(h.at)} 6 L ${(g+.5)/4*os} 11 L ${(g+.5)/4*os} 16`,fill:"none",stroke:"rgba(45,77,131,0.22)",strokeWidth:1.5},h.at))}),s.jsx("div",{className:"grid grid-cols-4",style:{gap:14},children:q0.map(h=>s.jsxs("p",{className:"font-body",style:{textAlign:"center",fontSize:11.5,lineHeight:1.4,color:Yi,overflowWrap:"break-word"},children:[s.jsx("span",{style:{display:"block",fontWeight:700,color:Ht},children:h.when}),h.label]},h.at))})]})]})]}),s.jsxs("section",{"aria-live":"polite",style:{position:"relative",marginTop:18,background:"#ffffff",borderRadius:18,boxShadow:"0 10px 30px rgba(45,77,131,0.08)",borderLeft:`6px solid ${f?f.s.accent:"rgba(45,77,131,0.15)"}`,padding:"20px 24px"},children:[f&&!e&&s.jsx("span",{"aria-hidden":"true",style:{position:"absolute",top:-9,left:`${c[a].x/os*100}%`,transform:"translateX(-50%) rotate(45deg)",width:18,height:18,background:"#ffffff",borderLeft:"1px solid rgba(45,77,131,0.08)",borderTop:"1px solid rgba(45,77,131,0.08)"}}),f?s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"flex items-start justify-between",style:{gap:16},children:[s.jsxs("div",{children:[s.jsxs("p",{className:"font-body uppercase",style:{fontSize:11.5,letterSpacing:"0.16em",fontWeight:700,color:f.s.accent},children:[f.s.num," · ",f.s.phase]}),s.jsx("h2",{className:"font-display",style:{fontSize:24,color:Ht,fontWeight:700,marginTop:4},children:f.s.kind}),s.jsx("p",{className:"font-body",style:{fontSize:18,fontWeight:600,color:f.s.accent,marginTop:4,letterSpacing:"0.005em"},children:f.s.shift.split("→").map((h,g)=>s.jsxs(P.Fragment,{children:[g>0&&s.jsx("span",{style:{color:f.s.accent,opacity:.5},children:" → "}),h.trim()]},g))}),s.jsx("p",{className:"font-body",style:{fontSize:12.5,color:Yi,marginTop:3,maxWidth:560},children:f.d.fromTo})]}),s.jsxs("div",{className:"flex items-center",style:{gap:8},children:[s.jsx("button",{type:"button",onClick:()=>l((a+5)%6),"aria-label":"Previous session",className:"rounded-full cursor-pointer",style:{width:34,he
1408ight:34,border:"1px solid rgba(45,77,131,0.2)",display:"flex",alignItems:"center",justifyContent:"center"},children:s.jsx(Q4,{size:17,color:Ht})}),s.jsx("button",{type:"button",onClick:()=>l((a+1)%6),"aria-label":"Next session",className:"rounded-full cursor-pointer",style:{width:34,height:34,border:"1px solid rgba(45,77,131,0.2)",display:"flex",alignItems:"center",justifyContent:"center"},children:s.jsx(zw,{size:17,color:Ht})})]})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-[1fr_auto]",style:{gap:18,marginTop:14,alignItems:"start"},children:[s.jsxs("div",{style:{display:"grid",gap:14},children:[s.jsx("p",{className:"font-body",style:{fontSize:18,color:Ht,fontWeight:600,lineHeight:1.5,maxWidth:640},children:f.d.line}),s.jsxs("div",{style:{borderLeft:`3px solid ${f.s.accent}`,background:`${f.s.accent}0F`,borderRadius:"0 10px 10px 0",padding:"10px 14px",maxWidth:640},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10.5,letterSpacing:"0.16em",color:Yi,fontWeight:700},children:"Core question"}),s.jsx("p",{className:"font-body",style:{fontSize:15,color:Ht,fontStyle:"italic",lineHeight:1.5,marginTop:3},children:f.d.question})]}),s.jsx("p",{className:"font-body",style:{fontSize:14.5,color:hh,lineHeight:1.65,maxWidth:640},children:f.d.deliverable}),s.jsxs("div",{style:{borderTop:"1px solid rgba(45,77,131,0.10)",paddingTop:12},children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:10.5,letterSpacing:"0.16em",color:Yi,fontWeight:700},children:"Your ecosystem gets"}),s.jsx("ul",{className:"font-body",style:{marginTop:7,display:"grid",gap:5},children:f.d.gets.map(h=>s.jsxs("li",{className:"flex items-start",style:{fontSize:13.5,color:Ht,fontWeight:600,gap:8},children:[s.jsx("span",{"aria-hidden":"true",style:{display:"block",width:6,height:6,borderRadius:999,background:f.s.accent,marginTop:6,flexShrink:0}}),s.jsx("span",{children:h})]},h))})]})]}),s.jsx(tu,{index:a,accent:f.s.accent,width:190})]})]}):s.jsxs(s.Fragment,{children:[s.jsx("p",{className:"font-body",style:{fontSize:15,color:hh,lineHeight:1.6,maxWidth:820},children:"Six sessions over twelve months, moving through Reveal, Clarify and Activate, then running again the next year. Pick a session to see the question it answers and what you walk away with."}),s.jsx("div",{className:"flex flex-wrap",style:{gap:8,marginTop:14},children:He.map((h,g)=>s.jsxs("button",{type:"button",onClick:()=>l(g),className:"font-body cursor-pointer flex items-center",style:{fontSize:12.5,color:Ht,background:`${h.accent}14`,border:`1px solid ${h.accent}40`,borderRadius:999,padding:"5px 13px 5px 6px",fontWeight:600,gap:8},children:[s.jsx(tu,{index:g,accent:h.accent,width:40,className:"rounded"}),s.jsxs("span",{children:[s.jsxs("span",{style:{color:h.accent,fontWeight:700},children:[h.num," "]}),aE[g].gets[0]]})]},h.num))})]})]}),s.jsxs("section",{style:{marginTop:34},children:[s.jsx("h2",{className:"font-display",style:{fontSize:26,color:Ht,fontWeight:700},children:"Woven through all six"}),s.jsx("p",{className:"font-body",style:{fontSize:14.5,color:hh,marginTop:6,maxWidth:780},children:"The six sessions are the spine, where the decisions and the action happen. Four things run through all of them, and they are what make the ecosystem last."}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2",style:{gap:14,marginTop:16},children:fre.map(h=>s.jsxs("div",{style:{background:"#ffffff",borderRadius:14,padding:"16px 18px",borderTop:`4px solid ${h.color}`,boxShadow:"0 8px 22px rgba(45,77,131,0.07)"},children:[s.jsxs("div",{className:"flex items-center justify-between",style:{gap:12},children:[s.jsx("h3",{className:"font-display",style:{fontSize:17,color:Ht,fontWeight:700},children:h.name}),s.jsx("span",{className:"font-body",style:{fontSize:11,fontWeight:700,letterSpacing:"0.08em",color:h.color,background:`${h.color}18`,borderRadius:999,padding:"3px 10px",whiteSpace:"nowrap"},children:h.marks})]}),s.jsx("p",{className:"font-body",style:{fontSize:13.5,color:hh,marginTop:6,lineHeight:1.55},children:h.line}),s.jsx("p",{className:"font-body",style:{fontSize:12.5,color:Yi,marginTop:8,lineHeight:1.5},children:h.where})]},h.name))})]}),s.jsxs("section",{style:{marginTop:34,background:Ht,borderRadius:18,overflow:"hidden"},children:[s.jsx("div",{style:{height:4,background:`linear-gradient(to right, ${He.map(h=>h.accent).join(", ")})`}}
1408),s.jsxs("div",{style:{padding:"24px 26px"},children:[s.jsx("div",{className:"font-body uppercase",style:{fontSize:11.5,letterSpacing:"0.18em",fontWeight:700,color:"#8ED3DB"},children:"The full arc"}),s.jsxs("div",{className:"font-body uppercase",style:{display:"flex",alignItems:"center",gap:14,marginTop:12,fontSize:14,letterSpacing:"0.18em",fontWeight:700},children:[s.jsx("span",{style:{color:"rgba(255,255,255,0.6)",whiteSpace:"nowrap"},children:"Activity"}),s.jsxs("span",{style:{flex:1,minWidth:60,display:"flex",alignItems:"center"},children:[s.jsxs("svg",{viewBox:"0 0 1000 12",preserveAspectRatio:"none","aria-hidden":"true",style:{display:"block",flex:1,minWidth:0,height:12},children:[s.jsx("defs",{children:s.jsx("linearGradient",{id:"arcLabelGrad",x1:"0",y1:"0",x2:"1",y2:"0",children:He.map((h,g)=>s.jsx("stop",{offset:`${g/(He.length-1)*100}%`,stopColor:h.accent},h.num))})}),s.jsx("path",{d:"M0 5 L1000 3 L1000 9 L0 7 Z",fill:"url(#arcLabelGrad)"})]}),s.jsx("svg",{width:"11",height:"12",viewBox:"0 0 11 12","aria-hidden":"true",style:{display:"block"},children:s.jsx("path",{d:"M0 0 L11 6 L0 12 Z",fill:tg})})]}),s.jsx("span",{style:{color:tg,whiteSpace:"nowrap"},children:"Impact"})]}),s.jsx("p",{className:"font-display",style:{fontSize:22,fontWeight:700,marginTop:14,lineHeight:1.4},children:T1.map((h,g)=>s.jsxs(P.Fragment,{children:[s.jsx("span",{style:{color:gre(g)},children:h}),g<T1.length-1&&s.jsx("span",{style:{color:"rgba(255,255,255,0.55)"},children:" → "})]},h))}),s.jsx("p",{className:"font-body",style:{fontSize:14,color:"rgba(255,255,255,0.8)",marginTop:10},children:"See it, connect it, decide, clear what's stuck, build momentum, get funded."})]})]}),s.jsx("p",{className:"font-body",style:{fontSize:11.5,color:Yi,marginTop:22,lineHeight:1.6},children:"ECOSYSTEM EDGE® is a registered trademark of Ecosystem Edge LLC. This page covers the journey visual only. Entity, tax, and award mechanics require counsel review before adoption."})]})]})},sa="#2D4D83",qh="#59BEC9",vre=async()=>{const t=await fetch("https://mymnkgutgjdznpsapxek.supabase.co/functions/v1/fetch-newsletters?page=1",{headers:{Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im15bW5rZ3V0Z2pkem5wc2FweGVrIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzQ0MzAwOTksImV4cCI6MjA5MDAwNjA5OX0.ZjgVt8Jx7IWXwadbI5gsv7vWK5aPsOUE2F2KBlgtcn4"}});if(!t.ok)throw new Error("Failed to fetch newsletters");return t.json()},bre=(e,t)=>{const n=t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-|-$/g,"").slice(0,60);return`${e}-${n}`},wre=e=>new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),jre=[{title:"A Field Guide to Collaboration That Lasts",desc:"The four phases of lasting collaboration and the nine strands of the Capital Braid™, a printable two-page field guide.",to:"/collaboration",action:"Read the field guide"},{title:"Braid, Don’t Stack",desc:"Five steps for backbone organizations taking on a large award, how to use funding to strengthen the ecosystem instead of becoming the thing holding it together.",to:"/braid-dont-stack",action:"Read the field guide"},{title:"Ecosystem Building Coalition Sessions",desc:"Six sessions that help regional coalitions see what they already have, focus on what will move the ecosystem, and build a funding strategy that lasts.",to:"/capabilities",action:"See the sessions"}],Sre=[{title:"How It Works",desc:"From the reveal to shared action, how an ecosystem works through the practice.",to:"/how-it-works",action:"Explore"},{title:"The Practice",desc:"Nine partner groups and four phases of development, and what each one is responsible for.",to:"/how-it-works#the-process",action:"Explore"}
1408,{title:"Capital Braid™",desc:"How the nine strands weave together into funding that moves.",to:"/capital-braid",action:"Explore"}],bm=({icon:e,label:t,blurb:n})=>s.jsxs("div",{className:"mb-6",children:[s.jsxs("div",{className:"flex items-center gap-2.5",children:[s.jsx("span",{style:{color:qh},children:e}),s.jsx("h2",{className:"font-display",style:{fontSize:26,fontWeight:700,color:sa},children:t})]}),s.jsx("p",{className:"font-body mt-2",style:{fontSize:15,color:"#5a6779",maxWidth:"42rem"},children:n})]}),hE=({card:e})=>{const t=s.jsxs(s.Fragment,{children:[s.jsx("h3",{className:"font-display",style:{fontSize:18,fontWeight:700,color:sa,lineHeight:1.25},children:e.title}),s.jsx("p",{className:"font-body mt-2 flex-1",style:{fontSize:14,lineHeight:1.6,color:"#5a6779"},children:e.desc}),s.jsxs("span",{className:"font-body mt-4 inline-flex items-center gap-1.5",style:{fontSize:14,fontWeight:600,color:qh},children:[e.action,e.download?s.jsx(J4,{size:15}):s.jsx(xi,{size:15})]})]}),n={background:"#ffffff",border:"1px solid #e4e7ec",borderRadius:14,padding:"22px 22px 20px",boxShadow:"0 18px 34px -22px rgba(45,77,131,0.55)",display:"flex",flexDirection:"column",height:"100%"};return e.href?s.jsx("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"card-lift",style:n,children:t}):s.jsx(et,{to:e.to,className:"card-lift",style:n,children:t})},kre=()=>{const{data:e,isLoading:t}=xp({queryKey:["newsletters",1],queryFn:vre}),n=((e==null?void 0:e.broadcasts)??[]).slice(0,3);return s.jsxs(Os,{children:[s.jsx(Ve,{title:"Resources for Ecosystem Builders | Ecosystem Edge",description:"Field guides, printable handouts, the practice, and the Ecosystem Edge newsletter archive, everything we've made for the people holding regional collaborations together.",path:"/resources"}),s.jsx("style",{children:`
1409        .card-lift { transition: transform 0.2s ease, box-shadow 0.2s ease; }
1410        .card-lift:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(45,77,131,0.12); }
1411      `}),s.jsx("section",{style:{background:"#fafaf8",padding:"72px 0 56px"},children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[s.jsx("p",{className:"font-body uppercase",style:{fontSize:12,letterSpacing:"0.2em",fontWeight:600,color:qh},children:"Resources"}),s.jsxs("h1",{className:"font-display mt-3",style:{fontSize:"clamp(32px, 5vw, 48px)",lineHeight:1.12,fontWeight:700,color:sa,maxWidth:"18ch"},children:["Everything we’ve made"," ",s.jsx("em",{className:"font-display italic",style:{color:qh},children:"for people holding the work together"})]}),s.jsx("p",{className:"font-body mt-5",style:{fontSize:17,lineHeight:1.65,color:"#5a6779",maxWidth:"46rem"},children:"Printable field guides, the practice behind the scorecards, and every issue of the newsletter. Take what you need into your next partner conversation."})]})}),s.jsx("section",{style:{background:"#ffffff",padding:"56px 0"},children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[s.jsx(bm,{icon:s.jsx(eA,{size:22}),label:"Field guides",blurb:"Designed to print on a single sheet and hand across a table."}),s.jsx("div",{className:"grid gap-5 md:grid-cols-3",children:jre.map(r=>s.jsx(hE,{card:r},r.title))})]})}),s.jsx("section",{style:{background:"#fafaf8",padding:"56px 0"},children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[s.jsx(bm,{icon:s.jsx(Er,{size:22}),label:"The practice",blurb:"How the work is structured, nine partner groups, four phases, and the capital that moves through them."}),s.jsx("div",{className:"grid gap-5 md:grid-cols-3",children:Sre.map(r=>s.jsx(hE,{card:r},r.title))})]})}),s.jsx("section",{style:{background:"#ffffff",padding:"56px 0"},children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[s.jsx(bm,{icon:s.jsx(Dw,{size:22}),label:"Newsletter",blurb:"Every week, plus the Capital Braid™ series walking through all nine strands."}),s.jsx("div",{className:"grid gap-5 md:grid-cols-3",children:t?[0,1,2].map(r=>s.jsx(Cd,{className:"h-32 rounded-xl"},r)):n.map(r=>s.jsxs(et,{to:`/newsletter/${bre(r.id,r.subject)}`,className:"card-lift",style:{background:"#ffffff",border:"1px solid #e4e7ec",borderRadius:14,padding:"20px 22px",display:"flex",flexDirection:"column",height:"100%"},children:[s.jsx("p",{className:"font-body",style:{fontSize:12,color:"#8894a5"},children:wre(r.created_at)}),s.jsx("h3",{className:"font-display mt-1.5 flex-1",style:{fontSize:17,fontWeight:700,color:sa,lineHeight:1.3},children:r.subject}),s.jsxs("span",{className:"font-body mt-3 inline-flex items-center gap-1.5",style:{fontSize:14,fontWeight:600,color:qh},children:["Read ",s.jsx(xi,{size:15})]})]},r.id))}),s.jsxs("div",{className:"mt-6 flex flex-wrap gap-4",children:[s.jsxs(et,{to:"/newsletter",className:"font-body inline-flex items-center gap-2 rounded-lg",style:{background:sa,color:"#fff",padding:"12px 22px",fontSize:14,fontWeight:500},children:["Browse the full archive ",s.jsx(xi,{size:16})]}),s.jsxs(et,{to:"/newsletter#capital-braid-series",className:"font-body inline-flex items-center gap-2 rounded-lg",style:{border:`1px solid ${sa}`,color:sa,padding:"12px 22px",fontSize:14,fontWeight:500},children:["The Capital Braid™ series ",s.jsx(xi,{size:16})]})]})]})}),s.jsx("section",{style:{background:"#fafaf8",padding:"56px 0 72px"},children:s.jsxs("div",{className:"max-w-6xl mx-auto px-6",children:[s.jsx(bm,{icon:s.jsx(_D,{size:22}
1411),label:"Events & media",blurb:"Where we'll be, and the gatherings worth knowing about even when we're not there."}),s.jsxs(et,{to:"/events",className:"font-body inline-flex items-center gap-2 rounded-lg",style:{background:sa,color:"#fff",padding:"12px 22px",fontSize:14,fontWeight:500},children:["See the events list ",s.jsx(xi,{size:16})]})]})})]})},Tre=()=>{var y;const[e,t]=x.useState(""),[n,r]=x.useState(""),[o,i]=x.useState(!1),[a,l]=x.useState("signin"),[c,d]=x.useState(""),[u,p]=x.useState(!1),f=gu(),h=uo(),{toast:g}=cu(),m=((y=h.state)==null?void 0:y.from)??"/events/manage";x.useEffect(()=>{tn.auth.getSession().then(({data:w})=>{w.session&&f(m,{replace:!0})})},[f,m]);const b=async w=>{w.preventDefault(),i(!0);const{error:j}=await tn.auth.signInWithPassword({email:e,password:n});if(i(!1),j){g({title:"Sign in failed",description:j.message,variant:"destructive"});return}f(m,{replace:!0})},v=async w=>{w.preventDefault(),p(!0);const{error:j}=await tn.auth.resetPasswordForEmail(c,{redirectTo:`${window.location.origin}/admin/reset-password`});if(p(!1),j){g({title:"Could not send reset email",description:j.message,variant:"destructive"});return}g({title:"Check your email",description:"If an account exists, a reset link has been sent."}),l("signin")};return s.jsxs(s.Fragment,{children:[s.jsx(Ve,{title:"Admin sign in",description:"Internal admin sign in",path:"/admin/login",noindex:!0}),s.jsx("div",{className:"min-h-screen flex items-center justify-center px-4 bg-background",children:a==="signin"?s.jsxs("form",{onSubmit:b,className:"w-full max-w-sm space-y-4 border rounded-lg p-6 bg-white",children:[s.jsx("h1",{className:"text-xl font-semibold",children:"Admin sign in"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(dt,{htmlFor:"email",children:"Email"}),s.jsx(fn,{id:"email",type:"email",autoComplete:"email",required:!0,value:e,onChange:w=>t(w.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(dt,{htmlFor:"password",children:"Password"}),s.jsx(fn,{id:"password",type:"password",autoComplete:"current-password",required:!0,value:n,onChange:w=>r(w.target.value)})]}),s.jsx(ms,{type:"submit",className:"w-full",disabled:o,children:o?"Signing in…":"Sign in"}),s.jsx("button",{type:"button",className:"text-sm text-muted-foreground underline w-full text-center",onClick:()=>{d(e),l("forgot")},children:"Forgot password?"})]}):s.jsxs("form",{onSubmit:v,className:"w-full max-w-sm space-y-4 border rounded-lg p-6 bg-white",children:[s.jsx("h1",{className:"text-xl font-semibold",children:"Reset password"}),s.jsx("p",{className:"text-sm text-muted-foreground",children:"Enter your email and we'll send a reset link."}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(dt,{htmlFor:"reset-email",children:"Email"}),s.jsx(fn,{id:"reset-email",type:"email",autoComplete:"email",required:!0,value:c,onChange:w=>d(w.target.value)})]}),s.jsx(ms,{type:"submit",className:"w-full",disabled:u,children:u?"Sending…":"Send reset link"}),s.jsx("button",{type:"button",className:"text-sm text-muted-foreground underline w-full text-center",onClick:()=>l("signin"),children:"Back to sign in"})]})})]})},Nre=()=>{const[e,t]=x.useState("checking"),[n,r]=x.useState(""),[o,i]=x.useState(""),[a,l]=x.useState(!1),c=gu(),{toast:d}=cu();x.useEffect(()=>{const{data:p}=tn.auth.onAuthStateChange(f=>{(f==="PASSWORD_RECOVERY"||f==="SIGNED_IN")&&t("ok")});return tn.auth.getSession().then(({data:f})=>{f.session?t("ok"):setTimeout(()=>t(h=>h==="checking"?"invalid":h),1500)}),()=>p.subscription.unsubscribe()},[]);const u=async p=>{if(p.preventDefault(),n.length<8){d({title:"Password too short",description:"Use at least 8 characters.",variant:"destructive"});return}if(n!==o){d({title:"Passwords do not match",variant:"destructive"});return}l(!0);const{error:f}=await tn.auth.updateUser({password:n});if(l(!1),f){d({title:"Could not update password",description:f.message,variant:"destructive"});return}d({title:"Password updated"}),c("/events/manage",{replace:!0})};return s.jsxs(s.Fragment,{children:[s.jsx(Ve,{title:"Reset password",description:"Set a new password",path:"/admin/reset-password",noindex:!0}),s.jsx("div",{className:"min-h-screen flex items-center justify-center px-4 bg-background",children:e==="invalid"?s.jsxs("div",{className:"w-full max-w-sm space-y-3 border rounded-lg p-6 bg-white text-center",children:[s.jsx("h1",{className:"text-xl font-semibold",children:"Link expired"}),s.jsx("p",{className:"text-sm text-muted-foreground",children:"This reset link is invali
1411d or has expired."}),s.jsx(et,{to:"/admin/login",className:"text-sm underline",children:"Back to sign in"})]}):s.jsxs("form",{onSubmit:u,className:"w-full max-w-sm space-y-4 border rounded-lg p-6 bg-white",children:[s.jsx("h1",{className:"text-xl font-semibold",children:"Set a new password"}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(dt,{htmlFor:"password",children:"New password"}),s.jsx(fn,{id:"password",type:"password",autoComplete:"new-password",required:!0,value:n,onChange:p=>r(p.target.value),disabled:e!=="ok"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(dt,{htmlFor:"confirm",children:"Confirm password"}),s.jsx(fn,{id:"confirm",type:"password",autoComplete:"new-password",required:!0,value:o,onChange:p=>i(p.target.value),disabled:e!=="ok"})]}),s.jsx(ms,{type:"submit",className:"w-full",disabled:a||e!=="ok",children:a?"Saving…":e==="ok"?"Update password":"Verifying link…"})]})})]})};var Jy="Checkbox",[Ere,Nie]=Pi(Jy),[Cre,sS]=Ere(Jy);function _re(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:o,disabled:i,form:a,name:l,onCheckedChange:c,required:d,value:u="on",internal_do_not_use_render:p}=e,[f,h]=ql({prop:n,defaultProp:o??!1,onChange:c,caller:Jy}),[g,m]=x.useState(null),[b,v]=x.useState(null),y=x.useRef(!1),w=g?!!a||!!g.closest("form"):!0,j={checked:f,disabled:i,setChecked:h,control:g,setControl:m,name:l,form:a,value:u,hasConsumerStoppedPropagationRef:y,required:d,defaultChecked:Da(o)?!1:o,isFormControl:w,bubbleInput:b,setBubbleInput:v};return s.jsx(Cre,{scope:t,...j,children:Are(p)?p(j):r})}var rP="CheckboxTrigger",oP=x.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},o)=>{const{control:i,value:a,disabled:l,checked:c,required:d,setControl:u,setChecked:p,hasConsumerStoppedPropagationRef:f,isFormControl:h,bubbleInput:g}=sS(rP,e),m=it(o,u),b=x.useRef(c);return x.useEffect(()=>{const v=i==null?void 0:i.form;if(v){const y=()=>p(b.current);return v.addEventListener("reset",y),()=>v.removeEventListener("reset",y)}},[i,p]),s.jsx(We.button,{type:"button",role:"checkbox","aria-checked":Da(c)?"mixed":c,"aria-required":d,"data-state":dP(c),"data-disabled":l?"":void 0,disabled:l,value:a,...r,ref:m,onKeyDown:Te(t,v=>{v.key==="Enter"&&v.preventDefault()}),onClick:Te(n,v=>{p(y=>Da(y)?!0:!y),g&&h&&(f.current=v.isPropagationStopped(),f.current||v.stopPropagation())})})});oP.displayName=rP;var rS=x.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:o,defaultChecked:i,required:a,disabled:l,value:c,onCheckedChange:d,form:u,...p}=e;return s.jsx(_re,{__scopeCheckbox:n,checked:o,defaultChecked:i,disabled:l,required:a,onCheckedChange:d,name:r,form:u,value:c,internal_do_not_use_render:({isFormControl:f})=>s.jsxs(s.Fragment,{children:[s.jsx(oP,{...p,ref:t,__scopeCheckbox:n}),f&&s.jsx(cP,{__scopeCheckbox:n})]})})});rS.displayName=Jy;var iP="CheckboxIndicator",aP=x.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...o}=e,i=sS(iP,n);return s.jsx(zi,{present:r||Da(i.checked)||i.checked===!0,children:s.jsx(We.span,{"data-state":dP(i.checked),"data-disabled":i.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});aP.displayName=iP;var lP="CheckboxBubbleInput",cP=x.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:o,checked:i,defaultChecked:a,required:l,disabled:c,name:d,value:u,form:p,bubbleInput:f,setBubbleInput:h}=sS(lP,e),g=it(n,h),m=q7(i),b=kA(r);x.useEffect(()=>{const y=f;if(!y)return;const w=window.HTMLInputElement.prototype,S=Object.getOwnPropertyDescriptor(w,"checked").set,N=!o.current;if(m!==i&&S){const k=new Event("click",{bubbles:N});y.indeterminate=Da(i),S.call(y,Da(i)?!1:i),y.dispatchEvent(k)}},[f,m,i,o]);const v=x.useRef(Da(i)?!1:i);return s.jsx(We.input,{type:"checkbox","aria-hidden":!0,defaultChecked:a??v.current,required:l,disabled:c,name:d,value:u,form:p,...t,tabIndex:-1,ref:g,style:{...t.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});cP.displayName=lP;function Are(e){return typeof e=="function"}function Da(e){return e==="indeterminate"}function dP(e){return Da(e)?"indeterminate":e?"checked":"unchecked"}const Op=x.forwardRef(({className:e,...t},n)=>s.jsx(rS,{ref:n,className:Ce("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:s.jsx(aP,{className:Ce("flex items-center justify-center text-current"),children:s.jsx(vr,{className:"h-4 w-4"})})}));Op.displayName=rS.displayName;const uP=x.forwardRef(({className:e,...t},n)=>s.jsx("div",{className:"relative w-full overflow-auto",children:s.jsx("table",{ref:n,className:Ce("w-full caption-bottom text-sm",e),...t})}));uP.displayName="Table";const hP=x.forwardRef(({className:e,...t},n)=>s.jsx("thead",{ref:n,className:Ce("[&_tr]:border-b",e),...t}));hP.displayName="TableHeader";const pP=x.forwardRef(({className:e,...t},n)=>s.jsx("tbody",{ref:n,className:Ce("[&_tr:last-child]:border-0",e),...t}));pP.displayName="TableBody";const Rre=x.forwardRef(({className:e,...t},n)=>s.jsx("tfoot",{ref:n,className:Ce("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",e),...t}));Rre.displayName="TableFooter";const _h=x.forwardRef(({className:e,...t},n)=>s.jsx("tr",{ref:n,className:Ce("border-b transition-colors data-[state=selected]:bg-muted hover:bg-muted/50",e),...t}));_h.displayName="TableRow";const ii=x.forwardRef(({className:e,...t},n)=>s.jsx("th",{ref:n,className:Ce("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",e),...t}));ii.displayName="TableHead";const Mr=x.forwardRef(({className:e,...t},n)=>s.jsx("td",{ref:n,className:Ce("p-4 align-middle [&:has([role=checkbox])]:pr-0",e),...t}));Mr.displayName="TableCell";const Pre=x.forwardRef(({className:e,...t},n)=>s.jsx("caption",{ref:n,className:Ce("mt-4 text-sm text-muted-foreground",e),...t}));Pre.displayName="TableCaption";var Xy="Dialog",[fP,mP]=Pi(Xy),[zre,po]=fP(Xy),gP=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:
vendor: 4,868 bytes, lines 1411-1415
1411a=!0}=e,l=x.useRef(null),c=x.useRef(null),[d,u]=ql({prop:r,defaultProp:o??!1,onChange:i,caller:Xy});return s.jsx(zre,{scope:t,triggerRef:l,contentRef:c,contentId:za(),titleId:za(),descriptionId:za(),open:d,onOpenChange:u,onOpenToggle:x.useCallback(()=>u(p=>!p),[u]),modal:a,children:n})};gP.displayName=Xy;var yP="DialogTrigger",xP=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(yP,n),i=it(t,o.triggerRef);return s.jsx(We.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":aS(o.open),...r,ref:i,onClick:Te(e.onClick,o.onOpenToggle)})});xP.displayName=yP;var oS="DialogPortal",[Ire,vP]=fP(oS,{forceMount:void 0}),bP=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=po(oS,t);return s.jsx(Ire,{scope:t,forceMount:n,children:x.Children.map(r,a=>s.jsx(zi,{present:n||i.open,children:s.jsx(Zp,{asChild:!0,container:o,children:a})}))})};bP.displayName=oS;var Xg="DialogOverlay",wP=x.forwardRef((e,t)=>{const n=vP(Xg,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=po(Xg,e.__scopeDialog);return i.modal?s.jsx(zi,{present:r||i.open,children:s.jsx(Dre,{...o,ref:t})}):null});wP.displayName=Xg;var Ore=Zd("DialogOverlay.RemoveScroll"),Dre=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(Xg,n);return s.jsx(Qj,{as:Ore,allowPinchZoom:!0,shards:[o.contentRef],children:s.jsx(We.div,{"data-state":aS(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),ec="DialogContent",jP=x.forwardRef((e,t)=>{const n=vP(ec,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=po(ec,e.__scopeDialog);return s.jsx(zi,{present:r||i.open,children:i.modal?s.jsx(Wre,{...o,ref:t}):s.jsx($re,{...o,ref:t})})});jP.displayName=ec;var Wre=x.forwardRef((e,t)=>{const n=po(ec,e.__scopeDialog),r=x.useRef(null),o=it(t,n.contentRef,r);return x.useEffect(()=>{const i=r.current;if(i)return Z7(i)},[]),s.jsx(SP,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Te(e.onCloseAutoFocus,i=>{var a;i.preventDefault(),(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:Te(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0;(a.button===2||l)&&i.preventDefault()}),onFocusOutside:Te(e.onFocusOutside,i=>i.preventDefault())})}),$re=x.forwardRef((e,t)=>{const n=po(ec,e.__scopeDialog),r=x.useRef(!1),o=x.useRef(!1);return s.jsx(SP,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a,l;(a=e.onCloseAutoFocus)==null||a.call(e,i),i.defaultPrevented||(r.current||(l=n.triggerRef.current)==null||l.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var c,d;(c=e.onInteractOutside)==null||c.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const a=i.target;((d=n.triggerRef.current)==null?void 0:d.contains(a))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),SP=x.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,l=po(ec,n),c=x.useRef(null),d=it(t,c);return G7(),s.jsxs(s.Fragment,{children:[s.jsx(Zj,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:s.jsx(Kp,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":aS(l.open),...a,ref:d,onDismiss:()=>l.onOpenChange(!1)})}),s.jsxs(s.Fragment,{children:[s.jsx(Mre,{titleId:l.titleId}),s.jsx(Fre,{contentRef:c,descriptionId:l.descriptionId})]})]})}),iS="DialogTitle",kP=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(iS,n);return s.jsx(We.h2,{id:o.titleId,...r,ref:t})});kP.displayName=iS;var TP="DialogDescription",NP=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(TP,n);return s.jsx(We.p,{id:o.descriptionId,...r,ref:t})});NP.displayName=TP;var EP="DialogClose",CP=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=po(EP,n);return s.jsx(We.button,{type:"button",...r,ref:t,onClick:Te(e.onClick,()=>o.onOpenChange(!1))})});CP.displayName=EP;function aS(e){return e?"open":"closed"}var _P="DialogTitleWarning",[Lre,AP]=zO(_P,{contentName:ec,titleName:iS,docsSlug:"dialog"}),Mre=({titleId:e})=>{const t=AP(_P),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
1412
1413If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
1414
1415For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Bre="DialogDescriptionWarning",Fre=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${AP(Bre).contentName}}.`;return x.useEffect(()=>{var i;const o=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");
1415t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},RP=gP,Hre=xP,PP=bP,lS=wP,cS=jP,dS=kP,uS=NP,hS=CP,zP="AlertDialog",[Vre,Eie]=Pi(zP,[mP]),Di=mP(),IP=e=>{const{__scopeAlertDialog:t,...n}=e,r=Di(t);return s.jsx(RP,{...r,...n,modal:!0})};IP.displayName=zP;var Ure="AlertDialogTrigger",Gre=x.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Di(n);return s.jsx(Hre,{...o,...r,ref:t})});Gre.displayName=Ure;var Yre="AlertDialogPortal",OP=e=>{const{__scopeAlertDialog:t,...n}=e,r=Di(t);return s.jsx(PP,{...r,...n})};OP.displayName=Yre;var qre="AlertDialogOverlay",DP=x.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Di(n);return s.jsx(lS,{...o,...r,ref:t})});DP.displayName=qre;var Ad="AlertDialogContent",[Kre,Zre]=Vre(Ad),Qre=j4("AlertDialogContent"),WP=x.forwardRef((e,t)=>{const{__scopeAlertDialog:n,children:r,...o}=e,i=Di(n),a=x.useRef(null),l=it(t,a),c=x.useRef(null);return s.jsx(Lre,{contentName:Ad,titleName:$P,docsSlug:"alert-dialog",children:s.jsx(Kre,{scope:n,cancelRef:c,children:s.jsxs(cS,{role:"alertdialog",...i,...o,ref:l,onOpenAutoFocus:Te(o.onOpenAutoFocus,d=>{var u;d.preventDefault(),(u=c.current)==null||u.focus({preventScroll:!0})}),onPointerDownOutside:d=>d.preventDefault(),onInteractOutside:d=>d.preventDefault(),children:[s.jsx(Qre,{children:r}),s.jsx(Xre,{contentRef:a})]})})})});WP.displayName=Ad;var $P="AlertDialogTitle",LP=x.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Di(n);return s.jsx(dS,{...o,...r,ref:t})});LP.displayName=$P;var MP="AlertDialogDescription",BP=x.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Di(n);return s.jsx(uS,{...o,...r,ref:t})});BP.displayName=MP;var Jre="AlertDialogAction",FP=x.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,o=Di(n);return s.jsx(hS,{...o,...r,ref:t})});FP.displayName=Jre;var HP="AlertDialogCancel",VP=x.forwardRef((e,t)=>{const{__scopeAlertDialog:n,...r}=e,{cancelRef:o}=Zre(HP,n),i=Di(n),a=it(t,o);return s.jsx(hS,{...i,...r,ref:a})});VP.displayName=HP;var Xre=({contentRef:e})=>{const t=`\`${Ad}\` requires a description for the component to be accessible for screen reader users.
1416
1417You can add a description to the \`${Ad}\` by passing a \`${MP}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
1418
1419Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${Ad}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
1420
1421For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return x.useEffect(()=>{var r;document.getElementById((r=e.current)==null?void 0:r.getAttribute("aria-describedby"))||console.warn(t)},[t,e]),null},eoe=IP,toe=OP,UP=DP,GP=WP,YP=FP,qP=VP,KP=LP,ZP=BP;const noe=eoe,soe=toe,QP=x.forwardRef(({className:e,...t},n)=>s.jsx(UP,{className:Ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));QP.displayName=UP.displayName;const JP=x.forwardRef(({className:e,...t},n)=>s.jsxs(soe,{children:[s.jsx(QP,{}),s.jsx(GP,{ref:n,className:Ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...t})]}));JP.displayName=GP.displayName;const XP=({className:e,...t})=>s.jsx("div",{className:Ce("flex flex-col space-y-2 text-center sm:text-left",e),...t});XP.displayName="AlertDialogHeader";const e8=({className:e,...t})=>s.jsx("div",{className:Ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});e8.displayName="AlertDialogFooter";const t8=x.forwardRef(({className:e,...t},n)=>s.jsx(KP,{ref:n,className:Ce("text-lg font-semibold",e),...t}));t8.displayName=KP.displayName;const n8=x.forwardRef(({className:e,...t},n)=>s.jsx(ZP,{ref:n,className:Ce("text-sm text-muted-foreground",e),...t}));n8.displayName=ZP.displayName;const s8=x.forwardRef(({className:e,...t},n)=>s.jsx(YP,{ref:n,className:Ce(Kj(),e),...t}));s8.displayName=YP.displayName;const r8=x.forwardRef(({className:e,...t},n)=>s.jsx(qP,{ref:n,className:Ce(Kj({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));r8.displayName=qP.displayName;var pf=e=>e.type==="checkbox",_l=e=>e instanceof Date,hs=e=>e==null;const o8=e=>typeof e=="object";var Gt=e=>
1421!hs(e)&&!Array.isArray(e)&&o8(e)&&!_l(e),roe=e=>Gt(e)&&e.target?pf(e.target)?e.target.checked:e.target.value:e,ooe=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,ioe=(e,t)=>e.has(ooe(t)),aoe=e=>{const t=e.constructor&&e.constructor.prototype;return Gt(t)&&t.hasOwnProperty("isPrototypeOf")},pS=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function vn(e){let t;const n=Array.isArray(e),r=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(pS&&(e instanceof Blob||r))&&(n||Gt(e)))if(t=n?[]:{},!n&&!aoe(e))t=e;else for(const o in e)e.hasOwnProperty(o)&&(t[o]=vn(e[o]));else return e;return t}var ex=e=>/^\w*$/.test(e),Xt=e=>e===void 0,fS=e=>Array.isArray(e)?e.filter(Boolean):[],mS=e=>fS(e.replace(/["|']|\]/g,"").split(/\.|\[/)),oe=(e,t,n)=>{if(!t||!Gt(e))return n;const r=(ex(t)?[t]:mS(t)).reduce((o,i)=>hs(o)?o:o[i],e);return Xt(r)||r===e?Xt(e[t])?n:e[t]:r},_o=e=>typeof e=="boolean",ut=(e,t,n)=>{let r=-1;const o=ex(t)?[t]:mS(t),i=o.length,a=i-1;for(;++r<i;){const l=o[r];let c=n;if(r!==a){const d=e[l];c=Gt(d)||Array.isArray(d)?d:isNaN(+o[r+1])?{}:[]}if(l==="__proto__"||l==="constructor"||l==="prototype")return;e[l]=c,e=e[l]}};const pE={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Xr={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},ri={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},loe=P.createContext(null);loe.displayName="HookFormContext";var coe=(e,t,n,r=!0)=>{const o={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(o,i,{get:()=>{const a=i;return t._proxyFormState[a]!==Xr.all&&(t._proxyFormState[a]=!r||Xr.all),e[a]}});return o};const doe=typeof window<"u"?P.useLayoutEffect:P.useEffect;var Wo=e=>typeof e=="string",uoe=(e,t,n,r,o)=>Wo(e)?(r&&t.watch.add(e),oe(n,e,o)):Array.isArray(e)?e.map(i=>(r&&t.watch.add(i),oe(n,i))):(r&&(t.watchAll=!0),n),N1=e=>hs(e)||!o8(e);function ca(e,t,n=new WeakSet){if(N1(e)||N1(t))return e===t;if(_l(e)&&_l(t))return e.getTime()===t.getTime();const r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;if(n.has(e)||n.has(t))return!0;n.add(e),n.add(t);for(const i of r){const a=e[i];if(!o.includes(i))return!1;if(i!=="ref"){const l=t[i];if(_l(a)&&_l(l)||Gt(a)&&Gt(l)||Array.isArray(a)&&Array.isArray(l)?!ca(a,l,n):a!==l)return!1}}return!0}var i8=(e,t,n,r,o)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:o||!0}}:{},Kh=e=>Array.isArray(e)?e:[e],fE=()=>{let e=[];return{get observers(){return e},next:o=>{for(const i of e)i.next&&i.next(o)},subscribe:o=>(e.push(o),{unsubscribe:()=>{e=e.filter(i=>i!==o)}}),unsubscribe:()=>{e=[]}}},Cs=e=>Gt(e)&&!Object.keys(e).length,gS=e=>e.type==="file",eo=e=>typeof e=="function",ey=e=>{if(!pS)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},a8=e=>e.type==="select-multiple",yS=e=>e.type==="radio",hoe=e=>yS(e)||pf(e),K0=e=>ey(e)&&e.isConnected;function poe(e,t){const n=t.slice(0,-1).length;let r=0;for(;r<n;)e=Xt(e)?r++:e[t[r++]];return e}function foe(e){for(const t in e)if(e.hasOwnProperty(t)&&!Xt(e[t]))return!1;return!0}function Kt(e,t){const n=Array.isArray(t)?t:ex(t)?[t]:mS(t),r=n.length===1?e:poe(e,n),o=n.length-1,i=n[o];return r&&delete r[i],o!==0&&(Gt(r)&&Cs(r)||Array.isArray(r)&&foe(r))&&Kt(e,n.slice(0,-1)),e}var l8=e=>{for(const t in e)if(eo(e[t]))return!0;return!1};function ty(e,t={}){const n=Array.isArray(e);
vendor: 8,952 bytes, line 1421
1421if(Gt(e)||n)for(const r in e)Array.isArray(e[r])||Gt(e[r])&&!l8(e[r])?(t[r]=Array.isArray(e[r])?[]:{},ty(e[r],t[r])):hs(e[r])||(t[r]=!0);return t}function c8(e,t,n){const r=Array.isArray(e);if(Gt(e)||r)for(const o in e)Array.isArray(e[o])||Gt(e[o])&&!l8(e[o])?Xt(t)||N1(n[o])?n[o]=Array.isArray(e[o])?ty(e[o],[]):{...ty(e[o])}:c8(e[o],hs(t)?{}:t[o],n[o]):n[o]=!ca(e[o],t[o]);return n}var fh=(e,t)=>c8(e,t,ty(t));const mE={value:!1,isValid:!1},gE={value:!0,isValid:!0};var d8=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Xt(e[0].attributes.value)?Xt(e[0].value)||e[0].value===""?gE:{value:e[0].value,isValid:!0}:gE:mE}return mE},u8=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>Xt(e)?e:t?e===""?NaN:e&&+e:n&&Wo(e)?new Date(e):r?r(e):e;const yE={isValid:!1,value:null};var h8=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,yE):yE;function xE(e){const t=e.ref;return gS(t)?t.files:yS(t)?h8(e.refs).value:a8(t)?[...t.selectedOptions].map(({value:n})=>n):pf(t)?d8(e.refs).value:u8(Xt(t.value)?e.ref.value:t.value,e)}var moe=(e,t,n,r)=>{const o={};for(const i of e){const a=oe(t,i);a&&ut(o,i,a._f)}return{criteriaMode:n,names:[...e],fields:o,shouldUseNativeValidation:r}},ny=e=>e instanceof RegExp,mh=e=>Xt(e)?e:ny(e)?e.source:Gt(e)?ny(e.value)?e.value.source:e.value:e,vE=e=>({isOnSubmit:!e||e===Xr.onSubmit,isOnBlur:e===Xr.onBlur,isOnChange:e===Xr.onChange,isOnAll:e===Xr.all,isOnTouch:e===Xr.onTouched});const bE="AsyncFunction";var goe=e=>!!e&&!!e.validate&&!!(eo(e.validate)&&e.validate.constructor.name===bE||Gt(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===bE)),yoe=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),wE=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const Zh=(e,t,n,r)=>{for(const o of n||Object.keys(e)){const i=oe(e,o);if(i){const{_f:a,...l}=i;if(a){if(a.refs&&a.refs[0]&&t(a.refs[0],o)&&!r)return!0;if(a.ref&&t(a.ref,a.name)&&!r)return!0;if(Zh(l,t))break}else if(Gt(l)&&Zh(l,t))break}}};function jE(e,t,n){const r=oe(e,n);if(r||ex(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const i=o.join("."),a=oe(t,i),l=oe(e,i);if(a&&!Array.isArray(a)&&n!==i)return{name:n};if(l&&l.type)return{name:i,error:l};if(l&&l.root&&l.root.type)return{name:`${i}.root`,error:l.root};o.pop()}return{name:n}}var xoe=(e,t,n,r)=>{n(e);const{name:o,...i}=e;return Cs(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(a=>t[a]===(!r||Xr.all))},voe=(e,t,n)=>!e||!t||e===t||Kh(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r))),boe=(e,t,n,r,o)=>o.isOnAll?!1:!n&&o.isOnTouch?!(t||e):(n?r.isOnBlur:o.isOnBlur)?!e:(n?r.isOnChange:o.isOnChange)?e:!0,woe=(e,t)=>!fS(oe(e,t)).length&&Kt(e,t),joe=(e,t,n)=>{const r=Kh(oe(e,n));return ut(r,"root",t[n]),ut(e,n,r),e},ng=e=>Wo(e);function SE(e,t,n="validate"){if(ng(e)||Array.isArray(e)&&e.every(ng)||_o(e)&&!e)return{type:n,message:ng(e)?e:"",ref:t}}var $c=e=>Gt(e)&&!ny(e)?e:{value:e,message:""},kE=async(e,t,n,r,o,i)=>{const{ref:a,refs:l,required:c,maxLength:d,minLength:u,min:p,max:f,pattern:h,validate:g,name:m,valueAsNumber:b,mount:v}=e._f,y=oe(n,m);if(!v||t.has(m))return{};const w=l?l[0]:a,j=I=>{o&&w.reportValidity&&(w.setCustomValidity(_o(I)?"":I||""),w.reportValidity())},S={},N=yS(a),k=pf(a),T=N||k,C=(b||gS(a))&&Xt(a.value)&&Xt(y)||ey(a)&&a.value===""||y===""||Array.isArray(y)&&!y.length,R=i8.bind(null,m,r,S),L=(I,F,D,K=ri.maxLength,U=ri.minLength)=>{const H=I?F:D;S[m]={type:I?K:U,message:H,ref:a,...R(I?K:U,H)}};if(i?!Array.isArray(y)||!y.length:c&&(!T&&(C||hs(y))||_o(y)&&!y||k&&!d8(l).isValid||N&&!h8(l).isValid)){const{value:I,message:F}=ng(c)?{value:!!c,message:c}:$c(c);if(I&&(S[m]={type:ri.required,message:F,ref:w,...R(ri.required,F)},!r))return j(F),S}if(!C&&(!hs(p)||!hs(f))){let I,F;const D=$c(f),K=$c(p);if(!hs(y)&&!isNaN(y)){const U=a.valueAsNumber||y&&+y;hs(D.value)||(I=U>D.value),hs(K.value)||(F=U<K.value)}else{const U=a.valueAsDate||new Date(y),H=G=>new Date(new Date().toDateString()+" "+G),O=a.type=="time",W=a.type=="week";Wo(D.value)&&y&&(I=O?H(y)>H(D.value):W?y>D.value:U>new Date(D.value)),Wo(K.value)&&y&&(F=O?H(y)<H(K.value):W?y<K.value:U<new Date(K.value))}if((I||F)&&(L(!!I,D.message,K.message,ri.max,ri.min),!r))return j(S[m].message),S}if((d||u)&&!C&&(Wo(y)||i&&Array.isArray(y))){const I=$c(d),F=$c(u),D=!hs(I.value)&&y.length>+I.value,K=!hs(F.value)&&y.length<+F.value;if((D||K)&&(L(D,I.message,F.message),!r))return j(S[m].message),S}if(h&&!C&&Wo(y)){const{value:I,message:F}=$c(h);if(ny(I)&&!y.match(I)&&(S[m]={type:ri.pattern,message:F,ref:a,...R(ri.pattern,F)},!r))return j(F),S}if(g){if(eo(g)){const I=await g(y,n),F=SE(I,w);if(F&&(S[m]={...F,...R(ri.validate,F.message)},!r))return j(F.message),S}else if(Gt(g)){let I={};for(const F in g){if(!Cs(I)&&!r)break;const D=SE(await g[F](y,n),w,F);D&&(I={...D,...R(F,D.message)},j(D.message),r&&(S[m]=I))}if(!Cs(I)&&(S[m]={ref:w,...I},!r))return S}}return j(!0),S};const Soe={mode:Xr.onSubmit,reValidateMode:Xr.onChange,shouldFocusError:!0};function koe(e={}){let t={...Soe,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:eo(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},o=Gt(t.defaultValues)||Gt(t.values)?vn(t.defaultValues||t.values)||{}:{},i=t.shouldUnregister?{}:vn(o),a={action:!1,mount:!1,watch:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c,d=0;const u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let p={...u};const f={array:fE(),state:fE()},h=t.criteriaMode===Xr.all,g=_=>z=>{clearTimeout(d),d=setTimeout(_,z)},m=async _=>{if(!t.disabled&&(u.isValid||p.isValid||_)){const z=t.resolver?Cs((await k()).errors):await C(r,!0);z!==n.isValid&&f.state.next({isValid:z})}},b=(_,z)=>{!t.disabled&&(u.isValidating||u.validatingFields||p.isValidating||p.validatingFields)&&((_||Array.from(l.mount)).forEach($=>{$&&(z?ut(n.validatingFields,$,z):Kt(n.validatingFields,$))}),f.state.next({validatingFields:n.validatingFields,isValidating:!Cs(n.validatingFields)}))},v=(_,z=[],$,Z,Q=!0,Y=!0)=>{if(Z&&$&&!t.disabled){if(a.action=!0,Y&&Array.isArray(oe(r,_))){const ee=$(oe(r,_),Z.argA,Z.argB);Q&&ut(r,_,ee)}if(Y&&Array.isArray(oe(n.errors,_))){const ee=$(oe(n.errors,_),Z.argA,Z.argB);Q&&ut(n.errors,_,ee),woe(n.errors,_)}if((u.touchedFields||p.touchedFields)&&Y&&Array.isArray(oe(n.touchedFields,_))){const ee=$(oe(n.touchedFields,_),Z.argA,Z.argB);Q&&ut(n.touchedFields,_,ee)}(u.dirtyFields||p.dirtyFields)&&(n.dirtyFields=fh(o,i)),f.state.next({name:_,isDirty:L(_,z),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else ut(i,_,z)},y=(_,z)=>{ut(n.errors,_,z),f.state.next({errors:n.errors})},w=_=>{n.errors=_,f.state.next({errors:n.errors,isValid:!1})},j=(_,z,$,Z)=>{const Q=oe(r,_);if(Q){const Y=oe(i,_,Xt($)?oe(o,_):$);Xt(Y)||Z&&Z.defaultChecked||z?ut(i,_,z?Y:xE(Q._f)):D(_,Y),a.mount&&m()}},S=(_,z,$,Z,Q)=>{let Y=!1,ee=!1;const Ie={name:_};if(!t.disabled){if(!$||Z){(u.isDirty||p.isDirty)&&(ee=n.isDirty,n.isDirty=Ie.isDirty=L(),Y=ee!==Ie.isDirty);const Ge=ca(oe(o,_),z);ee=!!oe(n.dirtyFields,_),Ge?Kt(n.dirtyFields,_):ut(n.dirtyFields,_,!0),Ie.dirtyFields=n.dirtyFields,Y=Y||(u.dirtyFields||p.dirtyFields)&&ee!==!Ge}if($){const Ge=oe(n.touchedFields,_);Ge||(ut(n.touchedFields,_,$),Ie.touchedFields=n.touchedFields,Y=Y||(u.touchedFields||p.touchedFields)&&Ge!==$)}Y&&Q&&f.state.next(Ie)}return Y?Ie:{}},N=(_,z,$,Z)=>{const Q=oe(n.errors,_),Y=(u.isValid||p.isValid)&&_o(z)&&n.isValid!==z;if(t.delayError&&$?(c=g(()=>y(_,$)),c(t.delayError)):(clearTimeout(d),c=null,$?ut(n.errors,_,$):Kt(n.errors,_)),($?!ca(Q,$):Q)||!Cs(Z)||Y){const ee={...Z,...Y&&_o(z)?{isValid:z}:{},errors:n.errors,name:_};n={...n,...ee},f.state.next(ee)}},k=async _=>{b(_,!0);const z=await t.resolver(i,t.context,moe(_||l.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return b(_),z},T=async _=>{const{errors:z}=await k(_);if(_)for(const $ of _){const Z=oe(z,$);Z?ut(n.errors,$,Z):Kt(n.errors,$)}else n.errors=z;return z},C=async(_,z,$={valid:!0})=>{for(const Z in _){const Q=_[Z];if(Q){const{_f:Y,...ee}=Q;if(Y){const Ie=l.array.has(Y.name),Ge=Q._f&&goe(Q._f);Ge&&u.validatingFields&&b([Z],!0);const Ft=await kE(Q,l.disabled,i,h,t.shouldUseNativeValidation&&!z,Ie);if(Ge&&u.validatingFields&&b([Z]),Ft[Y.name]&&($.valid=!1,z))break;!z&&(oe(Ft,Y.name)?Ie?joe(n.errors,Ft,Y.name):ut(n.errors,Y.name,Ft[Y.name]):Kt(n.errors,Y.name))}!Cs(ee)&&await C(ee,z,$)}}return $.valid},R=()=>{for(const _ of l.unMount){const z=oe(r,_);z&&(z._f.refs?z._f.refs.every($=>!K0($)):!K0(z._f.ref))&&J(_)}l.unMount=new Set},L=(_,z)=>
vendor: 9,418 bytes, line 1421
1421!t.disabled&&(_&&z&&ut(i,_,z),!ca(G(),o)),I=(_,z,$)=>uoe(_,l,{...a.mount?i:Xt(z)?o:Wo(_)?{[_]:z}:z},$,z),F=_=>fS(oe(a.mount?i:o,_,t.shouldUnregister?oe(o,_,[]):[])),D=(_,z,$={})=>{const Z=oe(r,_);let Q=z;if(Z){const Y=Z._f;Y&&(!Y.disabled&&ut(i,_,u8(z,Y)),Q=ey(Y.ref)&&hs(z)?"":z,a8(Y.ref)?[...Y.ref.options].forEach(ee=>ee.selected=Q.includes(ee.value)):Y.refs?pf(Y.ref)?Y.refs.forEach(ee=>{(!ee.defaultChecked||!ee.disabled)&&(Array.isArray(Q)?ee.checked=!!Q.find(Ie=>Ie===ee.value):ee.checked=Q===ee.value||!!Q)}):Y.refs.forEach(ee=>ee.checked=ee.value===Q):gS(Y.ref)?Y.ref.value="":(Y.ref.value=Q,Y.ref.type||f.state.next({name:_,values:vn(i)})))}($.shouldDirty||$.shouldTouch)&&S(_,Q,$.shouldTouch,$.shouldDirty,!0),$.shouldValidate&&W(_)},K=(_,z,$)=>{for(const Z in z){if(!z.hasOwnProperty(Z))return;const Q=z[Z],Y=_+"."+Z,ee=oe(r,Y);(l.array.has(_)||Gt(Q)||ee&&!ee._f)&&!_l(Q)?K(Y,Q,$):D(Y,Q,$)}},U=(_,z,$={})=>{const Z=oe(r,_),Q=l.array.has(_),Y=vn(z);ut(i,_,Y),Q?(f.array.next({name:_,values:vn(i)}),(u.isDirty||u.dirtyFields||p.isDirty||p.dirtyFields)&&$.shouldDirty&&f.state.next({name:_,dirtyFields:fh(o,i),isDirty:L(_,Y)})):Z&&!Z._f&&!hs(Y)?K(_,Y,$):D(_,Y,$),wE(_,l)&&f.state.next({...n,name:_}),f.state.next({name:a.mount?_:void 0,values:vn(i)})},H=async _=>{a.mount=!0;const z=_.target;let $=z.name,Z=!0;const Q=oe(r,$),Y=Ge=>{Z=Number.isNaN(Ge)||_l(Ge)&&isNaN(Ge.getTime())||ca(Ge,oe(i,$,Ge))},ee=vE(t.mode),Ie=vE(t.reValidateMode);if(Q){let Ge,Ft;const Yt=z.type?xE(Q._f):roe(_),ws=_.type===pE.BLUR||_.type===pE.FOCUS_OUT,Ja=!yoe(Q._f)&&!t.resolver&&!oe(n.errors,$)&&!Q._f.deps||boe(ws,oe(n.touchedFields,$),n.isSubmitted,Ie,ee),fo=wE($,l,ws);ut(i,$,Yt),ws?(Q._f.onBlur&&Q._f.onBlur(_),c&&c(0)):Q._f.onChange&&Q._f.onChange(_);const js=S($,Yt,ws),Xa=!Cs(js)||fo;if(!ws&&f.state.next({name:$,type:_.type,values:vn(i)}),Ja)return(u.isValid||p.isValid)&&(t.mode==="onBlur"?ws&&m():ws||m()),Xa&&f.state.next({name:$,...fo?{}:js});if(!ws&&fo&&f.state.next({...n}),t.resolver){const{errors:Ss}=await k([$]);if(Y(Yt),Z){const Wi=jE(n.errors,r,$),Qn=jE(Ss,r,Wi.name||$);Ge=Qn.error,$=Qn.name,Ft=Cs(Ss)}}else b([$],!0),Ge=(await kE(Q,l.disabled,i,h,t.shouldUseNativeValidation))[$],b([$]),Y(Yt),Z&&(Ge?Ft=!1:(u.isValid||p.isValid)&&(Ft=await C(r,!0)));Z&&(Q._f.deps&&W(Q._f.deps),N($,Ft,Ge,js))}},O=(_,z)=>{if(oe(n.errors,z)&&_.focus)return _.focus(),1},W=async(_,z={})=>{let $,Z;const Q=Kh(_);if(t.resolver){const Y=await T(Xt(_)?_:Q);$=Cs(Y),Z=_?!Q.some(ee=>oe(Y,ee)):$}else _?(Z=(await Promise.all(Q.map(async Y=>{const ee=oe(r,Y);return await C(ee&&ee._f?{[Y]:ee}:ee)}))).every(Boolean),!(!Z&&!n.isValid)&&m()):Z=$=await C(r);return f.state.next({...!Wo(_)||(u.isValid||p.isValid)&&$!==n.isValid?{}:{name:_},...t.resolver||!_?{isValid:$}:{},errors:n.errors}),z.shouldFocus&&!Z&&Zh(r,O,_?Q:l.mount),Z},G=_=>{const z={...a.mount?i:o};return Xt(_)?z:Wo(_)?oe(z,_):_.map($=>oe(z,$))},pe=(_,z)=>({invalid:!!oe((z||n).errors,_),isDirty:!!oe((z||n).dirtyFields,_),error:oe((z||n).errors,_),isValidating:!!oe(n.validatingFields,_),isTouched:!!oe((z||n).touchedFields,_)}),ce=_=>{_&&Kh(_).forEach(z=>Kt(n.errors,z)),f.state.next({errors:_?n.errors:{}})},we=(_,z,$)=>{const Z=(oe(r,_,{_f:{}})._f||{}).ref,Q=oe(n.errors,_)||{},{ref:Y,message:ee,type:Ie,...Ge}=Q;ut(n.errors,_,{...Ge,...z,ref:Z}),f.state.next({name:_,errors:n.errors,isValid:!1}),$&&$.shouldFocus&&Z&&Z.focus&&Z.focus()},se=(_,z)=>eo(_)?f.state.subscribe({next:$=>"values"in $&&_(I(void 0,z),$)}):I(_,z,!0),Je=_=>f.state.subscribe({next:z=>{voe(_.name,z.name,_.exact)&&xoe(z,_.formState||u,Zn,_.reRenderRoot)&&_.callback({values:{...i},...n,...z,defaultValues:o})}}).unsubscribe,je=_=>(a.mount=!0,p={...p,..._.formState},Je({..._,formState:p})),J=(_,z={})=>{for(const $ of _?Kh(_):l.mount)l.mount.delete($),l.array.delete($),z.keepValue||(Kt(r,$),Kt(i,$)),!z.keepError&&Kt(n.errors,$),!z.keepDirty&&Kt(n.dirtyFields,$),!z.keepTouched&&Kt(n.touchedFields,$),!z.keepIsValidating&&Kt(n.validatingFields,$),!t.shouldUnregister&&!z.keepDefaultValue&&Kt(o,$);f.state.next({values:vn(i)}),f.state.next({...n,...z.keepDirty?{isDirty:L()}:{}}),!z.keepIsValid&&m()},me=({disabled:_,name:z})=>{(_o(_)&&a.mount||_||l.disabled.has(z))&&(_?l.disabled.add(z):l.disabled.delete(z))},Xe=(_,z={})=>{let $=oe(r,_);const Z=_o(z.disabled)||_o(t.disabled);return ut(r,_,{...$||{},_f:{...$&&$._f?$._f:{ref:{name:_}},name:_,mount:!0,...z}}),l.mount.add(_),$?me({disabled:_o(z.disabled)?z.disabled:t.disabled,name:_}):j(_,!0,z.value),{...Z?{disabled:z.disabled||t.disabled}:{},...t.progressive?{required:!!z.required,min:mh(z.min),max:mh(z.max),minLength:mh(z.minLength),maxLength:mh(z.maxLength),pattern:mh(z.pattern)}:{},name:_,onChange:H,onBlur:H,ref:Q=>{if(Q){Xe(_,z),$=oe(r,_);const Y=Xt(Q.value)&&Q.querySelectorAll&&Q.querySelectorAll("input,select,textarea")[0]||Q,ee=hoe(Y),Ie=$._f.refs||[];if(ee?Ie.find(Ge=>Ge===Y):Y===$._f.ref)return;ut(r,_,{_f:{...$._f,...ee?{refs:[...Ie.filter(K0),Y,...Array.isArray(oe(o,_))?[{}]:[]],ref:{type:Y.type,name:_}}:{ref:Y}}}),j(_,!1,void 0,Y)}else $=oe(r,_,{}),$._f&&($._f.mount=!1),(t.shouldUnregister||z.shouldUnregister)&&!(ioe(l.array,_)&&a.action)&&l.unMount.add(_)}}},ze=()=>t.shouldFocusError&&Zh(r,O,l.mount),Se=_=>{_o(_)&&(f.state.next({disabled:_}),Zh(r,(z,$)=>{const Z=oe(r,$);Z&&(z.disabled=Z._f.disabled||_,Array.isArray(Z._f.refs)&&Z._f.refs.forEach(Q=>{Q.disabled=Z._f.disabled||_}))},0,!1))},$e=(_,z)=>async $=>{let Z;$&&($.preventDefault&&$.preventDefault(),$.persist&&$.persist());let Q=vn(i);if(f.state.next({isSubmitting:!0}),t.resolver){const{errors:Y,values:ee}=await k();n.errors=Y,Q=vn(ee)}else await C(r);if(l.disabled.size)for(const Y of l.disabled)Kt(Q,Y);if(Kt(n.errors,"root"),Cs(n.errors)){f.state.next({errors:{}});try{await _(Q,$)}catch(Y){Z=Y}}else z&&await z({...n.errors},$),ze(),setTimeout(ze);if(f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Cs(n.errors)&&!Z,submitCount:n.submitCount+1,errors:n.errors}),Z)throw Z},Ot=(_,z={})=>{oe(r,_)&&(Xt(z.defaultValue)?U(_,vn(oe(o,_))):(U(_,z.defaultValue),ut(o,_,vn(z.defaultValue))),z.keepTouched||Kt(n.touchedFields,_),z.keepDirty||(Kt(n.dirtyFields,_),n.isDirty=z.defaultValue?L(_,vn(oe(o,_))):L()),z.keepError||(Kt(n.errors,_),u.isValid&&m()),f.state.next({...n}))},gn=(_,z={})=>{const $=_?vn(_):o,Z=vn($),Q=Cs(_),Y=Q?o:Z;if(z.keepDefaultValues||(o=$),!z.keepValues){if(z.keepDirtyValues){const ee=new Set([...l.mount,...Object.keys(fh(o,i))]);for(const Ie of Array.from(ee))oe(n.dirtyFields,Ie)?ut(Y,Ie,oe(i,Ie)):U(Ie,oe(Y,Ie))}else{if(pS&&Xt(_))for(const ee of l.mount){const Ie=oe(r,ee);if(Ie&&Ie._f){const Ge=Array.isArray(Ie._f.refs)?Ie._f.refs[0]:Ie._f.ref;if(ey(Ge)){const Ft=Ge.closest("form");if(Ft){Ft.reset();break}}}}if(z.keepFieldsRef)for(const ee of l.mount)U(ee,oe(Y,ee));else r={}}i=t.shouldUnregister?z.keepDefaultValues?vn(o):{}:vn(Y),f.array.next({values:{...Y}}),f.state.next({values:{...Y}})}l={mount:z.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},a.mount=!u.isValid||!!z.keepIsValid||!!z.keepDirtyValues,a.watch=!!t.shouldUnregister,f.state.next({submitCount:z.keepSubmitCount?n.submitCount:0,isDirty:Q?!1:z.keepDirty?n.isDirty:!!(z.keepDefaultValues&&!ca(_,o)),isSubmitted:z.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:Q?{}:z.keepDirtyValues?z.keepDefaultValues&&i?fh(o,i):n.dirtyFields:z.keepDefaultValues&&_?fh(o,_):z.keepDirty?n.dirtyFields:{},touchedFields:z.keepTouched?n.touchedFields:{},errors:z.keepErrors?n.errors:{},isSubmitSuccessful:z.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Ds=(_,z)=>gn(eo(_)?_(i):_,z),sn=(_,z={})=>{const $=oe(r,_),Z=$&&$._f;if(Z){const Q=Z.refs?Z.refs[0]:Z.ref;Q.focus&&(Q.focus(),z.shouldSelect&&eo(Q.select)&&Q.select())}},Zn=_=>{n={...n,..._}},Ws={control:{register:Xe,unregister:J,getFieldState:pe,handleSubmit:$e,setError:we,_subscribe:Je,_runSchema:k,_focusError:ze,_getWatch:I,_getDirty:L,_setValid:m,_setFieldArray:v,_setDisabledField:me,_setErrors:w,_getFieldArray:F,_reset:gn,_resetDefaultValues:()=>eo(t.defaultValues)&&t.defaultValues().then(_=>{Ds(_,t.resetOptions),f.state.next({isLoading:!1})}),_removeUnmounted:R,_disableForm:Se,_subjects:f,_proxyFormState:u,get _fields(){return r},get _formValues(){return i},get _state(){return a},set _state(_){a=_},get _defaultValues(){return o},get _names(){return l},set _names(_){l=_},get _formState(){return n},get _options(){return t},set _options(_){t={...t,..._}}},subscribe:je,trigger:W,register:Xe,handleSubmit:$e,watch:se,setValue:U,getValues:G,reset:Ds,resetField:Ot,clearErrors:ce,unregister:J,setError:we,setFocus:sn,getFieldState:pe};return{...Ws,formControl:Ws}}function Toe(e={}){const t=P.useRef(void 0),n=P.useRef(void 0),[r,o]=P.useState({isDirty:!1,isValidating:!1,isLoading:eo(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:eo(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:r},e.defaultValues&&!eo(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:a,...l}=koe(e);t.current={...l,formState:r}}const i=t.current.control;return i._options=e,doe(()=>{const a=i._subscribe({formState:i._proxyFormState,callback:()=>o({...i._formState}
vendor: 4,315 bytes, line 1421
1421),reRenderRoot:!0});return o(l=>({...l,isReady:!0})),i._formState.isReady=!0,a},[i]),P.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),P.useEffect(()=>{e.mode&&(i._options.mode=e.mode),e.reValidateMode&&(i._options.reValidateMode=e.reValidateMode)},[i,e.mode,e.reValidateMode]),P.useEffect(()=>{e.errors&&(i._setErrors(e.errors),i._focusError())},[i,e.errors]),P.useEffect(()=>{e.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})},[i,e.shouldUnregister]),P.useEffect(()=>{if(i._proxyFormState.isDirty){const a=i._getDirty();a!==r.isDirty&&i._subjects.state.next({isDirty:a})}},[i,r.isDirty]),P.useEffect(()=>{e.values&&!ca(e.values,n.current)?(i._reset(e.values,{keepFieldsRef:!0,...i._options.resetOptions}),n.current=e.values,o(a=>({...a}))):i._resetDefaultValues()},[i,e.values]),P.useEffect(()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),t.current.formState=coe(r,i),t.current}const TE=(e,t,n)=>{if(e&&"reportValidity"in e){const r=oe(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},p8=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?TE(r.ref,n,e):r.refs&&r.refs.forEach(o=>TE(o,n,e))}},Noe=(e,t)=>{t.shouldUseNativeValidation&&p8(e,t);const n={};for(const r in e){const o=oe(t.fields,r),i=Object.assign(e[r]||{},{ref:o&&o.ref});if(Eoe(t.names||Object.keys(e),r)){const a=Object.assign({},oe(n,r));ut(a,"root",i),ut(n,r,a)}else ut(n,r,i)}return n},Eoe=(e,t)=>e.some(n=>n.startsWith(t+"."));var Coe=function(e,t){for(var n={};e.length;){var r=e[0],o=r.code,i=r.message,a=r.path.join(".");if(!n[a])if("unionErrors"in r){var l=r.unionErrors[0].errors[0];n[a]={message:l.message,type:l.code}}else n[a]={message:i,type:o};if("unionErrors"in r&&r.unionErrors.forEach(function(u){return u.errors.forEach(function(p){return e.push(p)})}),t){var c=n[a].types,d=c&&c[r.code];n[a]=i8(a,t,n,o,d?[].concat(d,r.message):r.message)}e.shift()}return n},_oe=function(e,t,n){return n===void 0&&(n={}),function(r,o,i){try{return Promise.resolve(function(a,l){try{var c=Promise.resolve(e[n.mode==="sync"?"parse":"parseAsync"](r,t)).then(function(d){return i.shouldUseNativeValidation&&p8({},i),{errors:{},values:n.raw?r:d}})}catch(d){return l(d)}return c&&c.then?c.then(void 0,l):c}(0,function(a){if(function(l){return Array.isArray(l==null?void 0:l.errors)}(a))return{values:{},errors:Noe(Coe(a.errors,!i.shouldUseNativeValidation&&i.criteriaMode==="all"),i)};throw a}))}catch(a){return Promise.reject(a)}}},nt;(function(e){e.assertEqual=o=>{};function t(o){}e.assertIs=t;function n(o){throw new Error}e.assertNever=n,e.arrayToEnum=o=>{const i={};for(const a of o)i[a]=a;return i},e.getValidEnumValues=o=>{const i=e.objectKeys(o).filter(l=>typeof o[o[l]]!="number"),a={};for(const l of i)a[l]=o[l];return e.objectValues(a)},e.objectValues=o=>e.objectKeys(o).map(function(i){return o[i]}),e.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const i=[];for(const a in o)Object.prototype.hasOwnProperty.call(o,a)&&i.push(a);return i},e.find=(o,i)=>{for(const a of o)if(i(a))return a},e.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&Number.isFinite(o)&&Math.floor(o)===o;function r(o,i=" | "){return o.map(a=>typeof a=="string"?`'${a}'`:a).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(o,i)=>typeof i=="bigint"?i.toString():i})(nt||(nt={}));var NE;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(NE||(NE={}));const le=nt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),ra=e=>{switch(typeof e){case"undefined":return le.undefined;case"string":return le.string;case"number":return Number.isNaN(e)?le.nan:le.number;case"boolean":return le.boolean;case"function":return le.function;case"bigint":return le.bigint;case"symbol":return le.symbol;case"object":return Array.isArray(e)?le.array:e===null?le.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?le.promise:typeof Map<"u"&&e instanceof Map?le.map:typeof Set<"u"&&e instanceof Set?le.set:typeof Date<"u"&&e instanceof Date?le.date:le.object;default:return le.unknown}}
vendor: 4,365 bytes, line 1421
1421,q=nt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Ai extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(i){return i.message},r={_errors:[]},o=i=>{for(const a of i.issues)if(a.code==="invalid_union")a.unionErrors.map(o);else if(a.code==="invalid_return_type")o(a.returnTypeError);else if(a.code==="invalid_arguments")o(a.argumentsError);else if(a.path.length===0)r._errors.push(n(a));else{let l=r,c=0;for(;c<a.path.length;){const d=a.path[c];c===a.path.length-1?(l[d]=l[d]||{_errors:[]},l[d]._errors.push(n(a))):l[d]=l[d]||{_errors:[]},l=l[d],c++}}};return o(this),r}static assert(t){if(!(t instanceof Ai))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,nt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const o of this.issues)if(o.path.length>0){const i=o.path[0];n[i]=n[i]||[],n[i].push(t(o))}else r.push(t(o));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}Ai.create=e=>new Ai(e);const E1=(e,t)=>{let n;switch(e.code){case q.invalid_type:e.received===le.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case q.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,nt.jsonStringifyReplacer)}`;break;case q.unrecognized_keys:n=`Unrecognized key(s) in object: ${nt.joinValues(e.keys,", ")}`;break;case q.invalid_union:n="Invalid input";break;case q.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${nt.joinValues(e.options)}`;break;case q.invalid_enum_value:n=`Invalid enum value. Expected ${nt.joinValues(e.options)}, received '${e.received}'`;break;case q.invalid_arguments:n="Invalid function arguments";break;case q.invalid_return_type:n="Invalid function return type";break;case q.invalid_date:n="Invalid date";break;case q.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:nt.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case q.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case q.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case q.custom:n="Invalid input";break;
vendor: 5,143 bytes, line 1421
1421case q.invalid_intersection_types:n="Intersection results could not be merged";break;case q.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case q.not_finite:n="Number must be finite";break;default:n=t.defaultError,nt.assertNever(e)}return{message:n}};let Aoe=E1;function Roe(){return Aoe}const Poe=e=>{const{data:t,path:n,errorMaps:r,issueData:o}=e,i=[...n,...o.path||[]],a={...o,path:i};if(o.message!==void 0)return{...o,path:i,message:o.message};let l="";const c=r.filter(d=>!!d).slice().reverse();for(const d of c)l=d(a,{data:t,defaultError:l}).message;return{...o,path:i,message:l}};function ne(e,t){const n=Roe(),r=Poe({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===E1?void 0:E1].filter(o=>!!o)});e.common.issues.push(r)}class Js{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const o of n){if(o.status==="aborted")return Ne;o.status==="dirty"&&t.dirty(),r.push(o.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const o of n){const i=await o.key,a=await o.value;r.push({key:i,value:a})}return Js.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const o of n){const{key:i,value:a}=o;if(i.status==="aborted"||a.status==="aborted")return Ne;i.status==="dirty"&&t.dirty(),a.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof a.value<"u"||o.alwaysSet)&&(r[i.value]=a.value)}return{status:t.value,value:r}}}const Ne=Object.freeze({status:"aborted"}),Ah=e=>({status:"dirty",value:e}),Cr=e=>({status:"valid",value:e}),EE=e=>e.status==="aborted",CE=e=>e.status==="dirty",nu=e=>e.status==="valid",sy=e=>typeof Promise<"u"&&e instanceof Promise;var de;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(de||(de={}));class Ha{constructor(t,n,r,o){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=o}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const _E=(e,t)=>{if(nu(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Ai(e.common.issues);return this._error=n,this._error}}};function Le(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:o}:{errorMap:(a,l)=>{const{message:c}=e;return a.code==="invalid_enum_value"?{message:c??l.defaultError}:typeof l.data>"u"?{message:c??r??l.defaultError}:a.code!=="invalid_type"?{message:l.defaultError}:{message:c??n??l.defaultError}},description:o}}class Qe{get description(){return this._def.description}_getType(t){return ra(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:ra(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Js,ctx:{common:t.parent.common,data:t.data,parsedType:ra(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(sy(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:(n==null?void 0:n.async)??!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ra(t)},o=this._parseSync({data:t,path:r.path,parent:r});return _E(r,o)}"~validate"(t){var r,o;const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ra(t)};if(!this["~standard"].async)try{const i=this._parseSync({data:t,path:[],parent:n});return nu(i)?{value:i.value}:{issues:n.common.issues}}catch(i){(o=(r=i==null?void 0:i.message)==null?void 0:r.toLowerCase())!=null&&o.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(i=>nu(i)?{value:i.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:ra(t)},o=this._parse({data:t,path:r.path,parent:r}),i=await(sy(o)?o:Promise.resolve(o));return _E(r,i)}refine(t,n){const r=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,i)=>{const a=t(o),l=()=>i.addIssue({code:q.custom,...r(o)});
vendor: 5,855 bytes, line 1421
1421return typeof Promise<"u"&&a instanceof Promise?a.then(c=>c?!0:(l(),!1)):a?!0:(l(),!1)})}refinement(t,n){return this._refinement((r,o)=>t(r)?!0:(o.addIssue(typeof n=="function"?n(r,o):n),!1))}_refinement(t){return new ru({schema:this,typeName:Ee.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return Wa.create(this,this._def)}nullable(){return ou.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Fo.create(this)}promise(){return ay.create(this,this._def)}or(t){return oy.create([this,t],this._def)}and(t){return iy.create(this,t,this._def)}transform(t){return new ru({...Le(this._def),schema:this,typeName:Ee.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new A1({...Le(this._def),innerType:this,defaultValue:n,typeName:Ee.ZodDefault})}brand(){return new tie({typeName:Ee.ZodBranded,type:this,...Le(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new R1({...Le(this._def),innerType:this,catchValue:n,typeName:Ee.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return xS.create(this,t)}readonly(){return P1.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const zoe=/^c[^\s-]{8,}$/i,Ioe=/^[0-9a-z]+$/,Ooe=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Doe=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Woe=/^[a-z0-9_-]{21}$/i,$oe=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Loe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Moe=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Boe="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Z0;const Foe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Hoe=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Voe=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Uoe=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Goe=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Yoe=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,f8="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",qoe=new RegExp(`^${f8}$`);function m8(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function Koe(e){return new RegExp(`^${m8(e)}$`)}function Zoe(e){let t=`${f8}T${m8(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function Qoe(e,t){return!!((t==="v4"||!t)&&Foe.test(e)||(t==="v6"||!t)&&Voe.test(e))}function Joe(e,t){if(!$oe.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),o=JSON.parse(atob(r));return!(typeof o!="object"||o===null||"typ"in o&&(o==null?void 0:o.typ)!=="JWT"||!
vendor: 7,200 bytes, line 1421
1421o.alg||t&&o.alg!==t)}catch{return!1}}function Xoe(e,t){return!!((t==="v4"||!t)&&Hoe.test(e)||(t==="v6"||!t)&&Uoe.test(e))}class ka extends Qe{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==le.string){const i=this._getOrReturnCtx(t);return ne(i,{code:q.invalid_type,expected:le.string,received:i.parsedType}),Ne}const r=new Js;let o;for(const i of this._def.checks)if(i.kind==="min")t.data.length<i.value&&(o=this._getOrReturnCtx(t,o),ne(o,{code:q.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="max")t.data.length>i.value&&(o=this._getOrReturnCtx(t,o),ne(o,{code:q.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const a=t.data.length>i.value,l=t.data.length<i.value;(a||l)&&(o=this._getOrReturnCtx(t,o),a?ne(o,{code:q.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}):l&&ne(o,{code:q.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,message:i.message}),r.dirty())}else if(i.kind==="email")Moe.test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"email",code:q.invalid_string,message:i.message}),r.dirty());else if(i.kind==="emoji")Z0||(Z0=new RegExp(Boe,"u")),Z0.test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"emoji",code:q.invalid_string,message:i.message}),r.dirty());else if(i.kind==="uuid")Doe.test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"uuid",code:q.invalid_string,message:i.message}),r.dirty());else if(i.kind==="nanoid")Woe.test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"nanoid",code:q.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid")zoe.test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"cuid",code:q.invalid_string,message:i.message}),r.dirty());else if(i.kind==="cuid2")Ioe.test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"cuid2",code:q.invalid_string,message:i.message}),r.dirty());else if(i.kind==="ulid")Ooe.test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"ulid",code:q.invalid_string,message:i.message}),r.dirty());else if(i.kind==="url")try{new URL(t.data)}catch{o=this._getOrReturnCtx(t,o),ne(o,{validation:"url",code:q.invalid_string,message:i.message}),r.dirty()}else i.kind==="regex"?(i.regex.lastIndex=0,i.regex.test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"regex",code:q.invalid_string,message:i.message}),r.dirty())):i.kind==="trim"?t.data=t.data.trim():i.kind==="includes"?t.data.includes(i.value,i.position)||(o=this._getOrReturnCtx(t,o),ne(o,{code:q.invalid_string,validation:{includes:i.value,position:i.position},message:i.message}),r.dirty()):i.kind==="toLowerCase"?t.data=t.data.toLowerCase():i.kind==="toUpperCase"?t.data=t.data.toUpperCase():i.kind==="startsWith"?t.data.startsWith(i.value)||(o=this._getOrReturnCtx(t,o),ne(o,{code:q.invalid_string,validation:{startsWith:i.value},message:i.message}),r.dirty()):i.kind==="endsWith"?t.data.endsWith(i.value)||(o=this._getOrReturnCtx(t,o),ne(o,{code:q.invalid_string,validation:{endsWith:i.value},message:i.message}),r.dirty()):i.kind==="datetime"?Zoe(i).test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{code:q.invalid_string,validation:"datetime",message:i.message}),r.dirty()):i.kind==="date"?qoe.test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{code:q.invalid_string,validation:"date",message:i.message}),r.dirty()):i.kind==="time"?Koe(i).test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{code:q.invalid_string,validation:"time",message:i.message}),r.dirty()):i.kind==="duration"?Loe.test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"duration",code:q.invalid_string,message:i.message}),r.dirty()):i.kind==="ip"?Qoe(t.data,i.version)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"ip",code:q.invalid_string,message:i.message}),r.dirty()):i.kind==="jwt"?Joe(t.data,i.alg)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"jwt",code:q.invalid_string,message:i.message}),r.dirty()):i.kind==="cidr"?Xoe(t.data,i.version)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"cidr",code:q.invalid_string,message:i.message}),r.dirty()):i.kind==="base64"?Goe.test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"base64",code:q.invalid_string,message:i.message}),r.dirty()):i.kind==="base64url"?Yoe.test(t.data)||(o=this._getOrReturnCtx(t,o),ne(o,{validation:"base64url",code:q.invalid_string,message:i.message}),r.dirty()):nt.assertNever(i);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(o=>t.test(o),{validation:n,code:q.invalid_string,...de.errToObj(r)})}_addCheck(t){return new ka({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...de.errToObj(t)})}url(t){return this._addCheck({kind:"url",...de.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...de.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...de.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...de.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...de.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...de.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...de.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...de.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...de.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...de.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...de.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...de.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(t==null?void 0:t.offset)??!1,local:(t==null?void 0:t.local)??!1,...de.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...de.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...de.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...de.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...de.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...de.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...de.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...de.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...de.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...de.errToObj(n)})}nonempty(t){return this.min(1,de.errToObj(t))}trim(){return new ka({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ka({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ka({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}
vendor: 4,666 bytes, line 1421
1421get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}ka.create=e=>new ka({checks:[],typeName:Ee.ZodString,coerce:(e==null?void 0:e.coerce)??!1,...Le(e)});function eie(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r,i=Number.parseInt(e.toFixed(o).replace(".","")),a=Number.parseInt(t.toFixed(o).replace(".",""));return i%a/10**o}class Dp extends Qe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==le.number){const i=this._getOrReturnCtx(t);return ne(i,{code:q.invalid_type,expected:le.number,received:i.parsedType}),Ne}let r;const o=new Js;for(const i of this._def.checks)i.kind==="int"?nt.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),ne(r,{code:q.invalid_type,expected:"integer",received:"float",message:i.message}),o.dirty()):i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),ne(r,{code:q.too_small,minimum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),o.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),ne(r,{code:q.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),o.dirty()):i.kind==="multipleOf"?eie(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),ne(r,{code:q.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),ne(r,{code:q.not_finite,message:i.message}),o.dirty()):nt.assertNever(i);return{status:o.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,de.toString(n))}gt(t,n){return this.setLimit("min",t,!1,de.toString(n))}lte(t,n){return this.setLimit("max",t,!0,de.toString(n))}lt(t,n){return this.setLimit("max",t,!1,de.toString(n))}setLimit(t,n,r,o){return new Dp({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:de.toString(o)}]})}_addCheck(t){return new Dp({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:de.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:de.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:de.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:de.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:de.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:de.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:de.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:de.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:de.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&nt.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}
vendor: 4,125 bytes, line 1421
1421}Dp.create=e=>new Dp({checks:[],typeName:Ee.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...Le(e)});class Wp extends Qe{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==le.bigint)return this._getInvalidInput(t);let r;const o=new Js;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.data<i.value:t.data<=i.value)&&(r=this._getOrReturnCtx(t,r),ne(r,{code:q.too_small,type:"bigint",minimum:i.value,inclusive:i.inclusive,message:i.message}),o.dirty()):i.kind==="max"?(i.inclusive?t.data>i.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),ne(r,{code:q.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),o.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),ne(r,{code:q.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):nt.assertNever(i);return{status:o.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return ne(n,{code:q.invalid_type,expected:le.bigint,received:n.parsedType}),Ne}gte(t,n){return this.setLimit("min",t,!0,de.toString(n))}gt(t,n){return this.setLimit("min",t,!1,de.toString(n))}lte(t,n){return this.setLimit("max",t,!0,de.toString(n))}lt(t,n){return this.setLimit("max",t,!1,de.toString(n))}setLimit(t,n,r,o){return new Wp({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:de.toString(o)}]})}_addCheck(t){return new Wp({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:de.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:de.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:de.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:de.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:de.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}Wp.create=e=>new Wp({checks:[],typeName:Ee.ZodBigInt,coerce:(e==null?void 0:e.coerce)??!1,...Le(e)});class C1 extends Qe{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==le.boolean){const r=this._getOrReturnCtx(t);return ne(r,{code:q.invalid_type,expected:le.boolean,received:r.parsedType}),Ne}return Cr(t.data)}}C1.create=e=>new C1({typeName:Ee.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...Le(e)});class ry extends Qe{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==le.date){const i=this._getOrReturnCtx(t);return ne(i,{code:q.invalid_type,expected:le.date,received:i.parsedType}),Ne}if(Number.isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return ne(i,{code:q.invalid_date}),Ne}const r=new Js;let o;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()<i.value&&(o=this._getOrReturnCtx(t,o),ne(o,{code:q.too_small,message:i.message,inclusive:!0,exact:!1,minimum:i.value,type:"date"}),r.dirty()):i.kind==="max"?t.data.getTime()>i.value&&(o=this._getOrReturnCtx(t,o),ne(o,{code:q.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):nt.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new ry({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:de.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:de.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}ry.create=e=>new ry({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:Ee.ZodD
vendor: 8,529 bytes, line 1421
1421ate,...Le(e)});class AE extends Qe{_parse(t){if(this._getType(t)!==le.symbol){const r=this._getOrReturnCtx(t);return ne(r,{code:q.invalid_type,expected:le.symbol,received:r.parsedType}),Ne}return Cr(t.data)}}AE.create=e=>new AE({typeName:Ee.ZodSymbol,...Le(e)});class RE extends Qe{_parse(t){if(this._getType(t)!==le.undefined){const r=this._getOrReturnCtx(t);return ne(r,{code:q.invalid_type,expected:le.undefined,received:r.parsedType}),Ne}return Cr(t.data)}}RE.create=e=>new RE({typeName:Ee.ZodUndefined,...Le(e)});class PE extends Qe{_parse(t){if(this._getType(t)!==le.null){const r=this._getOrReturnCtx(t);return ne(r,{code:q.invalid_type,expected:le.null,received:r.parsedType}),Ne}return Cr(t.data)}}PE.create=e=>new PE({typeName:Ee.ZodNull,...Le(e)});class zE extends Qe{constructor(){super(...arguments),this._any=!0}_parse(t){return Cr(t.data)}}zE.create=e=>new zE({typeName:Ee.ZodAny,...Le(e)});class IE extends Qe{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Cr(t.data)}}IE.create=e=>new IE({typeName:Ee.ZodUnknown,...Le(e)});class Va extends Qe{_parse(t){const n=this._getOrReturnCtx(t);return ne(n,{code:q.invalid_type,expected:le.never,received:n.parsedType}),Ne}}Va.create=e=>new Va({typeName:Ee.ZodNever,...Le(e)});class OE extends Qe{_parse(t){if(this._getType(t)!==le.undefined){const r=this._getOrReturnCtx(t);return ne(r,{code:q.invalid_type,expected:le.void,received:r.parsedType}),Ne}return Cr(t.data)}}OE.create=e=>new OE({typeName:Ee.ZodVoid,...Le(e)});class Fo extends Qe{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),o=this._def;if(n.parsedType!==le.array)return ne(n,{code:q.invalid_type,expected:le.array,received:n.parsedType}),Ne;if(o.exactLength!==null){const a=n.data.length>o.exactLength.value,l=n.data.length<o.exactLength.value;(a||l)&&(ne(n,{code:a?q.too_big:q.too_small,minimum:l?o.exactLength.value:void 0,maximum:a?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),r.dirty())}if(o.minLength!==null&&n.data.length<o.minLength.value&&(ne(n,{code:q.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),r.dirty()),o.maxLength!==null&&n.data.length>o.maxLength.value&&(ne(n,{code:q.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((a,l)=>o.type._parseAsync(new Ha(n,a,n.path,l)))).then(a=>Js.mergeArray(r,a));const i=[...n.data].map((a,l)=>o.type._parseSync(new Ha(n,a,n.path,l)));return Js.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new Fo({...this._def,minLength:{value:t,message:de.toString(n)}})}max(t,n){return new Fo({...this._def,maxLength:{value:t,message:de.toString(n)}})}length(t,n){return new Fo({...this._def,exactLength:{value:t,message:de.toString(n)}})}nonempty(t){return this.min(1,t)}}Fo.create=(e,t)=>new Fo({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ee.ZodArray,...Le(t)});function Kc(e){if(e instanceof Mt){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Wa.create(Kc(r))}return new Mt({...e._def,shape:()=>t})}else return e instanceof Fo?new Fo({...e._def,type:Kc(e.element)}):e instanceof Wa?Wa.create(Kc(e.unwrap())):e instanceof ou?ou.create(Kc(e.unwrap())):e instanceof tc?tc.create(e.items.map(t=>Kc(t))):e}class Mt extends Qe{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=nt.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==le.object){const d=this._getOrReturnCtx(t);return ne(d,{code:q.invalid_type,expected:le.object,received:d.parsedType}),Ne}const{status:r,ctx:o}=this._processInputParams(t),{shape:i,keys:a}=this._getCached(),l=[];if(!(this._def.catchall instanceof Va&&this._def.unknownKeys==="strip"))for(const d in o.data)a.includes(d)||l.push(d);const c=[];for(const d of a){const u=i[d],p=o.data[d];c.push({key:{status:"valid",value:d},value:u._parse(new Ha(o,p,o.path,d)),alwaysSet:d in o.data})}if(this._def.catchall instanceof Va){const d=this._def.unknownKeys;if(d==="passthrough")for(const u of l)c.push({key:{status:"valid",value:u},value:{status:"valid",value:o.data[u]}});else if(d==="strict")l.length>0&&(ne(o,{code:q.unrecognized_keys,keys:l}),r.dirty());else if(d!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const d=this._def.catchall;for(const u of l){const p=o.data[u];c.push({key:{status:"valid",value:u},value:d._parse(new Ha(o,p,o.path,u)),alwaysSet:u in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const d=[];for(const u of c){const p=await u.key,f=await u.value;d.push({key:p,value:f,alwaysSet:u.alwaysSet})}return d}).then(d=>Js.mergeObjectSync(r,d)):Js.mergeObjectSync(r,c)}get shape(){return this._def.shape()}strict(t){return de.errToObj,new Mt({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var i,a;const o=((a=(i=this._def).errorMap)==null?void 0:a.call(i,n,r).message)??r.defaultError;return n.code==="unrecognized_keys"?{message:de.errToObj(t).message??o}:{message:o}}}:{}})}strip(){return new Mt({...this._def,unknownKeys:"strip"})}passthrough(){return new Mt({...this._def,unknownKeys:"passthrough"})}extend(t){return new Mt({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Mt({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Ee.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Mt({...this._def,catchall:t})}pick(t){const n={};for(const r of nt.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Mt({...this._def,shape:()=>n})}omit(t){const n={};for(const r of nt.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new Mt({...this._def,shape:()=>n})}deepPartial(){return Kc(this)}partial(t){const n={};for(const r of nt.objectKeys(this.shape)){const o=this.shape[r];t&&!t[r]?n[r]=o:n[r]=o.optional()}return new Mt({...this._def,shape:()=>n})}required(t){const n={};for(const r of nt.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof Wa;)i=i._def.innerType;n[r]=i}return new Mt({...this._def,shape:()=>n})}keyof(){return g8(nt.objectKeys(this.shape))}}Mt.create=(e,t)=>new Mt({shape:()=>e,unknownKeys:"strip",catchall:Va.create(),typeName:Ee.ZodObject,...Le(t)});Mt.strictCreate=(e,t)=>new Mt({shape:()=>e,unknownKeys:"strict",catchall:Va.create(),typeName:Ee.ZodObject,...Le(t)});Mt.lazycreate=(e,t)=>new Mt({shape:e,unknownKeys:"strip",catchall:Va.create(),typeName:Ee.ZodObject,...Le(t)});class oy extends Qe{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function o(i){for(const l of i)if(l.result.status==="valid")return l.result;for(const l of i)if(l.result.status==="dirty")return n.common.issues.push(...l.ctx.common.issues),l.result;const a=i.map(l=>new Ai(l.ctx.common.issues));return ne(n,{code:q.invalid_union,unionErrors:a}),Ne}if(n.common.async)return Promise.all(r.map(async i=>{const a={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:a}),ctx:a}})).then(o);{let i;const a=[];for(const c of r){const d={...n,common:{...n.common,issues:[]},parent:null},u=c._parseSync({data:n.data,path:n.path,parent:d});if(u.status==="valid")return u;u.status==="dirty"&&!i&&(i={result:u,ctx:d}),d.common.issues.length&&a.push(d.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const l=a.map(c=>new Ai(c));return ne(n,{code:q.invalid_union,unionErrors:l}),Ne}}get options(){return this._def.options}}oy.create=(e,t)=>new oy({options:e,typeName:Ee.ZodUnion,...Le(t)});function _1(e,t){const n=ra(e),r=ra(t);if(e===t)return{valid:!0,data:e};if(n===le.object&&r===le.object){const o=nt.objectKeys(t),i=nt.objectKeys(e).filter(l=>o.indexOf(l)!==-1),a={...e,...t};for(const l of i){const c=_1(e[l],t[l]);if(!c.valid)return{valid:!1};a[l]=c.data}return{valid:!0,data:a}}else if(n===le.array&&r===le.array){if(e.length!==t.length)return{valid:!1};const o=[];for(let i=0;i<e.length;i++){const a=e[i],l=t[i],c=_1(a,l);if(!c.valid)return{valid:!1};o.push(c.data)}return{valid:!0,data:o}}else return n===le.date&&r===le.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class iy extends Qe{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),o=(i,a)=>
vendor: 2,168 bytes, line 1421
1421{if(EE(i)||EE(a))return Ne;const l=_1(i.value,a.value);return l.valid?((CE(i)||CE(a))&&n.dirty(),{status:n.value,value:l.data}):(ne(r,{code:q.invalid_intersection_types}),Ne)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,a])=>o(i,a)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}iy.create=(e,t,n)=>new iy({left:e,right:t,typeName:Ee.ZodIntersection,...Le(n)});class tc extends Qe{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==le.array)return ne(r,{code:q.invalid_type,expected:le.array,received:r.parsedType}),Ne;if(r.data.length<this._def.items.length)return ne(r,{code:q.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Ne;!this._def.rest&&r.data.length>this._def.items.length&&(ne(r,{code:q.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((a,l)=>{const c=this._def.items[l]||this._def.rest;return c?c._parse(new Ha(r,a,r.path,l)):null}).filter(a=>!!a);return r.common.async?Promise.all(i).then(a=>Js.mergeArray(n,a)):Js.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new tc({...this._def,rest:t})}}tc.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new tc({items:e,typeName:Ee.ZodTuple,rest:null,...Le(t)})};class DE extends Qe{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==le.map)return ne(r,{code:q.invalid_type,expected:le.map,received:r.parsedType}),Ne;const o=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map(([l,c],d)=>({key:o._parse(new Ha(r,l,r.path,[d,"key"])),value:i._parse(new Ha(r,c,r.path,[d,"value"]))}));if(r.common.async){const l=new Map;return Promise.resolve().then(async()=>{for(const c of a){const d=await c.key,u=await c.value;if(d.status==="aborted"||u.status==="aborted")return Ne;
vendor: 6,159 bytes, line 1421
1421(d.status==="dirty"||u.status==="dirty")&&n.dirty(),l.set(d.value,u.value)}return{status:n.value,value:l}})}else{const l=new Map;for(const c of a){const d=c.key,u=c.value;if(d.status==="aborted"||u.status==="aborted")return Ne;(d.status==="dirty"||u.status==="dirty")&&n.dirty(),l.set(d.value,u.value)}return{status:n.value,value:l}}}}DE.create=(e,t,n)=>new DE({valueType:t,keyType:e,typeName:Ee.ZodMap,...Le(n)});class $p extends Qe{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==le.set)return ne(r,{code:q.invalid_type,expected:le.set,received:r.parsedType}),Ne;const o=this._def;o.minSize!==null&&r.data.size<o.minSize.value&&(ne(r,{code:q.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),n.dirty()),o.maxSize!==null&&r.data.size>o.maxSize.value&&(ne(r,{code:q.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const i=this._def.valueType;function a(c){const d=new Set;for(const u of c){if(u.status==="aborted")return Ne;u.status==="dirty"&&n.dirty(),d.add(u.value)}return{status:n.value,value:d}}const l=[...r.data.values()].map((c,d)=>i._parse(new Ha(r,c,r.path,d)));return r.common.async?Promise.all(l).then(c=>a(c)):a(l)}min(t,n){return new $p({...this._def,minSize:{value:t,message:de.toString(n)}})}max(t,n){return new $p({...this._def,maxSize:{value:t,message:de.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}$p.create=(e,t)=>new $p({valueType:e,minSize:null,maxSize:null,typeName:Ee.ZodSet,...Le(t)});class WE extends Qe{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}WE.create=(e,t)=>new WE({getter:e,typeName:Ee.ZodLazy,...Le(t)});class $E extends Qe{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return ne(n,{received:n.data,code:q.invalid_literal,expected:this._def.value}),Ne}return{status:"valid",value:t.data}}get value(){return this._def.value}}$E.create=(e,t)=>new $E({value:e,typeName:Ee.ZodLiteral,...Le(t)});function g8(e,t){return new su({values:e,typeName:Ee.ZodEnum,...Le(t)})}class su extends Qe{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return ne(n,{expected:nt.joinValues(r),received:n.parsedType,code:q.invalid_type}),Ne}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return ne(n,{received:n.data,code:q.invalid_enum_value,options:r}),Ne}return Cr(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return su.create(t,{...this._def,...n})}exclude(t,n=this._def){return su.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}su.create=g8;class LE extends Qe{_parse(t){const n=nt.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==le.string&&r.parsedType!==le.number){const o=nt.objectValues(n);return ne(r,{expected:nt.joinValues(o),received:r.parsedType,code:q.invalid_type}),Ne}if(this._cache||(this._cache=new Set(nt.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const o=nt.objectValues(n);return ne(r,{received:r.data,code:q.invalid_enum_value,options:o}),Ne}return Cr(t.data)}get enum(){return this._def.values}}LE.create=(e,t)=>new LE({values:e,typeName:Ee.ZodNativeEnum,...Le(t)});class ay extends Qe{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==le.promise&&n.common.async===!1)return ne(n,{code:q.invalid_type,expected:le.promise,received:n.parsedType}),Ne;const r=n.parsedType===le.promise?n.data:Promise.resolve(n.data);return Cr(r.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}ay.create=(e,t)=>new ay({type:e,typeName:Ee.ZodPromise,...Le(t)});class ru extends Qe{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ee.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),o=this._def.effect||null,i={addIssue:a=>{ne(r,a),a.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),o.type==="preprocess"){const a=o.transform(r.data,i);if(r.common.async)return Promise.resolve(a).then(async l=>{if(n.value==="aborted")return Ne;const c=await this._def.schema._parseAsync({data:l,path:r.path,parent:r});return c.status==="aborted"?Ne:c.status==="dirty"||n.value==="dirty"?Ah(c.value):c});{if(n.value==="aborted")return Ne;const l=this._def.schema._parseSync({data:a,path:r.path,parent:r});return l.status==="aborted"?Ne:l.status==="dirty"||n.value==="dirty"?Ah(l.value):l}}if(o.type==="refinement"){const a=l=>{const c=o.refinement(l,i);if(r.common.async)return Promise.resolve(c);if(c instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return l};if(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return l.status==="aborted"?Ne:(l.status==="dirty"&&n.dirty(),a(l.value),{status:n.value,value:l.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>l.status==="aborted"?Ne:(l.status==="dirty"&&n.dirty(),a(l.value).then(()=>({status:n.value,value:l.value}))))}if(o.type==="transform")if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!nu(a))return Ne;const l=o.transform(a.value,i);if(l instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:l}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>nu(a)?Promise.resolve(o.transform(a.value,i)).then(l=>({status:n.value,value:l})):Ne);nt.assertNever(o)}}
vendor: 4,983 bytes, line 1421
1421ru.create=(e,t,n)=>new ru({schema:e,typeName:Ee.ZodEffects,effect:t,...Le(n)});ru.createWithPreprocess=(e,t,n)=>new ru({schema:t,effect:{type:"preprocess",transform:e},typeName:Ee.ZodEffects,...Le(n)});class Wa extends Qe{_parse(t){return this._getType(t)===le.undefined?Cr(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Wa.create=(e,t)=>new Wa({innerType:e,typeName:Ee.ZodOptional,...Le(t)});class ou extends Qe{_parse(t){return this._getType(t)===le.null?Cr(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}ou.create=(e,t)=>new ou({innerType:e,typeName:Ee.ZodNullable,...Le(t)});class A1 extends Qe{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===le.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}A1.create=(e,t)=>new A1({innerType:e,typeName:Ee.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...Le(t)});class R1 extends Qe{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return sy(o)?o.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Ai(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new Ai(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}R1.create=(e,t)=>new R1({innerType:e,typeName:Ee.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...Le(t)});class ME extends Qe{_parse(t){if(this._getType(t)!==le.nan){const r=this._getOrReturnCtx(t);return ne(r,{code:q.invalid_type,expected:le.nan,received:r.parsedType}),Ne}return{status:"valid",value:t.data}}}ME.create=e=>new ME({typeName:Ee.ZodNaN,...Le(e)});class tie extends Qe{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class xS extends Qe{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?Ne:i.status==="dirty"?(n.dirty(),Ah(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?Ne:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(t,n){return new xS({in:t,out:n,typeName:Ee.ZodPipeline})}}class P1 extends Qe{_parse(t){const n=this._def.innerType._parse(t),r=o=>(nu(o)&&(o.value=Object.freeze(o.value)),o);return sy(n)?n.then(o=>r(o)):r(n)}unwrap(){return this._def.innerType}}P1.create=(e,t)=>new P1({innerType:e,typeName:Ee.ZodReadonly,...Le(t)});Mt.lazycreate;var Ee;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Ee||(Ee={}));const Lc=ka.create,BE=C1.create;Va.create;Fo.create;const nie=Mt.create;Mt.strictCreate;oy.create;iy.create;tc.create;su.create;ay.create;Wa.create;ou.create;const sie=RP,rie=PP,y8=x.forwardRef(({className:e,...t},n)=>s.jsx(lS,{ref:n,className:Ce("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));y8.displayName=lS.displayName;const x8=x.forwardRef(({className:e,children:t,...n},r)=>s.jsxs(rie,{children:[s.jsx(y8,{}),s.jsxs(cS,{ref:r,className:Ce("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rou
1421nded-lg",e),...n,children:[t,s.jsxs(hS,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[s.jsx(ef,{className:"h-4 w-4"}),s.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));x8.displayName=cS.displayName;const v8=({className:e,...t})=>s.jsx("div",{className:Ce("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});v8.displayName="DialogHeader";const b8=({className:e,...t})=>s.jsx("div",{className:Ce("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});b8.displayName="DialogFooter";const w8=x.forwardRef(({className:e,...t},n)=>s.jsx(dS,{ref:n,className:Ce("text-lg font-semibold leading-none tracking-tight",e),...t}));w8.displayName=dS.displayName;const oie=x.forwardRef(({className:e,...t},n)=>s.jsx(uS,{ref:n,className:Ce("text-sm text-muted-foreground",e),...t}));oie.displayName=uS.displayName;const iie=60*60*24*365;async function aie(e){var a;const t=((a=e.name.split(".").pop())==null?void 0:a.toLowerCase())||"jpg",n=`${crypto.randomUUID()}.${t}`,{error:r}=await tn.storage.from("event-images").upload(n,e,{cacheControl:"3600",upsert:!1,contentType:e.type});if(r)throw r;const{data:o,error:i}=await tn.storage.from("event-images").createSignedUrl(n,iie);if(i||!o)throw i??new Error("Failed to sign URL");return o.signedUrl}const lie=nie({name:Lc().min(1,"Required"),location:Lc().optional(),start_date:Lc().min(1,"Required"),end_date:Lc().optional(),note:Lc().optional(),event_url:Lc().optional(),we_are_presenting:BE(),include_in_newsletter:BE()}),cie=({open:e,onOpenChange:t,event:n,onSubmit:r,submitting:o})=>{const{register:i,handleSubmit:a,reset:l,setValue:c,watch:d,getValues:u,formState:{errors:p}}=Toe({resolver:_oe(lie),defaultValues:{name:"",location:"",start_date:"",end_date:"",note:"",event_url:"",we_are_presenting:!1,include_in_newsletter:!1}}),[f,h]=x.useState(""),[g,m]=x.useState(!1),[b,v]=x.useState(null),[y,w]=x.useState(!1);x.useEffect(()=>{e&&(l({name:(n==null?void 0:n.name)??"",location:(n==null?void 0:n.location)??"",start_date:(n==null?void 0:n.start_date)??"",end_date:(n==null?void 0:n.end_date)??"",note:(n==null?void 0:n.note)??"",event_url:(n==null?void 0:n.event_url)??"",we_are_presenting:(n==null?void 0:n.we_are_presenting)??!1,include_in_newsletter:(n==null?void 0:n.include_in_newsletter)??!1}),v((n==null?void 0:n.image_url)??null),h(""))},[e,n,l]);const j=d("we_are_presenting"),S=d("include_in_newsletter"),N=async()=>{if(f.trim()){m(!0);try{const{data:C,error:R}=await tn.functions.invoke("parse-event-paste",{body:{text:f}});if(R)throw R;const L=u(),I=(F,D)=>{D&&!L[F]&&c(F,D,{shouldValidate:!0})};I("name",C==null?void 0:C.name),I("location",C==null?void 0:C.location),I("start_date",C==null?void 0:C.start_date),I("end_date",C==null?void 0:C.end_date),I("event_url",C==null?void 0:C.event_url),$f.success("Parsed — review and edit before saving.")}catch(C){$f.error((C==null?void 0:C.message)??"Failed to parse")}finally{m(!1)}}},k=async C=>{w(!0);try{const R=await aie(C);v(R),$f.success("Image uploaded")}catch(R){$f.error((R==null?void 0:R.message)??"Upload failed")}finally{w(!1)}},T=a(async C=>{var R,L,I,F;await r({name:C.name,location:(R=C.location)!=null&&R.trim()?C.location:null,start_date:C.start_date,end_date:(L=C.end_date)!=null&&L.trim()?C.end_date:null,note:(I=C.note)!=null&&I.trim()?C.note.trim():null,event_url:(F=C.event_url)!=null&&F.trim()?C.event_url:null,we_are_presenting:C.we_are_presenting,include_in_newsletter:C.include_in_newsletter,image_url:b})});return s.jsx(sie,{open:e,onOpenChange:t,children:s.jsxs(x8,{className:"max-h-[90vh] overflow-y-auto",children:[s.jsx(v8,{children:s.jsx(w8,{children:n?"Edit event":"New event"})}),s.jsxs("form",{onSubmit:T,className:"space-y-3",children:[s.jsxs("div",{className:"space-y-2 rounded-md border border-dashed p-3 bg-muted/30",children:[s.jsx(dt,{htmlFor:"paste",className:"text-xs uppercase tracking-wide text-muted-foreground",children:"Paste event details (optional)"}),s.jsx(Yy,{id:"paste",rows:4,placeholder:"Paste an email, web page, or invite — AI will fill in the fields below.",value:f,onChange:C=>h(C.target.value)}),s.jsxs(ms,{type:"button",size:"sm",variant:"secondary",onClick:N,disabled:g||!f.trim(),children:[g?s.jsx(nk,{className:"w-4 h-4 mr-2 animate-spin"}):s.jsx(YD,{className:"w-4 h-4 mr-2"}),g?"Parsing…":"Parse with AI"]})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(dt,{htmlFor:"name",children:"Name"}),s.jsx(fn,{id:"name",...i("name")}
1421),p.name&&s.jsx("p",{className:"text-xs text-destructive",children:p.name.message})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(dt,{htmlFor:"location",children:"Location"}),s.jsx(fn,{id:"location",placeholder:"City, ST",...i("location")})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsx(dt,{htmlFor:"start_date",children:"Start date"}),s.jsx(fn,{id:"start_date",type:"date",...i("start_date")}),p.start_date&&s.jsx("p",{className:"text-xs text-destructive",children:p.start_date.message})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(dt,{htmlFor:"end_date",children:"End date"}),s.jsx(fn,{id:"end_date",type:"date",...i("end_date")})]})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(dt,{htmlFor:"note",children:"Note / discount code"}),s.jsx(fn,{id:"note",placeholder:"Use code 26SBIR20 for 20% off registration",...i("note")})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(dt,{htmlFor:"event_url",children:"Event URL"}),s.jsx(fn,{id:"event_url",placeholder:"https://…",...i("event_url")})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(dt,{children:"Event image (optional)"}),b?s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("img",{src:b,alt:"Event",className:"w-24 h-24 object-cover rounded border"}),s.jsxs(ms,{type:"button",variant:"ghost",size:"sm",onClick:()=>v(null),children:[s.jsx(ef,{className:"w-4 h-4 mr-1"})," Remove"]})]}):s.jsxs("label",{className:"inline-flex items-center gap-2 text-sm cursor-pointer rounded border border-dashed px-3 py-2 hover:bg-muted/50",children:[y?s.jsx(nk,{className:"w-4 h-4 animate-spin"}):s.jsx(KD,{className:"w-4 h-4"}),s.jsx("span",{children:y?"Uploading…":"Upload image"}),s.jsx("input",{type:"file",accept:"image/*",className:"hidden",disabled:y,onChange:C=>{var L;const R=(L=C.target.files)==null?void 0:L[0];R&&k(R),C.target.value=""}})]})]}),s.jsxs("div",{className:"flex items-center gap-2 pt-1",children:[s.jsx(Op,{id:"we_are_presenting",checked:j,onCheckedChange:C=>c("we_are_presenting",!!C)}),s.jsx(dt,{htmlFor:"we_are_presenting",className:"cursor-pointer",children:"We're presenting"})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Op,{id:"include_in_newsletter",checked:S,onCheckedChange:C=>c("include_in_newsletter",!!C)}),s.jsx(dt,{htmlFor:"include_in_newsletter",className:"cursor-pointer",children:"Include in newsletter"})]}),s.jsxs(b8,{children:[s.jsx(ms,{type:"button",variant:"outline",onClick:()=>t(!1),children:"Cancel"}),s.jsx(ms,{type:"submit",disabled:o,children:o?"Saving…":"Save"})]})]})]})})},die=()=>{const{data:e=[],isLoading:t}=Uj(),n=NZ(),r=EZ(),o=CZ(),{toast:i}=cu(),[a,l]=x.useState(!1),[c,d]=x.useState(null),[u,p]=x.useState(null),f=async m=>{try{c?(await r.mutateAsync({id:c.id,patch:m}),i({title:"Event updated"})):(await n.mutateAsync(m),i({title:"Event created"})),l(!1),d(null)}catch(b){const v=b instanceof Error?b.message:"Save failed";i({title:"Save failed",description:v,variant:"destructive"})}},h=async(m,b)=>{try{await r.mutateAsync({id:m,patch:b})}catch(v){const y=v instanceof Error?v.message:"Update failed";i({title:"Update failed",description:y,variant:"destructive"})}},g=async()=>{await tn.auth.signOut(),window.location.href="/admin/login"};return s.jsxs(s.Fragment,{children:[s.jsx(Ve,{title:"Manage events",description:"Internal admin events manager",path:"/events/manage",noindex:!0}),s.jsx("div",{className:"min-h-screen bg-background p-6",children:s.jsxs("div",{className:"max-w-7xl mx-auto",children:[s.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-3 mb-6",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-semibold",children:"Events"}),s.jsxs("p",{className:"text-sm text-muted-foreground",children:["Source of truth for the public Events page and the newsletter render."," ",s.jsx(et,{to:"/events/newsletter",className:"underline",children:"Newsletter view →"})]})]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(ms,{variant:"outline",size:"sm",onClick:g,children:"Sign out"}),s.jsxs(ms,{onClick:()=>{d(null),l(!0)},children:[s.jsx(VD,{className:"w-4 h-4"})," New event"]})]})]}),s.jsx("div",{className:"rounded-lg border bg-white overflow-hidden",children:s.jsxs(uP,{children:[s.jsx(hP,{children:s.jsxs(_h,{children:[s.jsx(ii,{children:"Name"}),s.jsx(ii,{children:"Location"}),s.jsx(ii,{children:"Start"}),s.jsx(ii,{children:"End"}),s.jsx(ii,{className:"text-center",children:"Presenting"}),s.jsx(ii,{className:"text-center",children:"In newsletter"}),s.jsx(ii,{children:"URL"}),s.jsx(ii,{className:"w-24 text-right",children:"Actions"})]})}),s.jsxs(pP,{children:[t&&s.jsx(_h,{children:s.jsx(Mr,{colSpan:8,className:"text-center text-muted-foreground",children:"Loading…"})}),!t&&e.length===0&&s.jsx(_h,{children:s.jsx(Mr,{colSpan:8,className:"text-center text-muted-foreground",children:"No events yet."})}),e.map(m=>s.jsxs(_h,{children:[s.jsx(Mr,{className:"font-medium",children:m.name}),s.jsx(Mr,{className:"text-sm text-muted-foreground",children:m.location??"—"}),s.jsx(Mr,{className:"text-sm whitespace-nowrap",children:m.start_date}),s.jsx(Mr,{className:"text-sm whitespace-nowrap",children:m.end_date??"—"}),s.jsx(Mr,{className:"text-center",children:s.jsx(Op,{checked:m.we_are_presenting,onCheckedChange:b=>h(m.id,{we_are_presenting:!!b})})}),s.jsx(Mr,{className:"text-center",children:s.jsx(Op,{checked:m.include_in_newsletter,onCheckedChange:b=>h(m.id,{include_in_newsletter:!!b})})}),s.jsx(Mr,{className:"text-sm",children:m.event_url?s.jsxs("a",{href:m.event_url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-primary underline",children:["link ",s.jsx(X4,{className:"w-3 h-3"})]}):"—"}),s.jsx(Mr,{className:"text-right",children:s.jsxs("div",{className:"inline-flex gap-1",children:[s.jsx(ms,{size:"icon",variant:"ghost",onClick:()=>{d(m),l(!0)},"aria-label":"Edit",children:s.jsx(FD,{className:"w-4 h-4"})}),s.jsx(ms,{size:"icon",variant:"ghost",onClick:()=>p(m),"aria-label":"Delete",children:s.jsx(qD,{className:"w-4 h-4"})})]})})]},m.id))]})]})})]})}),s.jsx(cie,{open:a,onOpenChange:m=>{l(m),m||d(null)},event:c,onSubmit:f,submitting:n.isPending||r.isPending}),s.jsx(noe,{open:!!u,onOpenChange:m=>!m&&p(null),children:s.jsxs(JP,{children:[s.jsxs(XP,{children:[s.jsx(t8,{children:"Delete event?"}),s.jsxs(n8,{children:['This permanently deletes "',u==null?void 0:u.name,'". This action cannot be undone.']})]}),s.jsxs(e8,{children:[s.jsx(r8,{children:"Cancel"}),s.jsx(s8,{onClick:async()=>
1421{if(u){try{await o.mutateAsync(u.id),i({title:"Event deleted"})}catch(m){const b=m instanceof Error?m.message:"Delete failed";i({title:"Delete failed",description:b,variant:"destructive"})}p(null)}},children:"Delete"})]})]})})]})},uie="See below for a list of upcoming events for ecosystem builders. We're doing workshops or panels at the ones marked with a 🌟 and would love to connect.",hie="More Events",pie=()=>{const{data:e=[],isLoading:t}=Uj(),{toast:n}=cu(),[r,o]=x.useState(!1),i=x.useMemo(()=>{const l=R7(),d=e.filter(u=>u.include_in_newsletter&&qm(u.start_date,u.end_date)>=l).sort((u,p)=>u.start_date.localeCompare(p.start_date)).map(u=>{const p=u.we_are_presenting?"🌟 ":"",f=u.event_url?`[${u.name}](${u.event_url})`:u.name,h=A7(u.start_date,u.end_date),g=u.location?`${u.location}, `:"",m=u.note?` — ${u.note}`:"";return`${p}${f} — ${g}${h}${m}`});return[uie,"",...d,"",hie].join(`
1422`)},[e]),a=async()=>{try{await navigator.clipboard.writeText(i),o(!0),n({title:"Copied to clipboard"}),setTimeout(()=>o(!1),2e3)}catch{n({title:"Copy failed",description:"Select the text and copy manually.",variant:"destructive"})}};return s.jsxs(s.Fragment,{children:[s.jsx(Ve,{title:"Newsletter events",description:"Internal newsletter render",path:"/events/newsletter",noindex:!0}),s.jsx("div",{className:"min-h-screen bg-background p-6",children:s.jsxs("div",{className:"max-w-3xl mx-auto",children:[s.jsxs("div",{className:"flex items-center justify-between mb-6",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-semibold",children:"Newsletter — upcoming events"}),s.jsxs("p",{className:"text-sm text-muted-foreground",children:["Markdown ready to paste into Kit."," ",s.jsx(et,{to:"/events/manage",className:"underline",children:"Manage events →"})]})]}),s.jsxs(ms,{onClick:a,disabled:t,children:[r?s.jsx(vr,{className:"w-4 h-4"}):s.jsx(zD,{className:"w-4 h-4"}),r?"Copied":"Copy section"]})]}),s.jsx("pre",{className:"bg-white border rounded-lg p-4 text-sm whitespace-pre-wrap font-mono",children:t?"Loading…":i})]})})]})},Q0=new Map,FE=({children:e})=>{const t=uo(),[n,r]=x.useState(()=>({loading:!0,isAdmin:!1}));return x.useEffect(()=>{let o=!0;const i=async l=>{if(Q0.has(l))return Q0.get(l);const{data:c,error:d}=await tn.from("user_roles").select("role").eq("user_id",l).eq("role","admin").maybeSingle(),u=!d&&!!c;return Q0.set(l,u),u};(async()=>{const{data:{session:l}}=await tn.auth.getSession(),c=l==null?void 0:l.user;if(!c){o&&r({loading:!1,isAdmin:!1});return}const d=await i(c.id);o&&r({loading:!1,isAdmin:d})})();const{data:a}=tn.auth.onAuthStateChange((l,c)=>{if(l!=="SIGNED_IN"&&l!=="SIGNED_OUT")return;const d=c==null?void 0:c.user;if(!d){o&&r({loading:!1,isAdmin:!1});return}i(d.id).then(u=>{o&&r(p=>({loading:p.loading,isAdmin:u}))})});return()=>{o=!1,a.subscription.unsubscribe()}},[]),n.loading?s.jsx("div",{className:"min-h-screen flex items-center justify-center text-sm text-muted-foreground",children:"Loading…"}):n.isAdmin?s.jsx(s.Fragment,{children:e}):s.jsx(ns,{to:"/admin/login",state:{from:t.pathname},replace:!0})},fie=()=>{const e=uo();return x.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),s.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:s.jsxs("div",{className:"text-center",children:[s.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),s.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),s.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},mie=new pM,gie=()=>(z9(),s.jsxs(v9,{children:[s.jsx(xe,{path:"/",element:s.jsx(q9,{})}),s.jsx(xe,{path:"/how-it-works",element:s.jsx(fB,{})}),s.jsx(xe,{path:"/framework",element:s.jsx(ns,{to:"/how-it-works",replace:!0})}),s.jsx(xe,{path:"/capital-braid",element:s.jsx(KB,{})}),s.jsx(xe,{path:"/scorecard",element:s.jsx(xY,{})}),s.jsx(xe,{path:"/pricing",element:s.jsx(ns,{to:"/scorecard",replace:!0})}),s.jsx(xe,{path:"/team",element:s.jsx(qY,{})}),s.jsx(xe,{path:"/events",element:s.jsx(rJ,{})}),s.jsx(xe,{path:"/who-its-for",element:s.jsx(fJ,{})}),s.jsx(xe,{path:"/for-funders",element:s.jsx(ns,{to:"/who-its-for?tab=funders",replace:!0})}),s.jsx(xe,{path:"/for-builders",element:s.jsx(ns,{to:"/who-its-for?tab=builders",replace:!0})}),s.jsx(xe,{path:"/for-field-builders",element:s.jsx(ns,{to:"/who-its-for?tab=field-builders",replace:!0})}),s.jsx(xe,{path:"/newsletter",element:s.jsx(vJ,{})}),s.jsx(xe,{path:"/newsletter/:slug",element:s.jsx(nX,{})}),s.jsx(xe,{path:"/privacy",element:s.jsx(rX,{})}),s.jsx(xe,{path:"/workshop",element:s.jsx(Ree,{})}),s.jsx(xe,{path:"/certification",element:s.jsx(Dee,{})}),s.jsx(xe,{path:"/capabilities",element:s.jsx($ee,{})}),s.jsx(xe,{path:"/journey",element:s.jsx(Uee,{})}),s.jsx(xe,{path:"/collaboration",element:s.jsx(jte,{})}),s.jsx(xe,{path:"/braid-dont-stack",element:s.jsx(Pte,{})}),s.jsx(xe,{path:"/measurement",element:s.jsx(Ute,{})}),s.jsx(xe,{path:"/process-funder",element:s.jsx(xne,{})}),s.jsx(xe,{path:"/pricing-funder",element:s.jsx(Bne,{})}),s.jsx(xe,{path:"/deck-funder",element:s.jsx(gte,{})}),s.jsx(xe,{path:"/process",element:s.jsx(Zne,{})}),s.jsx(xe,{path:"/process-field-builder",element:s.jsx(ose,{})}),s.jsx(xe,{path:"/process-ecosystem-builder",element:s.jsx(fse,{})}),s.jsx(xe,{path:"/funder-process",element:s.jsx(ns,{to:"/process-funder",replace:!0})}),s.jsx(xe,{path:"/funder-framework",element:s.jsx(ns,{to:"/process-funder",replace:!0})}),s.jsx(xe,{path:"/funder-process-condensed",element:s.jsx(ns,{to:"/process-funder",replace:!0})}),s.jsx(xe,{path:"/funder-framework-condensed",element:s.jsx(ns,{to:"/process-funder",replace:!0})}),s.jsx(xe,{path:"/field-process",element:s.jsx(ns,{to:"/process",replace:!0})}),s.jsx(xe,{path:"/field-framework",element:s.jsx(ns,{to:"/process",replace:!0})}),s.jsx(xe,{path:"/ecosystem-edge-process",element:s.jsx(ns,{to:"/process",replace:!0})}),s.jsx(xe,{path:"/ecosystem-edge-framework",element:s.jsx(ns,{to:"/process",replace:!0})}),s.jsx(xe,{path:"/leave-behind",element:s.jsx(xse,{})}),s.jsx(xe,{path:"/efn",element:s.jsx(Sse,{})}),s.jsx(xe,{path:"/governance",element:s.jsx(ns,{to:"/braid-dont-stack",replace:!0})}),s.jsx(xe,{path:"/partner-priority",element:s.jsx(Cse,{})}),s.jsx(xe,{path:"/disagreement",element:s.jsx(Ise,{})}
1422),s.jsx(xe,{path:"/edge-scorecard",element:s.jsx(Hse,{})}),s.jsx(xe,{path:"/who-runs-the-ecosystem",element:s.jsx(hre,{})}),s.jsx(xe,{path:"/the-journey",element:s.jsx(xre,{})}),s.jsx(xe,{path:"/resources",element:s.jsx(kre,{})}),s.jsx(xe,{path:"/admin/login",element:s.jsx(Tre,{})}),s.jsx(xe,{path:"/admin/reset-password",element:s.jsx(Nre,{})}),s.jsx(xe,{path:"/events/manage",element:s.jsx(FE,{children:s.jsx(die,{})})}),s.jsx(xe,{path:"/events/newsletter",element:s.jsx(FE,{children:s.jsx(pie,{})})}),s.jsx(xe,{path:"*",element:s.jsx(fie,{})})]})),yie=()=>s.jsx(xM,{client:mie,children:s.jsx(E9,{children:s.jsxs(QL,{children:[s.jsx(PW,{}),s.jsx(d$,{}),s.jsx(gie,{}),s.jsx(P9,{})]})})});h4(document.getElementById("root")).render(s.jsx(v4,{children:s.jsx(yie,{})}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.