PageSourceSearch

https://template-carwin-580b.web.app/_nuxt/C47VnCwK.js

js template-carwin-580b.web.app collected 2026-10-03 12:38:19 UTC 3,516 bytes, 1 lines download raw bytes

1import{_ as z}from"./BctOf-yP.js";import{c as P,d as F,W as H,f as M,n as I,h as X}from"./DwkLy1Fj.js";import{b as j}from"./BcS63lhx.js";import{j as N,a as T,ad as U,bU as l,bW as D,bX as R,O as n,c0 as p,bZ as _,bc as A,ca as L,c8 as $,c9 as O,P as Z}from"./gtmVxJJ2.js";const u=c=>($("data-v-2b830608"),c=c(),O(),c),q={key:0,class:"cache-warning"},G={class:"d-flex flex-column"},J=u(()=>_("span",{class:"text-h6 mb-2"},"¿Problemas al ver el contenido más reciente?",-1)),K=u(()=>_("span",null," Hemos actualizado nuestro sitio. Para ver la última versión: ",-1)),Q=u(()=>_("span",{class:"text-caption mt-2"}," También puedes presionar Ctrl+F5 o vaciar la caché de tu navegador. ",-1)),Y=N({__name:"CacheDetector.client",setup(c){const a=T(!1);U(()=>{localStorage.getItem("has-cache-problem")!=="false"&&("serviceWorker"in navigator&&navigator.serviceWorker.getRegistrations().then(e=>{e.length>0&&(a.value=!0)}),"caches"in window&&caches.keys().then(e=>{e.length>0&&(a.value=!0)}))});const r=async()=>{try{if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistrations();for(const e of t)await e.unregister()}if("caches"in window){const t=await caches.keys();for(const e of t)await caches.delete(e)}localStorage.setItem("has-cache-problem","false"),window.location.reload()}catch(t){console.error("Error al limpiar la caché:",t),alert("No se pudo limpiar la caché automáticamente. Por favor, presiona Ctrl+F5 o limpia la caché de tu navegador manualmente.")}},o=()=>{a.value=!1,localStorage.setItem("cache-warning-dismissed","true")};return(t,e)=>{const s=l("v-btn"),i=l("v-alert");return a.value?(D(),R("div",q,[n(i,{type:"warning",variant:"tonal",closable:"","onClick:close":o},{default:p(()=>[_("div",G,[J,K,n(s,{color:"primary",class:"mt-2",onClick:r},{default:p(()=>[A(" Actualizar ahora ")]),_:1}),Q])]),_:1})])):L("",!0)}}}),ee=P(Y,[["__scopeId","data-v-2b830608"]]),te=N({__name:"index",setup(c){var g,f,h,v,b,y,w,C,k,x,W;const a=X(),r=F(),o=T(null);if(r!=null&&r.getData){const m=r.getData;o.value=new H(m)}const t=((h=(f=(g=o.value)==null?void 0:g.configWebPage)==null?void 0:f.plan)==null?void 0:h.premium)??a.public.NUXT_PREMIUM==="true",e=t?(y=(b=(v=o.value)==null?void 0:v.configWebPage)==null?void 0:b.home)==null?void 0:y.seo:(k=(C=(w=o.value)==null?void 0:w.configWebPage)==null?void 0:C.stock)==null?void 0:k.seo,s=(e==null?void 0:e.title)||((x=o.value)==null?void 0:x.enterpriseName)||"",i=(e==null?void 0:e.subtitle)||"",d=j(o.value);return M({title:s||void 0,link:[{rel:"icon",type:"image/png",href:(W=o.value)==null?void 0:W.configWebPage.corporateIdentity.favicon}],meta:[{name:"description",content:i},{property:"og:title",content:s},{property:"og:description",content:i},{property:"og:image",content:d},{property:"og:url",content:`${a.public.NUXT_BASE_URL}/`},{property:"og:type",content:"website"},{property:"twitter:card",content:(e==null?void 0:e.seoImageSize)||"summary_large_image"},{property:"twitter:title",content:s},{property:"twitter:description",content:i},{property:"twitter:image",content:d}].filter(m=>!!m.content)}),U(()=>{t?I("/home"):I("/stock")}),(m,oe)=>{const B=l("v-progress-circular"),E=l("v-row"),S=l("v-container"),V=z;return D(),R(Z,null,[n(S,{fluid:"",class:"fill-height",color:"primary"},{default:p(()=>[n(E,{align:"center",justify:"center"},{default:p(()=>[n(B,{indeterminate:"",color:"primary"})]),_:1})]),_:1}),n(V,null,{default:p(()=>[n(ee)]),_:1})],64)}}}),se=P(te,[["__scopeId","data-v-8f78eb32"]]);export{se as default};

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.