PageSourceSearch

https://www.soam.ai/_next/static/chunks/8588-18e0bf8d26526eb1.js?dpl=dpl_F73XLjjYJRpBSwQQkVS4hbAsBroa

js soam.ai collected 2026-10-05 12:40:00 UTC 7,724 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8588],{7695:(e,r,t)=>{t.d(r,{jH:()=>l});var o=t(98547);t(76947);var n=o.createContext(void 0);function l(e){let r=o.useContext(n);return e||r||"ltr"}},10856:(e,r,t)=>{t.d(r,{default:()=>l});var o=t(10479),n=t(76947);function l(e){let{locale:r,...t}=e;if(!r)throw Error(void 0);return(0,n.jsx)(o.Dk,{locale:r,...t})}},22913:(e,r,t)=>{t.d(r,{RG:()=>R,bL:()=>_,q7:()=>D});var o=t(98547),n=t(35550),l=t(83470),a=t(84936),i=t(93856),s=t(69793),u=t(69891),c=t(46217),f=t(3685),d=t(7695),p=t(76947),v="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[w,x,b]=(0,l.N)(g),[h,R]=(0,i.A)(g,[b]),[j,y]=h(g),C=o.forwardRef((e,r)=>(0,p.jsx)(w.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(w.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(A,{...e,ref:r})})}));C.displayName=g;var A=o.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,orientation:l,loop:i=!1,dir:s,currentTabStopId:g,defaultCurrentTabStopId:w,onCurrentTabStopIdChange:b,onEntryFocus:h,preventScrollOnEntryFocus:R=!1,...y}=e,C=o.useRef(null),A=(0,a.s)(r,C),I=(0,d.jH)(s),[G=null,k]=(0,f.i)({prop:g,defaultProp:w,onChange:b}),[_,D]=o.useState(!1),F=(0,c.c)(h),E=x(t),N=o.useRef(!1),[S,M]=o.useState(0);return o.useEffect(()=>{let e=C.current;if(e)return e.addEventListener(v,F),()=>e.removeEventListener(v,F)},[F]),(0,p.jsx)(j,{scope:t,orientation:l,dir:I,loop:i,currentTabStopId:G,onItemFocus:o.useCallback(e=>k(e),[k]),onItemShiftTab:o.useCallback(()=>D(!0),[]),onFocusableItemAdd:o.useCallback(()=>M(e=>e+1),[]),onFocusableItemRemove:o.useCallback(()=>M(e=>e-1),[]),children:(0,p.jsx)(u.sG.div,{tabIndex:_||0===S?-1:0,"data-orientation":l,...y,ref:A,style:{outline:"none",...e.style},onMouseDown:(0,n.m)(e.onMouseDown,()=>{N.current=!0}),onFocus:(0,n.m)(e.onFocus,e=>{let r=!N.current;if(e.target===e.currentTarget&&r&&!_){let r=new CustomEvent(v,m);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=E().filter(e=>e.focusable);T([e.find(e=>e.active),e.find(e=>e.id===G),...e].filter(Boolean).map(e=>e.ref.current),R)}}N.current=!1}),onBlur:(0,n.m)(e.onBlur,()=>D(!1))})})}),I="RovingFocusGroupItem",G=o.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:t,focusable:l=!0,active:a=!1,tabStopId:i,...c}=e,f=(0,s.B)(),d=i||f,v=y(I,t),m=v.currentTabStopId===d,g=x(t),{onFocusableItemAdd:b,onFocusableItemRemove:h}=v;return o.useEffect(()=>{if(l)return b(),()=>h()},[l,b,h]),(0,p.jsx)(w.ItemSlot,{scope:t,id:d,focusable:l,active:a,children:(0,p.jsx)(u.sG.span,{tabIndex:m?0:-1,"data-orientation":v.orientation,...c,ref:r,onMouseDown:(0,n.m)(e.onMouseDown,e=>{l?v.onItemFocus(d):e.preventDefault()}),onFocus:(0,n.m)(e.onFocus,()=>v.onItemFocus(d)),onKeyDown:(0,n.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void v.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 k[n]}(e,v.orientation,v.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let t=g().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=v.loop?function(e,r){return e.map((t,o)=>e[(r+o)%e.length])}(t,o+1):t.slice(o+1)}setTimeout(()=>T(t))}})})})});G.displayName=I;var k={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function T(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 _=C,D=G},53437:(e,r,t)=>{t.d(r,{q7:()=>k,bL:()=>G});var o=t(98547),n=t(93856),l=t(69891),a=t(22913),i=t(35550),s=t(3685),u=t(76947),c=o.forwardRef((e,r)=>
1{let{pressed:t,defaultPressed:o=!1,onPressedChange:n,...a}=e,[c=!1,f]=(0,s.i)({prop:t,onChange:n,defaultProp:o});return(0,u.jsx)(l.sG.button,{type:"button","aria-pressed":c,"data-state":c?"on":"off","data-disabled":e.disabled?"":void 0,...a,ref:r,onClick:(0,i.m)(e.onClick,()=>{e.disabled||f(!c)})})});c.displayName="Toggle";var f=t(7695),d="ToggleGroup",[p,v]=(0,n.A)(d,[a.RG]),m=(0,a.RG)(),g=o.forwardRef((e,r)=>{let{type:t,...o}=e;if("single"===t)return(0,u.jsx)(b,{...o,ref:r});if("multiple"===t)return(0,u.jsx)(h,{...o,ref:r});throw Error("Missing prop `type` expected on `".concat(d,"`"))});g.displayName=d;var[w,x]=p(d),b=o.forwardRef((e,r)=>{let{value:t,defaultValue:n,onValueChange:l=()=>{},...a}=e,[i,c]=(0,s.i)({prop:t,defaultProp:n,onChange:l});return(0,u.jsx)(w,{scope:e.__scopeToggleGroup,type:"single",value:i?[i]:[],onItemActivate:c,onItemDeactivate:o.useCallback(()=>c(""),[c]),children:(0,u.jsx)(y,{...a,ref:r})})}),h=o.forwardRef((e,r)=>{let{value:t,defaultValue:n,onValueChange:l=()=>{},...a}=e,[i=[],c]=(0,s.i)({prop:t,defaultProp:n,onChange:l}),f=o.useCallback(e=>c(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...r,e]}),[c]),d=o.useCallback(e=>c(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r.filter(r=>r!==e)}),[c]);return(0,u.jsx)(w,{scope:e.__scopeToggleGroup,type:"multiple",value:i,onItemActivate:f,onItemDeactivate:d,children:(0,u.jsx)(y,{...a,ref:r})})});g.displayName=d;var[R,j]=p(d),y=o.forwardRef((e,r)=>{let{__scopeToggleGroup:t,disabled:o=!1,rovingFocus:n=!0,orientation:i,dir:s,loop:c=!0,...d}=e,p=m(t),v=(0,f.jH)(s),g={role:"group",dir:v,...d};return(0,u.jsx)(R,{scope:t,rovingFocus:n,disabled:o,children:n?(0,u.jsx)(a.bL,{asChild:!0,...p,orientation:i,dir:v,loop:c,children:(0,u.jsx)(l.sG.div,{...g,ref:r})}):(0,u.jsx)(l.sG.div,{...g,ref:r})})}),C="ToggleGroupItem",A=o.forwardRef((e,r)=>{let t=x(C,e.__scopeToggleGroup),n=j(C,e.__scopeToggleGroup),l=m(e.__scopeToggleGroup),i=t.value.includes(e.value),s=n.disabled||e.disabled,c={...e,pressed:i,disabled:s},f=o.useRef(null);return n.rovingFocus?(0,u.jsx)(a.q7,{asChild:!0,...l,focusable:!s,active:i,ref:f,children:(0,u.jsx)(I,{...c,ref:r})}):(0,u.jsx)(I,{...c,ref:r})});A.displayName=C;var I=o.forwardRef((e,r)=>{let{__scopeToggleGroup:t,value:o,...n}=e,l=x(C,t),a={role:"radio","aria-checked":e.pressed,"aria-pressed":void 0},i="single"===l.type?a:void 0;return(0,u.jsx)(c,{...i,...n,ref:r,onPressedChange:e=>{e?l.onItemActivate(o):l.onItemDeactivate(o)}})}),G=g,k=A},83470:(e,r,t)=>{t.d(r,{N:()=>s});var o=t(98547),n=t(93856),l=t(84936),a=t(31873),i=t(76947);function s(e){let r=e+"CollectionProvider",[t,s]=(0,n.A)(r),[u,c]=t(r,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:r,children:t}=e,n=o.useRef(null),l=o.useRef(new Map).current;return(0,i.jsx)(u,{scope:r,itemMap:l,collectionRef:n,children:t})};f.displayName=r;let d=e+"CollectionSlot",p=o.forwardRef((e,r)=>{let{scope:t,children:o}=e,n=c(d,t),s=(0,l.s)(r,n.collectionRef);return(0,i.jsx)(a.DX,{ref:s,children:o})});p.displayName=d;let v=e+"CollectionItemSlot",m="data-radix-collection-item",g=o.forwardRef((e,r)=>{let{scope:t,children:n,...s}=e,u=o.useRef(null),f=(0,l.s)(r,u),d=c(v,t);return o.useEffect(()=>(d.itemMap.set(u,{ref:u,...s}),()=>void d.itemMap.delete(u))),(0,i.jsx)(a.DX,{...{[m]:""},ref:f,children:n})});return g.displayName=v,[{Provider:f,Slot:p,ItemSlot:g},function(r){let t=c(e+"CollectionConsumer",r);return o.useCallback(()=>{let e=t.collectionRef.current;if(!e)return[];let r=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(t.itemMap.values()).sort((e,t)=>r.indexOf(e.ref.current)-r.indexOf(t.ref.current))},[t.collectionRef,t.itemMap])},s]}}}]);

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.