PageSourceSearch

https://runrepeat.com/_nuxt/B0G4cION.js

js runrepeat.com collected 2026-10-02 02:32:43 UTC 2,949 bytes, 1 lines download raw bytes

1import{a5 as M,ds as N,cO as A,db as D,dF as R,c2 as z,c5 as G,ck as H,cl as U,dK as k,c7 as a,au as c,ar as i,aH as d,cH as s,aF as l,bv as E,dA as K,F as m,ci as I,w as O,cC as C,dM as j,at as J,ap as x,cf as v}from"./XCBz1NK-.js";import{C as Q}from"./DZ8sOTql.js";import{S as W}from"./Ss3R30P_.js";/* empty css        */import"./Co9BLA6b.js";import"./DriUD9pC.js";import"./BmpRKuej.js";/* empty css        */const X={class:"comparison-search-shoe-content"},Y={class:"search-input-container"},Z=["placeholder"],ee={key:0,class:"search-shoes__loading"},te={class:"search-shoes__header"},oe=["onClick"],re=["href"],se={class:"comparison-shoe-modal__shoe-name"},ae={__name:"SearchSimilarShoe",props:{hideList:{type:Boolean,default:()=>!1},showAllProducts:{type:Boolean,default:()=>!1},productId:{validator:n=>typeof n=="number"||n===null}},emits:["select-product"],setup(n,{emit:P}){const p=n,T=P,r=N(),B=A(),$=D(),S=v(),u=v(""),f=v(!1);let h=null;const b=x(()=>r.loadingSimilarProducts||r.loadingShoes),_=x(()=>p.productId?p.productId:$.current.id);R(u,e=>{clearTimeout(h),h=setTimeout(()=>V(e),200)}),z(()=>{r.searchResultProducts.length||r.search({productId:_.value,size:16}),p.hideList||S.value.focus()}),G(()=>{clearTimeout(h),r.resetSearchProducts()});function w(e){return e?.image?.value?e.image.value:e?.img?{url:e.img,title:e.name}:{url:"",title:e?.name||""}}function g(e){const t=e?.corescore?.value;return{score:t?.score??e?.score,text:t?.score_text??e?.score_text,color:t?.score_color??e?.score_color}}function V(e){e&&e.length>2?r.search({productId:_.value,query:e}):e||r.search({productId:_.value,size:16})}function y(e){f.value=e===!0}function q(e){T("select-product",e),f.value=!1}return(e,t)=>{const F=H("TheImage"),L=U("on-click-outside");return k((a(),c("div",X,[i("div",Y,[d(s(W)),t[3]||(t[3]=l()),k(i("input",{"onUpdate:modelValue":t[0]||(t[0]=o=>E(u)?u.value=o:null),onClick:t[1]||(t[1]=o=>y(!0)),type:"text",name:"search-shoe",class:"search-shoe",placeholder:e.$t("generic.product_search_placeholder"),autocomplete:"off",ref_key:"queryInput",ref:S},null,8,Z),[[K,s(u)]])]),t[7]||(t[7]=l()),!n.hideList||s(f)?(a(),c(m,{key:0},[s(b)?(a(),c("div",ee,[(a(),c(m,null,I(10,o=>d(s(O),{key:o,height:"10px"})),64))])):(a(),c(m,{key:1},[i("h3",te,C(e.$t("product.comparison.most_similar_shoes")),1),t[6]||(t[6]=l()),(a(!0),c(m,null,I(s(r).searchResultProducts,o=>(a(),c("div",{key:o.id,class:"comparison-shoe-modal__shoe-item",onClick:ce=>q(o)},[i("a",{href:e.$localePath(`/${o.slug}`),onClick:t[2]||(t[2]=j(()=>{},["prevent"]))},[d(F,{profile:"thumb-tn",image:w(o),alt:o.name},null,8,["image","alt"]),t[4]||(t[4]=l()),i("span",se,C(o.name),1)],8,re),t[5]||(t[5]=l()),d(s(Q),{score:g(o).score,text:g(o).text,color:g(o).color,"explainer-bars":[],category:s(B).currentCategory},null,8,["score","text","color","category"])],8,oe))),128))],64))],64)):J("",!0)])),[[L,y]])}}},he=M(ae,[["__scopeId","data-v-c0294569"]]);export{he 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.