PageSourceSearch

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

js runrepeat.com collected 2026-10-02 02:32:39 UTC 11,574 bytes, 1 lines download raw bytes

1import{a5 as D,d3 as d,dw as O,dr as V,d7 as w,du as z,bO as g,d6 as T,cY as G,ck as a,c7 as o,au as n,cC as b,at as u,aF as r,aH as h,cH as x,a1 as A,dJ as I,ar as c,dM as N,as as S,I as U,ac as M,bU as j,cO as H,dF as E,F as L,ci as P}from"./XCBz1NK-.js";import{p as F,C as W}from"./BCZqUFU1.js";import{G as R}from"./39hGqOqf.js";import{S as J}from"./3qOodiss.js";import{W as Y}from"./D6qqIBu3.js";import{L as q,P as K,a as Q,C as X}from"./DQXfMljU.js";/* empty css        */import{T as Z}from"./DWRkTSYQ.js";import{C as $}from"./mIYSwhyy.js";/* empty css        */import"./DriUD9pC.js";import"./BmpRKuej.js";/* empty css        */import"./Co9BLA6b.js";const ee={components:{GenderSelectRadio:R,SizeSelect:J,WidthSelectorDropDown:Y,ColorSelectDropDown:W,ColorSelectList:X,PriceComparisonOffersList:Q,PriceComparisonError:K,ListDiscountedShoes:q},props:{shoe:{type:Object,default:()=>({by_colors:{}})},topPickIndex:{type:Number}},data(){return{color:{id:0,slug:"any"}}},mixins:[F],methods:{onSystemUpdate(e){d().size&&z().convertSizeFromBrands({newSystem:e,brandSizes:Object.values(this.shoeData.brand_sizes)})},onGenderChange(e){this.unavailableGenders.includes(e)||(this.gender=e,z().convertGenderSizeFromBrands({gender:e,brandSizes:Object.values(this.shoeData.brand_sizes)}))},productLinkClicked(e){this.$gaEvents.buyingGuideContentProductLinkClicked(e)},reviewLinkClicked(e){this.$gaEvents.buyingGuideContentReviewLinkClicked(e)},isHighImage(e){return e.md.height/e.md.width>9/16},aspectRatio(e){return this.isHighImage(e)?"16 / 9":e.md.width+" / "+e.md.height},handleOfferClick(e){this.$gaEvents.buyingGuideContentAffiliateLinkClicked(e.offer,this.shoe.name,!this.color.id,this.topPickIndex+1)},getColorOffers(e){return e||(e=0),!this.shoeData.offers||!this.shoeData.offers.by_color||!this.shoeData.offers.by_color[e]?[]:this.shoeData.offers.by_color[e]}},computed:{shoeData(){return this.topPicksData[this.shoe.id]||{}},size:{get(){return d().size},set(e){d().setSize(e),this.$gaEvents.productFilterChanged("Size",e)}},shortPrices(){return this.shoe.price_formatted.toString().length<5},...g(G,{numberColors:"numberColors",currentAnyColorPrice:"currentAnyColorPrice",currentAnyColorListPrice:"currentAnyColorListPrice",currentAnyColorPriceShop:"currentAnyColorPriceShop",currentAnyColorLink:"currentAnyColorLink",matchingCategory:"matchingCategory",scoreDistribution:"scoreDistribution",guideGender:"guideGender",updating:"updatingTopPicks",topPicksData:"topPicksData"}),...g(w,{showDeals:e=>e.global.show_deals}),...g(T,{cheapestVersions:"cheapestVersions"}),sizesOptions(){const e=d(),t=this.color.id||0,i=this.currentGenderAvailability&&this.currentGenderAvailability[e.width]?this.currentGenderAvailability[e.width][t]:[];return z().brandSizesForGrid(Object.values(this.shoeData.brand_sizes),i||[],this.isShoeUnisex)},currentGenderAvailability(){const e=d();return this.shoeData.prices_data?.availability?.u||this.shoeData.prices_data?.availability?.[e.gender]},widthsOptions(){return O().widthOptions(this.currentGenderAvailability,this.currentBrandSize.id,this.color.id||0,this.isShoeUnisex)},isShoeUnisex(){return this.shoeData?.offers?.gender==="u"},unavailableGenders(){const e=this.shoeData?.prices_data?.availability;return e?e.u&&Object.keys(e.u).length?[]:["m","w"].filter(t=>!e[t]||!Object.keys(e[t]).length):[]},hasOffersInSelectedGender(){return this.isShoeUnisex?!0:!this.unavailableGenders.includes(d().gender)},offers(){if(!this.hasOffersInSelectedGender)return[];const e=this.color&&this.color.id?this.color.id:0;return this.getColorOffers(e)},colors(){const e=w().global.show_deals;return this.shoeData.colors.map(t=>{const i=`${this.shoeData.name} - ${t.name}`;return{...t,name:i,disabled:e&&t.id&&this.getColorOffers(t.id).length===0,label:i,value:t.id}})},numberOfShops(){return V().all.length},sizeName(){return this.$filters.formatSize(this.currentSizeName)},currentSizeName(){const e=d();return this.currentBrandSize.hasOwnProperty(e.sizeSystem+e.gender)?this.currentBrandSize[e.sizeSystem+e.gender]:""},currentBrandSize(){const e=d();return(e.size&&e.gender?Object.values(this.shoeData.brand_sizes).find(t=>t.slugs&&t.slugs[e.gender]&&t.slugs[e.gender].indexOf(e.size)>-1):null)||{id:0}},widthName(){return d().width=="standard"?"":O().selectedWidthName?.toLowerCase()},fullSize(){return d().size?`${this.sizeName} ${this.widthName?"("+this.widthName+")":""}`:""},availableMessage(){const e=this.matchingCategory.name;return this.fullSize?this.$t("product.top_section.category_in_size",{category:e,size:this.fullSize}):e},catalogLink(){const e=this.matchingCategory.slug;return this.$localePath({name:"catalog-slug",params:{slug:e}})}}},te={class:"price-comparison"},se={key:0},ie={key:1,class:"price-comparison-filters"},oe={class:"size_chart_text"},re=["onClick"],ne={class:"color-filter"},ae={key:2,class:"offers-section-container"},le={key:3},de={class:"price-comparison-alternatives"},ce=["innerHTML"],ue={key:1,class:"error_text"},he={key:2,class:"price-comparison-alternatives__versions"};
1function me(e,t,i,y,m,s){const f=a("GenderSelectRadio"),p=a("SizeSelect"),_=a("WidthSelectorDropDown"),k=a("ColorSelectList"),C=a("PriceComparisonOffersList"),v=a("ListDiscountedShoes"),B=a("CtrButton");return o(),n("div",te,[e.showDeals?(o(),n("h3",se,b(e.$t("guide.top_picks.price_comparison_title")),1)):u("",!0),t[9]||(t[9]=r()),e.showDeals?(o(),n("div",ie,[h(f,{modelValue:"gender"in e?e.gender:x(A),"onUpdate:modelValue":t[0]||(t[0]=l=>s.onGenderChange(l)),"only-unisex":s.isShoeUnisex,unavailable:s.unavailableGenders,theme:"two-circles"},null,8,["modelValue","only-unisex","unavailable"]),t[5]||(t[5]=r()),h(p,{modelValue:s.size,"onUpdate:modelValue":t[1]||(t[1]=l=>s.size=l),system:e.sizeSystem,"brand-name":i.shoe.brand_name,sizes:s.sizesOptions,"onUpdate:system":t[2]||(t[2]=l=>s.onSystemUpdate(l)),"pull-right":!1,"is-unisex":s.isShoeUnisex},{default:I(({toggle:l})=>[c("p",oe,[c("button",{type:"button",onClick:N(l,["prevent","stop"])},b(e.$t("partials.brand_size_chart",{brand:i.shoe.brand_name})),9,re)])]),_:1},8,["modelValue","system","brand-name","sizes","is-unisex"]),t[6]||(t[6]=r()),s.widthsOptions.length>1?(o(),S(_,{key:0,modelValue:e.width,"onUpdate:modelValue":t[3]||(t[3]=l=>e.width=l),widths:s.widthsOptions,"use-selected-width-label":""},null,8,["modelValue","widths"])):u("",!0)])):u("",!0),t[10]||(t[10]=r()),c("div",ne,[h(k,{modelValue:m.color,"onUpdate:modelValue":t[4]||(t[4]=l=>m.color=l),colors:s.colors,"horizontal-layout":!0,limit:0},null,8,["modelValue","colors"])]),t[11]||(t[11]=r()),e.showDeals&&s.offers.length?(o(),n("div",ae,[h(C,{offers:s.offers,"short-prices":s.shortPrices,"onOffer:clicked":s.handleOfferClick},null,8,["offers","short-prices","onOffer:clicked"])])):u("",!0),t[12]||(t[12]=r()),e.showDeals&&!s.offers.length?(o(),n("div",le,[c("div",de,[s.sizeName?(o(),n("p",{key:0,class:"error_text",innerHTML:e.$t("partials.out_of_stock_in_size",{size:s.sizeName})},null,8,ce)):(o(),n("p",ue,b(e.$t("partials.out_of_stock_in_shops",{count:s.numberOfShops})),1)),t[7]||(t[7]=r()),s.shoeData.offers.cheapestVersions&&s.shoeData.offers.cheapestVersions>0?(o(),n("div",he,[i.shoe.model_name&&s.shoeData.offers.cheapestVersions&&s.shoeData.offers.cheapestVersions.length>0?(o(),S(v,{key:0,title:s.fullSize?e.$t("product.top_section.model_available_in",{model:i.shoe.model_name,size:s.fullSize}):e.$t("product.top_section.model_available",{model:i.shoe.model_name}),shoes:s.shoeData.offers.cheapestVersions.slice(0,3)},null,8,["title","shoes"])):u("",!0)])):u("",!0),t[8]||(t[8]=r()),h(B,{label:s.availableMessage,link:s.catalogLink,disabled:!1,self:""},null,8,["label","link"])])])):u("",!0)])}const fe=D(ee,[["render",me],["__scopeId","data-v-19ca2083"]]),ge={name:"GuideBestShoe",props:{shoe:{type:Object,default:{}},index:{type:Number,default:0},pickTitle:{type:String,default:""}},components:{ServerContent:M,TopSectionProsCons:Z,CoreScoreBig:$,ImageGallery:U,GuideBestShoePriceComparison:fe},methods:{reviewLinkClicked(e){this.$gaEvents.buyingGuideContentReviewLinkClicked(e)},productLinkClicked(e){this.$gaEvents.buyingGuideContentProductLinkClicked(e)},imageSelected(e){this.$gaEvents.buyingGuideBestImageSelected(e+1,this.shoe.name)}},computed:{productImages(){return this.shoe.content_media.length>0?this.shoe.content_media:[this.shoe.image]},...g(H,{category:"currentCategory"}),...g(G,{scoreDistribution:"scoreDistribution",topPicksData:"topPicksData"}),...g(w,{showDeals:e=>e.global.show_deals}),verdictTitle(){let e=this.pickTitle.charAt(0).toLowerCase()+this.pickTitle.slice(1),t=e.indexOf("best")!==-1,i=e.indexOf("popular")!==-1;return t&&(e="best"),i&&(e="most popular"),this.$t("guide.verdict",{category:e})},offersAvailable(){const e=this.topPicksData[this.shoe.id]?.prices_data?.availability;return e&&(e.u&&Object.keys(e.u).length||e.m&&Object.keys(e.m).length||e.w&&Object.keys(e.w).length)}}},pe={class:"topic-shoe__title"},_e=["href","rel","textContent"],be={class:"topic-shoe__container"},Se={class:"bottom-section"},ye=["innerHTML"],ke=["innerHTML","href","rel"];function Ce(e,t,i,y,m,s){const f=a("CoreScoreBig"),p=a("ImageGallery"),_=a("ServerContent"),k=a("TopSectionProsCons"),C=a("GuideBestShoePriceComparison");return o(),n("div",{class:j(["best-shoes-list__topic-shoe",{"top-pick":i.index===0}])},[c("div",pe,[c("a",{class:"topic-shoe__name",href:e.$localePath("/"+i.shoe.slug),rel:i.shoe.layout_type===3?"nofollow":null,onClick:t[0]||(t[0]=v=>s.productLinkClicked(i.pickTitle+" - "+(i.index+1))),textContent:b(i.shoe.name)}
1,null,8,_e),t[2]||(t[2]=r()),h(f,{id:"overall-score-"+i.shoe.id,class:"corescore",score:i.shoe.score,"score-text":i.shoe.score_text,"score-color":i.shoe.score_color,"explainer-bars":e.scoreDistribution,category:e.category},null,8,["id","score","score-text","score-color","explainer-bars","category"])]),t[7]||(t[7]=r()),h(p,{images:s.productImages,profile:"guide-full",class:"no-mobile-margins","onUpdate:imageIdx":s.imageSelected},null,8,["images","onUpdate:imageIdx"]),t[8]||(t[8]=r()),c("div",be,[c("div",Se,[i.shoe.description?(o(),n("h3",{key:0,class:"shoe-verdict",innerHTML:s.verdictTitle},null,8,ye)):u("",!0),t[3]||(t[3]=r()),h(_,{classes:"shoe-description",content:i.shoe.description},null,8,["content"]),t[4]||(t[4]=r()),h(k,{pros:i.shoe.pros,cons:i.shoe.cons,"two-columns":""},null,8,["pros","cons"]),t[5]||(t[5]=r()),c("a",{class:"topic-shoe__product-link",innerHTML:e.$t("guide.full_review_text",{product:i.shoe.name}),href:e.$localePath("/"+i.shoe.slug),rel:i.shoe.layout_type===3?"nofollow":null,onClick:t[1]||(t[1]=v=>s.reviewLinkClicked(i.pickTitle+" - "+(i.index+1)))},null,8,ke)]),t[6]||(t[6]=r()),e.showDeals&&e.topPicksData[i.shoe.id]&&s.offersAvailable?(o(),S(C,{key:0,shoe:i.shoe,"top-pick-index":i.index},null,8,["shoe","top-pick-index"])):u("",!0)])],2)}const ve=D(ge,[["render",Ce],["__scopeId","data-v-256329de"]]),ze={class:"guide__best-shoes-list",id:"best-shoes-list"},we=["id"],De=["textContent"],Ge={__name:"GuideBestShoesList",props:{topPicks:{type:Array,default:()=>[]}},setup(e){const t=d(),i=G();return E(()=>t.sizeGenderWidthHash,y=>i.updateTopPicks()),(y,m)=>(o(),n("div",ze,[(o(!0),n(L,null,P(e.topPicks,(s,f)=>(o(),n("div",{class:"best-shoes-list__topic rr-mv-guide-shoe",key:f,id:s.slug},[c("h2",{textContent:b(s.title_long?s.title_long:s.title)},null,8,De),m[0]||(m[0]=r()),(o(!0),n(L,null,P(s.products,(p,_)=>(o(),S(x(ve),{key:_,index:f,shoe:p,"pick-title":s.title},null,8,["index","shoe","pick-title"]))),128))],8,we))),128))]))}},Ee=D(Ge,[["__scopeId","data-v-31497ace"]]);export{Ee 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.