PageSourceSearch

https://woom.com/_nuxt/CHMyjnoW.js

js woom.com collected 2026-10-04 00:30:52 UTC 8,227 bytes, 2 lines download raw bytes

1import{bI as R,au as T,bX as Y,ar as B,i as H,az as b,cf as _,bs as P,bp as j,at as U,aD as F,cz as $,co as z,bD as V,a as o,ba as X,bG as Z,cm as w,as as J,d9 as S,c7 as K,aA as W,da as Q,O as tt,d2 as et}from"./IZR80Hiv.js";import{b as it,s as m,a as st,c,q,n as ot,_ as rt}from"./2ZW3_TVF.js";import{u as nt}from"./BUuoWQIW.js";import"./jJhz4nX8.js";import"./DNQ8sjof.js";import"./D3LLoGlr.js";import"./DSC9RtCa.js";import"./CdiXUCKt.js";import"./C7yEMrvT.js";import"./C6VAe2EL.js";import"./CnTKG6_D.js";import"./BuJuveLy.js";import"./CIUSVz5I.js";import"./CzTbYe-v.js";import"./B54tHeBO.js";import"./DFWQoI2f.js";import"./C1NYP8cu.js";import"./DhZSx-Vy.js";import"./w7OgtN2g.js";import"./BLZDcX2V.js";import"./B3CDswu4.js";import"./Br0_aTC8.js";import"./CNzRTc_T.js";import"./CCDyOHBt.js";import"./PC5wPPQ9.js";import"./DkRLc15W.js";import"./BO_poAUn.js";import"./BEyYRPC2.js";import"./DV5BffkB.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:"93.1-production"};var i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c23acc07-f8a3-46f0-a22b-48360eb508a2",e._sentryDebugIdIdentifier="sentry-dbid-c23acc07-f8a3-46f0-a22b-48360eb508a2")}catch{}})();
1var C=function(i){i&&(window.document.title=i)},at=(function(){function e(i){var s=this,t=i.windowTitle,a=i.writeDelay,l=a===void 0?400:a,r=i.createURL,n=i.parseURL,p=i.getLocation,h=i.start,u=i.dispose,g=i.push,y=i.cleanUrlOnDispose;st(this,e),c(this,"$$type","ais.browser"),c(this,"windowTitle",void 0),c(this,"writeDelay",void 0),c(this,"_createURL",void 0),c(this,"parseURL",void 0),c(this,"getLocation",void 0),c(this,"writeTimer",void 0),c(this,"_onPopState",void 0),c(this,"inPopState",!1),c(this,"isDisposed",!1),c(this,"latestAcknowledgedHistory",0),c(this,"_start",void 0),c(this,"_dispose",void 0),c(this,"_push",void 0),c(this,"_cleanUrlOnDispose",void 0),this.windowTitle=t,this.writeTimer=void 0,this.writeDelay=l,this._createURL=r,this.parseURL=n,this.getLocation=p,this._start=h,this._dispose=u,this._push=g,this._cleanUrlOnDispose=typeof y>"u"?!0:y,m(function(E){var d=E.window,f=s.windowTitle&&s.windowTitle(s.read());C(f),s.latestAcknowledgedHistory=d.history.length})}return it(e,[{key:"read",value:function(){return this.parseURL({qsModule:q,location:this.getLocation()})}},{key:"write",value:function(s){var t=this;m(function(a){var l=a.window,r=t.createURL(s),n=t.windowTitle&&t.windowTitle(s);t.writeTimer&&clearTimeout(t.writeTimer),t.writeTimer=setTimeout(function(){C(n),t.shouldWrite(r)&&(t._push?t._push(r):l.history.pushState(s,n||"",r),t.latestAcknowledgedHistory=l.history.length),t.inPopState=!1,t.writeTimer=void 0},t.writeDelay)})}},{key:"onUpdate",value:function(s){var t=this;this._start&&this._start(function(){s(t.read())}),this._onPopState=function(){t.writeTimer&&(clearTimeout(t.writeTimer),t.writeTimer=void 0),t.inPopState=!0,s(t.read())},m(function(a){var l=a.window;l.addEventListener("popstate",t._onPopState)})}},{key:"createURL",value:function(s){var t=this._createURL({qsModule:q,routeState:s,location:this.getLocation()});return t}},{key:"dispose",value:function(){var s=this;this._dispose&&this._dispose(),this.isDisposed=!0,m(function(t){var a=t.window;s._onPopState&&a.removeEventListener("popstate",s._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(s){var t=this;return m(function(a){var l=a.window;if(t.isDisposed&&!t._cleanUrlOnDispose)return!1;var r=!(t.isDisposed&&t.latestAcknowledgedHistory!==l.history.length);return!t.inPopState&&r&&s!==l.location.href})}}]),e})();function lt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=e.createURL,s=i===void 0?function(d){var f=d.qsModule,L=d.routeState,v=d.location,D=v.protocol,A=v.hostname,O=v.port,k=O===void 0?"":O,I=v.pathname,x=v.hash,N=f.stringify(L),M=k===""?"":":".concat(k);return N?"".concat(D,"//").concat(A).concat(M).concat(I,"?").concat(N).concat(x):"".concat(D,"//").concat(A).concat(M).concat(I
1).concat(x)}:i,t=e.parseURL,a=t===void 0?function(d){var f=d.qsModule,L=d.location;return f.parse(L.search.slice(1),{arrayLimit:99})}:t,l=e.writeDelay,r=l===void 0?400:l,n=e.windowTitle,p=e.getLocation,h=p===void 0?function(){return m(function(d){var f=d.window;return f.location},{fallback:function(){throw new Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:p,u=e.start,g=e.dispose,y=e.push,E=e.cleanUrlOnDispose;return new at({createURL:s,parseURL:a,writeDelay:r,windowTitle:n,getLocation:h,start:u,dispose:g,push:y,cleanUrlOnDispose:E})}function ct(e,i,s,t,a,l){return e.state?(R(),T("div",{key:0,class:P(e.suit())},[Y(e.$slots,"default",j(e.state,{results:e.state.instantSearchInstance.helper.lastResults}),function(){return[B("span",{class:P(e.suit("text"))},[e.state.areHitsSorted?(R(),T(H,{key:0},[b(_(l.sortedResultsSentence),1)],64)):(R(),T(H,{key:1},[b(_(l.resultsSentence),1)],64)),b(" found in "+_(e.state.processingTimeMS.toLocaleString())+"ms",1)],2)]})],2)):U("",!0)}const dt={...ot,render:ct},ut={class:"font-bold text-woom-red before:content-none after:content-none"},pt={key:0,class:"mb-5 lg:mb-8"},ht=F({__name:"index",setup(e){const{t:i}=$({useScope:"local"}),{algoliaIndex:s}=nt(),{setInstantSearchInstance:t}=z(),a=K(),l=({instantSearchInstance:r})=>(t(r.mainIndex),{});return V(async()=>{a.value={router:lt({cleanUrlOnDispose:!1}),stateMapping:{stateToRoute(r){const n=r[s.indexName]||{};return{query:n.query,page:n.page,[o.CATEGORY]:n.hierarchicalMenu?.[o.HIERARCHY_MENU_ITEMS[0]]?.join(o.CATEGORY_SEPARATOR.trim()),[o.AGE]:n.refinementList?.[o.AGE]?.join(o.REFINEMENT_SEPARATOR),[o.COLORS]:n.refinementList?.[o.COLORS]?.join(o.REFINEMENT_SEPARATOR),[o.HEIGHT]:n.refinementList?.[o.HEIGHT]?.join(o.REFINEMENT_SEPARATOR),[o.WHEELS]:n.refinementList?.[o.WHEELS]?.join(o.REFINEMENT_SEPARATOR),[o.SORT]:n.sortBy?.replace(`${s.indexName}_`,"")}},routeToState(r){const n=r.category?{[o.HIERARCHY_MENU_ITEMS[0]]:r.category?.split(o.CATEGORY_SEPARATOR.trim())}:void 0,p=Object.fromEntries([o.AGE,o.COLORS,o.HEIGHT,o.WHEELS].map(h=>{const u=r[h]?.split(o.REFINEMENT_SEPARATOR);return u?[h,u]:void 0}).filter(X));return{[s.indexName]:{query:r.query,page:r.page,sortBy:r[o.SORT]?`${s.indexName}_${r[o.SORT]}`:void 0,hierarchicalMenu:n,refinementList:p}}}}}}),Z(()=>{t(void 0)}),(r,n)=>{const p=tt,h=rt;return w(a)?(R(),J(h,{key:0,"index-name":w(s).indexName,middlewares:[l],routing:w(a),"show-no-result":""},{default:S(()=>[W(w(dt),{class:"text-woom-black!"},{default:S(({nbHits:u,query:g})=>[Q(W(p,{level:"h1",size:"lg",class:"my-6"},{default:S(()=>[b(_(w(i)("heading"))+" ",1),B("q",ut,_(g),1)]),_:2},1536),[[et,u>0]]),u>0?(R(),T("div",pt,_(u)+" "+_(w(i)("results")),1)):U("",!0)]),_:1})]),_:1},8,["index-name","middlewares","routing"])):U("",!0)}}});function G(e){const i=e;i.__i18n=i.__i18n||[],i.__i18n.push({locale:"",resource:{da:{heading:{t:0,b:{t:2,i:[{t:3}],s:"Søgeresultater for"}},results:{t:0,b:{t:2,i:[{t:3}],s:"Resultater"}}},de:{heading:{t:0,b:{t:2,i:[{t:3}],s:"Suchergebnisse für"}},results:{t:0,b:{t:2,i:[{t:3}],s:"Ergebnisse"}}},en:{heading:{t:0,b:{t:2,i:[{t:3}],s:"Search results for"}},results:{t:0,b:{t:2,i:[{t:3}],s:"Results"}}},fi:{heading:{t:0,b:{t:2,i:[{t:3}],s:"Hakutulokset haulle"}},results:{t:0,b:{t:2,i:[{t:3}],s:"Tulokset"}}},fr:{heading:{t:0,b:{t:2,i:[{t:3}],s:"Résultats pour"}},results:{t:0,b:{t:2,i:[{t:3}],s:"Résultats"}}},nl:{heading:{t:0,b:{t:2,i:[{t:3}],s:"Zoekresultaten voor"}},results:{t:0,b:{t:2,i:[{t:3}],s:"Resultaten"}}},sv:{heading:{t:0,b:{t:2,i:[{t:3}],s:"Sökresultat för"}},results:{t:0,b:{t:2,i:[{t:3}],s:"Resultat"}}},pl:{heading:{t:0,b:{t:2,i:[{t:3}],s:"Wyniki wyszukiwania dla"}},results:{t:0,b:{t:2,i:[{t:3}],s:"Wyniki"}}},es:{heading:{t:0,b:{t:2,i:[{t:3}],s:"Resultados de la búsqueda para"}},results:{t:0,b:{t:2,i:[{t:3}],s:"Resultados"}}},ro:{heading:{t:0,b:{static:"",t:2,i:[]}},results:{t:0,b:{static:"",t:2,i:[]}}}}})}typeof G=="function"&&G(ht);export{ht as default};
2//# sourceMappingURL=CHMyjnoW.js.map

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.