PageSourceSearch

https://www.rubi.com/_nuxt/By_EjdYu.js

js rubi.com collected 2026-10-02 07:47:41 UTC 4,856 bytes, 1 lines download raw bytes

1import{q as K,a as Q,r as n,u as U,I as j,w as y,c as _,L as W,b as z,n as B,o as u,d as b,e as t,f as k,g as X,h as x,p as Y,i as Z,F as I,l as P,H as ee,k as ae,j as te}from"./Dbl2DMRY.js";import se from"./C11AJzrf.js";import le from"./DrqK0rQR.js";import ie from"./QCCiDWH4.js";import{u as ne}from"./iSVYTDtK.js";import{u as oe}from"./bxfZPADg.js";import{u as re}from"./C_W9vhh6.js";import{u as $}from"./Co7zWKMi.js";import{c as ue}from"./CZeJXadE.js";import{u as S}from"./BJMJ3ynX.js";import"./Bj-dC4Ta.js";import"./DqrKjmRy.js";/* empty css        */import"./Bpw9EGa7.js";import"./CZTewzNb.js";import"./BAoTPMof.js";import"./B3FOs8eX.js";import"./D-yHT1TE.js";import"./CBVhLU-V.js";import"./CMFtMaUu.js";import"./qXXPwQPB.js";import"./CNN2ohfD.js";import"./xBKAfX-x.js";import"./BwlwnIrY.js";import"./xSV13RnZ.js";const de={key:1},je={__name:"index",async setup(me){let a,o;const H=ne(),F=oe(),C=re(),L=K();let{t:g,localeProperties:w}=Q(),J=w.value.language,D=n(),q=n([]),O=n(""),d,E=U().params.slug,V=j.stringify({filters:{isParent:{$eq:!0},slug:{$eq:E}},populate:"*",pagination:{limit:1},locale:w.value.language},{encodeValuesOnly:!0});const e=([a,o]=y(()=>$(`${P().public.general}/api/tags?${V}&populate=deep,5`,"$tJLSpkiKsl")),a=await a,o(),a);let N=n({}),A=n([]),s=n([]),T=n([]),R=n({});n(0);let f=l=>({key:"SeoMetaDescription",name:"description",content:l.substr(0,200)}),M=l=>({key:"SeoTitle",content:l}),G=async(l,p,v)=>{let m=j.stringify({filters:{key:{$eq:l}},locale:p},{encodeValuesOnly:!0});const i=await $(`${P().public.general}/api/page-statics?${m}&populate=deep,5`,"$A_uaPCnk1Q");if(e?.data?.value?.data?.length&&i?.data?.value?.data?.length){if(N.value={key:!1},A.value=i?.data?.value?.data?.length?i.data.value.data[0].body:[],s.value=e.data.value.data[0].seo?.length?e.data.value.data[0].seo:[],T.value=e.data.value.data[0].schema,e.data.value.data[0].seo){let h=e.data.value.data[0].seo.find(c=>c.key=="SEOTitle");e.data.value.data[0].seo.find(c=>!!c.name&&c.name=="description")||(e.data?.value?.data[0]?.metaDescription?s.value.unshift(f(e.data.value.data[0].metaDescription)):e.data?.value?.data[0]?.webDescription&&s.value.unshift(f(e.data.value.data[0].webDescription))),h||s.value.unshift(M(e.data.value.data[0].title))}else e.data?.value?.data[0]?.metaDescription?s.value.unshift(f(e.data.value.data[0].metaDescription)):e.data?.value?.data[0]?.webDescription&&s.value.unshift(f(e.data.value.data[0].webDescription)),e.data?.value?.data[0]?.title&&s.value.unshift(M(e.data.value.data[0].title));e.data?.value?.data[0]?.webDescription&&e.data?.value?.data[0]?.title&&(N.value={blackTitle:e.data.value.data[0].title,paragraph:e.data.value.data[0].webDescription},R.value={name:e.data.value.data[0].title})}else throw B({statusCode:404,statusMessage:"Page Not Found"})};if(e.data.value?.data?.length){d=e.data.value.data[0],[a,o]=y(()=>G("tags",J)),await a,o(),T&&_({script:[{type:"application/ld+json",innerHTML:JSON.stringify(T)}]}),[a,o]=y(()=>C.loadSearch({type:"tag",locale:w.value.language,slug:d.slug})),await a,o();let l=ue(C.slugs);if(S(),Object.keys(l).length){W()(l);const i=z({});_({htmlAttrs:{lang:()=>i.value.htmlAttrs?.lang},link:()=>[...i.value.link.filter(r=>r.hreflang?.indexOf("-")!=-1&&r.hreflang?.indexOf("x-default")==-1||!r.hreflang)],meta:[...i.value.meta]})}let p=([a,o]=y(()=>$(`${P().public.general}/api/seo-static-schemas`,"$wid9rTGaTs")),a=await a,o(),a);p?.data?.value?.data?.length&&p.data.value.data.forEach(m=>{_({script:[{type:"application/ld+json",innerHTML:JSON.stringify(m.schema)}]})}),D.value={blackTitle:d.name,redTitle:null,paragraph:d.webDescription},q.value=[{title:g("breadcrumb_home"),disabled:!1,to:{name:"index"}},{title:g("breadcrumb_tags"),disabled:!1,to:{name:"tags"}},{title:d.name,disabled:!0}];let v={"@context":"http://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,item:{"@id":S().origin+L({name:"index"}),name:g("breadcrumb_home")}},{"@type":"ListItem",position:2,item:{"@id":S().origin+L({name:"tags"}),name:g("breadcrumb_tags")}},{"@type":"ListItem",position:3,item:{"@id":S().origin+L({name:"tags-slug",params:{slug:E}}),name:d.name}}]};_({script:[{type:"application/ld+json",innerHTML:JSON.stringify(v)}]}),O.value=d.pimId}else throw B({statusCode:404,statusMessage:"Page Not Found"});return(l,p)=>{const v=ee,m=se,i=le,h=ie;return u(),b(I,null,[t(s)?.length?(u(),k(v,{key:0},{default:X(()=>[(u(!0),b(I,null,ae(t(s),(r,c)=>(u(),b(I,{key:c},[t(H)[r.key]?(u(),k(te(t(H)[r.key]),{key:0,data:r},null,8,["data"])):x("",!0)],64))),128))]),_:1})):x("",!0),t(D)?(u(),b("div",de,[Y(m,{data:t(D),breadcrumb_items:t(q)},null,8,["data","breadcrumb_items"]),Z("div",null,[t(F)?.publicSettings?.typeSenseEnabled?(u(),k(i,{key:0,val:t(O)},null,8,["val"])):(u(),k(h,{key:1,val:t(O)},null,8,["val"]))])])):x("",!0)],64)}}};export{je 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.