PageSourceSearch

https://hoocs.ai/websitecms/_next/static/chunks/3185-fbfedc29d8fa6e2b.js

js hoocs.ai collected 2026-10-05 05:32:54 UTC 9,084 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{20691:(e,t,r)=>{r.d(t,{UC:()=>er,VY:()=>eo,ZL:()=>ee,bL:()=>X,bm:()=>el,hE:()=>en,hJ:()=>et,l9:()=>$});var n=r(24252),o=r(38218),l=r(29864),a=r(80580),i=r(31551),s=r(6655),u=r(14301),c=r(42517),d=r(11692),f=r(16490),p=r(71802),g=r(73473),m=r(39354),v=r(73420),h=r(85004),b=r(65392),w="Dialog",[y,D]=(0,a.A)(w),[x,R]=y(w),j=e=>{let{__scopeDialog:t,children:r,open:o,defaultOpen:l,onOpenChange:a,modal:u=!0}=e,c=n.useRef(null),d=n.useRef(null),[f,p]=(0,s.i)({prop:o,defaultProp:null!=l&&l,onChange:a,caller:w});return(0,b.jsx)(x,{scope:t,triggerRef:c,contentRef:d,contentId:(0,i.B)(),titleId:(0,i.B)(),descriptionId:(0,i.B)(),open:f,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),modal:u,children:r})};j.displayName=w;var I="DialogTrigger",C=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=R(I,r),i=(0,l.s)(t,a.triggerRef);return(0,b.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Z(a.open),...n,ref:i,onClick:(0,o.mK)(e.onClick,a.onOpenToggle)})});C.displayName=I;var F="DialogPortal",[E,A]=y(F,{forceMount:void 0}),_=e=>{let{__scopeDialog:t,forceMount:r,children:o,container:l}=e,a=R(F,t);return(0,b.jsx)(E,{scope:t,forceMount:r,children:n.Children.map(o,e=>(0,b.jsx)(f.C,{present:r||a.open,children:(0,b.jsx)(d.Z,{asChild:!0,container:l,children:e})}))})};_.displayName=F;var N="DialogOverlay",O=n.forwardRef((e,t)=>{let r=A(N,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,l=R(N,e.__scopeDialog);return l.modal?(0,b.jsx)(f.C,{present:n||l.open,children:(0,b.jsx)(k,{...o,ref:t})}):null});O.displayName=N;var T=(0,h.TL)("DialogOverlay.RemoveScroll"),k=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=R(N,r);return(0,b.jsx)(m.A,{as:T,allowPinchZoom:!0,shards:[o.contentRef],children:(0,b.jsx)(p.sG.div,{"data-state":Z(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),P="DialogContent",G=n.forwardRef((e,t)=>{let r=A(P,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,l=R(P,e.__scopeDialog);return(0,b.jsx)(f.C,{present:n||l.open,children:l.modal?(0,b.jsx)(K,{...o,ref:t}):(0,b.jsx)(S,{...o,ref:t})})});G.displayName=P;var K=n.forwardRef((e,t)=>{let r=R(P,e.__scopeDialog),a=n.useRef(null),i=(0,l.s)(t,r.contentRef,a);return n.useEffect(()=>{let e=a.current;
1if(e)return(0,v.Eq)(e)},[]),(0,b.jsx)(L,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=r.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault())})}),S=n.forwardRef((e,t)=>{let r=R(P,e.__scopeDialog),o=n.useRef(!1),l=n.useRef(!1);return(0,b.jsx)(L,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,a;null==(n=e.onCloseAutoFocus)||n.call(e,t),t.defaultPrevented||(o.current||null==(a=r.triggerRef.current)||a.focus(),t.preventDefault()),o.current=!1,l.current=!1},onInteractOutside:t=>{var n,a;null==(n=e.onInteractOutside)||n.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(l.current=!0));let i=t.target;(null==(a=r.triggerRef.current)?void 0:a.contains(i))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),L=n.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,...s}=e,d=R(P,r),f=n.useRef(null),p=(0,l.s)(t,f);return(0,g.Oh)(),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(c.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:i,children:(0,b.jsx)(u.qW,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":Z(d.open),...s,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(Y,{titleId:d.titleId}),(0,b.jsx)(Q,{contentRef:f,descriptionId:d.descriptionId})]})]})}),B="DialogTitle",M=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=R(B,r);return(0,b.jsx)(p.sG.h2,{id:o.titleId,...n,ref:t})});M.displayName=B;var q="DialogDescription",U=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=R(q,r);return(0,b.jsx)(p.sG.p,{id:o.descriptionId,...n,ref:t})});U.displayName=q;var W="DialogClose",H=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,l=R(W,r);return(0,b.jsx)(p.sG.button,{type:"button",...n,ref:t,onClick:(0,o.mK)(e.onClick,()=>l.onOpenChange(!1))})});function Z(e){return e?"open":"closed"}H.displayName=W;var V="DialogTitleWarning",[z,J]=(0,a.q)(V,{contentName:P,titleName:B,docsSlug:"dialog"}),Y=e=>{let{titleId:t}=e,r=J(V),o="`".concat(r.contentName,"` requires a `").concat(r.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(r.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(r.docsSlug);return n.useEffect(()=>{t&&document.getElementById(t)},[o,t]),null},Q=e=>{let{contentRef:t,descriptionId:r}=e,o=J("DialogDescriptionWarning"),l="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return n.useEffect(()=>{var e;let n=null==(e=t.current)?void 0:e.getAttribute("aria-describedby");r&&n&&document.getElementById(r)},[l,t,r]),null},X=j,$=C,ee=_,et=O,er=G,en=M,eo=U,el=H},42911:(e,t,r)=>{r.d(t,{RG:()=>D,bL:()=>_,q7:()=>N});
1var n=r(24252),o=r(45915),l=r(21425),a=r(29864),i=r(80580),s=r(31551),u=r(71802),c=r(35079),d=r(6655),f=r(229),p=r(65392),g="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},v="RovingFocusGroup",[h,b,w]=(0,l.N)(v),[y,D]=(0,i.A)(v,[w]),[x,R]=y(v),j=n.forwardRef((e,t)=>(0,p.jsx)(h.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(h.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(I,{...e,ref:t})})}));j.displayName=v;var I=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,orientation:l,loop:i=!1,dir:s,currentTabStopId:h,defaultCurrentTabStopId:w,onCurrentTabStopIdChange:y,onEntryFocus:D,preventScrollOnEntryFocus:R=!1,...j}=e,I=n.useRef(null),C=(0,a.s)(t,I),F=(0,f.jH)(s),[E,_]=(0,d.i)({prop:h,defaultProp:null!=w?w:null,onChange:y,caller:v}),[N,O]=n.useState(!1),T=(0,c.c)(D),k=b(r),P=n.useRef(!1),[G,K]=n.useState(0);return n.useEffect(()=>{let e=I.current;if(e)return e.addEventListener(g,T),()=>e.removeEventListener(g,T)},[T]),(0,p.jsx)(x,{scope:r,orientation:l,dir:F,loop:i,currentTabStopId:E,onItemFocus:n.useCallback(e=>_(e),[_]),onItemShiftTab:n.useCallback(()=>O(!0),[]),onFocusableItemAdd:n.useCallback(()=>K(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>K(e=>e-1),[]),children:(0,p.jsx)(u.sG.div,{tabIndex:N||0===G?-1:0,"data-orientation":l,...j,ref:C,style:{outline:"none",...e.style},onMouseDown:(0,o.m)(e.onMouseDown,()=>{P.current=!0}),onFocus:(0,o.m)(e.onFocus,e=>{let t=!P.current;if(e.target===e.currentTarget&&t&&!N){let t=new CustomEvent(g,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=k().filter(e=>e.focusable);A([e.find(e=>e.active),e.find(e=>e.id===E),...e].filter(Boolean).map(e=>e.ref.current),R)}}P.current=!1}),onBlur:(0,o.m)(e.onBlur,()=>O(!1))})})}),C="RovingFocusGroupItem",F=n.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:l=!0,active:a=!1,tabStopId:i,children:c,...d}=e,f=(0,s.B)(),g=i||f,m=R(C,r),v=m.currentTabStopId===g,w=b(r),{onFocusableItemAdd:y,onFocusableItemRemove:D,currentTabStopId:x}=m;return n.useEffect(()=>{if(l)return y(),()=>D()},[l,y,D]),(0,p.jsx)(h.ItemSlot,{scope:r,id:g,focusable:l,active:a,children:(0,p.jsx)(u.sG.span,{tabIndex:v?0:-1,"data-orientation":m.orientation,...d,ref:t,onMouseDown:(0,o.m)(e.onMouseDown,e=>{l?m.onItemFocus(g):e.preventDefault()}),onFocus:(0,o.m)(e.onFocus,()=>m.onItemFocus(g)),onKeyDown:(0,o.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let o=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return E[o]}(e,m.orientation,m.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=w().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=m.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>A(r))}}),children:"function"==typeof c?c({isCurrentTabStop:v,hasTabStop:null!=x}):c})})});F.displayName=C;var E={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function A(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var _=j,N=F}}]);

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.