PageSourceSearch

https://nano-gpt.com/_next/static/chunks/95130-d196eb50d3ac78eb.js

js nano-gpt.com collected 2026-09-24 18:21:34 UTC 16,159 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[95130],{5505:(e,o,t)=>{t.d(o,{l:()=>m});var n=t(95155);t(12115);var r=t(86334),l=t(25168),a=t(99718),i=t(65214),s=t(74279),d=t(46460),c=t(69954),u=t(42698);let b={error:null},p=(0,l.V)((e,o)=>{let{size:t,color:n}=o;return{chevron:{"--combobox-chevron-size":(0,r.YC)(t,"combobox-chevron-size"),"--combobox-chevron-color":n?(0,a.r)(n,e):void 0}}}),m=(0,c.P9)((e,o)=>{let t=(0,i.Y)("ComboboxChevron",b,e),{size:r,error:l,style:a,className:c,classNames:m,styles:v,unstyled:f,vars:x,mod:h,...w}=t,C=(0,s.I)({name:"ComboboxChevron",classes:u.A,props:t,style:a,className:c,classNames:m,styles:v,unstyled:f,vars:x,varsResolver:p,rootSelector:"chevron"});return(0,n.jsx)(d.Box,{component:"svg",...w,...C("chevron"),size:r,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",mod:["combobox-chevron",{error:l},h],ref:o,children:(0,n.jsx)("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})})});m.classes=u.A,m.displayName="@mantine/core/ComboboxChevron"},42698:(e,o,t)=>{t.d(o,{A:()=>n});var n={dropdown:"m_88b62a41",search:"m_985517d8",options:"m_b2821a6e",option:"m_92253aa5",empty:"m_2530cd1d",header:"m_858f94bd",footer:"m_82b967cb",group:"m_254f3e4f",groupLabel:"m_2bb2e9e5",chevron:"m_2943220b",optionsDropdownOption:"m_390b5f4",optionsDropdownCheckIcon:"m_8ee53fc2",optionsDropdownCheckPlaceholder:"m_a530ee0a"}},95130:(e,o,t)=>{t.d(o,{G:()=>H});var n=t(95155),r=t(67413),l=t(12115),a=t(86334),i=t(25168),s=t(65214),d=t(74279),c=t(59978);let[u,b]=(0,t(7220).F)("Combobox component was not found in tree");var p=t(5505),m=t(93019);let v=(0,l.forwardRef)((e,o)=>{let{size:t,onMouseDown:r,onClick:l,onClear:a,...i}=e;return(0,n.jsx)(m.p.ClearButton,{ref:o,tabIndex:-1,"aria-hidden":!0,...i,onMouseDown:e=>{e.preventDefault(),null==r||r(e)},onClick:e=>{a(),null==l||l(e)}})});v.displayName="@mantine/core/ComboboxClearButton";var f=t(69954),x=t(42698);let h=(0,f.P9)((e,o)=>{let{classNames:t,styles:r,className:l,style:a,hidden:i,...d}=(0,s.Y)("ComboboxDropdown",null,e),u=b();return(0,n.jsx)(c.A.Dropdown,{...d,ref:o,role:"presentation","data-hidden":i||void 0,...u.getStyles("dropdown",{className:l,style:a,classNames:t,styles:r})})});h.classes=x.A,h.displayName="@mantine/core/ComboboxDropdown";var w=t(40772);let C={refProp:"ref"},g=(0,f.P9)((e,o)=>{let{children:t,refProp:r}=(0,s.Y)("ComboboxDropdownTarget",C,e);if(b(),!(0,w.v)(t))throw Error("Combobox.DropdownTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");return(0,n.jsx)(c.A.Target,{ref:o,refProp:r,children:t})});g.displayName="@mantine/core/ComboboxDropdownTarget";var y=t(46460);let A=(0,f.P9)((e,o)=>{let{classNames:t,className:r,style:l,styles:a,vars:i,...d}=(0,s.Y)("ComboboxEmpty",null,e),c=b();return(0,n.jsx)(y.Box,{ref:o,...c.getStyles("empty",{className:r,classNames:t,styles:a,style:l}),...d})});A.classes=x.A,A.displayName="@mantine/core/ComboboxEmpty";var D=t(84101),k=t(22442),O=t(67740);function E(e){let{onKeyDown:o,withKeyboardNavigation:t,withAriaAttributes:n,withExpandedAttribute:r,targetType:a,autoComplete:i}=e,s=b(),[d,c]=(0,l.useState)(null);return{...n?{"aria-haspopup":"listbox","aria-expanded":r?!!(s.store.listId&&s.store.dropdownOpened):void 0,"aria-controls":s.store.dropdownOpened&&s.store.listId?s.store.listId:void 0,"aria-activedescendant":s.store.dropdownOpened&&d||void 0,autoComplete:i,"data-expanded":s.store.dropdownOpened||void 0,"data-mantine-stop-propagation":s.store.dropdownOpened||void 0}:{},onKeyDown:e=>{if((null==o||o(e),!s.readOnly&&t)&&!e.nativeEvent.isComposing){if("ArrowDown"===e.nativeEvent.code&&(e.preventDefault(),s.store.dropdownOpened?c(s.store.selectNextOption()):(s.store.openDropdown("keyboard"),
1c(s.store.selectActiveOption()),s.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),"ArrowUp"===e.nativeEvent.code&&(e.preventDefault(),s.store.dropdownOpened?c(s.store.selectPreviousOption()):(s.store.openDropdown("keyboard"),c(s.store.selectActiveOption()),s.store.updateSelectedOptionIndex("selected",{scrollIntoView:!0}))),"Enter"===e.nativeEvent.code||"NumpadEnter"===e.nativeEvent.code){if(229===e.nativeEvent.keyCode)return;let o=s.store.getSelectedOptionIndex();s.store.dropdownOpened&&-1!==o?(e.preventDefault(),s.store.clickSelectedOption()):"button"===a&&(e.preventDefault(),s.store.openDropdown("keyboard"))}"Escape"===e.key&&s.store.closeDropdown("keyboard"),"Space"===e.nativeEvent.code&&"button"===a&&(e.preventDefault(),s.store.toggleDropdown("keyboard"))}}}}let S={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},N=(0,f.P9)((e,o)=>{let{children:t,refProp:n,withKeyboardNavigation:r,withAriaAttributes:a,withExpandedAttribute:i,targetType:d,autoComplete:c,...u}=(0,s.Y)("ComboboxEventsTarget",S,e),p=(0,O.D)(t);if(!p)throw Error("Combobox.EventsTarget component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");let m=b(),v=E({targetType:d,withAriaAttributes:a,withKeyboardNavigation:r,withExpandedAttribute:i,onKeyDown:p.props.onKeyDown,autoComplete:c});return(0,l.cloneElement)(p,{...v,...u,[n]:(0,D.pc)(o,m.store.targetRef,(0,k.x)(p))})});N.displayName="@mantine/core/ComboboxEventsTarget";let I=(0,f.P9)((e,o)=>{let{classNames:t,className:r,style:l,styles:a,vars:i,...d}=(0,s.Y)("ComboboxFooter",null,e),c=b();return(0,n.jsx)(y.Box,{ref:o,...c.getStyles("footer",{className:r,classNames:t,style:l,styles:a}),...d,onMouseDown:e=>{e.preventDefault()}})});I.classes=x.A,I.displayName="@mantine/core/ComboboxFooter";var T=t(89074);let P=(0,f.P9)((e,o)=>{let{classNames:t,className:r,style:l,styles:a,vars:i,children:d,label:c,id:u,...p}=(0,s.Y)("ComboboxGroup",null,e),m=b(),v=(0,T.B)(u);return(0,n.jsxs)(y.Box,{ref:o,role:"group","aria-labelledby":c?v:void 0,...m.getStyles("group",{className:r,classNames:t,style:l,styles:a}),...p,children:[c&&(0,n.jsx)("div",{id:v,...m.getStyles("groupLabel",{classNames:t,styles:a}),children:c}),d]})});P.classes=x.A,P.displayName="@mantine/core/ComboboxGroup";let R=(0,f.P9)((e,o)=>{let{classNames:t,className:r,style:l,styles:a,vars:i,...d}=(0,s.Y)("ComboboxHeader",null,e),c=b();return(0,n.jsx)(y.Box,{ref:o,...c.getStyles("header",{className:r,classNames:t,style:l,styles:a}),...d,onMouseDown:e=>{e.preventDefault()}})});function _(e){let{value:o,valuesDivider:t=",",...r}=e;return(0,n.jsx)("input",{type:"hidden",value:Array.isArray(o)?o.join(t):o||"",...r})}R.classes=x.A,R.displayName="@mantine/core/ComboboxHeader",_.displayName="@mantine/core/ComboboxHiddenInput";let j=(0,f.P9)((e,o)=>{let t=(0,s.Y)("ComboboxOption",null,e),{classNames:r,className:a,style:i,styles:d,vars:c,onClick:u,id:p,active:m,onMouseDown:v,onMouseOver:f,disabled:x,selected:h,mod:w,...C}=t,g=b(),A=(0,l.useId)();return(0,n.jsx)(y.Box,{...g.getStyles("option",{className:a,classNames:r,styles:d,style:i}),...C,ref:o,id:p||A,mod:["combobox-option",{"combobox-active":m,"combobox-disabled":x,"combobox-selected":h},w],role:"option",onClick:e=>{if(x)e.preventDefault();else{var o;null==(o=g.onOptionSubmit)||o.call(g,t.value,t),null==u||u(e)}},onMouseDown:e=>{e.preventDefault(),null==v||v(e)},onMouseOver:e=>{g.resetSelectionOnOptionHover&&g.store.resetSelectedOption(),null==f||f(e)}})});j.classes=x.A,j.displayName="@mantine/core/ComboboxOption";let Y=(0,f.P9)((e,o)=>{let{classNames:t,className:r,style:a,styles:i,id:d,onMouseDown:c,labelledBy:u,...p}=(0,s.Y)("ComboboxOptions",null,e),m=b(),v=(0,T.B)(d);return(0,l.useEffect)(()=>{m.store.setListId(v)},[v]),(0,n.jsx)(y.Box,{ref:o,...m.getStyles("options",{className:r,style:a,classNames:t,styles:i}),...p,id:v,role:"listbox","aria-labelledby":u,onMouseDown:e=>{e.preventDefault(),null==c||c(e)}})});Y.classes=x.A,Y.displayName="@mantine/core/ComboboxOptions";let B={withAriaAttributes:!0,withKeyboardNavigation:!0},L=(0,f.P9)((e,o)=>{let{classNames:t,styles:r,unstyled:l,vars:a,withAriaAttributes:i,onKeyDown:d,withKeyboardNavigation:c,size:u,...p}=(0,s.Y)("ComboboxSearch",B,e),v=b(),f=v.getStyles("search"),x=E({targetType:"input",withAriaAttributes:i,withKeyboardNavigation:c,withExpandedAttribute:!1,onKeyDown:d,autoComplete:"off"});return(0,n.jsx)(m.p,{ref:(0,D.pc)(o,v.store.searchRef),classNames:[{input:f.className},t],styles:[{input:f.style},r],size:u||v.size,...x,...p,__staticSelector:"Combobox"})});L.classes=x.A,L.displayName="@mantine/core/ComboboxSearch";let V={refProp:"ref",targetType:"input",withKeyboardNavigation:!0,withAriaAttributes:!0,withExpandedAttribute:!1,autoComplete:"off"},M=(0,f.P9)((e,o)=>{let{children:t,refProp:r,withKeyboardNavigation:a,withAriaAttributes:i,withExpandedAttribute:d,targetType:u,autoComplete:p,...m}=(0,s.Y)("ComboboxTarget",V,e),v=(0,O.D)(t);if(!v)throw Error("Combobox.Target component children should be an element or a component that accepts ref. Fragments, str
1ings, numbers and other primitive values are not supported");let f=b(),x=E({targetType:u,withAriaAttributes:i,withKeyboardNavigation:a,withExpandedAttribute:d,onKeyDown:v.props.onKeyDown,autoComplete:p}),h=(0,l.cloneElement)(v,{...x,...m});return(0,n.jsx)(c.A.Target,{ref:(0,D.pc)(o,f.store.targetRef),children:h})});M.displayName="@mantine/core/ComboboxTarget";var K=t(96384);let z={keepMounted:!0,withinPortal:!0,resetSelectionOnOptionHover:!1,width:"target",transitionProps:{transition:"fade",duration:0},size:"sm"},F=(0,i.V)((e,o)=>{let{size:t,dropdownPadding:n}=o;return{options:{"--combobox-option-fz":(0,a.ny)(t),"--combobox-option-padding":(0,a.YC)(t,"combobox-option-padding")},dropdown:{"--combobox-padding":void 0===n?void 0:(0,r.D)(n),"--combobox-option-fz":(0,a.ny)(t),"--combobox-option-padding":(0,a.YC)(t,"combobox-option-padding")}}});function H(e){let o=(0,s.Y)("Combobox",z,e),{classNames:t,styles:r,unstyled:l,children:a,store:i,vars:b,onOptionSubmit:p,onClose:m,size:v,dropdownPadding:f,resetSelectionOnOptionHover:h,__staticSelector:w,readOnly:C,attributes:g,...y}=o,A=(0,K.B)(),D=i||A,k=(0,d.I)({name:w||"Combobox",classes:x.A,props:o,classNames:t,styles:r,unstyled:l,attributes:g,vars:b,varsResolver:F});return(0,n.jsx)(u,{value:{getStyles:k,store:D,onOptionSubmit:p,size:v,resetSelectionOnOptionHover:h,readOnly:C},children:(0,n.jsx)(c.A,{opened:D.dropdownOpened,preventPositionChangeWhenVisible:!0,...y,onChange:e=>!e&&void(null==m||m(),D.closeDropdown()),withRoles:!1,unstyled:l,children:a})})}H.extend=e=>e,H.classes=x.A,H.displayName="@mantine/core/Combobox",H.Target=M,H.Dropdown=h,H.Options=Y,H.Option=j,H.Search=L,H.Empty=A,H.Chevron=p.l,H.Footer=I,H.Header=R,H.EventsTarget=N,H.DropdownTarget=g,H.Group=P,H.ClearButton=v,H.HiddenInput=_},96384:(e,o,t)=>{t.d(o,{B:()=>s});var n=t(12115),r=t(18507);function l(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,t=o.querySelector(e);if(t)return t;let n=o.querySelectorAll("*");for(let o=0;o<n.length;o+=1){let t=n[o];if(t.shadowRoot){let o=l(e,t.shadowRoot);if(o)return o}}return null}function a(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document,t=[],n=o.querySelectorAll(e);t.push(...Array.from(n));let r=o.querySelectorAll("*");for(let o=0;o<r.length;o+=1){let n=r[o];if(n.shadowRoot){let o=a(e,n.shadowRoot);t.push(...o)}}return t}function i(e){if(!e)return document;let o=e.getRootNode();return o instanceof ShadowRoot||o instanceof Document?o:document}function s(){let{defaultOpened:e,opened:o,onOpenedChange:t,onDropdownClose:s,onDropdownOpen:d,loop:c=!0,scrollBehavior:u="instant"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[b,p]=(0,r.Z)({value:o,defaultValue:e,finalValue:!1,onChange:t}),m=(0,n.useRef)(null),v=(0,n.useRef)(-1),f=(0,n.useRef)(null),x=(0,n.useRef)(null),h=(0,n.useRef)(-1),w=(0,n.useRef)(-1),C=(0,n.useRef)(-1),g=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";b||(p(!0),null==d||d(e))},[p,d,b]),y=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";b&&(p(!1),null==s||s(e))},[p,s,b]),A=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown";b?y(e):g(e)},[y,g,b]),D=(0,n.useCallback)(()=>{let e=i(x.current),o=l("#".concat(m.current," [data-combobox-selected]"),e);null==o||o.removeAttribute("data-combobox-selected"),null==o||o.removeAttribute("aria-selected")},[]),k=(0,n.useCallback)(e=>{let o=i(x.current),t=l("#".concat(m.current),o),n=t?a("[data-combobox-option]",t):null;if(!n)return null;let r=e>=n.length?0:e<0?n.length-1:e;return(v.current=r,(null==n?void 0:n[r])&&!n[r].hasAttribute("data-combobox-disabled"))?(D(),n[r].setAttribute("data-combobox-selected","true"),n[r].setAttribute("aria-selected","true"),n[r].scrollIntoView({block:"nearest",behavior:u}),n[r].id):null},[u,D]),O=(0,n.useCallback)(()=>{let e=i(x.current),o=l("#".concat(m.current," [data-combobox-active]"),e);return o?k(a("#".concat(m.current," [data-combobox-option]"),e).findIndex(e=>e===o)):k(0)},[k]),E=(0,n.useCallback)(()=>{let e=i(x.current),o=a("#".concat(m.current," [data-combobox-option]"),e);return k(function(e,o,t){for(let t=e+1;t<o.length;t+=1)if(!o[t].hasAttribute("data-combobox-disabled"))return t;if(t){for(let e=0;e<o.length;e+=1)if(!o[e].hasAttribute("data-combobox-disabled"))return e}return e}(v.current,o,c))},[k,c]),S=(0,n.useCallback)(()=>{let e=i(x.current),o=a("#".concat(m.current," [data-combobox-option]"),e);return k(function(e,o,t){for(let t=e-1;t>=0;t-=1)if(!o[t].hasAttribute("data-combobox-disabled"))return t;if(t){for(let e=o.length-1;e>-1;e-=1)if(!o[e].hasAttribute("data-combobox-disabled"))return e}return e}(v.current,o,c))},[k,c]),N=(0,n.useCallback)(()=>{let e=i(x.current);return k(function(e){for(let o=0;o<e.length;o+=1)if(!e[o].hasAttribute("data-combobox-disabled"))return o;return -1}(a("#".concat(m.current," [data-combobox-option]"),e)))},[k]),I=(0,n.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"selected",o=arguments.length>1?arguments[1]:void 0;C.current=window.setTimeout(()=>{let t=i(x.current),n=a("#".concat(m.current," [data-combobox-option]"),t),r=n.findIndex(o=>o.hasAttribute("data-combobox-".concat(e)));if(v.current=r,null==o?void 0:o.scrollIntoView){var l;null==(l=n[r])||l.scrollIntoView({block:"nearest",behavior:u})}},0)},[]),T=(0,n.useCallback)(()=>{v.current=-1,D()},[D]),P=(0,n.useCallback)(()=>{let e=i(x.current),o=a("#".concat(m.current," [data-combobox-option]"),e),t=null==o?void 0:o[v.current];null==t||t.click()},[]),R=(0,n.useCallback)(e=>{m.current=e},[]),_=(0,n.useCallback)(()=>{h.current=window.setTimeout(()=>{var e;return null==(e=f.current)?void 0:e.focus()},0)},[]),j=(0,n.useCallback)(()=>{w.current=window.setTimeout(()=>{var e;return null==(e=x.current)?void 0:e.focus()},0)},[]),Y=(0,n.useCallback)(()=>v.current,[]);return(0,n.useEffect)(()=>()=>{window.clearTimeout(h.current),window.clearTimeout(w.current),window.clearTimeout(C.current)},[]),{dropdownOpened:b,openDropdown:g,closeDropdown:y,toggleDropdown:A,selectedOptionIndex:v.current,getSelectedOptionIndex:Y,selectOption:k,selectFirstOption:N,selectActiveOption:O,selectNextOption:E,selectPreviousOption:S,resetSelectedOption:T,updateSelectedOptionIndex:I,listId:m.current,setListId:R,clickSelectedOption:P,searchRef:f,focusSearchInput:_,targetRef
1:x,focusTarget:j}}t(95155)}}]);

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.