PageSourceSearch

https://babechat.ai/_next/static/chunks/1155-f920ab41b2cc7ffd.js

js babechat.ai collected 2026-10-05 11:50:33 UTC 10,955 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1155],{7003:(e,r,t)=>{t.d(r,{UC:()=>Z,ZL:()=>H,bL:()=>z,bm:()=>W,i3:()=>J,l9:()=>V});var o=t(50975),n=t(86635),a=t(50278),l=t(43696),i=t(7715),s=t(65409),u=t(85235),c=t(30035),d=t(57756),f=t(33045),p=t(91293),v=t(63111),h=t(56612),m=t(22367),b=t(87783),g=t(58290),w=t(21335),x="Popover",[C,y]=(0,l.A)(x,[d.Bk]),R=(0,d.Bk)(),[j,A]=C(x),F=e=>{let{__scopePopover:r,children:t,open:n,defaultOpen:a,onOpenChange:l,modal:i=!1}=e,s=R(r),u=o.useRef(null),[f,p]=o.useState(!1),[v,h]=(0,m.i)({prop:n,defaultProp:null!=a&&a,onChange:l,caller:x});return(0,w.jsx)(d.bL,{...s,children:(0,w.jsx)(j,{scope:r,contentId:(0,c.B)(),triggerRef:u,open:v,onOpenChange:h,onOpenToggle:o.useCallback(()=>h(e=>!e),[h]),hasCustomAnchor:f,onCustomAnchorAdd:o.useCallback(()=>p(!0),[]),onCustomAnchorRemove:o.useCallback(()=>p(!1),[]),modal:i,children:t})})};F.displayName=x;var P="PopoverAnchor";o.forwardRef((e,r)=>{let{__scopePopover:t,...n}=e,a=A(P,t),l=R(t),{onCustomAnchorAdd:i,onCustomAnchorRemove:s}=a;return o.useEffect(()=>(i(),()=>s()),[i,s]),(0,w.jsx)(d.Mz,{...l,...n,ref:r})}).displayName=P;var D="PopoverTrigger",K=o.forwardRef((e,r)=>{let{__scopePopover:t,...o}=e,l=A(D,t),i=R(t),s=(0,a.s)(r,l.triggerRef),u=(0,w.jsx)(v.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":q(l.open),...o,ref:s,onClick:(0,n.mK)(e.onClick,l.onOpenToggle)});return l.hasCustomAnchor?u:(0,w.jsx)(d.Mz,{asChild:!0,...i,children:u})});K.displayName=D;var I="PopoverPortal",[k,E]=C(I,{forceMount:void 0}),T=e=>{let{__scopePopover:r,forceMount:t,children:o,container:n}=e,a=A(I,r);return(0,w.jsx)(k,{scope:r,forceMount:t,children:(0,w.jsx)(p.C,{present:t||a.open,children:(0,w.jsx)(f.Z,{asChild:!0,container:n,children:o})})})};T.displayName=I;var G="PopoverContent",N=o.forwardRef((e,r)=>{let t=E(G,e.__scopePopover),{forceMount:o=t.forceMount,...n}=e,a=A(G,e.__scopePopover);return(0,w.jsx)(p.C,{present:o||a.open,children:a.modal?(0,w.jsx)(O,{...n,ref:r}):(0,w.jsx)(L,{...n,ref:r})})});N.displayName=G;var _=(0,h.TL)("PopoverContent.RemoveScroll"),O=o.forwardRef((e,r)=>{let t=A(G,e.__scopePopover),l=o.useRef(null),i=(0,a.s)(r,l),s=o.useRef(!1);return o.useEffect(()=>{let e=l.current;if(e)return(0,b.Eq)(e)},[]),(0,w.jsx)(g.A,{as:_,allowPinchZoom:!0,children:(0,w.jsx)(M,{...e,ref:i,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.mK)(e.onCloseAutoFocus,e=>{var r;e.preventDefault(),s.current||null==(r=t.triggerRef.current)||r.focus()}),onPointerDownOutside:(0,n.mK)(e.onPointerDownOutside,e=>{let r=e.detail.originalEvent,t=0===r.button&&!0===r.ctrlKey;s.current=2===r.button||t},{checkForDefaultPrevented:!1}),onFocusOutside:(0,n.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),L=o.forwardRef((e,r)=>{let t=A(G,e.__scopePopover),n=o.useRef(!1),a=o.useRef(!1);return(0,w.jsx)(M,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{var o,l;null==(o=e.onCloseAutoFocus)||o.call(e,r),r.defaultPrevented||(n.current||null==(l=t.triggerRef.current)||l.focus(),r.preventDefault()),n.current=!1,a.current=!1},onInteractOutside:r=>{var o,l;null==(o=e.onInteractOutside)||o.call(e,r),r.defaultPrevented||(n.current=!0,"pointerdown"===r.detail.originalEvent.type&&(a.current=!0));let i=r.target;(null==(l=t.triggerRef.current)?void 0:l.contains(i))&&r.preventDefault(),"focusin"===r.detail.originalEvent.type&&a.current&&r.preventDefault()}})}),M=o.forwardRef((e,r)=>{let{__scopePopover:t,trapFocus:o,onOpenAutoFocus:n,onCloseAutoFocus:a,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:v,...h}=e,m=A(G,t),b=R(t);return(0,s.Oh)(),(0,w.jsx)(u.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:n,onUnmountAutoFocus:a,children:(0,w.jsx)(i.qW,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:v,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:p,onDismiss:()=>m.onOpenChange(!1),children:(0,w.jsx)(d.UC,{"data-state":q(m.open),role:"dialog",id:m.contentId,...b,...h,ref:r,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),S="PopoverClose",B=o.forwardRef((e,r)=>{let{__scopePopover:t,...o}=e,a=A(S,t);return(0,w.jsx)(v.sG.button,{type:"button",...o,ref:r,onClick:(0,n.mK)(e.onClick,()=>a.onOpenChange(!1))})});B.displayName=S;var U=o.forwardRef((e,r)=>{let{__scopePopover:t,...o}=e,n=R(t);return(0,w.jsx)(d.i3,{...n,...o,ref:r})});function q(e){return e?"open":"closed"}U.displayName="PopoverArrow";var z=F,V=K,H=T,Z=N,W=B,J=U},10423:(e,r,t)=>{t.d(r,{B8:()=>K,UC:()=>k,bL:()=>D,l9:()=>I});var o=t(50975),n=t(86635),a=t(43696),l=t(44642),i=t(91293),s=t(63111),u=t(59827),c=t(22367),d=t(30035),f=t(21335),p="Tabs",[v,h]=(0,a.A)(p,[l.RG]),m=(0,l.RG)(),[b,g]=v(p),w=o.forwardRef((e,r)=>{let{__scopeTabs:t,value:o,onValueChange:n,defaultValue:a,orientation:l="horizontal",dir:i,activationMode:v="automatic",...h}=e,m=(0,u.jH)(i),[g,w]=(0,c.i)({prop:o,onChange:n,defaultProp:null!=a?a:"",caller:p});return(0,f.jsx)(b,{scope:t,baseId:(0,d.B)(),value:g,onValueChange:w,orientation:l,dir:m,activationMode:v,children:(0,f.jsx)(s.sG.div,{dir:m,"data-orientation":l,...h,ref:r})})});w.displayName=p;var x="TabsList",C=o.forwardRef((e,r)=>{let{__scopeTabs:t,loop:o=!0,...n}=e,a=g(x,t),i=m(t);return(0,f.jsx)(l.bL,{asChild:!0,...i,orientation:a.orientation,dir:a.dir,loop:o,children:(0,f.jsx)(s.sG.div,{role:"tablist","aria-orientation":a.orientation,...n,ref:r})})});C.displayName=x;var y="TabsTrigger",R=o.forwardRef((e,r)=>{let{__scopeTabs:t,value:o,disabled:a=!1,...i}=e,u=g(y,t),c=m(t),d=F(u.baseId,o),p=P(u.baseId,o),v=o===u.value;return(0,f.jsx)(l.q7,{asChild:!0,...c,focusable:!a,active:v,children:(0,f.jsx)(s.sG.button,{type:"button",role:"tab","aria-selected":v,"aria-controls":p,"data-state":v?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:d,...i,ref:r,onMouseDown:(0,n.mK)(e.onMouseDown,e=>{a||0!==e.button||!1!==e.ctrlKey?e.preventDefault():u.onValueChange(o)}),onKeyDown:(0,n.mK)(e.onKeyDown,e=>
1{[" ","Enter"].includes(e.key)&&u.onValueChange(o)}),onFocus:(0,n.mK)(e.onFocus,()=>{let e="manual"!==u.activationMode;v||a||!e||u.onValueChange(o)})})})});R.displayName=y;var j="TabsContent",A=o.forwardRef((e,r)=>{let{__scopeTabs:t,value:n,forceMount:a,children:l,...u}=e,c=g(j,t),d=F(c.baseId,n),p=P(c.baseId,n),v=n===c.value,h=o.useRef(v);return o.useEffect(()=>{let e=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,f.jsx)(i.C,{present:a||v,children:t=>{let{present:o}=t;return(0,f.jsx)(s.sG.div,{"data-state":v?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":d,hidden:!o,id:p,tabIndex:0,...u,ref:r,style:{...e.style,animationDuration:h.current?"0s":void 0},children:o&&l})}})});function F(e,r){return"".concat(e,"-trigger-").concat(r)}function P(e,r){return"".concat(e,"-content-").concat(r)}A.displayName=j;var D=w,K=C,I=R,k=A},44642:(e,r,t)=>{t.d(r,{RG:()=>C,bL:()=>I,q7:()=>k});var o=t(50975),n=t(86635),a=t(17263),l=t(50278),i=t(43696),s=t(30035),u=t(63111),c=t(74231),d=t(22367),f=t(59827),p=t(21335),v="rovingFocusGroup.onEntryFocus",h={bubbles:!1,cancelable:!0},m="RovingFocusGroup",[b,g,w]=(0,a.N)(m),[x,C]=(0,i.A)(m,[w]),[y,R]=x(m),j=o.forwardRef((e,r)=>(0,p.jsx)(b.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(b.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(A,{...e,ref:r})})}));j.displayName=m;var A=o.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,orientation:a,loop:i=!1,dir:s,currentTabStopId:b,defaultCurrentTabStopId:w,onCurrentTabStopIdChange:x,onEntryFocus:C,preventScrollOnEntryFocus:R=!1,...j}=e,A=o.useRef(null),F=(0,l.s)(r,A),P=(0,f.jH)(s),[D,I]=(0,d.i)({prop:b,defaultProp:null!=w?w:null,onChange:x,caller:m}),[k,E]=o.useState(!1),T=(0,c.c)(C),G=g(t),N=o.useRef(!1),[_,O]=o.useState(0);return o.useEffect(()=>{let e=A.current;if(e)return e.addEventListener(v,T),()=>e.removeEventListener(v,T)},[T]),(0,p.jsx)(y,{scope:t,orientation:a,dir:P,loop:i,currentTabStopId:D,onItemFocus:o.useCallback(e=>I(e),[I]),onItemShiftTab:o.useCallback(()=>E(!0),[]),onFocusableItemAdd:o.useCallback(()=>O(e=>e+1),[]),onFocusableItemRemove:o.useCallback(()=>O(e=>e-1),[]),children:(0,p.jsx)(u.sG.div,{tabIndex:k||0===_?-1:0,"data-orientation":a,...j,ref:F,style:{outline:"none",...e.style},onMouseDown:(0,n.mK)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,n.mK)(e.onFocus,e=>{let r=!N.current;if(e.target===e.currentTarget&&r&&!k){let r=new CustomEvent(v,h);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=G().filter(e=>e.focusable);K([e.find(e=>e.active),e.find(e=>e.id===D),...e].filter(Boolean).map(e=>e.ref.current),R)}}N.current=!1}),onBlur:(0,n.mK)(e.onBlur,()=>E(!1))})})}),F="RovingFocusGroupItem",P=o.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,focusable:a=!0,active:l=!1,tabStopId:i,children:c,...d}=e,f=(0,s.B)(),v=i||f,h=R(F,t),m=h.currentTabStopId===v,w=g(t),{onFocusableItemAdd:x,onFocusableItemRemove:C,currentTabStopId:y}=h;return o.useEffect(()=>{if(a)return x(),()=>C()},[a,x,C]),(0,p.jsx)(b.ItemSlot,{scope:t,id:v,focusable:a,active:l,children:(0,p.jsx)(u.sG.span,{tabIndex:m?0:-1,"data-orientation":h.orientation,...d,ref:r,onMouseDown:(0,n.mK)(e.onMouseDown,e=>{a?h.onItemFocus(v):e.preventDefault()}),onFocus:(0,n.mK)(e.onFocus,()=>h.onItemFocus(v)),onKeyDown:(0,n.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void h.onItemShiftTab();if(e.target!==e.currentTarget)return;let r=function(e,r,t){var o;let n=(o=e.key,"rtl"!==t?o:"ArrowLeft"===o?"ArrowRight":"ArrowRight"===o?"ArrowLeft":o);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(n)))return D[n]}(e,h.orientation,h.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let t=w().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)t.reverse();else if("prev"===r||"next"===r){"prev"===r&&t.reverse();let o=t.indexOf(e.currentTarget);t=h.loop?function(e,r){return e.map((t,o)=>e[(r+o)%e.length])}(t,o+1):t.slice(o+1)}setTimeout(()=>K(t))}}),children:"function"==typeof c?c({isCurrentTabStop:m,hasTabStop:null!=y}):c})})});P.displayName=F;var D={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function K(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=document.activeElement;for(let o of e)if(o===t||(o.focus({preventScroll:r}),document.activeElement!==t))return}var I=j,k=P}}]);
2//# sourceMappingURL=1155-f920ab41b2cc7ffd.js.map

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.