PageSourceSearch

https://nubika.es/vue/_nuxt/DEiAU66X.js

js nubika.es collected 2026-09-24 22:59:43 UTC 3,531 bytes, 1 lines download raw bytes

1import{_ as B}from"./mfppXVJc.js";import{_ as $}from"./C1Y372qi.js";import{u as E,a as P,w as T,b as j,P as A,o as L,s as N,d as q,l as z,e as h,f as G,g as H,h as W,r as t,i as F}from"./CQ9B4N8O.js";const X={id:"page-transition"},Y={__name:"index",props:{formMeta:Object,productMeta:Object,modalFormVisible:Boolean,offcanvasSearchVisible:Boolean,modalVideoIframe:String,modalVideoVisible:Boolean,handleModalForm:Function,handleOffcanvasSearch:Function,handleModalVideo:Function},async setup(a){let n,m;const v=E().query?.flushCache,e=t(null),{viewBanner:S}=P(),{data:s,error:g}=([n,m]=T(()=>W("/api/get-index-data",{query:{flushCache:v||!1}},"$ES9g0WG4TM")),n=await n,m(),n);g.value&&console.log(g.value),s.value?.data&&(e.value=s.value.data,console.log("cache",s.value.cache));const o=t([]);e.value?.hreflangs&&(e.value?.hreflangs["hreflang-es"]&&o.value.push({rel:"alternate",href:e.value?.hreflangs["hreflang-es"][0],hreflang:"es"}),e.value?.hreflangs["hreflang-x-default"]&&o.value.push({rel:"alternate",href:e.value?.hreflangs["hreflang-x-default"][0],hreflang:"x-default"}),e.value?.hreflangs["hreflang-en"]&&o.value.push({rel:"alternate",href:e.value?.hreflangs["hreflang-en"][0],hreflang:"en"}),e.value?.hreflangs["hreflang-pt"]&&o.value.push({rel:"alternate",href:e.value?.hreflangs["hreflang-pt"][0],hreflang:"pt"}),e.value?.hreflangs["hreflang-es_MX"]&&o.value.push({rel:"alternate",href:e.value?.hreflangs["hreflang-es_MX"][0],hreflang:"es-mx"})),o.value.push({rel:"icon",href:"https://bw.nubika.es/wp-content/uploads/2024/10/favicon-1.png",sizes:"32x32"}),o.value.push({rel:"icon",href:"https://bw.nubika.es/wp-content/uploads/2024/10/favicon-1.png",sizes:"192x192"}),o.value.push({rel:"apple-touch-icon",href:"https://bw.nubika.es/wp-content/uploads/2024/10/favicon-1.png"}),j({title:()=>e.value?.meta_title,ogTitle:()=>e.value?.meta_title,description:()=>e.value?.meta_desc,ogDescription:()=>e.value?.meta_desc,ogImage:()=>"https://bw.nubika.es/wp-content/uploads/2024/10/Nubika-preview-scaled.jpg"}),A({link:o.value});const r=t(!1),p=t(null);let V=!1;const c=(l=null)=>{l&&(p.value=l),r.value=!r.value,V||S("promo-2-x-1"),V=!0};return L(()=>{const l=e.value?.seccionesGlobales?.modal_promociones;if(!l)return;const[i,u,d]=l.fecha_inicio?.split("/")||[],[b,y,C]=l.fecha_fin?.split("/")||[],M=i?new Date(`${d}-${u}-${i}`):null,k=b?new Date(`${C}-${y}-${b}`):null,w=new Date;if(!((!M||w>=M)&&(!k||w<=k))||sessionStorage.getItem("promoModalClosed")==="1")return;const D=N(()=>{document.cookie.includes("cookie_legal=")&&(clearInterval(D),I())},1e3);function I(){const _=setTimeout(()=>c(l),3e3),x=()=>{clearTimeout(_),c(l),O()},O=()=>{["click","scroll","mousemove","touchstart","keydown"].forEach(f=>document.removeEventListener(f,x))};["click","scroll","mousemove","touchstart","keydown"].forEach(f=>document.addEventListener(f,x,{once:!0}))}}),(l,i)=>{const u=B,d=$;return F(),q("div",X,[z(u,{data:h(e),formMeta:a.formMeta,productMeta:a.productMeta,modalFormVisible:a.modalFormVisible,offcanvasSearchVisible:a.offcanvasSearchVisible,modalVideoIframe:a.modalVideoIframe,modalVideoVisible:a.modalVideoVisible,handleModalForm:a.handleModalForm,handleOffcanvasSearch:a.handleOffcanvasSearch,handleModalVideo:a.handleModalVideo},null,8,["data","formMeta","productMeta","modalFormVisible","offcanvasSearchVisible","modalVideoIframe","modalVideoVisible","handleModalForm","handleOffcanvasSearch","handleModalVideo"]),h(r)?(F(),G(d,{key:0,modalData:h(p),onClose:c},null,8,["modalData"])):H("",!0)])}}};export{Y 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.