PageSourceSearch

https://www.todohogar.com/_next/static/chunks/5725-d8b228ba65d4d1df.js

js todohogar.com collected 2026-10-05 05:59:46 UTC 22,794 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5725],{15739:(n,e,t)=>{function i(n){if(!n||"object"!=typeof n||!("id"in n)||!("name"in n)||!("level"in n)||"number"!=typeof n.level)throw Error("Invalid breadcrumb entity data");return{id:n.id,name:n.name,level:n.level}}function r(n){var e;if(!n||"object"!=typeof n||!("entities"in n)||!Array.isArray(n.entities))throw Error("Invalid breadcrumb response data");return{entities:n.entities.map(i),pagination:null!=(e=n.pagination)?e:null}}t.d(e,{s:()=>c});var a=t(33100);let o=new Map,c={async getBreadcrumbByCategory(n,e){let t="category_".concat(n,"_").concat(e);if(o.has(t))return o.get(t);let i="".concat(a.Mq,"catalog-api"),c=(async()=>{try{let t="".concat(i,"/products/breadcrumb_by_category/").concat(n,"/").concat(e),a=await fetch(t,{method:"GET",headers:{Accept:"application/json"}});if(!a.ok)throw Error("HTTP error! status: ".concat(a.status));let o=await a.json();return r(o)}catch(n){throw o.delete(t),console.error("Error fetching breadcrumb by category:",n),n}})();return o.set(t,c),c},async getBreadcrumbByProduct(n,e){let t="product_".concat(n,"_").concat(e);if(o.has(t))return o.get(t);let i="".concat(a.Mq,"/catalog-api"),c=(async()=>{try{let t="".concat(i,"/products/breadcrumb/").concat(n,"/").concat(e),a=await fetch(t,{method:"GET",headers:{Accept:"application/json"}});if(!a.ok)throw Error("HTTP error! status: ".concat(a.status));let o=await a.json();return r(o)}catch(n){throw o.delete(t),console.error("Error fetching breadcrumb by product:",n),n}})();return o.set(t,c),c}}},18159:(n,e,t)=>{t.d(e,{A:()=>d});var i=t(37876),r=t(14232),a=t(91394),o=t(28888),c=t(80427);function p(){let n=(0,o._)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  min-height: 100%;\n  width: 100%;\n  background: #ffffff17 !important;\n  position: fixed;\n  top: 0;\n  left: 0;\n  z-index: 9999;\n\n  .spinner-content {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    justify-content: center;\n    gap: 20px;\n    border-radius: 16px;\n    padding: 40px 60px;\n  }\n"]);return p=function(){return n},n}function l(){let n=(0,o._)(["\n  margin-top: 20px;\n  font-size: 1.2rem;\n  color: #24272a;\n  font-weight: 500;\n  letter-spacing: 1px;\n"]);return l=function(){return n},n}let s=c.Ay.div(p());function d(n){let{loading:e}=n,[t]=(0,r.useState)("#24272a");return e?(0,i.jsx)(s,{children:(0,i.jsx)("div",{className:"spinner-content",children:(0,i.jsx)(a.A,{color:t,loading:e,size:70})})}):(0,i.jsx)(i.Fragment,{})}c.Ay.div(l())},26141:(n,e,t)=>{t.d(e,{T:()=>c});var i=t(14232);let r=n=>async(e,t)=>{if(!e||""===e.trim())throw Error("Category ID is required");if(!t||""===t.trim())throw Error("Format ID is required");return await n.getBreadcrumbByCategory(e,t)},a=n=>async(e,t)=>{if(!e||""===e.trim())throw Error("Product ID is required");if(!t||""===t.trim())throw Error("Format ID is required");return await n.getBreadcrumbByProduct(e,t)};var o=t(15739);let c=n=>{let{type:e,id:t,formatId:c,fallbackCategory:p,productName:l}=n,[s,d]=(0,i.useState)(null),[x,h]=(0,i.useState)(!1),[f,u]=(0,i.useState)(null),m=(0,i.useMemo)(()=>r(o.s),[]),g=(0,i.useMemo)(()=>a(o.s),[]);return(0,i.useEffect)(()=>{t&&c&&(async()=>{h(!0),u(null);try{let n;n="category"===e?await m(t,c):await g(t,c),d(n)}catch(n){u(n instanceof Error?n.message:"An error occurred")}finally{h(!1)}})()},[e,t,c,m,g]),{breadcrumbs:(0,i.useMemo)(()=>{let n=[{label:"Home",href:"/"},{label:"Departamentos",href:"/departamentos"}];if(x||f||!s||!s.entities||0===s.entities.length)return p&&n.push({label:p,href:"/departamentos/".concat(p.toLowerCase().replace(/\s+/g,"-"),"/").concat(t)}),"product"===e&&l&&n.push({label:l,href:"/producto/".concat(t)}),n;let i=[...s.entities].sort((n,e)=>n.level-e.level).map((n,e)=>({label:n.name,href:"/departamentos/".concat(n.name.toLowerCase().replace(/\s+/g,"-"),"/").concat(n.id)}));return"product"===e&&l&&i.push({label:l,href:"/producto/".concat(t)}),[...n,...i]},[s,x,f,p,t,e,l]),isLoadingBreadcrumbs:x,breadcrumbError:f}}},53395:(n,e,t)=>{t.d(e,{AA:()=>O,FA:()=>T,Gf:()=>L,M0:()=>V,Uq:()=>D,VI:()=>C,Xi:()=>R,ZK:()=>q,by:()=>Y,hD:()=>X,hk:()=>N,kr:()=>I,my:()=>B,nd:()=>S,pr:()=>P,r8:()=>$,rE:()=>H,tK:()=>K,vY:()=>W,y$:()=>U,yO:()=>G});var i=t(28888),r=t(80427);function a(){let n=(0,i._)(["\n  position: relative;\n  width: 100%;\n  max-width: 100%;\n  background-color: #ffffff;\n  border-radius: 8px;\n  overflow: hidden;\n  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n  transition: box-shadow 0.3s ease;\n\n  &:hover {\n    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n  }\n"]);return a=function(){return n},n}function o(){let n=(0,i._)(["\n  position: relative;\n  width: 100%;\n  height: 280px;\n  max-height: 305px;\n  overflow: hidden;\n\n  a {\n    display: block;\n    width: 100%;\n    height: 100%;\n    position: relative;\n  }\n\n  .product-image {\n    width: 100%;\n    height: 100%;
1\n    object-fit: fill;\n    transition:\n      opacity 0.4s ease-in-out,\n      transform 0.3s ease;\n  }\n\n  .product-image-primary {\n    position: relative;\n    z-index: 1;\n  }\n\n  .product-image-secondary {\n    position: absolute;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    opacity: 0;\n    z-index: 2;\n  }\n\n  &:hover .product-image-primary {\n    opacity: 0;\n  }\n\n  &:hover .product-image-secondary {\n    opacity: 1;\n  }\n\n  &:hover .product-image {\n    transform: scale(1.02);\n  }\n\n  @media (max-width: 768px) {\n    height: 180px;\n  }\n"]);return o=function(){return n},n}function c(){let n=(0,i._)(['\n  position: absolute;\n  width: 50px;\n  height: 50px;\n  top: 10px;\n  left: 10px;\n  background-image: url("/images/icons/star_promo_product_list.png");\n  background-repeat: no-repeat;\n  background-size: cover;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  font-family: "Montserrat";\n  font-weight: 700;\n  font-style: Bold;\n  font-size: 14px;\n  line-height: 20px;\n  letter-spacing: -0.2px;\n  text-align: center;\n  vertical-align: middle;\n  color: #e92215;\n  z-index: 9;\n\n  @media screen and (max-width: 768px) {\n    width: 35px;\n    height: 35px;\n    font-size: 12px;\n  }\n']);return c=function(){return n},n}function p(){let n=(0,i._)(['\n  width: 100%;\n  min-height: 30px;\n\n  padding: 10px;\n  overflow: hidden;\n\n  h4 {\n    font-family: "Montserrat";\n    font-weight: 500;\n    font-style: Medium;\n    font-size: 18px;\n    line-height: 30px;\n    letter-spacing: -0.3px;\n    text-align: center;\n    vertical-align: middle;\n    color: #0064c0;\n    display: -webkit-box;\n    -webkit-line-clamp: 2;\n    -webkit-box-orient: vertical;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    margin: 0;\n  }\n']);return p=function(){return n},n}function l(){let n=(0,i._)(["\n  padding: 16px;\n  display: flex;\n  flex-direction: column;\n  gap: 0px;\n\n  a {\n    text-decoration: none;\n  }\n\n  a:hover {\n    text-decoration: underline;\n    color: #585858;\n  }\n"]);return l=function(){return n},n}function s(){let n=(0,i._)(['\n  font-family: "Montserrat";\n  font-size: 13px;\n  font-style: normal;\n  line-height: 16px;\n  letter-spacing: 0;\n  color: #0064c0;\n  display: block;\n  align-items: center;\n  margin: 0 0 7px 0;\n  padding: 0;\n\n  @media screen and (max-width: 768px) {\n    font-size: 11px;\n    line-height: 14px;\n  }\n']);return s=function(){return n},n}function d(){let n=(0,i._)(['\n  color: #0064c0;\n  font-family: "Montserrat", sans-serif;\n  font-weight: 700;\n  font-size: 16px;\n  line-height: 24px;\n\n  @media screen and (min-width: 768px) {\n    font-size: 22px;\n    line-height: 28px;\n  }\n  @media screen and (min-width: 460px) and (max-width: 560px) {\n    font-size: 70%;\n  }\n']);return d=function(){return n},n}function x(){let n=(0,i._)(['\n  font-family: "Montserrat";\n  font-weight: 400;\n  font-size: 12px;\n  line-height: 20px;\n  letter-spacing: -0.2px;\n  vertical-align: middle;\n  color: #24272a;\n']);return x=function(){return n},n}function h(){let n=(0,i._)(["\n  background-color: #ffeded;\n  width: 100%;\n  border-radius: 8px;\n  padding: 8px 10px;\n  display: flex;\n  flex-direction: column;\n  gap: 4px;\n  margin-bottom: 10px;\n\n  @media screen and (min-width: 461px) and (max-width: 570px) {\n    padding: 6px 8px;\n    gap: 2px;\n  }\n\n  @media screen and (max-width: 460px) {\n    padding: 6px 8px;\n    gap: 2px;\n  }\n"]);return h=function(){return n},n}function f(){let n=(0,i._)(['\n  font-family: "Montserrat";\n  font-weight: 500;\n  font-style: Medium;\n  font-size: 11px;\n  line-height: 16px;\n  letter-spacing: -0.2px;\n  vertical-align: middle;\n  color: #e92215;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n\n  @media screen and (min-width: 768px) {\n    font-size: 12px;\n    line-height: 18px;\n  }\n\n  @media screen and (min-width: 461px) and (max-width: 570px) {\n    font-size: 9px;\n    line-height: 13px;\n  }\n\n  @media screen and (max-width: 460px) {\n    font-size: 10px;\n    line-height: 14px;\n  }\n\n  @media screen and (max-width: 340px) {\n    font-size: 9px;\n    line-height: 12px;\n  }\n']);return f=function(){return n},n}function u(){let n=(0,i._)(['\n  margin-top: 8px;\n  font-family: "Montserrat";\n  font-weight: 400;\n  font-size: 12px;\n  line-height: 20px;\n  letter-spacing: -0.2px;\n  vertical-align: middle;\n  color: #585858;\n  display: -webkit-box;\n  -webkit-line-clamp: 2;\n  -webkit-box-orient: vertical;\n  overflow: hidden;\n  text-overflow: ellipsis;\n\n  @media screen and (min-width: 768px) {\n    font-size: 14px;\n    line-height: 18px;\n  }\n']);return u=function(){return n},n}function m(){let n=(0,i._)(["\n  display: flex;\n  align-items: center;\n  gap: 4px;\n  margin: 0;\n  flex-wrap: nowrap;\n\n  @media screen and (min-width: 461px) and (max-width: 570px) {\n    gap: 2px;\n  }\n\n  @media screen and (max-width: 460px) {\n    gap: 2px;\n  }\n"]);return m=function(){return n},n}function g(){let n=(0,i._)(['\n  font-family: "Montserrat";\n  font-weight: 700;\n  font-size: 14px;\n  line-height: 18px;\n  letter-spacing: -0.3px;\n  vertical-align: middle;\n  color: #0064c0;\n  white-space: nowrap;\n\n  @media screen and (min-width: 768px) {\n    font-size: 18px;\n    line-height: 22px;\n  }\n\n  @media screen and (min-width: 340px) and (max-width: 570px) {\n    font-size: 16px;\n    line-height: 14px;\n  }\n']);return g=function(){return n},n}function w(){let n=(0,i._)(['\n  color: #0064c0;\n  font-family: "Montserrat";\n  font-weight: 400;\n  font-size: 12px;\n  margin: 0 2px;\n\n  @media screen and (min-width: 768px) {\n    font-size: 14px;\n    margin: 0 4px;\n  }\n\n  @media screen and (min-width: 461px) and (max-width: 570px) {\n    font-size: 10px;\n    margin: 0 1px;\n  }\n\n  @media screen and (max-width: 460px) {\n    font-size: 11px;\n    margin: 0 2px;\n  }\n\n  @media screen and (max-width: 340px) {\n    font-size: 9px;\n    margin: 0 1px;\n  }\n']);return w=function(){return n},n}function y(){let n=(0,i._)(['\n  color: #0064c0;\n  font-family: "Montserrat", sans-serif;\n  font-weight: 400;\n  font-size: 12px;\n  line-height: 18px;\n  white-space: nowrap;\n\n  @media screen and (min-width: 768px) {\n    font-size: 16px;\n    line-height: 20px;\n  }\n\n  @media screen and (min-width: 461px) and (max-width: 570px) {\n    font-size: 10px;\n    line-height: 14px;\n  }\n\n  @media screen and (max-width: 460px) {\n    font-size: 11px;\n    line-height: 16px;\n  }\n\n  @media screen and (max-width: 340px) {\n    font-size: 9px;\n    line-height: 14px;\n  }\n']);return y=function(){return n},n}function b(){let n=(0,i._)(["\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  margin: 0;\n  flex-wrap: nowrap;\n  margin-top: 5px;\n\n  @media screen and (min-width: 461px) and (max-width: 570px) {\n    gap: 4px;\n  }\n\n  @media screen and (max-width: 460px) {\n    gap: 6px;\n  }\n\n  @media screen and (max-width: 340px) {\n    gap: 4px;\n  }\n"]);return b=function(){return n},n}function v(){let n=(0,i._)(['\n  color: #585858;\n  font-family: "Montserrat";\n  font-weight: 600;\n  font-size: 14px;\n  line-height: 18px;\n  letter-spacing: -0.3px;\n  vertical-align: middle;\n  white-space: nowrap;\n\n  @media screen and (min-width: 768px) {\n    font-size: 16px;\n    line-height: 20px;\n  }\n\n  @media screen and (min-width: 461px) and (max-width: 570px) {\n    font-size: 11px;\n    line-height: 15px;\n  }\n\n  @media screen and (max-width: 460px) {\n    font-size: 12px;\n    line-height: 16px;\n  }\n\n  @media screen and (max-width: 340px) {\n    font-size: 10px;\n    line-height: 14px;\n  }\n']);return v=function(){return n},n}function z(){let n=(0,i._)(['\n  color: #585858;\n  font-family: "Montserrat", sans-serif;\n  font-weight: 400;\n  font-size: 12px;\n  line-height: 16px;\n  letter-spacing: -0.3px;\n  text-decoration-line: line-through;\n  white-space: nowrap;\n\n  @media screen and (min-width: 768px) {\n    font-size: 14px;\n    line-height: 20px;\n  }\n\n  @media screen and (min-width: 461px) and (max-width: 570px) {\n    font-size: 10px;\n    line-height: 14px;\n  }\n\n  @media screen and (max-width: 460px) {\n    font-size: 11px;\n    line-height: 16px;\n  }\n\n  @media screen and (max-width: 340px) {\n    font-size: 9px;\n    line-height: 14px;\n  }\n']);return z=function(){return n},n}function j(){let n=(0,i._)(["\n  display: flex;\n  gap: 10px;\n  justify-content: flex-start;\n  margin-bottom: 8px;\n"]);return j=function(){return n},n}function A(){let n=(0,i._)(["\n  width: 25px;\n  height: 25px;\n  border-radius: 50%;\n  border: ",";\n  border-spacing: 10px;\n  background-color: ",";\n  cursor: pointer;\n  transition: all 0.2s ease;\n\n  &:hover {\n    transform: scale(1.1);\n  }\n"]);return A=function(){return n},n}function _(){let n=(0,i._)(["\n  position: absolute;\n  bottom: 15px;\n  left: 5.1%;\n  right: 5.1%;\n\n  @media screen and (min-width: 300px) and (max-width: 400px) {\n    left: 7px;\n    right: 7px;\n  }\n"]);return _=function(){return n},n}function k(){let n=(0,i._)(['\n  font-family: "Montserrat";\n  font-weight: 400;\n  font-size: 12px;\n  line-height: 20px;\n  letter-spacing: -0.2px;\n  vertical-align: middle;\n  color: #24272a;\n']);return k=function(){return n},n}function F(){let n=(0,i._)(["\n  display: flex;\n  gap: 8px;\n  flex-wrap: wrap;\n  margin: 8px 0;\n"]);return F=function(){return n},n}function M(){let n=(0,i._)(['\n  width: 151;\n  height: 20;\n  border-radius: 4px;\n  opacity: 1;\n  gap: 10px;\n  padding-right: 5px;\n  padding-left: 5px;\n  background-color: #d0e3f1;\n\n  font-family: "Montserrat";\n  font-weight: 400;\n  font-size: 11px;\n  line-height: 20px;\n  letter-spacing: -0.2px;\n  vertical-align: middle;\n  color: #004785;\n']);return M=function(){return n},n}function E(){let n=(0,i._)(['\n  height: 36px;\n  width: 145px;\n  background-color: #0064c0;\n  border: none;\n  border-radius: 6px;\n\n  /* text */\n\n  font-family: "Montserrat";\n  font-weight: 500;\n  font-style: Medium;
1\n  font-size: 14px;\n  line-height: 24px;\n  letter-spacing: -0.2px;\n  color: white;\n\n  cursor: pointer;\n\n  transition: background-color 0.2s ease;\n\n  &:hover {\n    background-color: #0052a3;\n  }\n\n  &:active {\n    transform: translateY(1px);\n  }\n']);return E=function(){return n},n}let O=r.Ay.div(a()),C=r.Ay.div(o()),S=r.Ay.div(c()),B=r.Ay.div(p()),I=r.Ay.div(l()),q=r.Ay.p(s()),P=r.Ay.div(d()),T=r.Ay.span(x()),D=r.Ay.div(h()),H=r.Ay.div(f()),L=r.Ay.h3(u()),G=r.Ay.div(m()),N=r.Ay.span(g()),R=r.Ay.span(w()),W=r.Ay.span(y()),K=r.Ay.div(b()),Y=r.Ay.span(v()),$=r.Ay.span(z()),U=r.Ay.div(j());r.Ay.button(A(),n=>"#ffffff"!==n.color||n.isSelected?n.isSelected?"1px solid #24272A":"none":"1px solid #bebebeff",n=>{switch(n.color){case"black":return"#000000";case"silver":return"#c0c0c0";case"white":return"#ffffff";case"gray":return"#808080";case"lightgray":return"#d3d3d3";default:return n.color}});let V=r.Ay.div(_());r.Ay.div(k()),r.Ay.div(F()),r.Ay.span(M());let X=r.Ay.button(E())},83253:(n,e,t)=>{t.d(e,{W:()=>b,q:()=>y});var i=t(37876);t(14232);var r=t(48230),a=t.n(r),o=t(28888),c=t(80427);function p(){let n=(0,o._)(["\n  display: flex;\n  flex-wrap: wrap;\n  align-items: center;\n  gap: 8px;\n  margin: 0px 0 10px 0;\n  justify-content: center;\n\n  @media (max-width: 768px) {\n    visibility: hidden;\n    height: 0;\n    margin: 5px 0;\n  }\n"]);return p=function(){return n},n}function l(){let n=(0,o._)(["\n  display: flex;\n  align-items: center;\n  gap: 8px;\n"]);return l=function(){return n},n}function s(){let n=(0,o._)(['\n  a {\n    color: #313131;\n    font-family: "Montserrat", sans-serif;\n    font-weight: 400;\n    font-size: 14px;\n    line-height: 24px;\n    text-decoration: none;\n    transition: color 0.2s ease;\n    letter-spacing: -0.2px;\n\n    @media (max-width: 768px) {\n      font-size: 12px;\n    }\n\n    &:hover {\n      color: #0064c0;\n      text-decoration: underline;\n    }\n  }\n']);return s=function(){return n},n}function d(){let n=(0,o._)(['\n  font-family: "Montserrat";\n  font-weight: 600;\n  font-size: 14px;\n  line-height: 24px;\n  letter-spacing: -0.2px;\n  color: "#313131";\n']);return d=function(){return n},n}function x(){let n=(0,o._)(['\n  color: #313131;\n  font-family: "Montserrat", sans-serif;\n  font-weight: 400;\n  font-size: 14px;\n  line-height: 20px;\n']);return x=function(){return n},n}let h=c.Ay.nav(p()),f=c.Ay.div(l()),u=c.Ay.span(s()),m=c.Ay.span(d()),g=c.Ay.span(x());var w=t(26141);let y=n=>{let{breadcrumbs:e}=n;return(0,i.jsx)(h,{children:e.map((n,t)=>(0,i.jsxs)(f,{children:[n.href?(0,i.jsx)(u,{children:(0,i.jsx)(a(),{href:n.href,children:n.label})}):(0,i.jsx)(m,{children:n.label}),t<e.length-1&&(0,i.jsx)(g,{children:"/"})]},t))})},b=n=>{let{type:e,id:t,formatId:r,fallbackCategory:o,productName:c,showSkeleton:p=!0}=n,{breadcrumbs:l,isLoadingBreadcrumbs:s,breadcrumbError:d}=(0,w.T)({type:e,id:t,formatId:r,fallbackCategory:o,productName:c});return s&&p?(0,i.jsx)(h,{children:(0,i.jsx)(f,{children:(0,i.jsx)(m,{children:"Cargando navegaci\xf3n..."})})}):d?(0,i.jsx)(h,{children:(0,i.jsxs)(f,{children:[(0,i.jsx)(u,{children:(0,i.jsx)(a(),{href:"/",children:"Home"})}),(0,i.jsx)(g,{children:"/"}),(0,i.jsx)(m,{children:"Error cargando navegaci\xf3n"})]})}):(0,i.jsx)(h,{children:l.map((n,e)=>(0,i.jsxs)(f,{children:[e<l.length-1?(0,i.jsx)(u,{children:(0,i.jsx)(a(),{href:n.href,children:n.label})}):(0,i.jsx)(m,{children:n.label}),e<l.length-1&&(0,i.jsx)(g,{children:"/"})]},e))})}},91394:(n,e,t)=>{t.d(e,{A:()=>h});var i,r=t(14232);!function(n){n.maroon="#800000",n.red="#FF0000",n.orange="#FFA500",n.yellow="#FFFF00",n.olive="#808000",n.green="#008000",n.purple="#800080",n.fuchsia="#FF00FF",n.lime="#00FF00",n.teal="#008080",n.aqua="#00FFFF",n.blue="#0000FF",n.navy="#000080",n.black="#000000",n.gray="#808080",n.silver
1="#C0C0C0",n.white="#FFFFFF"}(i||(i={}));var a=function(n,e){if(n.includes("/"))return n.replace("rgb(","rgba(");var t=n.substring(n.startsWith("rgba(")?5:4,n.length-1).trim(),i=t.split(",");return 4===i.length?n.replace("rgb(","rgba("):3===i.length?"rgba(".concat(t,", ").concat(e,")"):"rgba(".concat(t," / ").concat(e,")")},o=function(n,e){if(n.startsWith("rgb"))return a(n,e);if(Object.keys(i).includes(n)&&(n=i[n]),"#"===n[0]&&(n=n.slice(1)),3===n.length){var t="";n.split("").forEach(function(n){t+=n,t+=n}),n=t}var r=(n.match(/.{2}/g)||[]).map(function(n){return parseInt(n,16)}).join(", ");return"rgba(".concat(r,", ").concat(e,")")},c={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function p(n){if("number"==typeof n)return{value:n,unit:"px"};var e,t=(n.match(/^[0-9.]*/)||"").toString();e=t.includes(".")?parseFloat(t):parseInt(t,10);var i=(n.match(/[^0-9]*$/)||"").toString();return c[i]?{value:e,unit:i}:(console.warn("React Spinners: ".concat(n," is not a valid css value. Defaulting to ").concat(e,"px.")),{value:e,unit:"px"})}function l(n){var e=p(n);return"".concat(e.value).concat(e.unit)}var s=function(n,e,t){var i="react-spinners-".concat(n,"-").concat(t);if("undefined"==typeof window||!window.document)return i;var r=document.createElement("style");document.head.appendChild(r);var a=r.sheet,o="\n    @keyframes ".concat(i," {\n      ").concat(e,"\n    }\n  ");return a&&a.insertRule(o,0),i},d=function(){return(d=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++)for(var r in e=arguments[t])Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}).apply(this,arguments)},x=function(n,e){var t={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&0>e.indexOf(i)&&(t[i]=n[i]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(n);r<i.length;r++)0>e.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(n,i[r])&&(t[i[r]]=n[i[r]]);return t};let h=function(n){var e=n.loading,t=n.color,i=void 0===t?"#000000":t,a=n.speedMultiplier,c=void 0===a?1:a,h=n.cssOverride,f=n.size,u=void 0===f?50:f,m=x(n,["loading","color","speedMultiplier","cssOverride","size"]),g=p(u),w=g.value,y=g.unit,b=d({display:"inherit",position:"relative",width:l(u),height:l(u),transform:"rotate(165deg)"},void 0===h?{}:h),v=w/5,z=(w-v)/2,j=z-v,A=o(i,.75),_=s("HashLoader","0% {width: ".concat(v,"px; box-shadow: ").concat(z,"px ").concat(-j,"px ").concat(A,", ").concat(-z,"px ").concat(j,"px ").concat(A,"}\n    35% {width: ").concat(l(u),"; box-shadow: 0 ").concat(-j,"px ").concat(A,", 0 ").concat(j,"px ").concat(A,"}\n    70% {width: ").concat(v,"px; box-shadow: ").concat(-z,"px ").concat(-j,"px ").concat(A,", ").concat(z,"px ").concat(j,"px ").concat(A,"}\n    100% {box-shadow: ").concat(z,"px ").concat(-j,"px ").concat(A,", ").concat(-z,"px ").concat(j,"px ").concat(A,"}"),"before"),k=s("HashLoader","0% {height: ".concat(v,"px; box-shadow: ").concat(j,"px ").concat(z,"px ").concat(i,", ").concat(-j,"px ").concat(-z,"px ").concat(i,"}\n    35% {height: ").concat(l(u),"; box-shadow: ").concat(j,"px 0 ").concat(i,", ").concat(-j,"px 0 ").concat(i,"}\n    70% {height: ").concat(v,"px; box-shadow: ").concat(j,"px ").concat(-z,"px ").concat(i,", ").concat(-j,"px ").concat(z,"px ").concat(i,"}\n    100% {box-shadow: ").concat(j,"px ").concat(z,"px ").concat(i,", ").concat(-j,"px ").concat(-z,"px ").concat(i,"}"),"after"),F=function(n){return{position:"absolute",top:"50%",left:"50%",display:"block",width:"".concat(w/5).concat(y),height:"".concat(w/5).concat(y),borderRadius:"".concat(w/10).concat(y),transform:"translate(-50%, -50%)",animationFillMode:"none",animation:"".concat(1===n?_:k," ").concat(2/c,"s infinite")}};return void 0===e||e?r.createElement("span",d({style:b},m),r.createElement("span",{style:F(1)}),r.createElement("span",{style:F(2)})):null}}}]);

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.