PageSourceSearch

https://www.revolutionrace.eu/_nuxt/production-292223752/CRwCddfG.js

js revolutionrace.eu collected 2026-10-04 09:23:03 UTC 4,644 bytes, 1 lines download raw bytes

1import{dG as _,gZ as q,ci as V,aI as B,bH as a,cj as T,aW as L,gW as D,gc as b,gN as N,cl as M,eF as K,bP as P,c2 as S,aZ as O,hg as U,gf as m,ha as Y,aY as Z,i as y,ev as G,b1 as J,gr as H,h3 as k,du as X,gM as Q,gL as ee,gq as te}from"#entry";import{u as W}from"./DUqswEDR.js";import{u as A}from"./CyP3ZgXF.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"production-292223752"};var s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="51bfccf8-0ae2-402f-bfa2-a573cfac49dd",e._sentryDebugIdIdentifier="sentry-dbid-51bfccf8-0ae2-402f-bfa2-a573cfac49dd")}catch{}})();const se=225,R=()=>{const{addToast:e,toasts:s,closeToast:t}=_(B,V);return{addToast:(c,u,r,l,o,d)=>{const g={key:q(),message:c,duration:u,allowClose:r,link:l,linkText:o,bottom:d};return e(g),g.key},toasts:s,closeToast:c=>{t(c)}}},ne=()=>{const{wishLists:e}=_(L,T);return a(()=>e.value.reduce((t,n)=>t+n.variantIds.length,0))},oe=(e,s)=>{const{wishLists:t,setWishLists:n}=_(L,T),i=a(()=>{const r=b(e);return r?t.value.some(l=>l.variantIds.includes(r)):!1}),c=D();return{isInWishList:i,toggleWishListState:()=>{const r=b(e);if(!r)return;if(i.value){n(o=>o.map(d=>({...d,variantIds:d.variantIds.filter(g=>g!==r)})));return}n(o=>[...o.map(d=>({...d,variantIds:[...d.variantIds,r]}))]);const l=b(s);l&&c.sendWishlistEvent([l])}}},ae=()=>{const{enabled:e,disabled:s,disabledReason:t}=_(L,T);return{isEnabled:e,isDisabled:s,userNeedsToLogIn:a(()=>t.value==="userLoginRequired"),isBroken:a(()=>t.value==="failedToInitializeState")}},ie=(e,s)=>{const t=N(),{addToast:n}=R(),i=a(()=>s?.get("loginmessage")??""),c=a(()=>s?.get("loginlinktext")??""),{loginPage:u}=A(),r=a(()=>`${u}?redirect=${encodeURIComponent(b(e)??t.fullPath)}`);return{triggerLoginNotification:()=>n(i.value,3e4,!0,r.value,c.value)}},re=M({__name:"WishListHeartButton",props:{size:{},articleNumber:{},iconSize:{},trackingItem:{}},setup(e){const s=W("screenreaderhelper"),t=W("wishlistheartbutton"),n=e,{addToast:i}=R(),c=A(),u=a(()=>n.articleNumber),r=a(()=>n.trackingItem),l=ne(),{isInWishList:o,toggleWishListState:d}=oe(u,r),{userNeedsToLogIn:g}=ae(),{triggerLoginNotification:h}=ie(void 0,t),v=a(()=>o.value&&!g.value),C=a(()=>{const f=r.value?.item_name,p=f?`: ${f}`:"";return`${s.get("addproducttowishlist")}${p}`}),x=a(()=>t.get("gotolist")),F=a(()=>t.get("maxnumberofitems")),E=()=>{if(g.value){h();return}const f=l.value>=se;if(!v.value&&f){const p=c.myWishlist;i(F.value,5e3,!0,p,x.value,!0);return}d()},j=a(()=>n.iconSize??18);return(f,p)=>{const z=Z,$=O;return K(),P("div",null,[S($,{"aria-label":m(C),size:e.size,variant:"secondary",outlined:"",rounded:"",class:"wish-list-heart-button",onClick:U(E,["stop","prevent"])},{default:Y(()=>[S(z,{class:G(["wish-list-heart-button__icon",{liked:m(v)}]),name:"Heart",size:m(j),square:"",fill:m(v),color:m(v)?m(y).TorchRed:m(y).Black},null,8,["size","fill","class","color"])]),_:1},8,["aria-label","size"])])}}}),Ie=Object.assign(J(re,[["__scopeId","data-v-dc924df6"]]),{__name:"WishListHeartButton"}),I="5620111",w="fastly-abtest",ce="ab-test-allocation",le="sg_cookies",ue=Array.from({length:10},(e,s)=>s===0?w:`${w}${s+1}`),Te=192533615,Le=11335506,Se=["RecommendedHeight","RecommendedWeight","LengthVariantRecommendedHeight","LengthVariantRecommendedWeight"],de=(e,s,t)=>{if(t){if(e){const n=e[I];return e[I]={...n,[s.toString()]:[t],[`${s}_ch`]:1},e}return{[I]:{[s.toString()]:[t],[`${s}_ch`]:1},_g:1}}},ge=e=>{const[s,t]=e.split(","),n=s.trim().split("=")[1],i=t?.trim().split("=")[1];if(!n||!i)throw new Error("Invalid header value");return[n,i]},me=(e,s)=>{const t=Object.keys(e).find(n=>n.toLowerCase()===s.toLowerCase());if(t)return e[t]},fe=e=>{const s=ue.reduce((t,n)=>{const i=me(e,n);if(!i)return t;try{const[c,u]=ge(i);t[c]=u}catch{}return t},{});if(Object.keys(s).length!==0)return s},he=3600*24*30*3,ve=(e,s)=>{const t=H(le,{maxAge:he,secure:!0,domain:X(Q().host)}),n=de(t.value,e,s);n&&(t.value=n)},ye=e=>{const s=ee(),t=N(),n=t.query.sgpreviewmode,i=t.query.varid,c=n&&i&&n===e.toString()?{[n]:`${i}|preview`}:void 0,u=H(ce),r=a(()=>
1{if(c)return c;const o=fe(s);if(o)return o;if(u.value)return JSON.parse(u.value)}),l=a(()=>{const o=r.value?.[e];if(!o)return;const[d,g]=o.split("|"),h=Number.parseInt(d);if(!Number.isNaN(h))return{id:h,name:g}});return k(r,o=>{},{immediate:!0}),k(l,o=>{o&&ve(e,o.id)},{immediate:!0}),{variant:l}},ke=()=>{const e=te();return a(()=>e.channel?.suppressDuplicates??!1)};export{Se as H,se as M,Ie as _,Te as a,Le as b,ke as c,R as d,ae as e,ne as f,oe as g,ie as h,ye 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.