1import{N as c,O as i,p,n as m}from"./Do7IoDJP.js";import"./BXNZEfej.js";function h(e){return e.modelChpu||e.models?.[0]?.chpu}const q=c(async e=>{let o,a;const t=String(e.params.name??""),u=!!e.query.model,s=f(t);if(!s&&u)return;const r=([o,a]=i(()=>p(e.params.name,e.query.model)),o=await o,a(),o),n=h(r)||e.query.model,d=r.chpu?String(r.chpu):t,l=s&&d!==t;if(!(!l&&!(!u&&n)))return m({path:l?`/product/${d}`:e.path,query:{...e.query,...n?{model:n}:{}}},{})});function f(e){return typeof e!="string"&&typeof e!="number"?!1:!isNaN(e)&&!isNaN(parseFloat(String(e)))}export{q as default};
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.