文档归位:雪猫 README 门面 + 公告/制作文档/发布工具并入仓库根
Release Tag / validate-version (push) Waiting to run

This commit is contained in:
天天的鸟蛋蛋 committed 2026-11-12 06:29:38 +08:00
1 parent b9655a5ab1
commit e292824161
122 files changed
+90002 -69

No files matched your search

@@ -0,0 +1 @@
import{j as e,r as x}from"./react-vendor-jWT2yUdV.js";import{a as M,c as C}from"./chunk-5PILOUBS-KHYNqMZE.js";import{c as f}from"./chunk-NAV3ZXLI-ChbUTMf0.js";import{d as je}from"./chunk-IHO36JMK-DJPUeGG0.js";import{u as S,k as V,c as o,P as ae,b as E,r as be,W as v,s as U,M as we,e as ve,a as Ne,g as _}from"./index-DiaaLdUu.js";import{u as T}from"./useRequest-B1BwPztr.js";import{z as G}from"./react-hot-toast-cGcFZPSt.js";import{G as K}from"./iconBase-B7bT1FlI.js";import{L as ke}from"./index-BBhZPeTB.js";import{t as N}from"./chunk-6LIX6LVT-B246pOuK.js";import{b as ye,c as ze,d as Ce,e as Se}from"./index-DvErMbt6.js";import{d as Me,e as Le,f as Ie,g as _e,h as qe}from"./index-FvTxWQTZ.js";import{a as Ue}from"./chunk-SXMLSBOY-NckgDZ9w.js";import{B as Ve}from"./index-DPx4wqle.js";import{c as Te}from"./chunk-D5XJWRAV-DVN21qSw.js";import{s as He,l as Pe}from"./chunk-KVDW62ZT-CGYYmJoP.js";import{s as Qe}from"./chunk-J6JGI6RM-Djlxjgjl.js";import{p as Be}from"./chunk-APIAPHLK-nGgOe_Nr.js";import{t as Fe,a as te}from"./chunk-ML27DD5T-ZFWrMOn-.js";import{i as $e}from"./chunk-2QAN2V2R-B2qCPZrG.js";import{F as We,a as Ee}from"./index-_HIxriDC.js";import{M as Ae,a as De}from"./mirror_selector_modal-CyjkhfUx.js";import{u as ne}from"./use-dialog-CRIMuzeE.js";import{B as Oe}from"./index-Bz8pD9tN.js";import{u as Re}from"./use-config-Cu0QvgCe.js";import{Q as Ze}from"./qq_manager-BfRTEAby.js";import"./qface-BZLvZXJ8.js";import"./chunk-M3MASYO7-B4fjH-eW.js";import"./chunk-RJKRL3AU-CjtrMR1U.js";import"./chunk-AXSF7SRE-Cr4elNVq.js";import"./react-router-dom-C6k78GT4.js";import"./chunk-WQVQ7P2I-BJd1EiqP.js";import"./useHover-DC1o5-bm.js";import"./useFocusable-DA5Croun.js";import"./chunk-UX7UMZL5-CMHjUaC_.js";import"./index-BsnVex0g.js";import"./Item-D8Sud-UP.js";import"./SelectionManager-Dl9uHsLK.js";import"./usePress-BrNwsdVw.js";import"./chunk-SLABUSGS-Cmz8sGrU.js";import"./DOMLayoutDelegate-DOgfSALU.js";import"./chunk-EN4B57RQ-Ief8qCCd.js";import"./useToggle-B3ZYBe5S.js";import"./index-BV9-YCKp.js";import"./layout-Buao20KT.js";import"./gestures-BHfQC-M8.js";import"./features-animation-BkV7kg8P.js";function Ge(s){return K({attr:{fill:"none",viewBox:"0 0 24 24",strokeWidth:"1.5",stroke:"currentColor","aria-hidden":"true"},child:[{tag:"path",attr:{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"},child:[]}]})(s)}const q=({count:s,label:a,size:n="md",accent:t=!1})=>{const[i]=S(V.backgroundImage,""),r=!!i;return e.jsx(M,{className:o("backdrop-blur-sm border transition-all duration-300 min-w-0 h-full",t?"bg-gradient-to-br from-primary-500/90 to-primary-400/80 border-primary-300/40 text-white shadow-md shadow-primary-500/20":r?"bg-white/10 dark:bg-black/10 border-white/30 hover:bg-white/20 dark:hover:bg-black/20 hover:-translate-y-0.5":"bg-white/50 dark:bg-black/30 border-white/50 dark:border-white/10 hover:bg-white/70 dark:hover:bg-black/40 hover:-translate-y-0.5"),shadow:"none",children:e.jsxs(C,{className:"items-center gap-0.5 p-2 md:p-3",children:[e.jsx("div",{className:o("font-mono font-bold leading-none tabular-nums",n==="md"?"text-3xl md:text-4xl":"text-2xl md:text-3xl",t||r?"text-white drop-shadow-sm":"text-default-700 dark:text-gray-200"),children:s}),e.jsx("div",{className:o("whitespace-nowrap text-nowrap flex-shrink-0 font-medium",n==="md"?"text-xs md:text-sm":"text-[11px]",t?"text-white/85":r?"text-white/80":"text-default-500"),children:a})]})})};function Ke(){const{data:s,error:a,loading:n,run:t}=T(()=>be.get("https://hi.logacg.com/"),{throttleWait:1e3}),i={hitokoto:"凡是过往,皆为序章。",from:"暴风雨",from_who:"莎士比亚"},r=(s==null?void 0:s.data)||(a?i:void 0),[c]=S(V.backgroundImage,""),d=!!c,m=()=>{try{const h=`${r==null?void 0:r.hitokoto} —— ${r==null?void 0:r.from} ${r==null?void 0:r.from_who}`;navigator.clipboard.writeText(h),G.success("复制成功")}catch{G.error("复制失败, 请手动复制")}};return e.jsxs("div",{className:"overflow-hidden",children:[e.jsxs("div",{className:"relative flex flex-col items-center justify-center px-4 pt-5 pb-3 md:px-7",children:[n&&!r&&e.jsx(ae,{}),r&&e.jsxs(e.Fragment,{children:[e.jsx(ye,{className:o("text-3xl mb-3",d?"text-white/25":"text-primary-400/30")}),e.jsxs("div",{className:o("text-lg md:text-xl font-medium tracking-wide leading-relaxed italic text-center max-w-4xl mx-auto",d?"text-white drop-shadow-sm":"text-default-700 dark:text-gray-200"),children:["“",r==null?void 0:r.hitokoto,"”"]}),e.jsxs("div",{className:"mt-3 flex items-center gap-2 text-xs",children:[e.jsxs("span",{className:o("font-semibold",d?"text-white/85":"text-primary-500"),children:["—— ",r==null?void 0:r.from]}),(r==null?void 0:r.from_who)&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:o("w-1 h-1 rounded-full",d?"bg-white/40":"bg-default-300")}),e.jsx("span",{className:d?"text-white/60":"text-default-400",children:r==null?void 0:r.from_who})]})]})]})]}),e.jsxs("div",{className:"flex gap-2 justify-center pb-Line truncated