PageSourceSearch

https://lecollectif-tv.lovable.app/assets/Combination-BqCkdEW2.js

js lecollectif-tv.lovable.app collected 2026-10-03 03:35:44 UTC 26,447 bytes, 41 lines download raw bytes

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