1import{w as g,bb as h,r as p,bE as P,bn as j,j as w}from"./index-Dqf2uGiv.js";function b(){return b=Object.assign?Object.assign.bind():function(r){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var e in t)({}).hasOwnProperty.call(t,e)&&(r[e]=t[e])}return r},b.apply(null,arguments)}var d,m;function x(){if(m)return d;m=1;var r=function(n,t,e,o,s,i,c,v){if(!n){var a;if(t===void 0)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[e,o,s,i,c,v],f=0;a=new Error(t.replace(/%s/g,function(){return u[f++]})),a.name="Invariant Violation"}throw a.framesToPop=1,a}};return d=r,d}var E=x();const U=g(E);function y(r){return"default"+r.charAt(0).toUpperCase()+r.substr(1)}function O(r){var n=K(r,"string");return typeof n=="symbol"?n:String(n)}function K(r,n){if(typeof r!="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var e=t.call(r,n);if(typeof e!="object")return e;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function D(r,n,t){var e=p.useRef(r!==void 0),o=p.useState(n),s=o[0],i=o[1],c=r!==void 0,v=e.current;return e.current=c,!c&&v&&s!==n&&i(n),[c?r:s,p.useCallback(function(a){for(var u=arguments.length,f=new Array(u>1?u-1:0),l=1;l<u;l++)f[l-1]=arguments[l];t&&t.apply(void 0,[a].concat(f)),i(a)},[t])]}function B(r,n){return Object.keys(n).reduce(function(t,e){var o,s=t,i=s[y(e)],c=s[e],v=h(s,[y(e),e].map(O)),a=n[e],u=D(c,i,r[a]),f=u[0],l=u[1];return b({},v,(o={},o[e]=f,o[a]=l,o))},r)}const S=["onKeyDown"];function A(r,n){if(r==null)return{};var t={};for(var e in r)if({}.hasOwnProperty.call(r,e)){if(n.indexOf(e)>=0)continue;t[e]=r[e]}return t}function R(r){return!r||r.trim()==="#"}const _=p.forwardRef((r,n)=>{let{onKeyDown:t}=r,e=A(r,S);const[o]=P(Object.assign({tagName:"a"},e)),s=j(i=>{o.onKeyDown(i),t==null||t(i)});return R(e.href)||e.role==="button"?w.jsx("a",Object.assign({ref:n},e,o,{onKeyDown:s})):w.jsx("a",Object.assign({ref:n},e,{onKeyDown:t}))});_.displayName="Anchor";export{_ as A,b as _,D as a,U as i,B as u};
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.