1import{_ as f,a as v}from"./DVNaDeD_.js";import{A as k,cd as x,B as b}from"./CxiuuAY1.js";import{k as g,l as h,O as S,a1 as m,$ as i,Q as w,V as y,a3 as B,u as o,W as C,a2 as a,_ as D,Z as c}from"./BYkQzdCZ.js";import"./CGUfCWMe.js";import"./C6iWzv6x.js";import"./E2rUTLvU.js";import"./CZoz-Ae7.js";import"./DeioJ_Y4.js";import"./D0xRicrS.js";import"./4tic-btX.js";import"./BgHWgYAD.js";import"./DCosCjHt.js";import"./BpqqeFbK.js";import"./CAbT5ip9.js";import"./CM8LO42l.js";import"./D5ZLaJWN.js";import"./C4J8sofl.js";import"./CTy6ARod.js";import"./CL3BSsoK.js";import"./Ccbra0G9.js";import"./CfdXw9li.js";import"./CmrOF9Bj.js";import"./CTL0yfOA.js";import"./CLd20r53.js";import"./eZOmcRHZ.js";import"./B5QGMQ4Y.js";import"./kglKAUFy.js";import"./BpRgfw4T.js";import"./DA4lqYwl.js";const T={class:"font-sans"},E={key:0,class:"fixed bottom-15 left-1 z-2 xl:bottom-2 xl:left-2"},N=["href"],V=["src","alt"],lt=g({__name:"default",setup($){const r={sticker:k("/api/frontend/promotion/sticker")},s=x("__WEBSITE_STICKER__",{visible:!1,timestamp:0}),e=h(()=>{var t;return(t=r.sticker.data.value)!=null&&t.data.filename?{visible:s.value.visible,...r.sticker.data.value.data}:null});S(()=>{n().getTime()>s.value.timestamp&&(s.value.visible=!0)});function n(){const t=new Date;return t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0),t}function p(){const t=n();t.setDate(t.getDate()+1),s.value={visible:!1,timestamp:t.getTime()}}return(t,l)=>{const u=f,d=v,_=b;return c(),m("div",T,[i(u),w(t.$slots,"default"),i(d),o(e)?y((c(),m("div",E,[i(_,{class:"absolute right-0 top-0 z-1 translate-x-1/4 -translate-y-1/4",size:"small",color:"#666",circle:"",onClick:p},{default:D(()=>[...l[0]||(l[0]=[a("i",{class:"i-material-symbols-close-rounded text-5 shadow"},null,-1)])]),_:1}),a("a",{href:o(e).link,target:"_blank",class:"ring-4"},[a("img",{class:"max-w-40 w-full sm:max-w-60 xl:max-w-70",src:o(e).filename,alt:o(e).title},null,8,V)],8,N)],512)),[[C,o(e).visible]]):B("",!0)])}}});export{lt 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.