PageSourceSearch

https://j2proxy.vn/_next/static/chunks/15167.270760538661aea5.js

js j2proxy.vn collected 2026-10-02 02:16:01 UTC 7,521 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15167],{24058:(e,r,t)=>{t.d(r,{C1:()=>_,bL:()=>P,q7:()=>K});var n=t(12115),o=t(92556),a=t(94446),i=t(3468),u=t(97602),l=t(72431),s=t(23558),d=t(66218),c=t(84288),f=t(78108),p=t(76842),v=t(95155),m="Radio",[h,w]=(0,i.A)(m),[y,b]=h(m),k=n.forwardRef((e,r)=>{let{__scopeRadio:t,name:i,checked:l=!1,required:s,disabled:d,value:c="on",onCheck:f,form:p,...m}=e,[h,w]=n.useState(null),b=(0,a.s)(r,e=>w(e)),k=n.useRef(!1),R=!h||p||!!h.closest("form");return(0,v.jsxs)(y,{scope:t,checked:l,disabled:d,children:[(0,v.jsx)(u.sG.button,{type:"button",role:"radio","aria-checked":l,"data-state":j(l),"data-disabled":d?"":void 0,disabled:d,value:c,...m,ref:b,onClick:(0,o.m)(e.onClick,e=>{l||null==f||f(),R&&(k.current=e.isPropagationStopped(),k.current||e.stopPropagation())})}),R&&(0,v.jsx)(x,{control:h,bubbles:!k.current,name:i,value:c,checked:l,required:s,disabled:d,form:p,style:{transform:"translateX(-100%)"}})]})});k.displayName=m;var R="RadioIndicator",g=n.forwardRef((e,r)=>{let{__scopeRadio:t,forceMount:n,...o}=e,a=b(R,t);return(0,v.jsx)(p.C,{present:n||a.checked,children:(0,v.jsx)(u.sG.span,{"data-state":j(a.checked),"data-disabled":a.disabled?"":void 0,...o,ref:r})})});g.displayName=R;var x=n.forwardRef((e,r)=>{let{__scopeRadio:t,control:o,checked:i,bubbles:l=!0,...s}=e,d=n.useRef(null),p=(0,a.s)(d,r),m=(0,f.Z)(i),h=(0,c.X)(o);return n.useEffect(()=>{let e=d.current;if(!e)return;let r=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(m!==i&&r){let t=new Event("click",{bubbles:l});r.call(e,i),e.dispatchEvent(t)}},[m,i,l]),(0,v.jsx)(u.sG.input,{type:"radio","aria-hidden":!0,defaultChecked:i,...s,tabIndex:-1,ref:p,style:{...s.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function j(e){return e?"checked":"unchecked"}x.displayName="RadioBubbleInput";var E=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],A="RadioGroup",[C,I]=(0,i.A)(A,[l.RG,w]),F=(0,l.RG)(),G=w(),[L,D]=C(A),T=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,name:n,defaultValue:o,value:a,required:i=!1,disabled:c=!1,orientation:f,dir:p,loop:m=!0,onValueChange:h,...w}=e,y=F(t),b=(0,d.jH)(p),[k,R]=(0,s.i)({prop:a,defaultProp:null!=o?o:"",onChange:h,caller:A});return(0,v.jsx)(L,{scope:t,name:n,required:i,disabled:c,value:k,onValueChange:R,children:(0,v.jsx)(l.bL,{asChild:!0,...y,orientation:f,dir:b,loop:m,children:(0,v.jsx)(u.sG.div,{role:"radiogroup","aria-required":i,"aria-orientation":f,"data-disabled":c?"":void 0,dir:b,...w,ref:r})})})});T.displayName=A;var N="RadioGroupItem",S=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,disabled:i,...u}=e,s=D(N,t),d=s.disabled||i,c=F(t),f=G(t),p=n.useRef(null),m=(0,a.s)(r,p),h=s.value===u.value,w=n.useRef(!1);return n.useEffect(()=>{let e=e=>{E.includes(e.key)&&(w.current=!0)},r=()=>w.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",r),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",r)}},[]),(0,v.jsx)(l.q7,{asChild:!0,...c,focusable:!d,active:h,children:(0,v.jsx)(k,{disabled:d,required:s.required,
1checked:h,...f,...u,name:s.name,ref:m,onCheck:()=>s.onValueChange(u.value),onKeyDown:(0,o.m)(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:(0,o.m)(u.onFocus,()=>{var e;w.current&&(null==(e=p.current)||e.click())})})})});S.displayName=N;var M=n.forwardRef((e,r)=>{let{__scopeRadioGroup:t,...n}=e,o=G(t);return(0,v.jsx)(g,{...o,...n,ref:r})});M.displayName="RadioGroupIndicator";var P=T,K=S,_=M},42348:(e,r,t)=>{t.d(r,{A:()=>n});let n=(0,t(71847).A)("Loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]])},72431:(e,r,t)=>{t.d(r,{RG:()=>R,bL:()=>G,q7:()=>L});var n=t(12115),o=t(92556),a=t(49972),i=t(94446),u=t(3468),l=t(68946),s=t(97602),d=t(70222),c=t(23558),f=t(66218),p=t(95155),v="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[w,y,b]=(0,a.N)(h),[k,R]=(0,u.A)(h,[b]),[g,x]=k(h),j=n.forwardRef((e,r)=>(0,p.jsx)(w.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(w.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(E,{...e,ref:r})})}));j.displayName=h;var E=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,orientation:a,loop:u=!1,dir:l,currentTabStopId:w,defaultCurrentTabStopId:b,onCurrentTabStopIdChange:k,onEntryFocus:R,preventScrollOnEntryFocus:x=!1,...j}=e,E=n.useRef(null),A=(0,i.s)(r,E),C=(0,f.jH)(l),[I,G]=(0,c.i)({prop:w,defaultProp:null!=b?b:null,onChange:k,caller:h}),[L,D]=n.useState(!1),T=(0,d.c)(R),N=y(t),S=n.useRef(!1),[M,P]=n.useState(0);return n.useEffect(()=>{let e=E.current;if(e)return e.addEventListener(v,T),()=>e.removeEventListener(v,T)},[T]),(0,p.jsx)(g,{scope:t,orientation:a,dir:C,loop:u,currentTabStopId:I,onItemFocus:n.useCallback(e=>G(e),[G]),onItemShiftTab:n.useCallback(()=>D(!0),[]),onFocusableItemAdd:n.useCallback(()=>P(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>P(e=>e-1),[]),children:(0,p.jsx)(s.sG.div,{tabIndex:L||0===M?-1:0,"data-orientation":a,...j,ref:A,style:{outline:"none",...e.style},onMouseDown:(0,o.m)(e.onMouseDown,()=>{S.current=!0}),onFocus:(0,o.m)(e.onFocus,e=>{let r=!S.current;if(e.target===e.currentTarget&&r&&!L){let r=new CustomEvent(v,m);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=N().filter(e=>e.focusable);F([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),x)}}S.current=!1}),onBlur:(0,o.m)(e.onBlur,()=>D(!1))})})}),A="RovingFocusGroupItem",C=n.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,focusable:a=!0,active:i=!1,tabStopId:u,children:d,...c}=e,f=(0,l.B)(),v=u||f,m=x(A,t),h=m.currentTabStopId===v,b=y(t),{onFocusableItemAdd:k,onFocusableItemRemove:R,currentTabStopId:g}=m;return n.useEffect(()=>{if(a)return k(),()=>R()},[a,k,R]),(0,p.jsx)(w.ItemSlot,{scope:t,id:v,focusable:a,active:i,children:(0,p.jsx)(s.sG.span,{tabIndex:h?0:-1,"data-orientation":m.orientation,...c,ref:r,onMouseDown:(0,o.m)(e.onMouseDown,e=>{a?m.onItemFocus(v):e.preventDefault()}),onFocus:(0,o.m)(e.onFocus,()=>m.onItemFocus(v)),onKeyDown:(0,o.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void m.onItemShiftTab();if(e.target!==e.currentTarget)return;let r=function(e,r,t){var n;let o=(n=e.key,"rtl"!==t?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return I[o]}(e,m.orientation,m.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let t=b().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 n=t.indexOf(e.currentTarget);t=m.loop?function(e,r){return e.map((t,n)=>e[(r+n)%e.length])}(t,n+1):t.slice(n+1)}setTimeout(()=>F(t))}}),children:"function"==typeof d?d({isCurrentTabStop:h,hasTabStop:null!=g}):d})})});C.displayName=A;var I={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function F(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=document.activeElement;for(let n of e)if(n===t||(n.focus({preventScroll:r}),document.activeElement!==t))return}var G=j,L=C}}]);

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.