PageSourceSearch

https://fontedavida.com.br/assets/Index-FLYmEf5h.js

js fontedavida.com.br collected 2026-09-26 18:04:13 UTC 4,422 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Card-XWjqGrFc.js","assets/index-sUPB-bMu.js","assets/index-CjsJg3P0.css","assets/Card-BMx4PCs7.css"])))=>i.map(i=>d[i]);
2import{_ as y,m as N,j as C,k as A,b as c,c as n,o,g as s,d as g,w as p,Z as I,t as l,a as e,F as u,n as O,a1 as b,e as S,a4 as T,s as k,f as L,p as R}from"./index-sUPB-bMu.js";import{m as M}from"./menuItemNameMixin-D-Sxrcvm.js";const B=A(()=>R(()=>import("./Card-XWjqGrFc.js"),__vite__mapDeps([0,1,2,3]))),P={name:"VideoAll",components:{VideoCard:B},mixins:[M],data(){return{loading:!1,alertBox:{type:null,message:null},search:null,videosEmpty:!0}},computed:{...C({churchLanguage:"churchLanguage",videos:"videosGetList"}),availableVideos(){if(this.search){const t=this.videos.items.filter(_=>_.snippet.title.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toUpperCase().includes(this.search.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toUpperCase())),a=this.videos.items.filter(_=>this.$dayjs(_.snippet.publishedAt).format("L").normalize("NFD").replace(/[\u0300-\u036f]/g,"").toUpperCase().includes(this.search.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toUpperCase())),E=[...t,...a];return[...new Set(E)]}return this.videos.items}},created(){this.$useHead({title:this.$t("VIDEOS.INDEX.TITLE")}),this.getVideos()},methods:{...N(["getVideosList"]),async getVideos(){try{this.loading=!0,(await this.getVideosList()).data.code!==404&&(this.videosEmpty=!(this.videos.items.length>0))}catch{this.alertBox={type:"error",message:this.$t("VIDEOS.INDEX.MESSAGE.ERROR.GENERIC")}}this.loading=!1},clear(){this.search&&(this.search=null)}}},F={class:"videos-page"},U={key:1,class:"loading"},G={class:"loading__search"},X={class:"loading__list"},w={class:"loading__item"},z={class:"loading__item"},H={class:"loading__item"},$={class:"loading__item"},x={class:"loading__item"},Y={class:"videos-filter"},j={class:"input-search input-item"},Z={class:"svg-icon"},q=["placeholder"],J={class:"videos-list"},K={class:"videos-list__content"},Q={key:0,class:"notfound"},W={class:"notfound__title"},ee={class:"notfound__subtitle"},te={key:1,class:"videos-page__empty__content"},se={class:"videos-page__empty__content__title"},oe={class:"videos-page__empty__content__subtitle"};function ie(t,a,E,_,i,h){const V=c("PageContentHeader"),v=c("AlertBox"),d=c("SkeletonElement"),m=c("SvgElement"),f=c("VideoCard");return o(),n("div",F,[s(V,{padded:!0,"to-route":"churchHome"},{default:p(()=>[I(l(t.menuItemName("INPCAPP_VIDEOS")||t.$t("VIDEOS.MODULE_NAME")),1)]),_:1}),i.alertBox.message?(o(),g(v,{key:0,type:i.alertBox.type},{default:p(()=>[I(l(i.alertBox.message),1)]),_:1},8,["type"])):i.loading?(o(),n("div",U,[e("div",G,[s(d,{height:"3rem"})]),e("div",X,[e("div",w,[s(d,{height:"100%"})]),e("div",z,[s(d,{height:"100%"})]),e("div",H,[s(d,{height:"100%"})]),e("div",$,[s(d,{height:"100%"})]),e("div",x,[s(d,{height:"100%"})])])])):(o(),n(u,{key:2},[i.videosEmpty?(o(),n("div",te,[s(m,{name:"IlustraVideos",type:"other",class:"videos-icon",width:"100%",heigth:"100%"}),e("h1",se,l(t.$t("VIDEOS.INDEX.EMPTY.TITLE",{videos:t.menuItemName("INPCAPP_VIDEOS")||t.$t("VIDEOS.MODULE_NAME")})),1),e("h2",oe,l(t.$t("VIDEOS.INDEX.EMPTY.SUBTITLE")),1),e("button",{class:"btn btn--size-sm videos-page__empty__content__button",onClick:a[2]||(a[2]=L(r=>t.$router.go(-1),["prevent"]))},l(t.$t("VIDEOS.INDEX.EMPTY.BUTTON")),1)])):(o(),n(u,{key:0},[e("div",Y,[e("div",j,[e("label",{class:O(["input-search__label",{"input-search__label--active":i.search}])},[e("div",Z,[s(m,{name:"Search",title:"Search"})]),b(e("input",{"onUpdate:modelValue":a[0]||(a[0]=r=>i.search=r),type:"text",class:"input-item__search search",placeholder:t.$t("VIDEOS.INDEX.FILTER")},null,8,q),[[T,i.search]]),i.search?(o(),n("button",{key:0,class:"clear",onClick:a[1]||(a[1]=(...r)=>h.clear&&h.clear(...r))},[s(m,{name:"Close",title:"Close"})])):S("",!0)],2)])]),e("div",J,[e("div",K,[(o(!0),n(u,null,k(h.availableVideos,(r,D)=>(o(),g(f,{key:D,video:r},null,8,["video"]))),128)),h.availableVideos.length?S("",!0):(o(),n("div",Q,[s(v,null,{icon:p(()=>[s(m,{name:"Alert",title:t.$t("ALERT_MESSAGE.TITLE"),class:"notfound__icon"},null,8,["title"])]),default:p(()=>[e("h3",W,l(t.$t("VIDEOS.INDEX.MESSAGE.ERROR.SEARCH")),1),e("p",ee,l(t.$t("VIDEOS.INDEX.MESSAGE.ERROR.SEARCH_MESSAGE")),1)]),_:1})]))])])],64))],64))])}const le=y(P,[["render",ie],["__scopeId","data-v-b9295562"]]);export{le 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.