PageSourceSearch

https://www.sellpy.se/market/CLIPSearch.Dp6DePfl.bundle.js

js sellpy.se collected 2026-09-24 17:38:59 UTC 5,629 bytes, 13 lines download raw bytes

1var D=Object.defineProperty,M=Object.defineProperties;var _=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var y=(e,t,o)=>t in e?D(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,g=(e,t)=>{for(var o in t||(t={}))L.call(t,o)&&y(e,o,t[o]);if(h)for(var o of h(t))C.call(t,o)&&y(e,o,t[o]);return e},x=(e,t)=>M(e,_(t));var f=(e,t,o)=>new Promise((p,a)=>{var c=s=>{try{n(o.next(s))}catch(i){a(i)}},d=s=>{try{n(o.throw(s))}catch(i){a(i)}},n=s=>s.done?p(s.value):Promise.resolve(s.value).then(c,d);n((o=o.apply(e,t)).next())});import{j as r,b as P,I as T,o as k}from"./npm.sellpy-design-system.sUaPRvy7.bundle.js";import{c as v,r as b}from"./npm.react-hook-form.C-gy3V91.bundle.js";import{b as E}from"./npm.react-router.eGoWS0aR.bundle.js";import{s as q,g as j}from"./npm.styled-components.CXmCnM24.bundle.js";import{b as F,aB as R,S as B,dK as H,f0 as $,f3 as A,dX as N,dY as O,fn as Q}from"./index.OKbXaoKY.bundle.js";import"./npm.apollo-client.D2roezfX.bundle.js";import{S as G,b as K,P as V,c as z}from"./SearchWrapper.D54h-n3y.bundle.js";import"./npm.lodash.B-mb_ip_.bundle.js";import{V as U}from"./VerticalFilters.CPLthl8j.bundle.js";import{f as W}from"./requestSource.DVVvlAfs.bundle.js";import{S as X,L as Y,H as J,g as Z}from"./styles.Cc2QHV93.bundle.js";import{u as ee}from"./npm.react-i18next.DBIOEc1H.bundle.js";import"./npm.react-dom.DRhp71ng.bundle.js";import"./npm.sellpy-commons.CqmbWWp3.bundle.js";import"./npm.immutable.3wsaRX37.bundle.js";import"./npm.luxon.3NOFZn7k.bundle.js";import"./npm.zod.DEnjmUYT.bundle.js";import"./npm.parse.B9RAjAGR.bundle.js";import"./npm.sentry-react.D1FVWAhI.bundle.js";import"./npm.swr.CGFXCyXz.bundle.js";import"./npm.algolia.BDObKZ-5.bundle.js";import"./npm.i18next.B74d65Th.bundle.js";import"./translations.FODGUIZZ.bundle.js";import"./npm.graphql.ClDiDpi3.bundle.js";import"./FilterHeader.DAmEQeot.bundle.js";import"./SizeProfilesModal.D8Lc5e1W.bundle.js";import"./usePrevious.BvF0VTrl.bundle.js";import"./getInternalLink.CW53TYiH.bundle.js";import"./MarketItemTile.wt4_JFSQ.bundle.js";import"./tools.QI2CxAu_.bundle.js";import"./utils.Bj4bPQRb.bundle.js";import"./errors.DbzKVgYe.bundle.js";import"./itemStatus.ChCpFNqm.bundle.js";import"./ItemImage.BQUo4onz.bundle.js";import"./useImageAlt.CEA-7ZQ2.bundle.js";import"./constants.C6kTmG7X.bundle.js";import"./useSimilarBrands.MSVUzIyJ.bundle.js";import"./fetchSimilarBrands.6AV-qByW.bundle.js";import"./validateBrandExistence.DUH6Ohxa.bundle.js";import"./useDebounce.uYIVzDkN.bundle.js";import"./useSameSiteUprankingFilter.BGguM1U2.bundle.js";import"./SavedBrandsModal.BOanH0l3.bundle.js";import"./useSimilarBrandsFromBrands.DK08YQQ6.bundle.js";import"./usePersonalisedSearch.DTxgTdH-.bundle.js";import"./featureConfig.B7udWyBA.bundle.js";import"./useCategoryIcons.CaC8WMcG.bundle.js";import"./index.vwllTy2D.bundle.js";import"./utils.ByO6efJv.bundle.js";import"./TwoTileBanner.sifttanB.bundle.js";import"./getDefaultAlgoliaFilters.BROJKB2W.bundle.js";import"./fetchWithTimeout.Bbd2_8jc.bundle.js";try{let e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fdb9dc91-9a83-47c0-a9ba-5be4facdf068",e._sentryDebugIdIdentifier="sentry-dbid-fdb9dc91-9a83-47c0-a9ba-5be4facdf068")}catch(e){}{let e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:sellpy-market":!0})}const te=j.button`
2  border: none;
3  cursor: pointer;
4  margin: 0;
5  padding: ${({isToRight:e})=>e?"0 16px 0 8px":"0 8px 0 16px"};
6  min-width: 30px;
7  outline: none;
8  align-items: center;
9  background-color: ${({theme:e})=>e.color.white.default};
10`,re=({isToRight:e})=>{const t=q();return r.jsx(te,{isToRight:e,children:r.jsx(P,{name:T.SEARCH,style:{fontSize:"24px",color:t.color.black.default}})})},oe=j(z)`
11  grid-area: hf / hf / id / id;
12`,rt=()=>{const{t:e}=ee(["sellpyLabs","common"]),{isTablet:t}=F(),{register:o,handleSubmit:p}=v({}),[a,c]=b.useState([]),[d,n]=b.useState(!1),s=E(),i=R(),l=i==null?void 0:i["ml-query"],S=m=>f(null,null,function*(){const u=m.query,w=encodeURIComponent(u);s(`/sellpy-labs/search?ml-query=${w}`,{replace:!0})});if(b.useEffect(()=>{l&&f(null,null,function*(){n(!0);const u=yield Z(l,{requestSource:W("sellpy-labs-text-search")});c(u),n(!1),Q({searchTerm:l})})},[l]),d)return r.jsx(B,{});const I=(a==null?void 0:a.length)>0&&"("+a.map(m=>`objectID:${m}`).join(" OR ")+")";return r.jsx(G,{customFilters:I,analyticsTag:"clip-search",children:r.jsxs(X,{children:[!t&&r.jsx(Y,{children:r.jsx(U,{})}),r.jsxs(J,{children:[r.jsx(H,{headline:e("sellpyLabs:clipSearch.header"),alt:"Clothes",description:e("sellpyLabs:clipSearch.subHeader"),blob:r.jsx(k,{label:"BETA",color:"black"})}),r.jsx("search",{children:r.jsx("form",{onSubmit:p(S),style:{display:"flex",margin:"1rem 0 0 0"},children:r.jsxs($,{children:[r.jsx(re,{}),r.jsx(A,x(g({},o("query")),{placeholder:l||e("common:header.searchPlaceholder")}))]})})})]}),r.jsx(oe,{}),r.jsx(N,{children:r.jsx(K,{sortingList:a,analyticsMetadata:{listId:null,listName:"image_search"}})}),r.jsx(O,{children:r.jsx(V,{padding:t?void 0:2})})]})})};export{rt as default};
13//# sourceMappingURL=CLIPSearch.Dp6DePfl.bundle.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.