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