1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Home-Dae1e5Wq.js","assets/rolldown-runtime-CXHxssQy.js","assets/vendor-core-DLV7unHF.js","assets/vendor-data-gP-SiX90.js","assets/i18n-BHBA6a-T.js","assets/preload-helper-BATLnrmA.js","assets/tracker-B3eq4qtf.js","assets/consent-DGzR1_ti.js","assets/identity-BOpqziND.js","assets/context-CYcc3Yen.js","assets/vendor-ui-HbZeGnVr.js","assets/proxy-BoHU2ZQN.js","assets/AnimatePresence-CWBg_DSo.js","assets/RecommendationRow-DKG5T0mM.js","assets/use-toast-PQNKAu0e.js","assets/api-CRGwQGva.js","assets/queryClient-CbhGi5gS.js","assets/_csrf-Df8Tgp56.js","assets/slugify-COPcHoH5.js","assets/useScrollEdges-BLkm0ofD.js","assets/LazyImage-YkWFZ137.js","assets/utils-BUDDtgTh.js","assets/Price-DofhS5ms.js","assets/useTranslatedProduct-hromY3mz.js","assets/chatbot-Dc7BP0fX.js","assets/pricing-DVpphzOp.js","assets/shipping-policy-rrG-HvLu.js","assets/contact-jY6A8GHz.js","assets/chatbot-BflFyI9d.css","assets/Layout-C37Fdnqj.js","assets/button-BpBAlEZu.js","assets/cva-tn1nuMbq.js","assets/events-BjDQzDGJ.js","assets/NavigationUtilities-C5QRGODy.js","assets/wishlist-BMhRPdNt.js","assets/cart-B-Gd6SVC.js","assets/calculations-sGaDeB3w.js","assets/events-api-CvO6EJ1p.js","assets/consent-BxQtDmwD.js","assets/hooks-Cd6OUmlD.js","assets/OptimizedImage-DsBIYH2D.js","assets/cart-beacon-o8QDXeMo.js","assets/useAuth-D0TmjQpm.js","assets/BottomNavV2-C3_fxLT3.js","assets/MegaMenuContent-B9w5os7q.js","assets/YoutubeIcon-BOvuTpt2.js","assets/SEO-w_hz1TEB.js","assets/ANAL-index_1765151289744-CFXprKbo.js","assets/CategoryListing-BwYqF7D2.js","assets/Breadcrumb-B6tkjLCO.js","assets/components-pvmkpzxe.js","assets/dialog-CDZ2249b.js","assets/card-C09EQudm.js","assets/badge-Ckh5MnAv.js","assets/useCardTilt-BfKE6XHB.js","assets/use-transform-Dy1H8fLS.js","assets/use-spring-BkpTe8v2.js","assets/ProductDetailData-CQQbHesu.js","assets/applyRanking-DFQzvcZS.js","assets/checkbox-HQlqroCn.js","assets/slider-Duq0hLHW.js","assets/MobileCategoryPage-DiGZfWOq.js","assets/SafeHtml-Duh_0UeB.js","assets/faq-data-CPzyXpHx.js","assets/FilterBottomSheet-Bdw8A1Lm.js","assets/schemas-DUHsWMHC.js","assets/coerce-j8xUUsOY.js","assets/data-CtemN37Z.js","assets/MobileSearchHeader-BVzOM4vi.js","assets/SearchBar-DtPVlLaB.js","assets/search-events-BUJQcmsl.js","assets/ProductCardMobile-DCVFi81Q.js","assets/product-detail-C-JG9Ez9.js","assets/input-C-oqphw0.js","assets/ViewingHistoryStrip-D49U8xic.js","assets/textarea-jnpLt1XA.js","assets/ProductDetailSections-CoA75W5x.js","assets/label-rmk_lUq_.js","assets/useHesitationTracker-DXD6PL1j.js","assets/accordion-DMtif5x_.js","assets/Contact-DBBZ5YEw.js","assets/index.esm-BSsHJ7xH.js","assets/Wishlist-KPJpMAJp.js","assets/MobileBackButton-Dtcl6caw.js","assets/categories-DlLbptJL.js","assets/Blog-CAENOuUE.js","assets/blog-DStXtse2.js","assets/BlogPost-BON0i_bE.js","assets/data-CiHkCeXc.js","assets/useCaptureEmail-DEsXuF9V.js","assets/SearchResults-B2fQ7o6f.js","assets/select-CkGTehtz.js","assets/switch-DaRePIGG.js","assets/Checkout-CC7Ysk2-.js","assets/attribution-VXY9oVzd.js","assets/separator-DvWX1aA_.js","assets/gtm-EtULVTM7.js","assets/legal-paths-C-sWVVTx.js","assets/radio-group-D4VQBWzt.js","assets/shipping-address-DudBGGEM.js","assets/checkout-success-DEQiovMm.js","assets/Quiz-CRajMs5n.js","assets/useQuiz-CWp34tn3.js","assets/SharedWishlist-yvXFtfDt.js","assets/about-b1iDSuDb.js","assets/faq-11WpHFwT.js","assets/devoluciones-D7FD4QNt.js","assets/PolicyPage-BcxwAMpc.js","assets/condiciones-DF-8ZaL3.js","assets/CompanyInfoSection-6OquHPiD.js","assets/VerifyHuman-makLLQF8.js","assets/ResetPin-C3Bq4f9F.js","assets/users-D5O9rWyx.js","assets/valorar-CRQa0GEB.js","assets/ProductComparator-BQ-ox47t.js","assets/dist-CKggLyJL.js","assets/para-ti-BjoTiB5m.js","assets/MobileProductsPage-BK4yo5Dk.js","assets/MobileMorePage-DDAgrh3Y.js","assets/useLogout-CsptWR7u.js","assets/MobileCartPage-BnfAaJdn.js","assets/Account-MYA3GUnF.js","assets/collapsible-DhbTw0wH.js","assets/AccountAsyncState-Dl6GOR7T.js","assets/skeleton-Cq6Ipywx.js","assets/incognito-iLA1n1Yi.js","assets/date-format-BkrzO8CF.js","assets/useAccountQuery-BEz5BNGO.js","assets/profile-completion-ClHRZaEv.js","assets/use-review-link-12X_o0_Z.js","assets/AdminRoutes-D_yHcyqJ.js","assets/SmartCollection-Dfx93O44.js","assets/LocalLanding-Ccl5zfAW.js","assets/LocalRedirect-CVn_gPDz.js","assets/directory-0SZBArgc.js","assets/LegalPage-B_fZs0iJ.js","assets/legal-GcJC32Js.js","assets/LegalIndex-C7uVgHUO.js","assets/comparativas-C9eVYV3_.js","assets/guides-CPPdMhdY.js","assets/insights-DBmYg94a.js","assets/glosario-D1ez3-na.js","assets/data-B33xUHOZ.js","assets/TermDetail-MevC1kSB.js","assets/autores-DgewisBm.js","assets/author-page-DySJBaBI.js","assets/prensa-W9RrMNwt.js","assets/casos-exito-DovTIStw.js","assets/mitos-Dd454SdM.js","assets/metodologia-CqpG7Hlh.js","assets/conocimiento-CI7ATTcF.js","assets/components-C41XSz4T.js","assets/estado-sector-CYvbpUIu.js","assets/seo-props-1Y2W6F8D.js","assets/indice-nacional-0l3LWYFC.js","assets/showroom-B5Ts-g1p.js","assets/not-found-IDtILU9O.js","assets/InstallAppButton-D0QUXT5W.js","assets/CookieConsentBanner
1-CaAAUE_z.js","assets/analytics-aMpfVHY6.js","assets/welcome-popup-cawck3Rv.js","assets/exit-intent-BJVkr7Nv.js","assets/wishlist-gate-B6ZlSCG-.js","assets/spinner-discount-DjGmvdqS.js","assets/push-optin-CyT0J3BG.js","assets/cart-recovery-CKF9JHWx.js","assets/admin-mutation-feedback-bAgkIeoN.js","assets/adminHttp-dmZaXYk2.js"])))=>i.map(i=>d[i]); 2import{r as Ae}from"./rolldown-runtime-CXHxssQy.js";import{a as K,f as Re,i as Te,l as De,r as J,u as Ie}from"./vendor-core-DLV7unHF.js";import{b as Le,r as Oe,y as Se}from"./vendor-data-gP-SiX90.js";import{i as Ne}from"./queryClient-CbhGi5gS.js";import{a as ke,n as Ce}from"./_csrf-Df8Tgp56.js";import{t as Ve}from"./i18n-BHBA6a-T.js";import{t as s}from"./preload-helper-BATLnrmA.js";import{t as ze}from"./identity-BOpqziND.js";import{n as We,r as Be,t as $e}from"./tracker-B3eq4qtf.js";import{It as Me,St as ce,_t as le,bt as de,di as Fe,fn as Ue,gt as ue,li as pe,ui as Ge,vt as me,wt as He,xt as fe,yt as Ke}from"./vendor-ui-HbZeGnVr.js";import{t as x}from"./utils-BUDDtgTh.js";import{t as Ye}from"./cva-tn1nuMbq.js";import{t as X}from"./button-BpBAlEZu.js";import{t as qe}from"./use-toast-PQNKAu0e.js";import{r as Qe}from"./api-CRGwQGva.js";import{a as Je}from"./calculations-sGaDeB3w.js";import{r as B,t as Xe}from"./attribution-VXY9oVzd.js";import{n as Ze,t as et}from"./consent-BxQtDmwD.js";import{t as tt}from"./events-BjDQzDGJ.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const c of i)if(c.type==="childList")for(const d of c.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&n(d)}).observe(document,{childList:!0,subtree:!0});function o(i){const c={};return i.integrity&&(c.integrity=i.integrity),i.referrerPolicy&&(c.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?c.credentials="include":i.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function n(i){if(i.ep)return;i.ep=!0;const c=o(i);fetch(i.href,c)}})();var at=3e3,he="1.0.0";function rt(e){return e.includes("/api/radar")}var Z=0,v=[],Y=Date.now(),C=[],ot=6e4,V=0,D=null;function h(e,t,o,n){Z++;const i={seq:Z,ts:new Date().toISOString(),type:e,level:t,summary:o,detail:n};v.push(i),v.length>200&&v.shift(),C.push(i)}var F=window.fetch.bind(window);function nt(){window.fetch=async function(n,i){const c=typeof n=="string"?n:n instanceof URL?n.toString():n.url,d=(i?.method||"GET").toUpperCase();if(rt(c))return F(n,i);const f=performance.now();h("fetch","ok",`â ${d} ${c}`);try{const l=await F(n,i),u=Math.round(performance.now()-f),m=l.status;let b="ok";return m>=500?b="critical":m>=400?b="error":u>500&&(b="warn"),h("fetch",b,`â ${d} ${c} â ${m} (${u}ms)${u>500?" [SLOW]":""}`,{url:c,method:d,status:m,durationMs:u,slow:u>500}),l}catch(l){const u=Math.round(performance.now()-f),m=l instanceof Error?l.message:String(l);throw h("fetch","critical",`â ${d} ${c} NETWORK ERROR: ${m}`,{url:c,method:d,error:m,durationMs:u,stack:l instanceof Error?l.stack:void 0}),l}},window.onerror=function(o,n,i,c,d){h("error","error",`JS Error: ${o} @ ${n?n.split("/").pop():"unknown"}:${i}:${c}`,{message:String(o),source:n,lineno:i,colno:c,stack:d?.stack})},window.addEventListener("unhandledrejection",o=>{const n=o.reason,i=n instanceof Error?n.message:String(n);h("error","error",`Unhandled Rejection: ${i}`,{message:i,stack:n instanceof Error?n.stack:void 0})});const e=history.pushState.bind(history),t=history.replaceState.bind(history);history.pushState=function(...o){const n=location.pathname;e(...o),n!==location.pathname&&h("navigation","ok",`Navigate: ${n} â ${location.pathname}`,{from:n,to:location.pathname})},history.replaceState=function(...o){const n=location.pathname;t(...o),n!==location.pathname&&h("navigation","ok",`Replace: ${n} â ${location.pathname}`,{from:n,to:location.pathname})},window.addEventListener("popstate",()=>{h("navigation","ok",`Popstate: ${location.pathname}`,{path:location.pathname})});try{new PerformanceObserver(o=>{for(const n of o.getEntries())n.duration>500&&h("performance","warn",`Long task: ${Math.round(n.duration)}ms`,{durationMs:Math.round(n.duration),startTime:Math.round(n.startTime)})}).observe({entryTypes:["longtask"]})}catch{}
2"serviceWorker"in navigator&&(navigator.serviceWorker.addEventListener("message",o=>{const n=o.data;n&&typeof n=="object"&&h("sw","ok",`SW Message: ${n.type||"unknown"}`,{type:n.type,payload:n.payload})}),navigator.serviceWorker.addEventListener("controllerchange",()=>{h("sw","warn","SW Controller changed â new version activated")})),window.addEventListener("error",o=>{if(o.target&&o.target.tagName){const n=o.target,i=n.tagName.toLowerCase(),c=n.src||n.src||"";h("resource","error",`Resource load failed: <${i}> ${c}`,{tag:i,src:c})}},!0),U(),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&_e()}),window.__radar=st,h("lifecycle","ok",`Radar v${he} initialized â session ${Y}`)}function U(){D!==null&&(window.clearTimeout(D),D=null);const e=Math.min(ot,at*Math.pow(2,V));D=window.setTimeout(()=>{D=null,_e()},e)}async function _e(){if(C.length===0){U();return}const e=C.splice(0,C.length);try{V=(await F("/api/radar/ingest",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:Y,events:e}),keepalive:!0})).ok?0:V+1}catch{V+=1}U()}var ee=e=>e.level==="error"||e.level==="critical",st={snapshot:()=>({version:he,sessionId:Y,totalEvents:v.length,errors:v.filter(ee),recent:v.slice(-20)}),errors:()=>v.filter(ee),lastN:e=>v.slice(-e),search:e=>{const t=e.toLowerCase();return v.filter(o=>o.summary.toLowerCase().includes(t)||JSON.stringify(o.detail||{}).toLowerCase().includes(t))}},it="ignislove_radar_debug";function ct(){try{return localStorage.getItem(it)==="1"}catch{return!1}}typeof window<"u"&&ct()&&nt();var lt=Ie(),r=Ae(Re(),1),a=De(),dt=Fe,ut=r.forwardRef(({className:e,sideOffset:t=4,...o},n)=>(0,a.jsx)(Ge,{children:(0,a.jsx)(pe,{ref:n,sideOffset:t,className:x("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",e),...o})}));ut.displayName=pe.displayName;var G=class extends r.Component{constructor(...e){super(...e),this.state={hasError:!1,error:null},this.handleReload=()=>{window.location.reload()},this.handleGoHome=()=>{window.location.href="/"}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error("ErrorBoundary caught:",e,t)}render(){return this.state.hasError?this.props.fallback?this.props.fallback:(0,a.jsx)("div",{className:"min-h-screen bg-[#FDF8FA] flex items-center justify-center p-4",children:(0,a.jsxs)("div",{className:"bg-white rounded-2xl shadow-lg p-8 max-w-md w-full text-center",children:[(0,a.jsx)("div",{className:"w-16 h-16 bg-[#E85A8B]/10 rounded-full flex items-center justify-center mx-auto mb-6",children:(0,a.jsx)(Me,{className:"w-8 h-8 text-[#E85A8B]"})}),(0,a.jsx)("h2",{className:"text-2xl font-serif text-gray-800 mb-3",children:"Algo salió mal"}),(0,a.jsx)("p",{className:"text-gray-600 mb-6",children:"Ha ocurrido un error inesperado. Por favor, intenta recargar la página."}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[(0,a.jsxs)(X,{onClick:this.handleReload,className:"bg-[#E85A8B] hover:bg-[#D74A7B] text-white",children:[(0,a.jsx)(Ue,{className:"w-4 h-4 mr-2"}),"Recargar página"]}),(0,a.jsx)(X,{onClick:this.handleGoHome,variant:"outline",className:"border-[#E85A8B] text-[#E85A8B] hover:bg-[#E85A8B]/5",children:"Ir al inicio"})]})]})}):this.props.children}};function pt({children:e}){return(0,a.jsx)(G,{children:(0,a.jsx)(Se,{client:Ne,children:(0,a.jsx)(Ve,{children:(0,a.jsx)(dt,{children:e})})})})}function mt(){const[e]=K();(0,r.useEffect)(()=>{const t=new AbortController;return(async()=>{try{await fetch("/api/track-visit",{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({page:e}),signal:t.signal})}catch(n){n instanceof Error&&n.name!=="AbortError"&&console.warn("[VisitTracker] Failed to track visit:",n.message)}})(),()=>t.abort()},[e])}function Tr(){return(0,a.jsxs)("div",{className:"animate-pulse space-y-3 py-8",children:[(0,a.jsx)("div",{className:"h-6 bg-gray-100 rounded w-1/4"}),(0,a.jsx)("div",{className:"h-4 bg-gray-100 rounded w-full"}),(0,a.jsx)("div",{className:"h-4 bg-gray-100 rounded w-3/4"})]})}function Dr(){return(0,a.jsx)("div",{className:"h-72 w-full animate-pulse bg-gray-50"})}function ft(){return(0,a.jsx)("div",{className:"container mx-auto px-4 py-8 lg:py-12 min-h-[900px] lg:min-h-[640px]","data-testid":"product-skeleton","aria-busy":"true",children:(0,a.jsxs)("div",{className:"animate-pulse",children:[(0,a.jsx)("div",{className:"h-5 w-48 bg-gray-100 rounded mb-4"}),(0,a.jsx)("div",{className:"h-5 w-32 bg-gray-100 rounded mb-8"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 lg:gap-20",children:[(0,a.jsx)("div",{className:"aspect-square md:aspect-[3/4] bg-gray-100 rounded-xl","data-testid":"product-skeleton-image"}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{className:"h-16 bg-gray-200 rounded w-full"}),(0,a.jsx)("div",{className:"h-8 bg-gray-200 rounded w-1/3"}),(0,a.jsx)("div",{className:"h-12 bg-gray-200 rounded-lg w-full","data-testid":"product-skeleton-buy"}),(0,a.jsx)("div",{className:"h-20 bg-gray-100 rounded-lg w-full"})]})]})]})})}function ht(){return(0,a.jsx)("div",{className:"container mx-auto px-4 py-8",children:(0,a.jsxs)("div",{className:"animate-pulse space-y-4",children:[(0,a.jsx)("div",{className:"h-8 bg-gray-200 rounded w-1/3"}),(0,a.jsx)("div",{className:"h-4 bg-gray-200 rounded w-2/3"}),(0,a.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 mt-8","data-testid":"category-skeleton-grid",children:[1,2,3,4].map(e=>(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"aspect-square bg-gray-200 rounded-lg"}),(0,a.jsx)("div",{className:"h-4 bg-gray-200 rounded w-3/4"}),(0,a.jsx)("div",{className:"h-4 bg-gray-200 rounded w-1/2"})]},e))})]})})}function _t(){return(0,a.jsx)("div",{className:"container mx-auto px-4 py-8 min-h-[60vh]",children:(0,a.jsxs)("div",{className:"animate-pulse space-y-4",children:[(0,a.jsx)("div",{className:"h-8 bg-gray-200 rounded w-1/3"}),(0,a.jsx)("div",{className:"h-4 bg-gray-200 rounded w-2/3"})]})})}function gt(e){return e.startsWith("/product/")?(0,a.jsx)(ft,{}):e.startsWith("/c/")?(0,a.jsx)(ht,{}):(0,a.jsx)(_t,{})}function vt({pathname:e=""}){return(0,a.jsxs)("div",{className:"min-h-screen bg-[#FDF8FA]",children:[(0,a.jsx)("div",{className:"h-[120px] bg-[#E85A8B]"}),gt(e)]})}var yt=(0,r.lazy)(()=>s(()=>import("./Home-Dae1e5Wq.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47]))),wt=(0,r.lazy)(()=>s(()=>import("./CategoryListing-BwYqF7D2.js"),__vite__mapDeps([48,1,2,3,4,5,6,7,8,9,10,30,21,31,14,15,16,17,11,13,18,19,20,22,23,24,25,26,27,28,29,32,33,34,35,36,37,38,39,40,41,42,43,44,45,49,46,50,12,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,47,68,69,70,71]))),Et=(0,r.lazy)(()=>s(()=>import("./product-detail-C-JG9Ez9.js"),__vite__mapDeps([72,1,2,3,16,17,4,5,6,7,8,9,10,30,21,31,14,15,25,35,36,37,38,39,40,18,13,19,20,22,23,41,24,26,27,28,29,32,33,34,42,43,44,45,49,73,74,53,75,46,57,63,71,76,77,52,78,79]))),xt=(0,r.lazy)(()=>s(()=>import("./Contact-DBBZ5YEw.js"),__vite__mapDeps([80,1,2,3,17,4,5,6,7,8,9,10,30,21,31,14,27,29,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,28,43,44,45,49,65,73,77,52,75,46,81]))),bt=(0,r.lazy)(()=>s(()=>import("./Wishlist-KPJpMAJp.js"),__vite__mapDeps([82,1,2,3,4,5,6,7,8,9,10,30,21,31,14,15,16,17,34,18,13,19,20,22,23,24,25,26,27,28,43,36,39,29,32,33,35,37,38,40,41,42,44,45,49,83,46]))),Pt=(0,r.lazy)(()=>s(()=>import("./categories-DlLbptJL.js"),__vite__mapDeps([84,2,1,4,5,6,7,8,9,10,29,3,17,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46,67,47]))),jt=(0,r.lazy)(()=>s(()=>import("./Blog-CAENOuUE.js"),__vite__mapDeps([85,1,2,3,4,5,6,7,8,9,10,15,16,17,86,29,21,30,31,14,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46]))),At=(0,r.lazy)(()=>s(()=>import("./BlogPost-BON0i_bE.js").then(e=>e.t),__vite__mapDeps([87,1,2,3,5,10,30,21,31,15,16,17,6,7,8,9,86,13,4,14,18,19,20,22,23,29,32,33,34,35,36,25,37,38,39,40,41,42,24,26,27,28,43,44,45,49,73,46,62,88,89]))),Rt=(0,r.lazy)(()=>s(()=>import("./SearchResults-B2fQ7o6f.js"),__vite__mapDeps([90,1,2,3,4,5,6,7,8,9,10,30,21,31,15,16,17,37,38,18,13,14,19,20,22,23,70,29,32,33,34,35,36,25,39,40,41,42,24,26,27,28,43,44,45,49,73,77,91,92,46,58]))),Tt=(0,r.lazy)(()=>s(()=>import("./Checkout-CC7Ysk2-.js"),__vite__mapDeps([93,1,2,3,17,4,5,6,7,8,9,10,30,21,31,14,15,16,25,94,38,32,37,13,18,19,20,22,23,42,29,33,34,35,36,39,40,41,24,26,27,28,43,44,45,73,77,95,91,89,60,96,78,97,98,99,65])
2)),Dt=(0,r.lazy)(()=>s(()=>import("./checkout-success-DEQiovMm.js"),__vite__mapDeps([100,1,2,3,4,5,6,7,8,9,10,30,21,31,37,38,13,14,15,16,17,18,19,20,22,23,41,29,32,33,34,35,36,25,39,40,42,24,26,27,28,43,44,45,96]))),It=(0,r.lazy)(()=>s(()=>import("./Quiz-CRajMs5n.js"),__vite__mapDeps([101,2,1,4,5,6,7,8,9,10,30,21,31,11,12,18,22,29,3,17,14,15,16,32,33,34,35,36,25,37,38,39,40,13,19,20,23,41,42,24,26,27,28,43,44,45,52,46,102]))),Lt=(0,r.lazy)(()=>s(()=>import("./SharedWishlist-yvXFtfDt.js"),__vite__mapDeps([103,2,1,3,17,10,30,21,31,14,18,22,29,4,5,6,7,8,9,15,16,32,33,34,35,36,25,37,38,39,40,13,19,20,23,41,42,24,26,27,28,43,44,45,52,46]))),Ot=(0,r.lazy)(()=>s(()=>import("./about-b1iDSuDb.js"),__vite__mapDeps([104,2,1,4,5,6,7,8,9,10,27,29,3,17,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,28,43,44,45,49,46]))),St=(0,r.lazy)(()=>s(()=>import("./faq-11WpHFwT.js"),__vite__mapDeps([105,1,2,10,29,3,17,4,5,6,7,8,9,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46]))),Nt=(0,r.lazy)(()=>s(()=>import("./devoluciones-D7FD4QNt.js"),__vite__mapDeps([106,2,1,26,25,46,27,107,29,3,17,4,5,6,7,8,9,10,21,30,31,14,15,16,32,18,33,34,35,36,37,38,39,40,13,19,20,22,23,41,42,24,28,43,44,45,49]))),kt=(0,r.lazy)(()=>s(()=>import("./condiciones-DF-8ZaL3.js"),__vite__mapDeps([108,2,1,3,26,25,97,109,4,5,6,7,8,9,10,107,29,17,21,30,31,14,15,16,32,18,33,34,35,36,37,38,39,40,13,19,20,22,23,41,42,24,27,28,43,44,45,49,46]))),Ct=(0,r.lazy)(()=>s(()=>import("./VerifyHuman-makLLQF8.js"),__vite__mapDeps([110,1,2,17,10,30,21,31]))),Vt=(0,r.lazy)(()=>s(()=>import("./ResetPin-C3Bq4f9F.js"),__vite__mapDeps([111,1,2,17,10,30,21,31,29,3,4,5,6,7,8,9,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,112,65,66,73,77,52]))),zt=(0,r.lazy)(()=>s(()=>import("./valorar-CRQa0GEB.js"),__vite__mapDeps([113,1,2,30,10,21,31,29,3,17,4,5,6,7,8,9,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,46]))),te=(0,r.lazy)(()=>s(()=>import("./ProductComparator-BQ-ox47t.js"),__vite__mapDeps([114,1,2,3,6,5,7,8,9,10,30,21,31,15,16,17,18,20,22,29,4,14,32,33,34,35,36,25,37,38,39,40,13,19,23,41,42,24,26,27,28,43,44,45,49,73,115,46]))),Wt=(0,r.lazy)(()=>s(()=>import("./para-ti-BjoTiB5m.js"),__vite__mapDeps([116,2,1,13,3,4,5,6,7,8,9,10,14,15,16,17,18,19,20,21,22,23,29,30,31,32,33,34,35,36,25,37,38,39,40,41,42,24,26,27,28,43,44,45,49,46]))),Bt=(0,r.lazy)(()=>s(()=>import("./MobileProductsPage-BK4yo5Dk.js"),__vite__mapDeps([117,1,2,10,43,5,6,7,8,9,36,25,39,3,15,16,17,24,18,26,27,28,64,4,65,66,67,47,68,69,21,37,38,22,23,70,71,20,57,14,34]))),$t=(0,r.lazy)(()=>s(()=>import("./MobileMorePage-DDAgrh3Y.js"),__vite__mapDeps([118,1,2,4,5,6,7,8,9,10,14,42,3,43,36,25,39,15,16,17,24,18,26,27,28,119,68,69,21,37,38,22,23,70,67,47]))),Mt=(0,r.lazy)(()=>s(()=>import("./MobileCartPage-BnfAaJdn.js"),__vite__mapDeps([120,1,2,10,25,36,39,3,6,5,7,8,9,15,16,17,40,21,24,18,26,27,28,43]))),Ft=[{path:"/",component:yt},{path:"/productos",component:Bt},{path:"/mas",component:$t},{path:"/mi-carrito",component:Mt},{path:"/verificar",component:Ct},{path:"/categories",component:Pt},{path:"/blog",component:jt},{path:"/blog/:slug",component:At},{path:"/search",component:Rt},{path:"/category/:id",component:wt},{path:"/product/:id",component:Et},{path:"/contact",component:xt},{path:"/wishlist",component:bt},{path:"/wishlist/share/:token",component:Lt},{path:"/checkout",component:Tt},{path:"/checkout/success",component:Dt},{path:"/quiz",component:It},{path:"/sobre-nosotros",component:Ot},{path:"/preguntas-frecuentes",component:St},{path:"/devoluciones",component:Nt},{path:"/condiciones",component:kt},{path:"/reset-pin/:token?",component:Vt},{path:"/valorar/:orderId",component:zt},{path:"/comparar",component:te},{path:"/comparar/:skus",component:te},{path:"/para-ti",component:Wt}],Ut=(0,r.lazy)(()=>s(()=>import("./Account-MYA3GUnF.js"),__vite__mapDeps([121,1,2,3,17,4,5,6,7,8,9,10,21,30,31,14,35,15,16,36,25,37,38,39,40,18,13,19,20,22,23,41,42,24,26,27,28,43,29,32,33,34,44,45,49,83,112,65,66,51,73,77,119,122,52,123,124,125,126,127,74,128,129,95
2]))),ae=(0,r.lazy)(()=>s(()=>import("./AdminRoutes-D_yHcyqJ.js"),__vite__mapDeps([130,1,2,5]))),Gt=[{path:"/account",component:Ut},{path:"/admin",component:ae},{path:"/admin/:rest*",component:ae}],Ht=["sexshop","vibradores","satisfyer","lenceria","consoladores","lubricantes","parejas","masturbadores","tienda-erotica","juguetes-sexuales","productos-eroticos","sexshop-online"],Kt=["sexshop","envios","tienda","comprar","satisfyer","vibradores","lenceria","aceites","consoladores","succionadores","parejas","masturbadores","lubricantes","plugs-anales","juegos-eroticos","lenceria-sexy","bondage-fetiche","huevos-vibradores","anillos-pene","estimuladores-prostata","bombas-vacio","balas-vibradoras","dildos","bolas-chinas","masajeadores","estimuladores-clitoris","juguetes-parejas","vibradores-rabbit","vibradores-punto-g","comprar-vibradores","tienda-erotica","juguetes-sexuales","vibradores-silenciosos","vibradores-potentes","satisfyer-ofertas","sexshop-online","tienda-adultos","productos-eroticos","vibradores-baratos","lenceria-erotica"],Yt=["dildos","vibradores","lubricantes","masajeadores","consoladores","aceites","satisfyer","succionadores","lenceria","masturbadores","parejas","plugs-anales","bondage-fetiche","juegos-eroticos","lenceria-sexy","huevos-vibradores","anillos-pene","estimuladores-prostata","estimuladores-clitoris","bombas-vacio","balas-vibradoras","bolas-chinas","vibradores-rabbit","vibradores-punto-g","vibradores-silenciosos","vibradores-potentes","vibradores-baratos","juguetes-sexuales","juguetes-parejas","sexshop","tienda-erotica","sexshop-online","productos-eroticos","lenceria-erotica","comprar-vibradores","satisfyer-ofertas","tienda-adultos"],qt=(0,r.lazy)(()=>s(()=>import("./SmartCollection-Dfx93O44.js"),__vite__mapDeps([131,1,2,3,4,5,6,7,8,9,30,10,21,31,14,15,16,17,24,25,18,26,27,28,29,32,33,34,35,36,37,38,39,40,13,19,20,22,23,41,42,43,44,45,124,46,50,11,12,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,47,68,69,70,71]))),Qt=(0,r.lazy)(()=>s(()=>import("./LocalLanding-Ccl5zfAW.js"),__vite__mapDeps([132,1,2,6,5,7,8,9,10,30,21,31,18,13,3,4,14,15,16,17,19,20,22,23,29,32,33,34,35,36,25,37,38,39,40,41,42,24,26,27,28,43,44,45,124,46,50,11,12,51,52,53,54,55,56,57,58,59,60]))),j=(0,r.lazy)(()=>s(()=>import("./LocalRedirect-CVn_gPDz.js"),__vite__mapDeps([133,1,2]))),$=(0,r.lazy)(()=>s(()=>import("./directory-0SZBArgc.js"),__vite__mapDeps([134,1,2,10,29,3,17,4,5,6,7,8,9,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,46]))),Jt=[{path:"/c/:slug",component:qt},{path:"/loc/:slug",component:Qt},{path:"/envios",component:$},{path:"/envios-espana",component:$},{path:"/sexshop-espana",component:$},...Ht.map(e=>({path:`/${e}/barcelona/sarria`,component:j})),{path:"/:keyword/barcelona/sarria",component:j},...Kt.map(e=>({path:`/${e}/:province/:town`,component:j})),{path:"/:keyword/:province/:town",component:j},...Yt.map(e=>({path:`/${e}/:province`,component:j})),{path:"/:keyword/:province",component:j}],Xt=(0,r.lazy)(()=>s(()=>import("./LegalPage-B_fZs0iJ.js"),__vite__mapDeps([135,136,1,2,3,4,5,6,7,8,9,10,30,21,31,29,17,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46,62,97,109]))),Zt=(0,r.lazy)(()=>s(()=>import("./LegalIndex-C7uVgHUO.js"),__vite__mapDeps([137,136,1,2,3,4,5,6,7,8,9,10,30,21,31,29,17,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46,62,97,109]))),ea=(0,r.lazy)(()=>s(()=>import("./comparativas-C9eVYV3_.js"),__vite__mapDeps([138,1,2,10,30,21,31,18,20,29,3,17,4,5,6,7,8,9,14,15,16,32,33,34,35,36,25,37,38,39,40,13,19,22,23,41,42,24,26,27,28,43,44,45,124,53,46]))),ta=(0,r.lazy)(()=>s(()=>import("./guides-CPPdMhdY.js"),__vite__mapDeps([139,2,1,10,49,21,46,25,26,27,62]))),aa=(0,r.lazy)(()=>s(()=>import("./insights-DBmYg94a.js"),__vite__mapDeps([140,2,1,10,29,3,17,4,5,6,7,8,9,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46]))),ra=(0,r.lazy)(()=>s(()=>import("./glosario-D1ez3-na.js"),__vite__mapDeps([141,1,2,10,29,3,17,4,5,6,7,8,9,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46,142]))),oa=(0,r.lazy)(()=>s(()=>import("./TermDetail-MevC1kSB.js"),__vite__mapDeps([143,2,1,3,10,30,21,31,18,20,22,29,17,4,5,6,7,8,9,14,15,16,32,33,34,35,36,25,37,38,39,40,13,19,23,41,42,24,26,27,28,43,44,45,49,46,142]))),na=(0,r.lazy)(()=>s(()=>import("./autores-DgewisBm.js"),__vite__mapDeps([144,2,1,10,29,3,17,4,5,6,7,8,9,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46,88]))),sa=(0,r.lazy)(()=>s(()=>import("./author-page-DySJBaBI.js"),__vite__mapDeps([145,2,1,10,29,3,17,4,5,6,7,8,9,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,46,88]))),ia=(0,r.lazy)(()=>s(()=>import("./prensa-W9RrMNwt.js"),__vite__mapDeps([146,2,1,10,27,29,3,17,4,5,6,7,8,9,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,28,43,44,45,49,46]))),ca=(0,r.lazy)(()=>s(()=>import("./casos-exito-DovTIStw.js"),__vite__mapDeps([147,2,1,10,27,29,3,17,4,5,6,7,8,9,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,28,43,44,45,49,46]))),la=(0,r.lazy)(()=>s(()=>import("./mitos-Dd454SdM.js"),__vite__mapDeps([148,2,1,10,29,3,17,4,5,6,7,8,9,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46]))),da=(0,r.lazy)(()=>s(()=>import("./metodologia-CqpG7Hlh.js"),__vite__mapDeps([149,2,1,10,29,3,17,4,5,6,7,8,9,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46]))),ua=(0,r.lazy)(()=>s(()=>import("./conocimiento-CI7ATTcF.js"),__vite__mapDeps([150,2,1,29,3,17,4,5,6,7,8,9,10,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46,151]))),pa=(0,r.lazy)(()=>s(()=>import("./estado-sector-CYvbpUIu.js"),__vite__mapDeps([152,2,1,10,29,3,17,4,5,6,7,8,9,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46,153,151]))),ma=(0,r.lazy)(()=>s(()=>import("./indice-nacional-0l3LWYFC.js"),__vite__mapDeps([154,2,1,10,29,3,17,4,5,6,7,8,9,21,30,31,14,15,16,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,27,28,43,44,45,49,46,153,151]))),_=(0,r.lazy)(()=>s(()=>import("./showroom-B5Ts-g1p.js"),__vite__mapDeps([155,1,2,10,15,16,3,17,6,5,7,8,9,27,29,4,21,30,31,14,32,18,33,34,35,36,25,37,38,39,40,13,19,20,22,23,41,42,24,26,28,43,44,45,46,50,11,12,51,52,53,54,55,56,57,58,59,60]))),fa=[{path:"/datos",component:aa},{path:"/glosario",component:ra},{path:"/glosario/:slug",component:oa},{path:"/guia/:slug",component:ta},{path:"/mejores/:slug",component:ea},{path:"/legal",component:Zt},{path:"/legal/:slug",component:Xt},{path:"/autores",component:na},{path:"/autor/:slug",component:sa},{path:"/prensa",component:ia},{path:"/casos-de-exito",component:ca},{path:"/mitos-y-realidades",component:la},{path:"/como-trabajamos",component:da},{path:"/conocimiento",component:ua},{path:"/conocimiento/estado-sector-2026",component:pa},{path:"/conocimiento/indice-nacional",component:ma},{path:"/sex-shop-barcelona",component:_},{path:"/sex-shop-eixample-barcelona",component:_},{path:"/sex-shop-gracia-barcelona",component:_},{path:"/sex-shop-sant-antoni-barcelona",component:_},{path:"/sex-shop-poble-sec-barcelona",component:_},{path:"/sex-shop-les-corts-barcelona",component:_},{path:"/sex-shop-sants-barcelona",component:_},{path:"/sex-shop-el-raval-barcelona",component:_},{path:"/sex-shop-barceloneta-barcelona",component:_},{path:"/sex-shop-sarria-barcelona",component:_}],ha=[...fa,...Jt],_a=(0,r.lazy)(()=>s(()=>import("./not-found-IDtILU9O.js"),__vite__mapDeps([156,1,2,10,30,21,31,37,38,13,3,4,5,6,7,8,9,14,15,16,17,18,19,20,22,23,52,46,25,26,27]
2))),ga=[...Ft,...Gt,...ha];function va(){mt();const[e]=K();return(0,a.jsx)(r.Suspense,{fallback:(0,a.jsx)(vt,{pathname:e}),children:(0,a.jsxs)(Te,{children:[ga.map(({path:t,component:o})=>(0,a.jsx)(J,{path:t,children:(0,a.jsx)(G,{children:(0,a.jsx)(o,{})})},t)),(0,a.jsx)(J,{children:(0,a.jsx)(G,{children:(0,a.jsx)(_a,{})})})]})})}var ya=Ke,ge=r.forwardRef(({className:e,...t},o)=>(0,a.jsx)(ce,{ref:o,className:x("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));ge.displayName=ce.displayName;var wa=Ye("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),ve=r.forwardRef(({className:e,variant:t,...o},n)=>(0,a.jsx)(de,{ref:n,className:x(wa({variant:t}),e),...o}));ve.displayName=de.displayName;var Ea=r.forwardRef(({className:e,...t},o)=>(0,a.jsx)(ue,{ref:o,className:x("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));Ea.displayName=ue.displayName;var ye=r.forwardRef(({className:e,...t},o)=>(0,a.jsx)(le,{ref:o,className:x("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:(0,a.jsx)(He,{className:"h-4 w-4"})}));ye.displayName=le.displayName;var we=r.forwardRef(({className:e,...t},o)=>(0,a.jsx)(fe,{ref:o,className:x("text-sm font-semibold",e),...t}));we.displayName=fe.displayName;var Ee=r.forwardRef(({className:e,...t},o)=>(0,a.jsx)(me,{ref:o,className:x("text-sm opacity-90",e),...t}));Ee.displayName=me.displayName;function xa(){const{toasts:e}=qe();return(0,a.jsxs)(ya,{children:[e.map(function({id:t,title:o,description:n,action:i,...c}){return(0,a.jsxs)(ve,{...c,children:[(0,a.jsxs)("div",{className:"grid gap-1",children:[o&&(0,a.jsx)(we,{children:o}),n&&(0,a.jsx)(Ee,{children:n})]}),i,(0,a.jsx)(ye,{})]},t)}),(0,a.jsx)(ge,{})]})}var xe=(0,r.createContext)({isBuyNowFloating:!1,setIsBuyNowFloating:()=>{}});function ba({children:e}){const[t,o]=(0,r.useState)(!1);return(0,a.jsx)(xe.Provider,{value:{isBuyNowFloating:t,setIsBuyNowFloating:o},children:e})}function Ir(){return(0,r.useContext)(xe)}var re="capture.emailCaptured",oe="capture.discountPct",ne="capture.visitCount",M="capture.lastPopup",I="capture.sessionShown",Pa="capture.pushAsked",ja=864e5;function w(e){try{return localStorage.getItem(e)}catch{return null}}function E(e,t){try{localStorage.setItem(e,t)}catch{}}function Aa(){const[e,t]=(0,r.useState)(()=>w(re)==="1"?"captured":null),[o,n]=(0,r.useState)(()=>{const u=w(oe);return u?parseInt(u):null}),[i,c]=(0,r.useState)(null),[d,f]=(0,r.useState)(()=>w(Pa)==="1"),[l]=(0,r.useState)(()=>{const u=parseInt(w(ne)??"0")+1;return E(ne,String(u)),u});return(0,r.useEffect)(()=>
2{if(e||w(I))return;const u=parseInt(w(M)??"0");if(!(Date.now()-u<ja)&&l<=2){const m=setTimeout(()=>{w(I)||c("welcome")},8e3);return()=>clearTimeout(m)}},[e,l]),(0,r.useEffect)(()=>{if(i)try{Be("popup_shown",{popup:i})}catch{}},[i]),{email:e,discountPct:o,activePopup:i,visitCount:l,pushAsked:d,onEmailCaptured:(0,r.useCallback)((u,m)=>{t(u),n(m),E(re,"1"),E(oe,String(m)),E(I,"1"),E(M,String(Date.now()))},[]),onPopupDismissed:(0,r.useCallback)(()=>{E(I,"1"),E(M,String(Date.now())),c(null)},[]),requestPopup:(0,r.useCallback)(u=>{i||u==="wishlist_gate"&&e||u==="push_optin"&&(d||!e)||c(u)},[i,e,d])}}function Ra(){const{data:e=[]}=Oe({queryKey:["cart"],queryFn:Qe}),t=Je(e);(0,r.useEffect)(()=>{typeof navigator<"u"&&"setAppBadge"in navigator&&(t>0?navigator.setAppBadge(t).catch(o=>{console.warn("[PWA Badge] Failed to set badge:",o)}):navigator.clearAppBadge().catch(o=>{console.warn("[PWA Badge] Failed to clear badge:",o)}))},[t])}var Ta=(0,r.lazy)(()=>s(()=>import("./dist-CKggLyJL.js").then(e=>e.t).then(e=>({default:e.Toaster})),__vite__mapDeps([115,1,2]))),Da=(0,r.lazy)(()=>s(()=>import("./InstallAppButton-D0QUXT5W.js").then(e=>({default:e.InstallAppButton})),__vite__mapDeps([157,1,2,4,5,6,7,8,9,10,30,21,31,11,55,12]))),Ia=(0,r.lazy)(()=>s(()=>
2import("./CookieConsentBanner-CaAAUE_z.js").then(e=>({default:e.CookieConsentBanner})),__vite__mapDeps([158,1,2,7,10,32,159,38]))),La=(0,r.lazy)(()=>s(()=>import("./chatbot-Dc7BP0fX.js").then(e=>e.t).then(e=>({default:e.ChatbotFloatingButton})),__vite__mapDeps([24,1,2,3,7,8,6,5,9,10,25,18,26,27,28]))),Oa=(0,r.lazy)(()=>s(()=>import("./welcome-popup-cawck3Rv.js").then(e=>({default:e.WelcomePopup})),__vite__mapDeps([160,1,2,10,30,21,31,73,89,17,8,6,5,7,9]))),Sa=(0,r.lazy)(()=>s(()=>import("./exit-intent-BJVkr7Nv.js").then(e=>({default:e.ExitIntent})),__vite__mapDeps([161,1,2,10,30,21,31,73,89,17,8,6,5,7,9]))),Na=(0,r.lazy)(()=>s(()=>import("./wishlist-gate-B6ZlSCG-.js").then(e=>({default:e.WishlistGate})),__vite__mapDeps([162,1,2,10,30,21,31,73,89,17,8,6,5,7,9]))),ka=(0,r.lazy)(()=>s(()=>import("./spinner-discount-DjGmvdqS.js").then(e=>({default:e.SpinnerDiscount})),__vite__mapDeps([163,1,2,10,30,21,31,73,89,17,8,6,5,7,9]))),Ca=(0,r.lazy)(()=>s(()=>import("./push-optin-CyT0J3BG.js").then(e=>({default:e.PushOptin})),__vite__mapDeps([164,1,2,6,5,7,8,9,10,30,21,31]))),Va=(0,r.lazy)(()=>s(()=>import("./cart-recovery-CKF9JHWx.js").then(e=>({default:e.CartRecovery})),__vite__mapDeps([165,1,2,10,30,21,31,41,8])));function za(){Ra();const[e]=K(),t=e.startsWith("/admin"),{activePopup:o,onEmailCaptured:n,onPopupDismissed:i}=Aa(),c=Le();return(0,r.useEffect)(()=>{let d=!0,f;return s(async()=>{const{installAdminMutationFeedback:l}=await import("./admin-mutation-feedback-bAgkIeoN.js");return{installAdminMutationFeedback:l}},__vite__mapDeps([166,167,16,3,1,2,17])).then(({installAdminMutationFeedback:l})=>{d&&(f=l(c,{getPath:()=>window.location.pathname,notify:u=>{s(()=>import("./dist-CKggLyJL.js").then(m=>m.t).then(m=>m.toast.error(u)),__vite__mapDeps([115,1,2]))}}))}),()=>{d=!1,f?.()}},[c]),(0,r.useEffect)(()=>{let d=!0;return s(async()=>{const{initAnalytics:f}=await import("./analytics-aMpfVHY6.js").then(l=>l.t);return{initAnalytics:f}},__vite__mapDeps([159,1,38])).then(({initAnalytics:f})=>{d&&f()}),()=>{d=!1}},[]),(0,a.jsxs)(ba,{children:[(0,a.jsx)(xa,{}),(0,a.jsx)(r.Suspense,{fallback:null,children:(0,a.jsx)(Ta,{position:"top-center",richColors:!0,closeButton:!0})}),(0,a.jsx)(va,{}),(0,a.jsxs)(r.Suspense,{fallback:null,children:[(0,a.jsx)(Da,{}),(0,a.jsx)(Ia,{}),(0,a.jsx)(La,{}),!t&&(0,a.jsxs)(a.Fragment,{children:[B.exit_intent&&(0,a.jsx)(Sa,{onCaptured:n,onDismiss:i}),o==="welcome"&&(0,a.jsx)(Oa,{onCaptured:n,onDismiss:i}),B.wishlist_gate&&o==="wishlist_gate"&&(0,a.jsx)(Na,{onCaptured:n,onDismiss:i}),B.spinner&&o==="spinner"&&(0,a.jsx)(ka,{onCaptured:n,onDismiss:i}),o==="push_optin"&&(0,a.jsx)(Ca,{onAccepted:i,onDismiss:i}),(0,a.jsx)(Va,{})]})]})]})}var Wa=class extends r.Component{constructor(e){super(e),this.state={hasError:!1,error:null}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){fetch("/api/client-errors",{method:"POST",headers:ke({"Content-Type":"application/json"}),credentials:"include",body:JSON.stringify({message:e.message,stack:e.stack?.slice(0,2e3),componentStack:t.componentStack?.slice(0,2e3),context:this.props.context??"unknown",url:window.location.href,timestamp:new Date().toISOString()})}).catch(()=>{})}render(){return this.state.hasError?this.props.fallback?this.props.fallback:(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",minHeight:"50vh",padding:"2rem",textAlign:"center",fontFamily:"system-ui, -apple-system, sans-serif"},children:[(0,a.jsx)("h1",{style:{fontSize:"1.5rem",marginBottom:"1rem",color:"#1a1a1a"},children:"Algo no ha ido bien"}),(0,a.jsx)("p",{style:{color:"#666",marginBottom:"1.5rem",maxWidth:"400px"},children:"Ha ocurrido un error inesperado. Estamos trabajando en solucionarlo."}),(0,a.jsx)("button",{onClick:()=>window.location.reload(),style:{padding:"0.75rem 1.5rem",backgroundColor:"#EA4B7D",color:"white",border:"none",borderRadius:"8px",cursor:"pointer",fontSize:"1rem"},children:"Recargar página"})]}):this.props.children}};function Ba(){return(0,a.jsx)(Wa,{context:"app-root",children:(0,a.jsx)(pt,{children:(0,a.jsx)(za,{})})})}var se=!1;function be(){$e().catch(()=>{})}function $a(e){if(e.detail?.analytics){be();return}We(),ze()}function Ma(){et()&&be(),!se&&(se=!0,window.addEventListener(tt,$a))}var H="G-PPE6XFBXL3",Fa="GTM-WQCJG7M8",Ua="rcxibn1b75",Ga=["_ga",`_ga_${H.slice(2)}`,"_gid","_gcl_au","_clck","_clsk"],T={ga:!1,gtm:!1,clarity:!1};function W(){return window}
2function z(...e){const t=W();t.dataLayer=t.dataLayer??[],typeof t.gtag=="function"?t.gtag(...e):t.dataLayer.push(arguments)}function q(e){const t=document.createElement("script");t.async=!0,t.src=e,document.head.appendChild(t)}function Ha(){T.ga||(T.ga=!0,q(`https://www.googletagmanager.com/gtag/js?id=${H}`),z("js",new Date),z("config",H))}function Ka(){if(T.gtm)return;T.gtm=!0;const e=W();e.dataLayer=e.dataLayer??[],e.dataLayer.push({"gtm.start":Date.now(),event:"gtm.js"}),q(`https://www.googletagmanager.com/gtm.js?id=${Fa}`)}function Ya(){if(T.clarity)return;T.clarity=!0;const e=W(),t=[];e.clarity=e.clarity??Object.assign((...o)=>t.push(o),{q:t}),q(`https://www.clarity.ms/tag/${Ua}`)}function Pe(e){const t=e.marketing?"granted":"denied";return{analytics_storage:e.analytics?"granted":"denied",ad_storage:t,ad_user_data:t,ad_personalization:t}}function qa(e){z("consent","update",Pe(e)),e.analytics&&(Ha(),Ya()),e.marketing&&Ka()}function Qa(e){const t=window.location.hostname,o=["",`; Domain=${t}`];t.startsWith("www.")&&o.push(`; Domain=.${t.slice(4)}`);for(const n of o)document.cookie=`${e}=; Max-Age=0; Path=/${n}`}function Lr(e={}){z("consent","update",Pe({analytics:!1,marketing:!1}));const t=W().clarity;typeof t=="function"&&t("consent",!1),Ga.forEach(Qa),(e.reload??!0)&&window.location.reload()}function Ja(){const e=Ze();if(!e||!e.analytics&&!e.marketing)return;const t=()=>qa(e);"requestIdleCallback"in window?window.requestIdleCallback(t,{timeout:3500}):setTimeout(t,2e3)}var A=null,L=null;async function Xa(){return A||L||(L=(async()=>{try{if(typeof window>"u"||typeof WebAssembly>"u")return null;const e=await fetch("/wasm/catalog_scorer.wasm");if(!e.ok)return null;const{instance:t}=await WebAssembly.instantiateStreaming(e);return A=t.exports,A}catch{return null}})(),L)}function Or(e,t,o,n,i){if(A)return A.calculateHybridScore(e,t,o,n,i);if(!i)return 0;const c=n*.005,d=e*.5+t*.3+o*.2+c;return Math.max(0,Math.min(1,d))}var R=null,O=null;async function Za(){return R||O||(O=(async()=>{try{if(typeof window>"u"||typeof WebAssembly>"u")return null;const e=await fetch("/wasm/search_phonetic.wasm");if(!e.ok)return null;const{instance:t}=await WebAssembly.instantiateStreaming(e);return R=t.exports,R}catch{return null}})(),O)}function Sr(e,t){return R?R.calculateSimilarityScore(e,t):t<=0?1:e>=t?0:Math.max(0,Math.min(1,(t-e)/t))}var y=null,S=null;async function er(){return y||S||(S=(async()=>{try{if(typeof window>"u"||typeof WebAssembly>"u")return null;const e=await fetch("/wasm/intent_scorer.wasm");if(!e.ok)return null;const{instance:t}=await WebAssembly.instantiateStreaming(e);return y=t.exports,y}catch{return null}})(),S)}function Nr(e,t,o,n){if(y)return y.calculatePurchaseIntentScore(e,t,o,n);const i=e*.002,c=t*.003,d=o*.05,f=n*.35,l=i+c+d+f;return Math.max(0,Math.min(1,l))}function kr(e,t){if(y)return y.calculateExitBounceRisk(e,t);const o=e*.01-t*.05;return Math.max(0,Math.min(1,o))}var g=null,N=null;async function tr(){return g||N||(N=(async()=>{try{if(typeof window>"u"||typeof WebAssembly>"u")return null;const e=await fetch("/wasm/tier_pricing.wasm");if(!e.ok)return null;const{instance:t}=await WebAssembly.instantiateStreaming(e);return g=t.exports,g}catch{return null}})(),N)}function ar(e){return g?g.calculateTierDiscountRate(e):e>=5?.2:e>=3?.15:e>=2?.1:0}function rr(e,t){return g?g.calculateDiscountedUnitPrice(e,t):e*(1-ar(t))}function Cr(e,t){return g?g.calculateLineTotal(e,t):rr(e,t)*t}var k=null;async function or(){if(k)return k;const[e,t,o,n]=await Promise.allSettled([Xa(),Za(),er(),tr()]);return k={catalogScorer:e.status==="fulfilled"&&e.value!==null,searchPhonetic:t.status==="fulfilled"&&t.value!==null,intentScorer:o.status==="fulfilled"&&o.value!==null,tierPricing:n.status==="fulfilled"&&n.value!==null,initializedAt:Date.now()},k}var nr="true",sr="false",ie=nr==="true",ir=sr==="true";function cr(e={}){const{immediate:t=!1,onNeedReload:o,onNeedRefresh:n,onOfflineReady:i,onRegistered:c,onRegisteredSW:d,onRegisterError:f}=e;let l,u,m;const b=async(p=!0)=>{await u,ie||m?.()};async function je(){if("serviceWorker"in navigator){if(l=await s(async()=>{const{Workbox:p}=await import("./workbox-window.prod.es5-Dxeuga9-.js");return{Workbox:p}},[]).then(({Workbox:p})=>new p("/sw.js",{scope:"/",type:"classic"})).catch(p=>{f?.(p)}),!l)return;if(m=()=>
2{l?.messageSkipWaiting()},!ir)if(ie)l.addEventListener("activated",p=>{(p.isUpdate||p.isExternal)&&(o?o():window.location.reload())}),l.addEventListener("installed",p=>{p.isUpdate||i?.()});else{let p=!1;const Q=()=>{p=!0,l?.addEventListener("controlling",P=>{P.isUpdate&&(o?o():window.location.reload())}),n?.()};l.addEventListener("installed",P=>{typeof P.isUpdate>"u"?typeof P.isExternal<"u"&&P.isExternal?Q():!p&&i?.():P.isUpdate||i?.()}),l.addEventListener("waiting",Q)}l.register({immediate:t}).then(p=>{d?d("/sw.js",p):c?.(p)}).catch(p=>{f?.(p)})}}return u=je(),b}or().catch(()=>{});(0,lt.createRoot)(document.getElementById("root")).render((0,a.jsx)(Ba,{}));Ma();Ja();Xe();Ce().catch(()=>{});cr({immediate:!0,onRegisteredSW(e,t){t&&setInterval(()=>{t.installing||!navigator.onLine||t.update().catch(()=>{})},6e4)},onNeedReload(){const e=()=>/^\/(checkout|payment-)/.test(window.location.pathname);if(!e()){window.location.reload();return}const t=setInterval(()=>{e()||(clearInterval(t),window.location.reload())},5e3)},onRegisterError(e){console.error("[pwa] service worker registration failed:",e)}});export{Sr as a,Lr as c,ft as d,Tr as f,Nr as i,Ir as l,Cr as n,Or as o,kr as r,qa as s,ar as t,Dr 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.