1import{_,m,o as h,p,c as n,b as t,h as f,t as s,F as c,f as g,E as b,j as v,g as l}from"./index-GRB8Jcml.js";import{T as y}from"./top-DaACZfYm.js";import{R as w}from"./RewardService-Dox4PkUI.js";import"./ContentsService-DKa2qyOq.js";const F={name:"RewardsPage",components:{TOP:y},setup(){const a=m({rewards:[],total:0,number:1});let o=e=>e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,","),d=e=>b(e).format("YYYY-MM-DD");return h(()=>{w.myreward().then(e=>{a.total=e.data.total,a.rewards=e.data.rewards,a.number=e.data.rewards.length,console.log(a.rewards)}).catch(e=>{console.log(e)})}),{...p(a),priceFormat:o,dayFormat:d}}},R={class:"header",id:"main_header"},k={class:"inner"},B={class:"paylist_header subpage reward_top"},P={class:"height_tableBox"},T={class:"txtlink"},Y=["href"],D={class:"txtlink"},L=["href"];function M(a,o,d,e,N,O){const u=v("TOP");return l(),n(c,null,[t("div",R,[f(u)]),t("section",null,[t("div",k,[t("div",B,[o[0]||(o[0]=t("p",null,"ì´ ë¦¬ìëê¸ì¡",-1)),t("div",null,[t("h2",null,s(e.priceFormat(a.total)),1)])]),t("div",P,[t("table",null,[o[1]||(o[1]=t("thead",null,[t("tr",null,[t("th",null,"No"),t("th",null,"구매ì¼ì"),t("th",null,"구매ê¸ì¡"),t("th",null,"ì½í
ì¸ URL"),t("th",null,"ì¼í몰URL")])],-1)),t("tbody",null,[(l(!0),n(c,null,g(a.rewards,(r,i)=>(l(),n("tr",{key:i},[t("td",null,s(a.number-i),1),t("td",null,s(e.dayFormat(r.created_at)),1),t("td",null,s(e.priceFormat(r.price)),1),t("td",T,[t("a",{href:"/"+r.user.link_id+"/"+r.content_id},"í¼ë보기",8,Y)]),t("td",D,[t("a",{href:r.url},"ë°ë¡ê°ê¸°",8,L)])]))),128))])])])])])],64)}const U=_(F,[["render",M]]);export{U 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.