PageSourceSearch

https://www.optuneluahcp.com/_next/static/chunks/4910.d46cb3e24ff338a5.js

js optuneluahcp.com collected 2026-09-29 20:37:15 UTC 9,156 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4910],{14910:(e,t,n)=>{n.r(t),n.d(t,{Tabs:()=>J});var a=n(37876),l=n(35578),r=n(14232),s=n(46936),u=n(40292);function o(e){let{tagName:t,isContentEditable:n}=e.target;return"INPUT"!==t&&"TEXTAREA"!==t&&!0!==n}var i=n(18674),c=n(98156),d=n(27258),b=n(40428),f=n(16631),[p,v,m,x]=(0,i.D)(),[h,g]=(0,c.q)({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"}),[k,j]=(0,c.q)({});function y(e,t){return`${e}--tab-${t}`}function T(e,t){return`${e}--tabpanel-${t}`}var C=n(45490),_=n(69148),E=n(33814),N=n(8144),[w,S]=(0,c.q)({name:"TabsStylesContext",errorMessage:"useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Tabs />\" "}),D=(0,C.R)(function(e,t){let n=(0,_.o5)("Tabs",e),{children:l,className:u,...o}=(0,E.MN)(e),{htmlProps:i,descendants:c,...b}=function(e){var t;let{defaultIndex:n,onChange:a,index:l,isManual:s,isLazy:u,lazyBehavior:o="unmount",orientation:i="horizontal",direction:c="ltr",...b}=e,[f,p]=(0,r.useState)(null!=n?n:0),[v,x]=(0,d.i)({defaultValue:null!=n?n:0,value:l,onChange:a});(0,r.useEffect)(()=>{null!=l&&p(l)},[l]);let h=m(),g=(0,r.useId)(),k=null!=(t=e.id)?t:g;return{id:`tabs-${k}`,selectedIndex:v,focusedIndex:f,setSelectedIndex:x,setFocusedIndex:p,isManual:s,isLazy:u,lazyBehavior:o,orientation:i,descendants:h,direction:c,htmlProps:b}}(o),f=(0,r.useMemo)(()=>b,[b]),{isFitted:v,...x}=i;return(0,a.jsx)(p,{value:c,children:(0,a.jsx)(h,{value:f,children:(0,a.jsx)(w,{value:n,children:(0,a.jsx)(N.B.div,{className:(0,s.cx)("chakra-tabs",u),ref:t,...x,__css:n.root,children:l})})})})});D.displayName="Tabs";var I=(0,C.R)(function(e,t){let n=function(e){let{focusedIndex:t,orientation:n,direction:a}=g(),l=v(),u=(0,r.useCallback)(e=>{let r=()=>{var e;let n=l.nextEnabled(t);n&&(null==(e=n.node)||e.focus())},s=()=>{var e;let n=l.prevEnabled(t);n&&(null==(e=n.node)||e.focus())},u="horizontal"===n,o="vertical"===n,i=e.key,c={["ltr"===a?"ArrowLeft":"ArrowRight"]:()=>u&&s(),["ltr"===a?"ArrowRight":"ArrowLeft"]:()=>u&&r(),ArrowDown:()=>o&&r(),ArrowUp:()=>o&&s(),Home:()=>{var e;let t=l.firstEnabled();t&&(null==(e=t.node)||e.focus())},End:()=>{var e;let t=l.lastEnabled();t&&(null==(e=t.node)||e.focus())}}[i];c&&(e.preventDefault(),c(e))},[l,t,n,a]);return{...e,role:"tablist","aria-orientation":n,onKeyDown:(0,s.Hj)(e.onKeyDown,u)}}({...e,ref:t}),l={display:"flex",...S().tablist};return(0,a.jsx)(N.B.div,{...n,className:(0,s.cx)("chakra-tabs__tablist",e.className),__css:l})});I.displayName="TabList";var z=(0,C.R)(function(e,t){let n=S(),l=function(e){let{isDisabled:t=!1,isFocusable:n=!1,...a}=e,{setSelectedIndex:l,isManual:i,id:c,setFocusedIndex:d,selectedIndex:b}=g(),{index:f,register:p}=x({disabled:t&&!n}),v=f===b;return{...function(e={}){let{ref:t,isDisabled:n,isFocusable:a,clickOnEnter:l=!0,clickOnSpace:i=!0,onMouseDown:c,onMouseUp:d,onClick:b,onKeyDown:f,onKeyUp:p,tabIndex:v,onMouseOver:m,onMouseLeave:x,...h}=e,[g,k]=(0,r.useState)(!0),[j,y]=(0,r.useState)(!1),T=function(){let e=(0,r.useRef)(new Map),t=e.current,n=(0,r.useCallback)((t,n,a,l)=>{e.current.set(a,{type:n,el:t,options:l}),t.addEventListener(n,a,l)},[]),a=(0,r.useCallback)((t,n,a,l)=>{t.removeEventListener(n,a,l),e.current.delete(a)},[]);return(0,r.useEffect)(()=>()=>{t.forEach((e,t)=>{a(e.el,e.type,t,e.options)})},[a,t]),{add:n,remove:a}}(),C=g?v:v||0,_=n&&!a,E=(0,r.useCallback)(e=>{if(n){e.stopPropagation(),e.preventDefault();return}e.currentTarget.focus(),null==b||b(e)},[n,b]),N=(0,r.useCallback)(e=>{j&&o(e)&&(e.preventDefault(),e.stopPropagation(),y(!1),T.remove(document,"keyup",N,!1))},[j,T]),w=(0,r.useCallback)(e=>{if(null==f||f(e),n||e.defaultPrevented||e.metaKey||!o(e.nativeEvent)||g)return;let t=l&&"Enter"===e.key;i&&" "===e.key&&(e.preventDefault(),y(!0)),t&&(e.preventDefault(),e.currentTarget.click()),T.add(document,"keyup",N,!1)},[n,g,f,l,i,T,N]),S=(0,r.useCallback)(e=>{null==p||p(e),!n&&!e.defaultPrevented&&!e.metaKey&&o(e.nativeEvent)&&!g&&i&&" "===e.key&&(e.preventDefault(),y(!1),e.currentTarget.click())},[i,g,n,p]),D=(0,r.useCallback)(e=>{0===e.button&&(y(!1),T.remove(document,"mouseup",D,!1))},[T]),I=(0,r.useCallback)(e=>{if(0===e.button){if(n){e.stopPropagation(),e.preventDefault();return}
1g||y(!0),e.currentTarget.focus({preventScroll:!0}),T.add(document,"mouseup",D,!1),null==c||c(e)}},[n,g,c,T,D]),z=(0,r.useCallback)(e=>{0===e.button&&(g||y(!1),null==d||d(e))},[d,g]),P=(0,r.useCallback)(e=>{if(n)return void e.preventDefault();null==m||m(e)},[n,m]),M=(0,r.useCallback)(e=>{j&&(e.preventDefault(),y(!1)),null==x||x(e)},[j,x]),R=(0,u.Px)(t,e=>{e&&"BUTTON"!==e.tagName&&k(!1)});return g?{...h,ref:R,type:"button","aria-disabled":_?void 0:n,disabled:_,onClick:E,onMouseDown:c,onMouseUp:d,onKeyUp:p,onKeyDown:f,onMouseOver:m,onMouseLeave:x}:{...h,ref:R,role:"button","data-active":(0,s.sE)(j),"aria-disabled":n?"true":void 0,tabIndex:_?void 0:C,onClick:E,onMouseDown:I,onMouseUp:z,onKeyUp:S,onKeyDown:w,onMouseOver:P,onMouseLeave:M}}({...a,ref:(0,u.Px)(p,e.ref),isDisabled:t,isFocusable:n,onClick:(0,s.Hj)(e.onClick,()=>{l(f)})}),id:y(c,f),role:"tab",tabIndex:v?0:-1,type:"button","aria-selected":v,"aria-controls":T(c,f),onFocus:t?void 0:(0,s.Hj)(e.onFocus,()=>{d(f);let e=t&&n;i||e||l(f)})}}({...e,ref:t}),i={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...n.tab};return(0,a.jsx)(N.B.button,{...l,className:(0,s.cx)("chakra-tabs__tab",e.className),__css:i})});z.displayName="Tab";var P=(0,C.R)(function(e,t){let n=function(e){let{id:t,selectedIndex:n}=g(),a=(0,b.a)(e.children).map((e,a)=>(0,r.createElement)(k,{key:a,value:{isSelected:a===n,id:T(t,a),tabId:y(t,a),selectedIndex:n}},e));return{...e,children:a}}(e),l=S();return(0,a.jsx)(N.B.div,{...n,width:"100%",ref:t,className:(0,s.cx)("chakra-tabs__tab-panels",e.className),__css:l.tabpanels})});P.displayName="TabPanels";var M=(0,C.R)(function(e,t){let n=function(e){let{children:t,...n}=e,{isLazy:a,lazyBehavior:l}=g(),{isSelected:s,id:u,tabId:o}=j(),i=(0,r.useRef)(!1);s&&(i.current=!0);let c=(0,f.q)({wasSelected:i.current,isSelected:s,enabled:a,mode:l});return{tabIndex:0,...n,children:c?t:null,role:"tabpanel","aria-labelledby":o,hidden:!s,id:u}}({...e,ref:t}),l=S();return(0,a.jsx)(N.B.div,{outline:"0",...n,className:(0,s.cx)("chakra-tabs__tab-panel",e.className),__css:l.tabpanel})});M.displayName="TabPanel";var R=n(57176),A=n(83497),B=n(74275),K=n(73326),L=n(2515),q=n(43087),H=n(61926),U=n(81772),$=n(18363),F=n(57667),O=n(22278);function Q(e){return e.childrenComponent&&e.childrenComponent.find(e=>e.type===O._Q)&&e.childrenComponent.forEach(e=>{e.type===O._Q&&(e.isInsideTabs=!0)}),(0,a.jsx)(F.m,{...e})}var V=n(93704),W=n(91058);function J(e){let{theme:t=U.PB,title:n,paragraph:s,paragraphFooter:u,tabs:o}=e;t=null!=t?t:U.PB;let[i,c]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{!i&&(0,V.nr)()&&c(!0)},[i]),s&&(s.size=s.size||U.Iq),u&&(u.size=u.size||U.q8),n){var d;let e=n.fontSizes,t=n.fontWeights;n.headingTag=null!=(d=n.headingTag)?d:U._K,n.fontWeights={base:(null==t?void 0:t.base)||"light",md:(null==t?void 0:t.md)||"light",lg:(null==t?void 0:t.lg)||"light"},n.fontSizes={base:(null==e?void 0:e.base)||"4xl",md:(null==e?void 0:e.md)||"4xl",lg:(null==e?void 0:e.lg)||"4xl"}}let{boxProps:b,boxTitleProps:f,boxParagraphProps:p,boxParagraphFooterProps:v,customTabsProps:m,accordionProps:x,accordionIconExpandedProps:h,accordionIconNotExpandedProps:g,accordionExpandedButtonBoxProps:k,accordionNotExpandedButtonBoxProps:j}=(0,H.gT)({variant:t}),[y,T]=(0,r.useState)(0),[C,_]=(0,r.useState)(null);m.index=y,m.onChange=e=>{T(e),_(e)},x.index=C,x.onChange=e=>{_(e),e>=0&&T(e)},x.defaultIndex=1,(0,r.useEffect)(()=>{_(U.aO)},[]);let{headerHeight:E}=(0,W.gK)(),N=(0,r.useRef)([]);return(0,a.jsxs)(l.az,{...b,children:[n&&(0,a.jsx)(l.az,{...f,children:(0,a.jsx)(q.Title,{...n})}),s&&(0,a.jsx)(l.az,{...p,children:(0,a.jsx)(L.Paragraph,{...s})}),(0,a.jsxs)(D,{...m,isLazy:i,children:[(0,a.jsx)(I,{children:o.map(e=>(0,a.jsx)(z,{dangerouslySetInnerHTML:{__html:e.name}},"tab-".concat(e.id)))}),(0,a.jsx)(P,{children:o.map(e=>{let{containerProps:t}=e;return(0,a.jsx)(M,{children:t.map((e,t)=>(0,a.jsx)(Q,{...e},"tab-container-".concat(t)))},"tab-panel-".concat(e.id))})})]}),(0,a.jsx)(R.n,{...x,children:o.map((e,t)=>{let{containerProps:n}=e;return(0,a.jsx)(A.A,{children:r=>{let{isExpanded:s}=r;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(B.J,{scrollMarginTop:"".concat(E,"px"),onClick:()=>setTimeout(()=>{var e,n;null==N||null==(n=N.current)||null==(e=n[t])||e.scrollIntoView({behavior:"smooth",block:"nearest"})},500),ref:e=>{e&&(N.current[t]=e)},children:[(0,a.jsx)(l.az,{...s?k:j,children:e.name}),s?(0,a.jsx)($.I,{...h}):(0,a.jsx)($.I,{...g})]}),(0,a.jsx)(K.v,{className:s?"expanded":"",children:n.map((e,t)=>(0,a.jsx)(Q,{...e},"accordion-container-".concat(t)))})]})}},"accordion-item-".concat(e.id))})}),u&&(0,a.jsx)(l.az,{...v,children:(0,a.jsx)(L.Paragraph,{...u})})]})}},16631:(e,t,n)=>{n.d(t,{q:()=>a});function a(e){let{wasSelected:t,enabled:n,isSelected:a,mode:l="unmount"}=e;return!n||!!a||"keepMounted"===l&&!!t}}}]);

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.