PageSourceSearch

https://steppo.ru/assets/kbd-C6Qi1QQ7.js

js steppo.ru collected 2026-10-08 22:36:32 UTC 1,185 bytes, 1 lines download raw bytes

1import{j as t,r}from"./react-vendor-DJDEZQgo.js";import{f as e,w as n,o as s,B as a,h as o,n as c}from"./toastOptions-C9sKTk_P.js";const i=e(function(r,e){const o=n("Mark",r),c=s(r);return t.jsx(a,{ref:e,...c,as:"mark",__css:{bg:"transparent",whiteSpace:"nowrap",...o}})});function m({text:t,query:r}){const e=function(t){const r=t.filter(t=>0!==t.length).map(t=>t.trim().replace(/[|\\{}()[\]^$+*?.-]/g,t=>`\\${t}`));return r.length?new RegExp(`(${r.join("|")})`,"ig"):null}(Array.isArray(r)?r:[r]);if(!e)return[{text:t,match:!1}];return t.split(e).filter(Boolean).map(t=>({text:t,match:e.test(t)}))}function u(e){const{children:n,query:s,styles:a}=e;if("string"!=typeof n)throw new Error("The children prop of Highlight must be a string");const o=function(t){const{text:e,query:n}=t;return r.useMemo(()=>m({text:e,query:n}),[e,n])}({query:s,text:n});return t.jsx(t.Fragment,{children:o.map((e,n)=>e.match?t.jsx(i,{sx:a,children:e.text},n):t.jsx(r.Fragment,{children:e.text},n))})}const l=e(function(r,e){const a=n("Kbd",r),{className:i,...m}=s(r);return t.jsx(o.kbd,{ref:e,className:c("chakra-kbd",i),...m,__css:{fontFamily:"mono",...a}})});l.displayName="Kbd";export{u as H,l as K};

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.