PageSourceSearch

https://braxroadmap.lovable.app/assets/Combination-DBCGBI0d.js

js braxroadmap.lovable.app collected 2026-10-03 03:24:47 UTC 24,161 bytes, 41 lines download raw bytes

vendor: 4,272 bytes, line 1
1import{r as a,j as R,C as pe,F as Te,G as Le,_ as O,H as Ee,I as Ne}from"./index-BJgF0wUM.js";import{a as De,u as te}from"./button-DMAKa7CN.js";function K(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e?.(i),n===!1||!i.defaultPrevented)return t?.(i)}}function Qt(e,t){const n=a.createContext(t),r=c=>{const{children:s,...o}=c,v=a.useMemo(()=>o,Object.values(o));return R.jsx(n.Provider,{value:v,children:s})};r.displayName=e+"Provider";function i(c){const s=a.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[r,i]}function Jt(e,t=[]){let n=[];function r(c,s){const o=a.createContext(s),v=n.length;n=[...n,s];const l=f=>{const{scope:h,children:E,...C}=f,u=h?.[e]?.[v]||o,m=a.useMemo(()=>C,Object.values(C));return R.jsx(u.Provider,{value:m,children:E})};l.displayName=c+"Provider";function d(f,h){const E=h?.[e]?.[v]||o,C=a.useContext(E);if(C)return C;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${c}\``)}return[l,d]}const i=()=>{const c=n.map(s=>a.createContext(s));return function(o){const v=o?.[e]||c;return a.useMemo(()=>({[`__scope${e}`]:{...o,[e]:v}}),[o,v])}};return i.scopeName=e,[r,Ae(i,...t)]}function Ae(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(c){const s=r.reduce((o,{useScope:v,scopeName:l})=>{const f=v(c)[`__scope${l}`];return{...o,...f}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}var ne=globalThis?.document?a.useLayoutEffect:()=>{},ke=pe[" useInsertionEffect ".trim().toString()]||ne;function en({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,c,s]=Fe({defaultProp:t,onChange:n}),o=e!==void 0,v=o?e:i;{const d=a.useRef(e!==void 0);a.useEffect(()=>{const f=d.current;f!==o&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${o?"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.`),d.current=o},[o,r])}const l=a.useCallback(d=>{if(o){const f=Ie(d)?d(e):d;f!==e&&s.current?.(f)}else c(d)},[o,e,c,s]);return[v,l]}function Fe({defaultProp:e,onChange:t}){const[n,r]=a.useState(e),i=a.useRef(n),c=a.useRef(t);return ke(()=>{c.current=t},[t]),a.useEffect(()=>{i.current!==n&&(c.current?.(n),i.current=n)},[n,i]),[n,r,c]}function Ie(e){return typeof e=="function"}function Me(e){const t=We(e),n=a.forwardRef((r,i)=>{const{children:c,...s}=r,o=a.Children.toArray(c),v=o.find(_e);if(v){const l=v.props.children,d=o.map(f=>f===v?a.Children.count(l)>1?a.Children.only(null):a.isValidElement(l)?l.props.children:null:f);return R.jsx(t,{...s,ref:i,children:a.isValidElement(l)?a.cloneElement(l,void 0,d):null})}return R.jsx(t,{...s,ref:i,children:c})});return n.displayName=`${e}.Slot`,n}function We(e){const t=a.forwardRef((n,r)=>{const{children:i,...c}=n;if(a.isValidElement(i)){const s=je(i),o=Ue(c,i.props);return i.type!==a.Fragment&&(o.ref=r?De(r,s):s),a.cloneElement(i,o)}return a.Children.count(i)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Be=Symbol("radix.slottable");function _e(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Be}function Ue(e,t){const n={...t};for(const r in t){const i=e[r],c=t[r];/^on[A-Z]/.test(r)?i&&c?n[r]=(...o)=>{const v=c(...o);return i(...o),v}:i&&(n[r]=i):r==="style"?n[r]={...i,...c}:r==="className"&&(n[r]=[i,c].filter(Boolean).join(" "))}return{...e,...n}}function je(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var He=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],$=He.reduce((e,t)=>{const n=Me(`Primitive.${t}`),r=a.forwardRef((i,c)=>{const{asChild:s,...o}=i,v=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),R.jsx(v,{...o,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function $e(e,t){e&&Te.flushSync(()=>
vendor: 4,160 bytes, line 1
1e.dispatchEvent(t))}function I(e){const t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>(...n)=>t.current?.(...n),[])}function Ve(e,t=globalThis?.document){const n=I(e);a.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Ke="DismissableLayer",J="dismissableLayer.update",Xe="dismissableLayer.pointerDownOutside",Ye="dismissableLayer.focusOutside",oe,ye=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ze=a.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:c,onInteractOutside:s,onDismiss:o,...v}=e,l=a.useContext(ye),[d,f]=a.useState(null),h=d?.ownerDocument??globalThis?.document,[,E]=a.useState({}),C=te(t,y=>f(y)),u=Array.from(l.layers),[m]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),p=u.indexOf(m),g=d?u.indexOf(d):-1,b=l.layersWithOutsidePointerEventsDisabled.size>0,S=g>=p,w=qe(y=>{const T=y.target,L=[...l.branches].some(F=>F.contains(T));!S||L||(i?.(y),s?.(y),y.defaultPrevented||o?.())},h),P=Qe(y=>{const T=y.target;[...l.branches].some(F=>F.contains(T))||(c?.(y),s?.(y),y.defaultPrevented||o?.())},h);return Ve(y=>{g===l.layers.size-1&&(r?.(y),!y.defaultPrevented&&o&&(y.preventDefault(),o()))},h),a.useEffect(()=>{if(d)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(oe=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(d)),l.layers.add(d),ae(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=oe)}},[d,h,n,l]),a.useEffect(()=>()=>{d&&(l.layers.delete(d),l.layersWithOutsidePointerEventsDisabled.delete(d),ae())},[d,l]),a.useEffect(()=>{const y=()=>E({});return document.addEventListener(J,y),()=>document.removeEventListener(J,y)},[]),R.jsx($.div,{...v,ref:C,style:{pointerEvents:b?S?"auto":"none":void 0,...e.style},onFocusCapture:K(e.onFocusCapture,P.onFocusCapture),onBlurCapture:K(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:K(e.onPointerDownCapture,w.onPointerDownCapture)})});ze.displayName=Ke;var Ge="DismissableLayerBranch",Ze=a.forwardRef((e,t)=>{const n=a.useContext(ye),r=a.useRef(null),i=te(t,r);return a.useEffect(()=>{const c=r.current;if(c)return n.branches.add(c),()=>{n.branches.delete(c)}},[n.branches]),R.jsx($.div,{...e,ref:i})});Ze.displayName=Ge;function qe(e,t=globalThis?.document){const n=I(e),r=a.useRef(!1),i=a.useRef(()=>{});return a.useEffect(()=>{const c=o=>{if(o.target&&!r.current){let v=function(){ge(Xe,n,l,{discrete:!0})};const l={originalEvent:o};o.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=v,t.addEventListener("click",i.current,{once:!0})):v()}else t.removeEventListener("click",i.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",c),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Qe(e,t=globalThis?.document){const n=I(e),r=a.useRef(!1);return a.useEffect(()=>{const i=c=>{c.target&&!r.current&&ge(Ye,n,{originalEvent:c},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ae(){const e=new CustomEvent(J);document.dispatchEvent(e)}function ge(e,t,n,{discrete:r}){const i=n.originalEvent.target,c=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?$e(i,c):i.dispatchEvent(c)}var X=0;function tn(){a.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??ie()),document.body.insertAdjacentElement("beforeend",e[1]??ie()),X++,()=>{X===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),X--}},[])}function ie(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.
vendor: 4,188 bytes, line 1
1style.position="fixed",e.style.pointerEvents="none",e}var Y="focusScope.autoFocusOnMount",z="focusScope.autoFocusOnUnmount",ce={bubbles:!1,cancelable:!0},Je="FocusScope",et=a.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:c,...s}=e,[o,v]=a.useState(null),l=I(i),d=I(c),f=a.useRef(null),h=te(t,u=>v(u)),E=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(r){let u=function(b){if(E.paused||!o)return;const S=b.target;o.contains(S)?f.current=S:x(f.current,{select:!0})},m=function(b){if(E.paused||!o)return;const S=b.relatedTarget;S!==null&&(o.contains(S)||x(f.current,{select:!0}))},p=function(b){if(document.activeElement===document.body)for(const w of b)w.removedNodes.length>0&&x(o)};document.addEventListener("focusin",u),document.addEventListener("focusout",m);const g=new MutationObserver(p);return o&&g.observe(o,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",m),g.disconnect()}}},[r,o,E.paused]),a.useEffect(()=>{if(o){ue.add(E);const u=document.activeElement;if(!o.contains(u)){const p=new CustomEvent(Y,ce);o.addEventListener(Y,l),o.dispatchEvent(p),p.defaultPrevented||(tt(it(be(o)),{select:!0}),document.activeElement===u&&x(o))}return()=>{o.removeEventListener(Y,l),setTimeout(()=>{const p=new CustomEvent(z,ce);o.addEventListener(z,d),o.dispatchEvent(p),p.defaultPrevented||x(u??document.body,{select:!0}),o.removeEventListener(z,d),ue.remove(E)},0)}}},[o,l,d,E]);const C=a.useCallback(u=>{if(!n&&!r||E.paused)return;const m=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,p=document.activeElement;if(m&&p){const g=u.currentTarget,[b,S]=nt(g);b&&S?!u.shiftKey&&p===S?(u.preventDefault(),n&&x(b,{select:!0})):u.shiftKey&&p===b&&(u.preventDefault(),n&&x(S,{select:!0})):p===g&&u.preventDefault()}},[n,r,E.paused]);return R.jsx($.div,{tabIndex:-1,...s,ref:h,onKeyDown:C})});et.displayName=Je;function tt(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(x(r,{select:t}),document.activeElement!==n)return}function nt(e){const t=be(e),n=se(t,e),r=se(t.reverse(),e);return[n,r]}function be(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function se(e,t){for(const n of e)if(!rt(n,{upTo:t}))return n}function rt(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 ot(e){return e instanceof HTMLInputElement&&"select"in e}function x(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&ot(e)&&t&&e.select()}}var ue=at();function at(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=le(e,t),e.unshift(t)},remove(t){e=le(e,t),e[0]?.resume()}}}function le(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function it(e){return e.filter(t=>t.tagName!=="A")}var ct=pe[" useId ".trim().toString()]||(()=>{}),st=0;function nn(e){const[t,n]=a.useState(ct());return ne(()=>{n(r=>r??String(st++))},[e]),e||(t?`radix-${t}`:"")}var ut="Portal",lt=a.forwardRef((e,t)=>{const{container:n,...r}=e,[i,c]=a.useState(!1);ne(()=>c(!0),[]);const s=n||i&&globalThis?.document?.body;return s?Le.createPortal(R.jsx($.div,{...r,ref:t}),s):null});lt.displayName=ut;var ft=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},N=new WeakMap,W=new WeakMap,B={},G=0,Se=function(e){return e&&(e.host||Se(e.parentNode))},dt=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Se(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})},vt=function(e,t,n,r){var i=dt(t,Array.isArray(e)?e:[e]);B[n]||(B[n]=new WeakMap);var c=B[n],s=[],o=new Set,v=new Set(i),l=function(f){!f||o.has(f)||(o.add(f),l(f.parentNode))};
vendor: 1,509 bytes, line 1
1i.forEach(l);var d=function(f){!f||v.has(f)||Array.prototype.forEach.call(f.children,function(h){if(o.has(h))d(h);else try{var E=h.getAttribute(r),C=E!==null&&E!=="false",u=(N.get(h)||0)+1,m=(c.get(h)||0)+1;N.set(h,u),c.set(h,m),s.push(h),u===1&&C&&W.set(h,!0),m===1&&h.setAttribute(n,"true"),C||h.setAttribute(r,"true")}catch(p){console.error("aria-hidden: cannot operate on ",h,p)}})};return d(t),o.clear(),G++,function(){s.forEach(function(f){var h=N.get(f)-1,E=c.get(f)-1;N.set(f,h),c.set(f,E),h||(W.has(f)||f.removeAttribute(r),W.delete(f)),E||f.removeAttribute(n)}),G--,G||(N=new WeakMap,N=new WeakMap,W=new WeakMap,B={})}},rn=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=ft(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),vt(r,i,n,"aria-hidden")):function(){return null}},j="right-scroll-bar-position",H="width-before-scroll-bar",ht="with-scroll-bars-hidden",mt="--removed-body-scroll-bar-size";function Z(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function pt(e,t){var n=a.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var Et=typeof window<"u"?a.useLayoutEffect:a.useEffect,fe=new WeakMap;function yt(e,t){var n=pt(null,function(r){return e.forEach(function(i){return Z(i,r)})});return Et(function(){var r=fe.get(n);if(r){var i=new Set(r),c=new Set(e),s=n.current;
vendor: 4,172 bytes, lines 1-16
1i.forEach(function(o){c.has(o)||Z(o,null)}),c.forEach(function(o){i.has(o)||Z(o,s)})}fe.set(n,e)},[e]),n}function gt(e){return e}function bt(e,t){t===void 0&&(t=gt);var n=[],r=!1,i={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(c){var s=t(c,r);return n.push(s),function(){n=n.filter(function(o){return o!==s})}},assignSyncMedium:function(c){for(r=!0;n.length;){var s=n;n=[],s.forEach(c)}n={push:function(o){return c(o)},filter:function(){return n}}},assignMedium:function(c){r=!0;var s=[];if(n.length){var o=n;n=[],o.forEach(c),s=n}var v=function(){var d=s;s=[],d.forEach(c)},l=function(){return Promise.resolve().then(v)};l(),n={push:function(d){s.push(d),l()},filter:function(d){return s=s.filter(d),n}}}};return i}function St(e){e===void 0&&(e={});var t=bt(null);return t.options=O({async:!0,ssr:!1},e),t}var Ce=function(e){var t=e.sideCar,n=Ee(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 a.createElement(r,O({},n))};Ce.isSideCarExport=!0;function Ct(e,t){return e.useMedium(t),Ce}var we=St(),q=function(){},V=a.forwardRef(function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:q,onWheelCapture:q,onTouchMoveCapture:q}),i=r[0],c=r[1],s=e.forwardProps,o=e.children,v=e.className,l=e.removeScrollBar,d=e.enabled,f=e.shards,h=e.sideCar,E=e.noRelative,C=e.noIsolation,u=e.inert,m=e.allowPinchZoom,p=e.as,g=p===void 0?"div":p,b=e.gapMode,S=Ee(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),w=h,P=yt([n,t]),y=O(O({},S),i);return a.createElement(a.Fragment,null,d&&a.createElement(w,{sideCar:we,removeScrollBar:l,shards:f,noRelative:E,noIsolation:C,inert:u,setCallbacks:c,allowPinchZoom:!!m,lockRef:n,gapMode:b}),s?a.cloneElement(a.Children.only(o),O(O({},y),{ref:P})):a.createElement(g,O({},y,{className:v,ref:P}),o))});V.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};V.classNames={fullWidth:H,zeroRight:j};var wt=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Pt(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=wt();return t&&e.setAttribute("nonce",t),e}function Rt(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function xt(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Ot=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Pt())&&(Rt(t,n),xt(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Tt=function(){var e=Ot();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Pe=function(){var e=Tt(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},Lt={left:0,top:0,right:0,gap:0},Q=function(e){return parseInt(e||"",10)||0},Nt=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[Q(n),Q(r),Q(i)]},Dt=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Lt;var t=Nt(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])}},At=Pe(),k="data-scroll-locked",kt=function(e,t,n,r){var i=e.left,c=e.top,s=e.right,o=e.gap;return n===void 0&&(n="margin"),`
2  .`.concat(ht,` {
3   overflow: hidden `).concat(r,`;
4   padding-right: `).concat(o,"px ").concat(r,`;
5  }
6  body[`).concat(k,`] {
7    overflow: hidden `).concat(r,`;
8    overscroll-behavior: contain;
9    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
10    padding-left: `.concat(i,`px;
11    padding-top: `).concat(c,`px;
12    padding-right: `).concat(s,`px;
13    margin-left:0;
14    margin-top:0;
15    margin-right: `).concat(o,"px ").concat(r,`;
16    `),n==="padding"&&"padding-right: ".concat(o,"px ").concat(r,";
16")].filter(Boolean).join(""),`
17  }
18  
19  .`).concat(j,` {
20    right: `).concat(o,"px ").concat(r,`;
21  }
22  
23  .`).concat(H,` {
24    margin-right: `).concat(o,"px ").concat(r,`;
25  }
26  
27  .`).concat(j," .").concat(j,` {
28    right: 0 `).concat(r,`;
29  }
30  
31  .`).concat(H," .").concat(H,` {
32    margin-right: 0 `).concat(r,`;
33  }
34  
35  body[`).concat(k,`] {
36    `).concat(mt,": ").concat(o,`px;
37  }
38`)},de=function(){var e=parseInt(document.body.getAttribute(k)||"0",10);return isFinite(e)?e:0},Ft=function(){a.useEffect(function(){return document.body.setAttribute(k,(de()+1).toString()),function(){var e=de()-1;e<=0?document.body.removeAttribute(k):document.body.setAttribute(k,e.toString())}},[])},It=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?"margin":r;Ft();var c=a.useMemo(function(){return Dt(i)},[i]);return a.createElement(At,{styles:kt(c,!t,i,n?"":"!important")})},ee=!1;if(typeof window<"u")try{var _=Object.defineProperty({},"passive",{get:function(){return ee=!0,!0}});window.addEventListener("test",_,_),window.removeEventListener("test",_,_)}catch{ee=!1}var D=ee?{passive:!1}:!1,Mt=function(e){return e.tagName==="TEXTAREA"},Re=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Mt(e)&&n[t]==="visible")},Wt=function(e){return Re(e,"overflowY")},Bt=function(e){return Re(e,"overflowX")},ve=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var i=xe(e,r);if(i){var c=Oe(e,r),s=c[1],o=c[2];if(s>o)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},_t=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Ut=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},xe=function(e,t){return e==="v"?Wt(t):Bt(t)},Oe=function(e,t){return e==="v"?_t(t):Ut(t)},jt=function(e,t){return e==="h"&&t==="rtl"?-1:1},Ht=function(e,t,n,r,i){var c=jt(e,window.getComputedStyle(t).direction),s=c*r,o=n.target,v=t.contains(o),l=!1,d=s>0,f=0,h=0;do{if(!o)break;var E=Oe(e,o),C=E[0],u=E[1],m=E[2],p=u-m-c*C;(C||p)&&xe(e,o)&&(f+=p,h+=C);var g=o.parentNode;o=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!v&&o!==document.body||v&&(t.contains(o)||t===o));return(d&&Math.abs(f)<1||!d&&Math.abs(h)<1)&&(l=!0),l},U=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},he=function(e){return[e.deltaX,e.deltaY]},me=function(e){return e&&"current"in e?e.current:e},$t=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Vt=function(e){return`
39  .block-interactivity-`.concat(e,` {pointer-events: none;}
40  .allow-interactivity-`).concat(e,` {pointer-events: all;}
41`)},Kt=0,A=[];function Xt(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),i=a.useState(Kt++)[0],c=a.useState(Pe)[0],s=a.useRef(e);a.useEffect(function(){s.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var u=Ne([e.lockRef.current],(e.shards||[]).map(me),!0).filter(Boolean);return u.forEach(function(m){return m.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),u.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var o=a.useCallback(function(u,m){if("touches"in u&&u.touches.length===2||u.type==="wheel"&&u.ctrlKey)return!s.current.allowPinchZoom;var p=U(u),g=n.current,b="deltaX"in u?u.deltaX:g[0]-p[0],S="deltaY"in u?u.deltaY:g[1]-p[1],w,P=u.target,y=Math.abs(b)>Math.abs(S)?"h":"v";if("touches"in u&&y==="h"&&P.type==="range")return!1;var T=window.getSelection(),L=T&&T.anchorNode,F=L?L===P||L.contains(P):!1;if(F)return!1;var M=ve(y,P);if(!M)return!0;if(M?w=y:(w=y==="v"?"h":"v",M=ve(y,P)),!M)return!1;if(!r.current&&"changedTouches"in u&&(b||S)&&(r.current=w),!w)return!0;var re=r.current||w;return Ht(re,m,u,re==="h"?b:S)},[]),v=a.useCallback(function(u){var m=u;if(!(!A.length||A[A.length-1]!==c)){var p="deltaY"in m?he(m):U(m),g=t.current.filter(function(w){return w.name===m.type&&(w.target===m.target||m.target===w.shadowParent)&&$t(w.delta,p)})[0];if(g&&g.should){m.cancelable&&m.preventDefault();return}
vendor: 1,607 bytes, line 41
41if(!g){var b=(s.current.shards||[]).map(me).filter(Boolean).filter(function(w){return w.contains(m.target)}),S=b.length>0?o(m,b[0]):!s.current.noIsolation;S&&m.cancelable&&m.preventDefault()}}},[]),l=a.useCallback(function(u,m,p,g){var b={name:u,delta:m,target:p,should:g,shadowParent:Yt(p)};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(S){return S!==b})},1)},[]),d=a.useCallback(function(u){n.current=U(u),r.current=void 0},[]),f=a.useCallback(function(u){l(u.type,he(u),u.target,o(u,e.lockRef.current))},[]),h=a.useCallback(function(u){l(u.type,U(u),u.target,o(u,e.lockRef.current))},[]);a.useEffect(function(){return A.push(c),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:h}),document.addEventListener("wheel",v,D),document.addEventListener("touchmove",v,D),document.addEventListener("touchstart",d,D),function(){A=A.filter(function(u){return u!==c}),document.removeEventListener("wheel",v,D),document.removeEventListener("touchmove",v,D),document.removeEventListener("touchstart",d,D)}},[]);var E=e.removeScrollBar,C=e.inert;return a.createElement(a.Fragment,null,C?a.createElement(c,{styles:Vt(i)}):null,E?a.createElement(It,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Yt(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const zt=Ct(we,Xt);var Gt=a.forwardRef(function(e,t){return a.createElement(V,O({},e,{ref:t,sideCar:zt}))});Gt.classNames=V.classNames;export{ze as D,et as F,$ as P,Gt as R,nn as a,ne as b,K as c,Jt as d,I as e,lt as f,$e as g,rn as h,tn as i,Qt as j,en as u};

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.