1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Card-DPMLAIqN.js","assets/index-sUPB-bMu.js","assets/index-CjsJg3P0.css","assets/Card-BcZnqdSX.css"])))=>i.map(i=>d[i]); 2import{_ as C,m as k,j as f,k as O,b as r,c as n,o,g as s,d as E,e as N,w as d,Z as p,t as i,a as t,F as B,s as R,f as g,p as U}from"./index-sUPB-bMu.js";import{m as w}from"./menuItemNameMixin-D-Sxrcvm.js";const P=O(()=>U(()=>import("./Card-DPMLAIqN.js"),__vite__mapDeps([0,1,2,3]))),I={name:"UserNotes",components:{Card:P},mixins:[w],data(){return{alertBox:{type:null,message:null},loading:null,limitNotes:12,showMoreNotes:12}},computed:{...f({notes:"notesGetList"}),alterLimitNotes(){return this.notes.slice(0,this.limitNotes)}},created(){this.getNotesList()},methods:{...k(["fetchNotes"]),async getNotesList(){this.loading=!0;try{await this.fetchNotes()}catch{this.alertBox={type:"error",message:this.$t("USER.NOTES.MESSAGE.ERROR.GENERIC")}}this.loading=!1},goTop(){window.scrollTo(0,0)}}},b={class:"user-notes-page"},A={key:1,class:"loading"},L={class:"loading__list"},M={class:"loading__list__item"},V={class:"loading__list__item"},x={class:"loading__list__item"},G={class:"loading__list__item"},D={key:2,class:"user-notes-page__content"},H={key:0,class:"empty"},W={class:"empty__title"},$={class:"empty__description"},F={class:"btn__text"},Y={key:1,class:"notes"},j={class:"notes__button"},K={class:"new-button__text"},X={class:"notes__text"},Z={class:"notes__list"},q={key:0,class:"notes__see-more"},z={class:"see-more"};function J(e,_,Q,ee,l,h){const T=r("PageContentHeader"),y=r("AlertBox"),c=r("SkeletonElement"),a=r("SvgElement"),u=r("router-link"),S=r("Card");return o(),n("section",b,[s(T,{padded:!0,leftmobile:!0,"to-route":"churchHome"},{default:d(()=>[p(i(e.$t("USER.NOTES.TITLE.PAGE")),1)]),_:1}),l.alertBox.message?(o(),E(y,{key:0,type:l.alertBox.type},{default:d(()=>[p(i(l.alertBox.message),1)]),_:1},8,["type"])):N("",!0),l.loading?(o(),n("div",A,[t("div",L,[t("div",M,[s(c,{height:"7rem"})]),t("div",V,[s(c,{height:"7rem"})]),t("div",x,[s(c,{height:"7rem"})]),t("div",G,[s(c,{height:"7rem"})])])])):(o(),n("div",D,[e.notes&&!e.notes.length?(o(),n("div",H,[s(a,{name:"IlustraNotes",title:"IlustraNotes",type:"other",class:"empty__icon"}),t("h2",W,i(e.$t("USER.NOTES.EMPTY.TITLE")),1),t("p",$,i(e.$t("USER.NOTES.EMPTY.DESCRIPTION")),1),s(u,{to:{name:"userNotesNew"},class:"btn btn--outline-primary"},{default:d(()=>[s(a,{name:"CirclePlus",title:"Plus"}),t("span",F,i(e.$t("USER.NOTES.BUTTON.NEW")),1)]),_:1})])):(o(),n("div",Y,[t("div",j,[s(u,{to:{name:"userNotesNew"},class:"btn btn--outline-primary new-button"},{default:d(()=>[s(a,{name:"CirclePlus",title:"Plus"}),t("span",K,i(e.$t("USER.NOTES.BUTTON.NEW")),1)]),_:1})]),t("p",X,i(e.$t("USER.NOTES.TITLE.TEXT")),1),t("div",Z,[(o(!0),n(B,null,R(h.alterLimitNotes,(m,v)=>(o(),E(S,{key:v,note:m},null,8,["note"]))),128))]),e.notes.length>l.showMoreNotes?(o(),n("div",q,[t("button",z,[e.notes.length>l.limitNotes?(o(),n("span",{key:0,class:"see-more__content",onClick:_[0]||(_[0]=g(m=>l.limitNotes+=l.showMoreNotes,["prevent"]))},[p(i(e.$t("USER.NOTES.BUTTON.VIEW_MORE"))+" ",1),s(a,{type:"icon",name:"CirclePlus",title:"CirclePlus"})])):(o(),n("span",{key:1,class:"see-more__content",onClick:_[1]||(_[1]=g((...m)=>h.goTop&&h.goTop(...m),["prevent"]))},[p(i(e.$t("USER.NOTES.BUTTON.BACK_TOP"))+" ",1),s(a,{type:"icon",name:"CircleUpArrow",title:"CircleUpArrow"})]))])])):N("",!0)]))]))])}const oe=C(I,[["render",J],["__scopeId","data-v-70e5c577"]]);export{oe 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.